Dispositions: one per-hook decision catalog, an ASK and DEFER contract, and one failure and error rule
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- json, typescript
- Ambito
- ai-infra-agents, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 183
- Fork
- 56
- Merge medio
- 3g 1h
- PR unite (30g)
- 67
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
GenAI-Security-Project/agent-control-standard#764 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage type:docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 96/100
GenAI-Security-Project/agent-control-standard#717 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
GenAI-Security-Project/agent-control-standard#650 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P1 status:needs-triage type:conformance
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertastatus:needs-triage type:conformance
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GenAI-Security-Project/agent-control-standard
Issue simili
-
Media browser returns "Not found" for repositories using the SHA-256 object formatForse già presa @adamchodera l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Follow-ups from #312Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
janhesters/remixcn#318 ·
I maintainer di solito rispondono entro 1 giorno
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
danielmiessler/LifeOS#3150 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·