Skip to content

Archive fix-release-reachability-race: the resolved operand is canon and contract-v1.44 carries the bytes - #393

Merged
brettheap merged 1 commit into
mainfrom
change/archive-fix-release-reachability-race
Aug 26, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/archive-fix-release-reachability-race

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Archives the realized change fix-release-reachability-race and promotes its three shared-contract-ownership requirements into canon. code_surface is non-empty and a bundle was owed, so the gate is merge-plus-green PLUS the § 4 cut (release-realization/spec.md:23-32).

Realization evidence — every arm checked here, not read off a page

arm evidence
merged PR #390, merged 2026-08-26T21:21:13Z, merge commit 8894901c192a231dcf77bf9360764ce98a12a822; re-verified an ancestor of origin/main (git merge-base --is-ancestor, exit 0)
green final head d548d04d2d88f76568b719c5e3e41956ebc1594a — pytest-suite success (13m10s) and wallet-validation success, read back from the check-runs API; locally 6497 passed / 0 failed, tests/hermes_runtime_contracts 508 passed
bundle built contract-v1.44 inventory built twice byte-identical, entries=192 (membership unchanged), verify-commit pass
verify-promotion pass, exit 0, on the merge commit before the tag (recorded from the cutting session; after the tag the same call returns HGR-RELEASE-TAG-EXISTS, which task 4.5 pre-declared as "the expected later state, not a failure")
tag annotated contract-v1.44 on 8894901c — tag object 0f40899c, peel 8894901c, message "contract-v1.44 — additive: the release verifier resolves its remote operand before it compares"; verify-tag --remote origin --tag contract-v1.44 re-run at this act, exit 0
pointer aggregation commit 901bd04a, git ls-tree 901bd04a openxFactory → 160000 commit 8894901c…
rulings admission (Brett, verbatim commission), all four orchestrator decisions cleared, Q1 decided by measurement (no ref-fetch fallback), Q2's mechanism measured (single-object-file read revocation, not a whole-directory chmod), § 6.4 shallow-clone rule folded in by Brett's ruling

Promotion — counts and the zero-drift proof

