Changes
- New companion skill
concurrency-control:- Every shared persisted record declares one write model: version check, single writer with a lease and fencing token, idempotency key, commutative merge (unbounded only), or ordered start-up.
- The store enforces the model, and the losing schedule is the test oracle.
- Decisions:
DECLARED | UNGUARDED | NOT-SHARED.
architecture-guidelines:- New reference
runtime-resilience.md: an outbound-call contract (timeout, retry class, retry budget, idempotency precondition, caller-visible error), and an unknown error maps to 500 with its cause logged. - New reference
access-control.md: granting rules (attenuation, re-check at acceptance, last owner without write skew, revocation, denial writes nothing, scope from grants, personal-data erasure across a store register).
- New reference
implementation-readiness: readiness requires a declared write model for every record more than one writer reaches.defect-shift-left: rows for unguarded writes and outbound calls without a timeout; a grant-model property test comes before the security test.test-strategy: authorization obligation, an interleaving-test technique, and quality-risk routing to owners that exist.alchemy-orchestrate:contracts.mdis split from 5,758 to 3,370 words. Delegated agents now read onlyreferences/handoff.md(603 words), and the check codes are inreferences/check-codes.md.- Less loaded text: the copied Improvement Trio blocks are removed, and lookup templates moved into reference files.
Verification
npm run validate: passes.--mutation-test: 174 deliberate violations, all caught.- 3 new scenarios and 17 re-recorded transcripts: every expectation met.
- Installer tests: 115 (bash) and 224 (PowerShell) checks pass.
- #59 was built as an orchestrated multi-agent run with independent review: gate
PASS, 2 major findings resolved in one rework cycle.
Limits
- Whether it works: no scenario tests whether a skill triggers. A recount of fix commits in consumer repos about 60 days after they repin measures the effect.
- Not in this release: resource limits from #58, and the lint rules themselves; the skills only place them.
- Installed profiles: a profile that overrides the agent envelopes keeps pointing at
contracts.mduntil it is reinstalled.