MCPcopy
hub / github.com/colbymchenry/codegraph / offload-eval-hook.mjs

File offload-eval-hook.mjs

scripts/agent-eval/offload-eval-hook.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// UserPromptSubmit hook — APPROACH 1: additive context-injection.
3// Front-loads codegraph's structural answer for flow/impact/"how/where" prompts so the
4// agent's reflex grep/read has nothing left to find. Strictly additive (never blocks),

Callers

nothing calls this directly

Calls 7

dbgFunction · 0.85
openSyncMethod · 0.80
executeMethod · 0.80
loadFunction · 0.70
closeMethod · 0.65
resolveFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected