Skip to content

Commit a3514bb

Browse files
os-zhuangclaude
andauthored
docs(adr): ADR-0056 — permission model landing verification (whole-model enforce/prove/reconcile) (#2058)
* docs(adr): ADR-0056 permission model landing verification (whole-model enforce/prove/reconcile audit) A capstone governance ADR that applies the ADR-0049 (enforce-or-remove) and ADR-0054 (prove-it-runs) gates to the ENTIRE authorization model for the first time. Based on a four-pass read-only audit (spec inventory, runtime-enforcement trace, proof-coverage matrix, prior-ADR reconciliation), it presents a per-primitive declared↔enforced↔proven verification table and makes 10 reconciling decisions: - D1 collapse the 3-way-mismatched OWD enum to one canonical set + reject unknown - D2 close the anonymous default-allow fail-open (default-deny) - D3 OWD baseline must not depend on plugin-sharing being loaded - D4 RLS compiler must error at authoring time / fail-closed at runtime, never silently drop - D5 reconcile Sharing Rules spec↔runtime divergence per ADR-0049 - D6 role-hierarchy widening: implement or mark experimental (it is a silent no-op today) - D7 first-class app-declared default Profile (replaces hardcoded fallback) - D8 triage compliance/encryption/masking surface per ADR-0049 - D9 bind enforced-but-unproven invariants into the liveness ledger - D10 (durable) an Authorization Conformance Matrix as a CI-checked artifact Phased P1 honesty-pass → P2 close fail-open holes → P3 provisioning+proofs → P4 evidence-gated. Status: Proposed. No code change; design only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XVdnfUAx85amkerym26vdx * docs(adr): ADR-0056 — correct role-hierarchy evidence citation (D6 / table #15) The verification table cited permission-evaluator.ts for the role-hierarchy no-op; the accurate evidence is sharing-rule-service.ts expandRecipient (no role_and_subordinates branch) + flat team-graph + no Role.parent consumer. Substance (widening unimplemented) unchanged; citation corrected after re-verification. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XVdnfUAx85amkerym26vdx --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent d0d03c5 commit a3514bb

1 file changed

Lines changed: 190 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)