Dispositions: one per-hook decision catalog, an ASK and DEFER contract, and one failure and error rule
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json, typescript
- Domain
- ai-infra-agents, documentation
Research direction
Start with docs/spec/instrument/specification.md and docs/spec/instrument/hooks.md, then compare the referenced hook schemas under specification/v0.1.0/hooks/ and response-envelope.json. Review the linked issues and PRs, especially #32 and #496, before editing because several items overlap active or planned work. Done means all seven disposition, ASK, DEFER, reasoning, failure, and error-contract items are resolved or explicitly handed off, with partial PRs using Refs.
Written by the indexing model from the issue text.
Description
Yaron Sheffer (@yaronf) reviewed the ACS docs and specification at release 0.1.4 and wrote up his notes in yaronf/ACS-Notes. This issue groups his notes on legal dispositions, ASK, DEFER, reasoning, and the decision-failure and error contract. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit. The last two items touch the same §6.4 paragraph and §17.1 error object as Bar Kaduri's pending spec PR for issue #32 (fail closed by default), so they should feed that PR rather than compete with it.
- The §5 hook table (
docs/spec/instrument/specification.mdlines 108 to 128) marks onlypreCompact,skillRegister, andskillLoadas decision-eligible, while the Hooks overview (docs/spec/instrument/hooks.mdlines 27 to 47) marks fourteen hooks eligible, so a reader of §5 cannot tell an unmarked hook from an audit-only one. State the legal dispositions per hook in one catalog and link the other surface to it. Issue #146 (overloaded "not decision-eligible") and issue #148 (eligibility missing from most schemas) do not cover §5, and PR #341 fixes only thepostCompactcontradiction insidehooks.md(line 40 against line 232). - The concepts page (
docs/concepts/agents.mdline 19) and §9 (specification.mdline 317) have the Guardian consult a named Approver, but §9.2 (lines 335 and 346) speaks of clients that route ASK and need approver UX, andask-details.jsonline 7 makesapproverrequired. Say whether the Guardian MAY returnaskwith no designated Approver, who presents the approval UI, and when the Approver may be left out entirely (never raise ASK, substitute DEFER or DENY only). Issue #175 (approver's answer has no path back) assumes the approver answers the Observed Agent and PR #496 (defer/subscribe) assumes it answers the Guardian, so this choice should come first. - A DEFER gives the Observed Agent no next step (§6 at
specification.mdline 144,defer-details.jsonlines 18 to 31, and the §9.2 substitute at line 339), sincerequired_contextsays nothing about where the inputs go andhuman_approvalcarries no approver or question. PR #496 (defer/subscribe, for issue #14) adds the subscription and dropstimeout_decision: ask, but it leaves how an approver's answer or therequired_contextinputs reach the Guardian "outside this section". Close those two paths in PR #496 or a follow-up, and give the cascade bound a value and an outcome, which issue #456 (deferral limit has no defined outcome) tracks. - Every DENY, MODIFY, ASK, and DEFER must carry
reasoning(specification.mdline 139,response-envelope.jsonlines 46 and 114), and the Observed Agent receives that text, so a deployment that keeps its policy confidential hands a map of the boundary to the party it controls. Allow these decisions to carry no explanation, withreason_codesand the audit record kept on a channel the agent does not see. PR #475 (Guardian reasoning into Claude CodeadditionalContext) shows the text reaching the model today. - The decision-failure rule still sits under "6.4 Honoring decisions" (
specification.mdlines 196 and 200), and PR #273 has since added where failures are logged (line 202) and the failure classes (session-end.jsonlines 23 to 29). Lift it into its own protocol-failure section that says whether the step is denied or the session ends, and make the §6.3 fail-closed rule (line 190), the §6.5 MODIFY fallback (lines 210 and 214), and the §17.1 recovery column (lines 483 to 492) instances of it. Bar Kaduri's planned spec PR for issue #32 (refusals fail closed, default deny) rewrites the same §6.4 paragraph and recovery column, so raise this as input to that PR rather than as a separate change. - The §17.1 prose (
specification.mdline 481) putsmessageand areasoninsidedata,response-envelope.jsonlines 120 to 130 requiremessageon the error object and typedataas{}, and the table readsdata.supported_versions,data.method,data.skew_window_ms, and a singularreason_code(lines 486, 488, 491, and 492) that no schema defines. Keep the JSON-RPCmessageon the error object, givedataa schema for the fields the recovery column reads, and use thereason_codesarray for the deny form of a chain mismatch. The planned issue #32 spec PR addserror.signatureto the same schema object, and PR #242 (reason codes in §17.2) registerschain_mismatchwithout fixing line 492, so either can carry the fix. - Folded from issue #148 (disposition eligibility in the schemas). Most hook schemas still say nothing about which dispositions they accept (23 of the 29 files under
specification/v0.1.0/hooks/), andresponse-envelope.jsonallows all five dispositions on every method, so a validator cannot tell whether a disposition is legal for the hook that was called. Carry the per-hook catalog from the first item into the schemas, and say what a runtime does when a Guardian returns a disposition the hook does not allow. That is a different failure from the §6.5 and §9.2 client-capability substitutions, which cover a client that cannot honor a legal disposition.
A PR that fixes only some of these items should say Refs with this issue number rather than Closes, so the issue stays open until the last item lands.
- 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:bug workstream:refimpl
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainers usually reply within 1 day
-
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
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