mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-11-26 22:28:38 +00:00
Agents answer questions about their own earlier work from memory, and memory drops the failed test run, the file a sed one-liner rewrote and the edit made after the last green run. Claude Code and Codex already record every call, result and exit code on disk; this plugin reads that record instead. - trace_finder.py: find the run by repo, window, touched file or command text - trace_timeline.py: numbered steps, --files with SILENT changes, --why STEP with every causal edge labelled recorded or inferred by a named rule - claim_checker.py: typed claims vs the run; STALE, PARTIAL, CONTRADICTED - UserPromptSubmit hook names the session transcript for questions about the past; fail-open, AGENT_RUN_FORENSICS_HOOK=0 disables it - secrets redacted in every output, no off switch Idea from PR #1016, rebuilt without the proposer's npm tool (no-vendor rule). Bundle engineering-advanced-skills 2.14.10 -> 2.14.11; G12 baseline raised by the new skill's 272 characters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8KYFLjaj5gnwaZdF3RyDn
16 lines
691 B
JSON
16 lines
691 B
JSON
{
|
|
"description": "One UserPromptSubmit hook. When a prompt asks about work that already happened (why did you..., what did the agent do..., did the tests actually pass...), it adds one short note naming this session's transcript path and the command that reads it, so the answer comes from the recording rather than from memory. Any other prompt gets nothing. Fails open, never blocks. Disable with AGENT_RUN_FORENSICS_HOOK=0.",
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/forensics_hint.py\"",
|
|
"timeout": 2
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|