diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-12 19:27:29 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-15 22:39:39 +0000 |
| commit | 5a1d326c862f33d05a9e65f30e50a71a4e71d4a5 (patch) | |
| tree | 532cf1018de7e6a6880dfdc8c9175f2bfacd9c09 /plugins/code-modernization/scripts/trace_rules.py | |
| parent | 5ac3c91066c7ec7f36e84348316742f7dd12de6a (diff) | |
security-guidance: report launcher fallback and give-up as metrics
Two count-only metrics, emitted only when nonzero, so the launcher change
can be checked in the field:
- launcher_fallback: the hook ran, but only because the launcher started
the interpreter by its real path (the names on PATH could not read the
plugin files). Added to the hook's and the SessionStart bootstrap's
existing metrics.
- launcher_unreadable: no interpreter could read the hook script. No
Python runs in that case, so the launcher prints the metrics line
itself before exiting 1.
Diffstat (limited to 'plugins/code-modernization/scripts/trace_rules.py')
0 files changed, 0 insertions, 0 deletions
