Builds on 0125, which amended the
constitution to match the ADRs accepted at that time. This record closes its three open items: the
auth flag, the audit step and the secret sync.
Context
The constitution is the law. The owner’s answers of 2026-10-20 and the ADRs of waves 1 to 3 changed several laws after 0125 was written. The law pages still stated the old rule in places, so a reader of the law would not see the new one.Decision
- Law pages amended.
- Tenancy. The tenant tree and IAM scope re-enter the base law (0208, 0210). Deep trees are a plan entitlement (0240).
- Security. Two laws are added. SEC8 names ZITADEL as the one identity provider (0206), step-up for L3 and L4 actions (0207), and break-glass operator access (0188). SEC9 fixes the pipeline order (0138) and audits every action (0136, 0212).
- HTTP and events. Event names carry the module-key prefix,
<module-key>.<aggregate>.<verb>.v<n>(0141). The auth flag comes from the action’sauthoption and its API area (0082), enforced at the gateway (0237). PUT is an idempotent transition. Errors follow the envelope in 0140. - Secrets. Production secrets come from Infisical, and runway syncs them into the runtime store (0173). This overrides decision 8 of 0009, which recorded Secret Sync as an alternative not adopted.
- Delegation. Model policy follows 0193. The economy, standard and frontier tiers are replaced.
- Boundaries. Tokens and typed config are
define*values, the one carve-out (0145).
- Projected copies regenerated.
.specify/memory/constitution.mdandAGENTS.mdare regenerated withpnpm agents:sync, in the same change. - History entries. Each amended law page has a History entry that names this record.
Consequences
- A reader of the law sees the 2026-10-20 rule, not the older one. Each law names the ADR it follows.
- The security and HTTP laws now carry rules that are planned, not yet checked. Their enforcement lines say so.
Enforcement
planned — the projection check inpnpm agents:sync --check fails when the constitution projection or AGENTS.md is hand-edited.
Alternatives
- Leave the law as it stands and let the ADRs win on conflict. Rejected, because the constitution is the document a new contributor reads first.