Repository navigation
Archive both measured-latents packets: the pin boundary on a green suite, the content distinction on contract-v2.1 (realized by #478 and #490) - #492
Merged
Conversation
…n on its tag, so three requirements reach canon and the census reads 67
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Archives the two “measured-latents” OpenSpec change packets realized by #478 and #490, promotes their ADDED-only spec deltas into canon, and updates the repository index (README) to reflect the new archived locations and archive-time evidence.
Changes:
- Moves the two packets from “Active changes” to “Archived changes” in
README.md, with archive-time verification details and updated links to archived proposal paths. - Promotes one new
doc-healthrequirement and two newshared-contract-ownershiprequirements into canon spec files. - Materializes the archived packet records (proposal/design/tasks, archived specs,
.openspec.yaml) underopenspec/changes/archive/2026-08-29-*.
Reviewed changes
Copilot reviewed 5 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Replaces active entries with archived entries and updates links to archive paths. |
| openspec/specs/shared-contract-ownership/spec.md | Adds two new canon requirements (content-resolution condition distinction + proof pinning). |
| openspec/specs/doc-health/spec.md | Adds one new canon requirement (whole-object-name boundary for pin-site construction). |
| openspec/changes/archive/2026-08-29-fix-pin-value-boundary-and-sentinel-split/tasks.md | Records archive-gate completion with re-measured evidence. |
| openspec/changes/archive/2026-08-29-fix-pin-value-boundary-and-sentinel-split/specs/doc-health/spec.md | Archived delta copy of the ADDED doc-health requirement. |
| openspec/changes/archive/2026-08-29-fix-pin-value-boundary-and-sentinel-split/proposal.md | Archived proposal record for the packet. |
| openspec/changes/archive/2026-08-29-fix-pin-value-boundary-and-sentinel-split/design.md | Archived design record for the packet. |
| openspec/changes/archive/2026-08-29-fix-pin-value-boundary-and-sentinel-split/.openspec.yaml | Archived OpenSpec metadata for the packet. |
| openspec/changes/archive/2026-08-29-fix-content-resolution-conflation/tasks.md | Records archive-gate completion including the contract-v2.1 cut evidence. |
| openspec/changes/archive/2026-08-29-fix-content-resolution-conflation/specs/shared-contract-ownership/spec.md | Archived delta copy of the two ADDED shared-contract-ownership requirements. |
| openspec/changes/archive/2026-08-29-fix-content-resolution-conflation/proposal.md | Archived proposal record for the packet. |
| openspec/changes/archive/2026-08-29-fix-content-resolution-conflation/design.md | Archived design record for the packet. |
| openspec/changes/archive/2026-08-29-fix-content-resolution-conflation/.openspec.yaml | Archived OpenSpec metadata for the packet. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Archives
fix-pin-value-boundary-and-sentinel-split(realized by #478) andfix-content-resolution-conflation(realized by #490) and promotes allthree deltas into canon. Record only — no code moves in this pull request,
and no self-gate ledger row moves either, because neither packet carries a
MODIFIED block.
The two belong in one act: they are the three defects of Brett's
"lets do all 3 in order" commission, split by the authoring session on ONE
boundary — a contract-bundle member — and that split is exactly what the two
gates below prove was worth taking. The pin packet archives on a green suite
alone; the conflation packet could not archive until a human-gated tag existed.
The merges, read out of git
Neither is taken off a pull-request page. Both merge commits were re-verified
here as ancestors of
origin/main(git merge-base --is-ancestor, exit 0) andas real two-parent merges by
git cat-file -p.fix-pin-value-boundary-and-sentinel-split8690ec297e9bbe276e77cc61262b71913f44308731344941+0529fb4afix-content-resolution-conflation571e64d5540cbe6240cfb068ef137778e53611f83cebf83e+b57874f3The order Brett directed is legible in the graph rather than only in the
prose:
8690ec29is an ancestor of571e64d5, so the pin packet demonstrablylanded first.
Green on both final heads, all four checks read back from the check-runs API at
this act, with the suite counts read out of each job log rather than off a
summary:
pytest-suitewallet-validationmerge-master-approvalcopilot-pull-request-reviewer0529fb4a(#478)b57874f3(#490)Promotion, proved by digest per requirement
Every
### Requirement:block in each canon file was hashed either side of theact and the two sets compared, so "zero deletions" is a measured fact about each
untouched requirement rather than an inference from a diff stat.
doc-healthshared-contract-ownershipBoth deltas are ADDED-only, verified by grep of both
specs/trees beforethe act: no
## MODIFIED, no## REMOVED, no## RENAMEDheader in either.Zero requirements removed from either file, and no pre-existing block moved a
byte. Each promoted block is byte-identical to its delta body, the digest
computed from the archived
specs/<capability>/spec.mdand from canonindependently:
A pin site is built only from a value that is a whole object namedoc-healthsha256:5d364da4bbd6396bb7c822e7e665afef5e507fa92322a5f53e3fc32b5c2791b3A content resolution reduced to presence or identity names the condition it observedshared-contract-ownershipsha256:3f20ecb454b7820bedcf8b65a48e0926d2d0d13236951bd4bb4a57bbf5895c10Each distinguished content-resolution condition is pinned by an executable proofshared-contract-ownershipsha256:7c7f4d3fec1d6024bde007e9db4fe712989bdb345a8f7cc25233e298e819134bBoth archived
specs/…/spec.mddeltas are byte-identical to the authored files(
diffempty). Both.openspec.yamlfiles MOVED with their packets underopenspec 1.2.0 rather than being deleted — checked by blob id, not by presence:
cef67a9bandaa517729, both unchanged.No Status move was owed, and that is measured rather than assumed
Both proposals already read
Status: ratifiedonmain, each with aRatified:line citing Brett's selection of 2026-08-28 and the later same-day ruling that
closed the veto window. Each clears the record spelling's three-way floor on all
three axes — approver (
by Brett), date (2026-08-28), and a resolvable recordpath (its own § Orchestrator decisions / § Open Questions). All five
orchestrator decisions of the pin packet and all six of the conflation packet
were cleared as authored, and all four questions of each were ruled, so no
header edit was needed before
openspec archiveran and none was made.The pin class:
clean, and one number moved for a cause that is namedpython3 scripts/doc_health/pin_class.py --repo . --rev HEAD --remote originexits 0, which is
cleantrue, and reports:Against the realization's 66 sites / 50 reachable, two counts moved and
thirteen did not — and the move is not this packet's. The sixty-seventh site
is
openspec/changes/add-worker-enrollment-broker/supporting-docs/manifest.yaml:21,added by
21bc40acin #489, pinning93f883f4and reachable as an ancestorof
origin/main. Proven rather than asserted:git ls-tree 8690ec29 <path>isempty,
git ls-tree HEAD <path>is not, andgit log --diff-filter=Anames21bc40ac. Every full promotion writes a supporting-docs manifest and amanifest is a pin site, which is a census the corpus already explains.
The corpus sweep behind the packet's zero was re-run too: 1124 scan-suffix
files in the scan roots (1119 at realization), 184 read after non-member
exclusion (182), and 0 values of 41 or more hexadecimal characters under any
vocabulary key. That last zero is the one that must not move, and it did not.
The cut, and the one command that no longer passes
contract-v2.1was cut in #490 and tagged on its merge commit. All foursurfaces were re-read here rather than quoted:
contracts/manifest.yaml:3—contract_bundle_version: contract-v2.1contracts/CHANGELOG.md— opens with## contract-v2.1 — 2026-08-28 (additive; …)contracts/releases/contract-v2.1.digests.yaml— loaded, 192 entrieswalked, the same count as
contract-v2.0; both moved members carry NEW digestsequal to the tree's own
sha256sum:release.py660e55ca…→bb845d70…,content.pybad04c65…→509ad91b…git cat-file -p contract-v2.1is atagobjecte2a1fcc4over commit571e64d5verify-tag --remote origin --tag contract-v2.1re-run at this act →release verify-tag: pass, exit 0. doc-health'srelease-inventory-driftfamily reports no findings — not merely no
error.The one command that no longer passes is reported rather than omitted.
verify-promotion --commit 571e64d5 --remote origin --tag contract-v2.1nowexits 1 with
HGR-RELEASE-TAG-EXISTS error path=refs/tags/contract-v2.1.That is the verifier working:
verify-promotionis the PRE-tag gate and its jobis to refuse a tag that already exists, so it can only pass before the tag is
cut. It DID pass in that window and the tag was cut on its result;
verify-tagis the post-tag proof and is the one this archive can honestly re-run.
The aggregation pointer is synced, read off the aggregation repository's
origin/mainrather than off a working tree in a shared checkout: itsopenxFactorygitlink is82a28086, a descendant of571e64d5.No ledger row moves, and the reason is structural
tests/doc-health/test_modified_block_currency_self_gate.pycompares_LEDGER_SUBJECTSwith==rather than<=, so a block leaving the active setfails the gate until its row is removed. Neither packet ever had a row, and
that is not luck: the family reads only ACTIVE
## MODIFIEDblocks, and both ofthese deltas are ADDED-only (grep of both
specs/trees, no## MODIFIEDheader in either). Carriage-ledger population is unchanged at 8, asserted by
the gate itself, which passes in the run below.
Gates
OPENSPEC_TELEMETRY=0 openspec validate --all --strict— 79 → 78 → 77passed, 0 failed, validated after each archive; the active set lost exactly
two members and nothing else moved.
python3 -m pytest tests/doc-health -qunderset -o pipefail, exit read from$?rather than inferred from a tail — baseline 1333 passed, 0 failed(178.34s); after both archives 1333 passed, 0 failed (186.25s). This branch
adds and removes no test.
python3 -m pytest tests/hermes_runtime_contracts -q -m "not postgres"—521 passed, 1 failed, the failure being the known local timing artifact
test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization],which reads ~30s against a 30s subprocess allowance on this box under load and
is green in CI (it is inside Realize fix-content-resolution-conflation: tell the one content condition the verifier can act on from the fourteen it cannot, and cut contract-v2.1 #490's own
passed=7683, failures=0). Same521 / 1 split Realize fix-content-resolution-conflation: tell the one content condition the verifier can act on from the fourteen it cannot, and cut contract-v2.1 #490's realization measured on the merge commit.
python3 scripts/doc-health.py --single-repo .— 4 critical / 6 error / 28warning / 12 info,
release-inventory-driftno findings,family-enumerationno findings,promotion-fidelityno findings.bc292317, all four checks green:pytest-suiteselected 7704, passed 7683, skipped 21, 0 failures, 0errors (run 33231053522, counts read out of the job log), plus
wallet-validation,merge-master-approvalandcopilot-pull-request-reviewer. That run INCLUDES the timing test that failslocally, which is the direct corroboration that the local failure is an
environment artifact and not a regression.
2026-08-29while themerges and the packets' prose are local 2026-08-28. That is the tool's
convention and the house precedent — the same offset the two floor packets
took in Archive both doc-health floor packets: two blocks reach canon by digest, and the one act still owed is named (realized by #465 and #468) #488.
The follow-ups: nine boxes, nine dispositions, zero ticks
Every § 6 item of the pin packet (five) and every § 7 item of the conflation
packet (four) already carried a realization disposition. Each now carries a
SECOND line taken at the archive, re-measured rather than restated, and none
is ticked — ticking a follow-up the archive did not perform would record an
act nobody took, which is the falsification both packets exist to close. Two are
worth naming here:
rather than left to age: it said "the class still reports 66 sites across 23
members", which is 67 today for the The broker topic's fragment follows its contract out of staging #489 reason above. The boundary itself
held — the declared class, its key vocabulary and its non-member exclusions are
byte-unchanged by both the realization and this archive.
the promoted requirement reads "reduce a content resolution to a presence
answer or a blob identity", and
release.py:713-719reduces to a NAMEDFINDING instead, so a reader can check that leaving it is conforming without
opening the packet.
README
Both active "OpenSpec Records" entries are removed and replaced by archived
entries carrying this act's evidence — the merge and its parents, the check
counts, the promotion digests, the
.openspec.yamlblob ids, the pin-classcensus with its named cause, and the
contract-v2.1cut. Net −80 / +161lines on
README.md.🤖 Generated with Claude Code