feat(dogfood): ADR-0056 D10 — authorization conformance matrix (CI-checked)#2071
Merged
Conversation
…ecked) Encode the ADR-0056 audit as a living artifact: one row per authz primitive in exactly one honest state (enforced/experimental/removed); enforced rows name an enforcement site, high-risk ones reference an end-to-end dogfood proof. A test asserts completeness + that every referenced proof file exists on disk — making "the permission model is landed" a green CI gate (a new fail-open or a deleted proof breaks the build). Also records the implementation status + the requireAuth default-flip readiness audit (share-links safe; public forms need a built-in guest_portal) in the ADR. 6/6 conformance tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XVdnfUAx85amkerym26vdx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckNo hand-written docs reference the 1 changed package(s). ✅ |
os-zhuang
marked this pull request as ready for review
June 20, 2026 09:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What (ADR-0056 D10 — authorization conformance matrix, the durable guardrail)
Encodes the ADR-0056 audit as a living, CI-checked artifact. One row per authorization primitive in exactly one honest state (
enforced/experimental/removed);enforcedrows name their runtime enforcement site, high-risk ones reference an end-to-end dogfood proof. A test asserts:enforcedprimitive declares an enforcement site (no silent claims);experimental/removedprimitive carries a rationale note;This makes "the permission model is landed" a green CI gate — a new fail-open (an
enforcedrow with no site) or a deleted proof breaks the build. It's the durable centerpiece of ADR-0056: the one-time audit can't rot.Also recorded
An implementation-status table (D1/D2/D4/D6/D7/D8/D10 all landed) and the
requireAuthdefault-flip readiness audit appended to the ADR:guest_portalprofile that isn't built-in → the documented pre-requisite before any flip.Verification
authz-conformancetest 6/6. Dogfood-only + docs; no runtime change.ADR-0056 program — complete
All decisions landed with proofs. The only remaining item is the release-gated
requireAuthdefault flip, now fully scoped with a readiness audit + documented prerequisite (make public-form submit self-authorizing / ship a built-inguest_portal).🤖 Generated with Claude Code
Generated by Claude Code