canon: ARS bounded-storage policy set + policy-first principle + enforceable-policy template (DRAFT — DO NOT MERGE)#289
Conversation
…rceable-policy template (DRAFT — do not merge) Encodes the ARS storage redesign (ADR-0001, all 7 rulings) as enforceable tier-1 canon, per the captain's ruling that nothing is built without clear policies (what/why/enforcer). - canon/principles/policy-first-self-building-self-documenting.md — captain's framing principle: policies first ensures code is self-building (derivable from the policy) and self-documenting (code cites its governing policy URI). - canon/meta/enforceable-policy-anatomy.md — the WHAT/WHY/ENFORCEMENT/SCOPE/ VERIFICATION template; composes with constraint-driven-audits and #288. - canon/constraints/ars-bounded-storage.md — six policies (P1 bounded rows/no monolith; P2 always-R2 + 64KB backstop; P3 shared retention/rotation; P4 mirror off critical path; P5 R2 durable DR; P6 board.md deprecation), each with a named enforcer. Extends #288 (ratified-model-requires-reconciliation- and-enforcer) as its concrete storage discharge; does not duplicate it. Adversarially validated via oddkit_challenge (canon-tier-1); claim scoped, alternatives/costs/dependencies named. Authorial voice — captain reviews exact text. DO NOT MERGE.
Canon Quality —
|
Canon Quality — P0010 Retrieval-Readiness
|
Canon Quality — Frontmatter Schema ✅All 49 file(s) in Validator: |
Canon Quality — Homepage Surfacing ✅49 essay(s) scanned. Soft report — never blocks; the hard field gate is the Frontmatter Schema job. All published essays resolve to the homepage feed. Report: |
… policy set Voice-only pass across all three files (ars-bounded-storage, enforceable- policy-anatomy meta-template, policy-first principle). These are universal/ public governance docs whose neutral voice should not carry the crew-model 'captain' metaphor. Role term -> 'operator'; historical ruling labels 'Captain-RULED' -> 'Operator-RULED'; transitional draft-posture notes rewritten neutral/passive. No rulings, thresholds, enforcement, scope, or meaning changed.
DRAFT — captain's pen. DO NOT MERGE until you review the exact text (authorial voice).
Encodes the ARS storage redesign —
agent-role-servicedocs/adr/ADR-0001-ars-per-entity-do-sqlite.md(all seven design questions RULED, 2026-07-16) — as enforceable tier-1 canon, per the ruling: "Nothing is built without clear policies that explain what, why, and any other template that makes a good enforceable policy."What this PR adds (3 files, all
status: draft)canon/principles/policy-first-self-building-self-documenting.md— the captain's framing principle: policies first ensures all code is self-building (the implementation is derivable from the policy — the policy is the buildable spec) and self-documenting (the code traces back — every enforcement/invariant cites its governing policy URI). Scope, confidence, and a retraction condition are stated.canon/meta/enforceable-policy-anatomy.md— the meta-template the captain asked for: WHAT · WHY · ENFORCEMENT · SCOPE · VERIFICATION. No canonical "what makes a good enforceable policy" rubric existed (onlyconstraint-driven-audits, which it composes with), so it is proposed here. VERIFICATION requires code references its governing policy and policy is precise enough to build from.canon/constraints/ars-bounded-storage.md— the six-policy set, each conformant to the template, each naming a concrete enforcer (CI gate / runtime invariant / review gate):ars_state_v1whole-objectputis prohibited).RUNS_CAP=32dropped.schema_meta).board.md/board_import/parity_check/ dual-run; board is native per-item rows;board_exportread-only.Reconciliation — extends, does not duplicate
This set is the concrete storage discharge of the general obligation in #288 (
ratified-model-requires-reconciliation-and-enforcer, also draft). It cross-references, and does not restate, the ratified ARS policies (ars-data-model-philosophy,ars-nouns-and-verbs,ars-v1-operating-policy) and mirrors the tier-1 frontmatter/shape ofrelease-validation-gate.Adversarial validation
Ran
oddkit_challenge(modecanon-tier-1) on the set: no canon tensions,block_until_addressed: false. The prerequisite gaps it raised were addressed in-text — the strong claim is scoped and made falsifiable, confidence is signaled (observed WHY vs proposed enforcers), and alternatives/costs/dependencies/reversibility are named (constraint §"Scope of the Claim…"; principle §"Scope, Confidence, and Retraction"). The lesson was folded back into the meta-template's conformance list.Build-flight brief (for later)
Implement the policies and cite them in code — every gate/assertion/invariant references its
klappy://canon/constraints/ars-bounded-storage#PNanchor, so the code documents itself and drift is impossible to ship silently.Attribution:
klappy <118073+klappy@users.noreply.github.com>.