openspec/specs/shared-contract-ownership/spec.md

  • requirements 7 → 10 (+3)
  • scenarios 23 → 33 (+10 = 3 + 4 + 3; the fourth on requirement 2 is § 6.4's folded-in shallow-clone rule)
  • lines 170 → 332; the diff is 162 inserted, ZERO deleted, all at the tail (@@ -168,3 +168,165 @@), so the seven pre-existing requirements are byte-identical after the act, none removed, order unchanged

Zero drift, proved rather than asserted. The delta's requirement body (its lines 5-165, everything below ## ADDED Requirements) and canon's appended block (its lines 171-331) are both 161 lines and share one digest — sha256:a645ce318a98b5e214a67990691a9a96f7a327072874671b11dff2d0daa9af05 — with cmp reporting no difference. The archived specs/shared-contract-ownership/spec.md is itself byte-identical to the authored delta, so the packet keeps the record of what was promoted. doc-health --family promotion-fidelity reads 0 findings on the archive event.

Mechanism, and one silent trap

Archived by OPENSPEC_TELEMETRY=0 openspec archive fix-release-reachability-race --yes (shared-contract-ownership: update, + 3 added, Totals: + 3, ~ 0, - 0, → 0) — not proposal-support archive, which refuses any change whose tasks.md still carries an unticked line and so cannot pass a packet that keeps four named follow-ups on purpose. Both things that wrapper adds were run anyway: the origin gate (proposal-support.py . verify <change> → ok before the move; the whole-corpus sweep → ok after it), and packaging, a lawful no-op for an ad-hoc origin with no supporting-docs/. Precedent: ratify-doxbench-landed-context-surfaces, archived the same way, plus four archived siblings carrying unticked follow-ups.

openspec archive DELETED .openspec.yaml instead of moving it — the dotfile is outside its copy set. Restored into the archive folder and checked by blob id (68c538318df34c03060480b14b67676e18252cd9, identical to the pre-archive tree). An archived ad-hoc change whose origin declaration had vanished would fail origin retention on its own terms, so this is verified rather than trusted.

Origin retention, stated precisely. kind, id, approved_by, approved_on are byte-identical to the proposing-and-ratifying commit c65cce22. The reason is not: 830d635c, hours later the same day and before any merge, interleaved the under-control reproduction into it (f627d96a → 68c53831, -1 +7, the one removed line reappearing unchanged below the six new ones). Nothing was deleted from the reason; recorded so a reader diffing the blobs does not have to guess.

Surviving follow-ups — none of them reached canon

  • § 5.4 the many-runs-identical property — recorded UNPROVEN and substituted, not ticked: unprovable by construction (it needs three merges landing inside three eleven-minute windows), substituted by the § 3.1/§ 3.2 fixtures that DRIVE the skew on every run and § 5.3's single live probe.
  • § 6.1 the sweep of the sibling modules under scripts/hermes_runtime_validation/ (consumer_handoff.py first) — named and not performed.
  • § 6.2 the eleven-minute exposure window — a pytest-suite.yml question, not an obligation about the verifier.
  • § 6.3 _blob_object_id conflating an absent blob with an absent commit.

The three promoted requirements speak only to resolving the operand, naming which of four outcomes was observed, and pinning both new paths with proofs — they assert nothing about a repeated-run property, the unswept siblings, the window, or the conflation.

Bookkeeping

README moves the row Active → Archived and corrects its two stale claims on the way: "nine scenarios" → TEN (the § 6.4 fold-in), and "awaiting the annotated tag" → the discharged gate. proposal.md's target_release is rewritten from the forward-looking "next additive contract bundle" to the implemented — <evidence> shape ruled 2026-08-22 for register C1, with the authored text kept verbatim after it because it is the argument for why a bundle was owed.

Gates

  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict → 76 passed, 0 failed (77 before; one fewer item because this packet left the active set)
  • python3 -m pytest tests/doc-health -q → 896 passed, exit 0 — identical to the pre-archive run; the known bootstrap-clusters worktree hazard did not fire
  • doc-health --single-repo, before → after, finding lines diffing identical in every family read: status-validity 4 error → 4 error, ratified-provenance 0 → 0, proposal-origin 0 → 0, record-immutability 5 critical → 5 critical, release-inventory-drift 0 → 0, promotion-fidelity 0 → 0. The archived packet produced no new finding.
  • also after the act: location-conformance 2 error and duplicate-packet 0 / family-enumeration 0 — the two errors are pre-existing and about staged material this change does not touch.

🤖 Generated with Claude Code

…and contract-v1.44 carries the bytes

Every arm of the gate checked rather than asserted
(release-realization/spec.md:23-32). MERGED: PR #390, 2026-08-26T21:21:13Z,
merge commit 8894901, re-verified here an ancestor of origin/main rather than
read off the pull request page. GREEN: pytest-suite and wallet-validation both
concluded success on the final head d548d04, read back from the check-runs
API; locally 6497 passed / 0 failed with hermes_runtime_contracts at 508.
THE CUT, which is the arm this change's doc-only siblings never owed: the
contract-v1.44 inventory built twice byte-identical at 192 entries,
verify-commit pass, verify-promotion pass on the merge commit before the tag,
the annotated tag contract-v1.44 published on 8894901 ("additive: the release
verifier resolves its remote operand before it compares") and verify-tag re-run
at this act, exit 0, and the aggregation submodule pointer at 901bd04a whose
gitlink reads that same sha. The tag object, its peel and its message were read
back from the remote here; nothing in the § 4 chain is taken on report.

PROMOTION IS A PURE ADDITION AND IT IS BYTE-IDENTICAL.
openspec/specs/shared-contract-ownership/spec.md goes 7 to 10 requirements and
23 to 33 scenarios, plus 10 = 3 + 4 + 3, the fourth on requirement 2 being the
shallow-clone rule Brett ruled into the same pull request as § 6.4. The diff is
162 lines inserted and zero deleted, all at the tail, so the seven pre-existing
requirements are byte-identical after the act, none removed and the order
unchanged. The delta's requirement body and canon's appended block are both 161
lines and share one digest,
sha256:a645ce318a98b5e214a67990691a9a96f7a327072874671b11dff2d0daa9af05, cmp
reporting no difference; the archived delta file is itself byte-identical to
the authored one, so the record of what was promoted stays in the packet.

The mechanism was openspec archive, not proposal-support archive, because that
wrapper refuses any change whose tasks.md still carries an unticked line and
this packet keeps four on purpose. Both things the wrapper adds were run
anyway: the origin gate passed before the move and the whole-corpus sweep
passed after it, and packaging is a lawful no-op for an ad-hoc origin with no
supporting-docs folder. Precedent: ratify-doxbench-landed-context-surfaces,
archived the same way, and four archived siblings that carry unticked
follow-ups through the archive.

ONE TRAP RECORDED BECAUSE IT WOULD HAVE BEEN SILENT: openspec archive DELETED
.openspec.yaml instead of moving it, the dotfile being outside its copy set.
Restored into the archive folder and checked by blob id, 68c5383, identical to
the pre-archive tree. An archived ad-hoc change whose origin declaration had
vanished would fail origin retention on its own terms. On that gate, stated
precisely: kind, id, approved_by and approved_on are byte-identical to the
proposing-and-ratifying commit c65cce2, and the reason was EXTENDED hours
later the same day by 830d635, which interleaved the under-control
reproduction into it and removed nothing.

FOUR ITEMS SURVIVE AS NAMED FOLLOW-UPS AND NONE OF THEM REACHED CANON: § 5.4,
the many-runs-identical property, recorded unproven and substituted rather than
ticked because it is unprovable by construction; § 6.1, the unperformed sweep
of the sibling verifier modules; § 6.2, the eleven-minute exposure window; and
§ 6.3, _blob_object_id conflating an absent blob with an absent commit. The
three promoted requirements speak only to resolving the operand, naming which
of four outcomes was observed, and pinning both new paths with proofs.

README moves the row from Active to Archived and corrects its two stale claims
on the way: nine scenarios becomes TEN, since the § 6.4 fold-in added a fourth
to requirement 2, and "awaiting the annotated tag" becomes the discharged gate.
proposal.md's target_release is rewritten from the forward-looking "next
additive contract bundle" to the implemented-with-evidence shape register C1
ruled on 2026-08-22, the authored text kept verbatim after it because it is the
argument for why a bundle was owed.

Gates: openspec validate --all --strict 76 passed 0 failed, one fewer item than
the 77 before, because this packet left the active set. tests/doc-health 896
passed, exit 0, identical to the pre-archive run, and the known
bootstrap-clusters worktree hazard did not fire. doc-health single-repo,
before and after, finding lines diffing identical in every family read:
status-validity 4 error, ratified-provenance 0, proposal-origin 0,
record-immutability 5 critical, release-inventory-drift 0, promotion-fidelity
0. location-conformance 2 error and duplicate-packet 0 after the act, both
pre-existing and both about staged material this change does not touch.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 26, 2026 21:37

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Archives the realized OpenSpec change fix-release-reachability-race and promotes its three shared-contract-ownership requirements into canon, recording post-realization evidence (merge, CI, contract bundle/tag) in the archived packet and updating the repository index accordingly.

Changes:

  • Move fix-release-reachability-race from Active → Archived in README.md, adding archival/gate-discharge evidence.
  • Append three new requirements (and scenarios) to openspec/specs/shared-contract-ownership/spec.md without modifying existing requirements.
  • Create the archived packet at openspec/changes/archive/2026-08-26-fix-release-reachability-race/ (proposal/design/tasks, delta spec, origin file).

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates the change index: removes the packet from Active and adds it under Archived with expanded archival evidence.
openspec/specs/shared-contract-ownership/spec.md Promotes the delta by appending three new requirements/scenarios to canon.
openspec/changes/archive/2026-08-26-fix-release-reachability-race/tasks.md Converts the packet tasks into an archived record with added “done” evidence and gate discharge notes.
openspec/changes/archive/2026-08-26-fix-release-reachability-race/specs/shared-contract-ownership/spec.md Stores the exact promoted delta text as part of the archived packet.
openspec/changes/archive/2026-08-26-fix-release-reachability-race/proposal.md Rewrites target_release to the implemented/evidenced form while preserving the authored text.
openspec/changes/archive/2026-08-26-fix-release-reachability-race/design.md Adds the design record for the change into the archive.
openspec/changes/archive/2026-08-26-fix-release-reachability-race/.openspec.yaml Restores/preserves the origin declaration in the archived packet.
Suppressed comments (4)

openspec/changes/archive/2026-08-26-fix-release-reachability-race/tasks.md:466

  • Task 4.6 is checked as done and includes a "DONE 2026-08-26" verification block, but it still contains a bold "NOT DONE" paragraph claiming it was deferred. This reads as a direct contradiction; either remove it or label it explicitly as historical/as-authored.
    openspec/changes/archive/2026-08-26-fix-release-reachability-race/tasks.md:606
  • Task 5.6 is checked as done and then states "DONE 2026-08-26" immediately below, but it still includes a bold "NOT DONE" block claiming the archive is deliberately not performed. Label that block as historical/as-authored (or remove it) so the task doesn't contradict itself.
    openspec/changes/archive/2026-08-26-fix-release-reachability-race/tasks.md:494
  • The aggregation-pointer section has both a bold "NOT DONE" paragraph and a bold "DONE 2026-08-26" paragraph. Since the task is now checked and the evidence is recorded, mark the earlier "NOT DONE" line explicitly as historical/as-authored to avoid conflicting status within task 4.7.
    openspec/changes/archive/2026-08-26-fix-release-reachability-race/tasks.md:441
  • This paragraph is part of the post-merge evidence for task 4.5, but earlier in the same task the text says "verify-promotion is not, and cannot be" performed. Update that earlier wording so it clearly refers to the pre-merge state (or mark it as historical) to avoid contradicting the cut evidence recorded here.

This issue also appears in the following locations of the same file:

  • line 462
  • line 492
  • line 602

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md
Comment on lines +1061 to +1063
and `source_commit` pins still verifying the bytes wherever they sit — so no
contract re-cut was needed and `contract-v1.7` was never re-tagged. The avatar client lab itself realized and
**archived 2026-08-04** (below), its 9.1 platform gate discharged by Brett's
@brettheap
brettheap merged commit 64486a5 into main Aug 26, 2026
3 checks passed
@brettheap
brettheap deleted the change/archive-fix-release-reachability-race branch August 26, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants