Skip to content

Commit 2f13c2c

Browse files
noahgiftclaude
andcommitted
docs(ccpa-poc): contract v1.8.0 → v1.9.0 mirror sync (M21)
Mirrors the M21 status_history entry from companion repo paiml/claude-code-parity-apr@main back into the aprender-side canonical copy. The M21 entry on the companion side records this very mirror sync operation (closing the 6-revision drift gap from v1.2.0 → v1.8.0 that was discovered earlier today). Bumping to v1.9.0 just adds the audit-trail status_history entry — no other change. Both files are now byte-identical at sha256 b737c864fbd8ea983f36c842b80895f16eaa15bb119327cbb63b111c3ead6f0a. Refs: paiml/claude-code-parity-apr@feat/m21-pin-lock-aprender-sync M21 status_history § "aprender-side mirror sync v1.2.0 → v1.8.0" Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 08744c6 commit 2f13c2c

1 file changed

Lines changed: 41 additions & 2 deletions

File tree

contracts/claude-code-parity-apr-v1.yaml

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ metadata:
6363
- crates/aprender-orchestrate/contracts/batuta/apr-code-v1.yaml
6464

6565
name: claude-code-parity-apr
66-
version: "1.8.0"
67-
status: ACTIVE_RUNTIME # 13/13 gates green. v1.8.0 (M20) — README truth-up. The README was 5+ contract-versions stale (badges said v1.2.0; behavioral-gates table said "planned" for M2-M8 even though all 8 are DISCHARGED; repo status said M1; HTTPS-proxy architecture diagram conflicted with the post-rescope AUTHORED-fixture reality). v1.8.0 ships an honest README reflecting M0-M19 SHIPPED + corpus complete (30/30) + hard-blocking gate live. No code or contract-surface change.
66+
version: "1.9.0"
67+
status: ACTIVE_RUNTIME # 13/13 gates green. v1.9.0 (M21) — aprender-side contract mirror synced from v1.2.0 → v1.8.0 (6 revisions of drift cleared). Per the source-of-truth split documented in `companion_repo.role`, aprender stays canonical for contract TEXT; pre-M21 the aprender-side bytes were stuck at v1.2.0 / commit f5cfbb370 (2026-04-27T07:00 UTC). M21 pushed all M15-M20 bumps in one commit to aprender@feat/claude-code-parity-apr-poc-spec (commit 08744c69a, byte-identical sha256 to companion-repo); pin.lock now records the new aprender_commit. No code or contract-surface change beyond the version bump documenting the sync.
6868

6969
# ─────────────────────────────────────────────────────────────────────────────
7070
# Top-level invariants — the 12 falsifiable gates this contract asserts.
@@ -832,6 +832,45 @@ status_history:
832832
ACTIVE_RUNTIME as long as the most-recent measured_parity row
833833
passes the gate.
834834
835+
- date: '2026-04-27'
836+
from: 'ACTIVE_RUNTIME v1.8.0'
837+
to: 'ACTIVE_RUNTIME v1.9.0'
838+
note: 'M21 — aprender-side mirror sync v1.2.0 → v1.8.0 (6 revisions cleared)'
839+
reason: |
840+
Per the source-of-truth split documented in this contract's
841+
`companion_repo.role` block:
842+
843+
aprender stays canonical for contract TEXT
844+
paiml/claude-code-parity-apr stays canonical for runtime ENFORCEMENT
845+
846+
Pre-M21, the aprender-side mirror at
847+
paiml/aprender@feat/claude-code-parity-apr-poc-spec was stuck at
848+
v1.2.0 / commit f5cfbb370 (last synced 2026-04-27T07:00 UTC).
849+
The companion repo had advanced through M15-M20 (six contract
850+
revisions) without round-tripping the bytes back upstream — a
851+
direct violation of the source-of-truth invariant.
852+
853+
M21 corrects this:
854+
855+
1. Copies the v1.8.0 contract bytes from companion-repo
856+
paiml/claude-code-parity-apr@main (sha256
857+
ce4bea33db19b995e717e684c4a1e0c39aefdb9c31bb7aa1cd3800c4fae59610)
858+
verbatim onto aprender's feat/claude-code-parity-apr-poc-spec
859+
branch.
860+
2. Mirrors the spec markdown updates (M0-M19 milestone table
861+
refresh + sub-milestones M11-M20 table).
862+
3. Pushes a single sync commit to refresh aprender PR #1078.
863+
4. Bumps companion pin.lock `aprender_commit` to the new
864+
commit (08744c69a) and `last_synced_utc` to the sync time.
865+
5. Bumps companion contract v1.8.0 → v1.9.0 (this entry)
866+
documenting the sync as a status_history record so future
867+
drift can be diagnosed against the audit trail.
868+
869+
Both files are now byte-identical across the two repos. The
870+
`pin-check.sh` script validates this round-trip on every
871+
companion-side commit. Future contract bumps must push to
872+
both repos atomically (M22+ to install a guard for this).
873+
835874
- date: '2026-04-27'
836875
from: 'ACTIVE_RUNTIME v1.7.0'
837876
to: 'ACTIVE_RUNTIME v1.8.0'

0 commit comments

Comments
 (0)