(outcome: string)
| 1242 | // only, NEVER prompt content (see TELEMETRY.md). This is the data that |
| 1243 | // turns "is the gate any good" from vibes into a measured recall rate. |
| 1244 | const gate = (outcome: string): void => { |
| 1245 | try { getTelemetry().recordUsage('cli_command', `prompt-hook-gate-${outcome}`, true); } catch { /* never break the hook */ } |
| 1246 | }; |
| 1247 | |
| 1248 | // Gate, tiered by confidence (#994, #1126): |
| 1249 | // HIGH — a structural keyword (any covered language), or a code-shaped |
no test coverage detected