Skip to content

feat: derived policy_conformance rollup (guardrail-receipt surfacing, honest advisory seam) - #109

Merged
moonweave merged 1 commit into
mainfrom
feat/policy-conformance-rollup
Jul 21, 2026
Merged

feat: derived policy_conformance rollup (guardrail-receipt surfacing, honest advisory seam)#109
moonweave merged 1 commit into
mainfrom
feat/policy-conformance-rollup

Conversation

@moonweave

Copy link
Copy Markdown
Contributor

First step of the 'guardrail receipt' product frame (2026-07-21 strategy review). Adds a derived, non-gating top-level rollup that answers 'did the agent stay in its declared lanes?' directly, projecting the existing role-capability conformance axes (write_scope/tool_calls/skill_routing).

Purely additive — no re-derivation, contract, schema, philosophy, or gating change. policy_conformance is computed from the already-computed role_capability_conformance + each axis's enforcement mode.

The honest advisory seam (the one place decision:pass can coexist with a real violation): an advisory skill_routing violation yields policy_conformance.overall == fail with the axis marked enforcement: advisory, blocks_handoff: false — so the guardrail question is answered truthfully (it left its lane) AND it is explicit that it did not block handoff. It never silently contradicts decision. overall is inconclusive when a required axis was undeclared ('claimed a guardrail but didn't install it'), and the field is None (byte-stable) when there are no policy axes.

Verification (independent, Opus): full suite 457, only the 1 pre-existing failure, 0 new. Live-proved the advisory seam (policy fail + blocks_handoff false) and the block case (fail + blocks_handoff true) and the None case. Mutation-checked (making overall ignore advisory violations reddens the advisory test; write_scope unaffected). Human render surfaces the honest line.

🤖 Generated with Claude Code

…ail-receipt surfacing, honest advisory seam)

Co-Authored-By: Codex (gpt-5.6-sol) <noreply@openai.com>
@moonweave
moonweave merged commit 4046da8 into main Jul 21, 2026
6 checks passed
moonweave added a commit that referenced this pull request Jul 21, 2026
Ships the derived policy_conformance rollup (#109): a top-level guardrail verdict
projecting the role-capability conformance axes, with the honest advisory seam.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant