MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / gate

Function gate

src/bin/codegraph.ts:1744–1746  ·  view source on GitHub ↗
(outcome: string)

Source from the content-addressed store, hash-verified

1742 // only, NEVER prompt content (see TELEMETRY.md). This is the data that
1743 // turns "is the gate any good" from vibes into a measured recall rate.
1744 const gate = (outcome: string): void => {
1745 try { getTelemetry().recordUsage('cli_command', `prompt-hook-gate-${outcome}`, true); } catch { /* never break the hook */ }
1746 };
1747
1748 // Gate, tiered by confidence (#994, #1126):
1749 // HIGH — a structural keyword (any covered language), or a code-shaped

Callers 1

mainFunction · 0.85

Calls 2

getTelemetryFunction · 0.90
recordUsageMethod · 0.80

Tested by

no test coverage detected