Repository navigation
Reference shim: how is the §4.1 startup posture (proceed / refuse) meant to be configured? #325
Unanswered
hadisoufi20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
While running the AGT reference implementation (
integration, commit d1ad294) I tried to make a session fail closed. WithACS_ON_DECISION_FAILURE=denyon the Guardian:posture_source: negotiatedin.acs/audit.jsonl);rm -rf /was allowed (posture_source: default).This matches §4.1 as I read it (startup posture is configured out of band, default
proceed), and the fail-open is recorded in the audit log. Two questions:refusein scope for the reference shim? None of the host variables I found in the Claude Code shim and host adapter (ACS_AUDIT_LOG,ACS_GUARDIAN_URL,ACS_HOOKMAP_PATH,ACS_SESSION_DIR,ACS_DEBUG) sets the startup posture.conformance-claim-template.mdasks for "Startup posture on handshake failure: proceed / refuse". Should the README note that the Guardian-sidedenydoes not cover sessions that start while the Guardian is unreachable?Reproduction: start the Guardian with
ACS_ON_DECISION_FAILURE=deny; pipe one hook for session A throughhosts/claude-code/acs-hook.ts; stop the Guardian; piperm -rf /for session A (denied by the negotiated posture, not by policy) and for a new session B (allowed).All reactions