Claude Code shim tells the model about a fail-open proceed at the result gate
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- yaml
- Domain
- ai-infra-agents
Research direction
Start by reading reference-implementations/agt/hosts/claude-code/claude-code.hookmap.yaml, especially PostToolUse.allow, and the README text added by PR #475. Reproduce with ACS_GUARDIAN_URL=http://127.0.0.1:1/acs and posture proceed, then find the posture test for the result gate. Done means a failure-posture allow exposes no reasoning to the model at either gate and the result-gate test covers it.
Written by the indexing model from the issue text.
Description
What is broken
In the AGT Claude Code shim, a step that proceeds because the Guardian gave no answer still tells the model why, at the result gate.
reference-implementations/agt/hosts/claude-code/claude-code.hookmap.yaml, PostToolUse.allow, writes the decision's reasoning to additionalContext. When the Guardian is unreachable and on_decision_failure is proceed, PreToolUse allows the step without telling the model, as PR #475 (Guardian reasoning in additionalContext) intends. Then PostToolUse writes this into the model's context: "no decision arrived from the guardian ... so this step was proceeded."
To reproduce, set ACS_GUARDIAN_URL=http://127.0.0.1:1/acs with posture proceed, run a tool call, and read the PostToolUse output.
PR #475 adds README and hookmap text saying the model must not learn about a fail-open proceed. That text is true at the request gate and false at the result gate.
Done when
A failure-posture allow puts no reasoning into a model-facing field at either gate, and a posture test covers the result gate. Otherwise the README text says the result gate still shows it.
- Dominant language
- TypeScript
- Stars
- 183
- Forks
- 56
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:docs
Difficulty 1/5 Under an hour Newbie friendliness 96/100
GenAI-Security-Project/agent-control-standard#717 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenAI-Security-Project/agent-control-standard#650 ·
Maintainers usually reply within 1 day
-
priority:P1 status:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 comment ·
Maintainers usually reply within 1 day
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolMay be free again A pull request for this issue was closed without being merged. Openstatus:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 comment ·
Maintainers usually reply within 1 day
-
[Docs] The A2A page says `must` for a wire deferred to v0.2May be free again @Lrd0036 claimed this 30 days ago, and no pull request is open. Openscope:in-focus status:accepted type:docs workstream:docs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
GenAI-Security-Project/agent-control-standard#391 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in GenAI-Security-Project/agent-control-standard
Similar issues
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TanbirRamim/vibereel#39 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34988 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mastra-ai/mastra#32336 · 1 comment ·
Maintainers usually reply within 1 day