Repository navigation
Bump the openRepoShape pin to 122d729b: 27 digested / 33 path-only / 60-file surface - #650
Merged
Merged
Conversation
…60-file surface `contracts/openreposhape-pin.yaml` pinned `opensoft/openRepoShape` at `deacbdcce4f52af427bcb4edd075fcc992e3dabe` — PR #4, the commit `add-project-repo-schema` was ratified against. The standard's `main` is now `122d729bc0c2f2e0ded0bb61b6b97f49512f613e` (2026-09-04, after #24 and #25), the shape every project carrying the standard has already taken through `update-shape`. The pin's own grammar makes this a RE-ENUMERATION rather than a one-line edit: the two lists must cover exactly the files present at the pinned commit (`pin-surface-undeclared` otherwise), and `122d729b` carries 60 files where `deacbdcc` carried 34. Each of the 26 new files was classified by the header's own rule — the standard's NORMATIVE SURFACE is digested; tests, CI, ignore files, `CLAUDE.md`, template READMEs and Makefiles and leg skeletons are path-only — giving 27 digested / 33 path-only. Every member declared at `deacbdcc` is still present and still in the list it was in; 11 of the 16 old digests move because the upstream bytes moved, and the five that do not are `templates/assembly-root/contracts/{spec,code,shape}-pin.yaml`, `bootstrap` and `LICENSE`. Every sha256 was recomputed from the real bytes at `122d729b` and none was transcribed. The header prose moves with the lists (SIXTEEN → TWENTY-SEVEN, EIGHTEEN → THIRTY-THREE, 34 → 60, and the "WHICH SIXTEEN, AND WHY THOSE" paragraph rewritten for the family shape, in-place adoption, `update-shape` and the path classification), and the tests' hard-coded `COMMIT` and count assertions move with it. $ python3 scripts/validate-openreposhape-pin.py --checkout <openRepoShape@122d729b> OK openreposhape-pin verified: opensoft/openRepoShape@122d729 from checkout …/ors-main, 27 digest(s) recomputed, 33 member(s) present, 60 file(s) declared with none undeclared Unreleased: the pin file is not a `contracts/manifest.yaml` entry and not a release-inventory member, so no cut is made here and the next cut re-baselines (`docs/contract-versioning-policy.md`). Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T
…amended
The counts the bump moves were also written in prose that no test reads, which
is exactly how a count goes stale. Three sites, and none of them needs a number
to say what it says:
- `scripts/validate-openreposhape-pin.py` — "THE TRUSTED REFERENT IS `commit`
PLUS THE SIXTEEN `sha256`s" becomes "PLUS THE DIGESTED MEMBERS' `sha256`s",
and "beats sixteen failures that need triage" becomes "a pile of failures".
- `scripts/doc_health/pin_class.py` — the `openreposhape-pin-product-commit`
note said the verifier "recomputes the sixteen digested members"; it now says
"the digested members".
`docs/project-repo-schema.md` is `Status: ratified` (`Ratified by:
add-project-repo-schema`) and said, in bold, "The commit this repository pins is
`deacbdc`". That sentence became false with the bump. The doctrine itself does
not move — no requirement of `project-repo-schema` changes, and the pin advances
within its own ratified grammar — so this is a CURRENCY correction, not a delta
under the lifecycle's Explicit Delta Rule, and it owes no OpenSpec change and no
`xspec:supersedes` marker. It is made the way `docs/document-lifecycle.md`
itself makes one: the historical fact is kept and restated in the tense it is
true in ("the commit this repository RATIFIED against is `deacbdc`"), and a
dated `> Amended 2026-09-04` note quotes what the text first said, names the
commit now in force, and says the pin file rather than the sentence is where the
current commit is read.
`README.md`'s MedxScribe pilot line and `ideation/README.md`'s record of what
`add-project-repo-schema` landed keep `deacbdc`: both are historical statements
about a past run and a past packet, not claims about the pin in force.
Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T
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.
🟢 Approval recommended
The pin bump is consistently propagated across the pin, verifier, tests, and doctrine prose, with no logical changes or inconsistencies found in the updated verification/shape assertions.
Pull request overview
Updates openxFactory’s consumption pin for the opensoft/openRepoShape standard to the current upstream main commit, re-enumerating the full declared surface and aligning verifier/docs/tests with the new 60-file shape.
Changes:
- Bump
contracts/openreposhape-pin.yamlto commit122d729bc0c2f2e0ded0bb61b6b97f49512f613eand re-enumerate the surface (27 digested / 33 path-only). - Update verifier/test assertions and nearby prose to be count-correct (or count-agnostic) for the new surface.
- Amend
docs/project-repo-schema.mdto distinguish the ratification commit from the currently pinned commit.
File summaries
| File | Description |
|---|---|
contracts/openreposhape-pin.yaml |
Updates the pinned commit and fully re-declares the 60-file surface with new digests/path-only members. |
scripts/validate-openreposhape-pin.py |
Adjusts verifier documentation to avoid stale, count-specific language while preserving the same verification logic. |
tests/openreposhape_pin/test_pin_verifier.py |
Updates pinned-commit fixture and surface-count assertions to 27/33/60; keeps refusal semantics coverage intact. |
scripts/doc_health/pin_class.py |
Removes stale “sixteen” wording in the pin-member note to match the now-variable digested set size. |
docs/project-repo-schema.md |
Corrects the previously present-tense pin claim via an amendment note while keeping the historical ratification claim accurate. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 4, 2026
Closed
Merged
brettheap
added a commit
that referenced
this pull request
Sep 4, 2026
…tion register's pin line (#658) contracts/manifest.yaml: the chain-anchoring registration comment (#629) claimed contract_bundle_version "still reads `contract-v3.2`" — the head of the file has since moved to `contract-v3.3`, and a cut will move it again. Rewrite the clause so it states the invariant (the head is not moved by this registration; only a cut advances it) without asserting a number that will go stale on the next cut. Comment only; no digest rows moved. ideation/README.md: the add-project-repo-schema entry described contracts/openreposhape-pin.yaml as still pinned at openRepoShape `deacbdc` with sixteen digests / eighteen path-only members — true when the packet landed, false since #650 (squash `48dc9b67`, 2026-09-04) advanced the pin to `122d729b`, 27 digested / 33 path-only / 60 files. Re-tense the sentence as history plus the advance. Lane: repo-shape Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 4, 2026
…e with the ratified readiness-and-durability amendment already in it, deliberation becomes clearing register entry two, and the openRepoShape pin advances to 122d729b (#653) * Cut contract-v3.4: the chain-anchoring family reaches a bundle, and the openRepoShape pin advances to 122d729b Brett Heap's word, 2026-09-04, in session, lane repo-shape, verbatim: "cut contract-v3.4". One candidate commit, per docs/contract-versioning-policy.md § Bundle Realization Order step 2. ORDERED FOR THE PIN, MEASURED TO CARRY MORE. The bump that occasioned the cut is contracts/openreposhape-pin.yaml's advance (#650, squash 48dc9b6). But contract-v3.3 peels to 16b8561, which PREDATES add-chain-anchoring's realization (#629, 11feff7) by twenty minutes, so the twelve contracts/chain-anchoring/ schemas, their packaged corpus and the two signed-execution-chain widenings are inside this bundle whether or not the cutting session went looking for them. § Version Identity requires one entry per release "listing every contract added, changed, or deprecated", so the entry names them first. READ BEFORE TAGGING. amend-chain-anchoring-readiness-and-durability was ratified 2026-09-04 (#548, 471d336) and names a follow-on realization pass its owner queued verbatim: "must land BEFORE those schemas ship in a tagged bundle, or the enum change becomes a breaking change on a published bundle." That pass has not landed — measured on this tree, grep -rniE "confirmation|profile" over contracts/chain-anchoring/*.schema.yaml and scripts/validate-chain-anchoring.py returns zero matches, and anchor-state.schema.yaml still carries the closed three-member status enum. The cut is the owner's order and the cutting session takes it; the TAG is a separate act at step 5 and the quoted sentence bites there. The collision is recorded in the changelog entry rather than resolved here. CHANGE CLASS: ADDITIVE (minor), MEASURED. git diff --name-status contract-v3.3 HEAD -- contracts/ reports 109 additions and 7 modifications, every path attributed in the entry: the 109 additions and three signed-execution-chain modifications are #629's; contracts/openreposhape-pin.yaml is #650's; contracts/review-lane-pin.yaml and contracts/review-lane-floor-snapshot.yaml are #647's decision-core re-pin and are NOT this cut's; contracts/manifest.yaml is #629's registration rows plus this cut's version line and nothing else. Twelve NEW contracts; both edited shipped schemas WIDEN enumerations (digest_subject by eleven, leaf_type by twelve plus ONE optional anchor_event member) and the one movement in the refusing direction cannot refuse a record valid at contract-v3.3, because anchor_event did not exist there. No required field added, no shape removed, no contract_schema_version moved, no vocabulary semantics changed. INVENTORY. Measured against contract-v3.3's 283 entries: none of the moved contracts/ paths except contracts/manifest.yaml is a release-inventory member (membership is closed over the surface scripts/hermes_runtime_validation/ release.py enumerates), so contract-v3.4.digests.yaml carries the same 283 members and re-baselines four, all editorial — manifest.yaml, CHANGELOG.md, README.md and tests/intent-compliance/test_release_boundary.py. Built LAST by the tool, never hand-edited. The pin is verified by its own gate, openreposhape-pin-gate, run 33874963034 on #650. The pre-cut verify-commit at 48dc9b6 reported exactly one finding, the bounded state § "What a red verify-commit at HEAD means" describes: HGR-RELEASE-DIGEST-MISMATCH error path=contracts/manifest.yaml: digest does not match the raw Git blob at the pinned commit WHAT MOVED, four files: the changelog entry above the v3.3 one; the contract_bundle_version line; the two contracts/README.md contract-index rows that discharge add-chain-anchoring task 4.12's README half; FEATURE_SUCCESSOR_8 in tests/intent-compliance/test_release_boundary.py with its by-hand statement (this cut moves NO intent-compliance member; membership UNCHANGED), wired into both match arms; and the built inventory. contract-v3.3's tag and inventory are untouched and remain valid provenance. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T * Repair the clearing guard that could only fire at the next cut, and rebuild the inventory tests/clearing/test_clearing_manifest_rows.py::test_the_declared_bundle_version _is_the_one_the_rows_name was written at contract-v3.3 and asserted doc["contract_bundle_version"] == "contract-v3.3" against the LIVE manifest. That equality could hold for exactly one release. The rows' "Registered at contract-v3.3" is HISTORY — the bundle whose bytes first carried the clearing family, which never moves — while contract_bundle_version names what the repository declares TODAY and advances at every cut. So the test reds the REQUIRED pytest-suite at this cut, over a family this cut does not touch. REPAIRED RATHER THAN RE-PINNED, because re-pinning to contract-v3.4 would only move the failure to contract-v3.5. The guard's stated purpose — "a cut that moved one and not the other would publish rows claiming a release the bundle does not declare" — survives whole: the test now reads the registering release OUT OF the rows, requires all six to name ONE release, requires an inventory beside both that release and the declared bundle, and requires the declared bundle never to be BEHIND the release the rows advertise. Renamed to test_the_declared_bundle_has_an_inventory_and_is_not_behind_the_rows. pytest tests/clearing/test_clearing_manifest_rows.py — 16 passed. The file is not a release-inventory member (no tests/clearing/ path appears in either inventory), so the repair moves no digest of its own; the inventory is rebuilt here only because contracts/CHANGELOG.md gains the section recording it. verify-commit at this commit: pass. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…76-file surface (#700) Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) Re-pins opensoft/openRepoShape from 122d729b to e9c4827b (ten commits), carrying PR #42 (descendant referent follows a declared pin chain; upstream #40) and PR #45 (a neutral product may elect the shape and be its own assembly root; upstream #41) — the sequencing condition on tasks group 1 of the ratified split-opendox-two-layer-product, per Brett Heap's 2026-09-05T14:52Z ruling "elect the shape for both, follow the pin chain, no family yet" and his words "merge 684 when green, then do the re-pin" / "merge 700 when green" (#656). Method = the #650 precedent (48dc9b6): every digest recomputed from bytes; 27→31 digested, 33→45 path-only, 60→76 surface; sixteen files added upstream, each classified by the pin file's own rule and listed in the pull request. Scaffold dry-runs for openDox and openXdox pass at e9c4827b with no override flag. Doc-health delta vs main: zero. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KarHshq6yuTMy6dWYuaSby
This was referenced Oct 7, 2026
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.
Lane: repo-shape
Claim: #649 (comment)
Closes #649.
contracts/openreposhape-pin.yamlpinnedopensoft/openRepoShapeatdeacbdcce4f52af427bcb4edd075fcc992e3dabe— PR #4 of the standard, the commitadd-project-repo-schemawas ratified against. The standard'smainis now122d729bc0c2f2e0ded0bb61b6b97f49512f613e(2026-09-04, after #24adopt execute/family initset thexf-project-<id>topic and #25recorded_gitlink()reads the index before HEAD), the shape every project carrying the standard has already taken throughupdate-shape. This pin was the last reader of the standard still at the ratification commit.The pin's grammar makes the bump a re-enumeration, not a one-line edit: the two lists must cover exactly the files present at the pinned commit (
pin-surface-undeclaredotherwise), and122d729bcarries 60 files wheredeacbdcccarried 34.What moved
commit:→122d729bc0c2f2e0ded0bb61b6b97f49512f613e, and the comment above it now says what that commit is (openRepoShapemainof 2026-09-04 after Record Project Alfa pilot proof #24/Record PR admission and merge council proof #25; the FAMILY holder, in-place adoption,update-shape.pyand the neutral-product pin template are what it adds) and records thatdeacbdccstays the ratification commit as a historical fact.AGENTS.md,README.md,LICENSE) is digested; tests, CI, ignore files,CLAUDE.md, template READMEs and Makefiles, and leg skeletons are path-only.122d729b(never transcribed):contracts/path-classification.yaml,templates/assembly-root/contracts/neutral-product-pin.yaml,templates/family-root/family.yaml,templates/family-root/contracts/shape-pin.yaml,adopt-project.py,update-shape.py,scripts/path_classify.py,scripts/shape_materialize.py,scripts/family.py,templates/family-root/scripts/bootstrap.py,templates/family-root/scripts/validate-family.py.templates/code-root/.gitignore,templates/spec-root/.gitignore,templates/family-root/.gitignore,templates/family-root/.github/workflows/validate.yml,templates/family-root/Makefile,templates/family-root/README.md,tests/test_adopt_e2e.py,tests/test_adopt_plan.py,tests/test_adopt_spec_only.py,tests/test_family.py,tests/test_free_plan_hint.py,tests/test_neutral_pin_validator.py,tests/test_reuse_visibility.py,tests/test_scaffold_pin_and_reuse.py,tests/test_update_shape.py.SIXTEEN→TWENTY-SEVEN,EIGHTEEN→THIRTY-THREE,34→60, and the "WHICH SIXTEEN, AND WHY THOSE" paragraph rewritten for the surface as it now is (two policy data files, seven contract/manifest templates across the assembly root and the family holder, five creating/updating tools, ten shipped validators and libraries). A new paragraph records that the rule — not the release a file arrived in — decided every new file, with the three judgement calls named (templates/family-root/{Makefile,README.md}path-only because their assembly-root siblings are; the two new template.gitignores path-only because every ignore file is;scripts/{family,path_classify,shape_materialize}.pydigested because they are shipped libraries the tools run out of, exactly asscripts/repo_shape.pyalready was).tests/openreposhape_pin/test_pin_verifier.py:COMMIT, the16/18/34assertions →27/33/60, the abbreviated-oid fixture value, and two test names / two docstring lines that stated a count.What did NOT move
deacbdccchanged list. All 34 members declared at the old commit are still present at122d729band still in the list they were in.templates/assembly-root/contracts/spec-pin.yaml,templates/assembly-root/contracts/code-pin.yaml,templates/assembly-root/contracts/shape-pin.yaml,bootstrap,LICENSE. The other 11 moved because the upstream bytes moved (git diff --stat deacbdcc 122d729bshows content changes to exactly those files:contracts/repository-naming.yaml,templates/assembly-root/project.yaml,scaffold-project.py,setup.sh,scripts/repo_shape.py,scripts/validate-repository-naming.py,templates/assembly-root/scripts/{bootstrap,validate-manifest,validate-pins}.py,AGENTS.md,README.md). Note the issue's estimate was "15 of 16"; the measurement says 11 of 16, and the five that did not move are named above.openspec/,contracts/CHANGELOG.md,contracts/manifest.yaml,contracts/releases/, the README "OpenSpec Records" block and every archived/record document: untouched..github/workflows/openreposhape-pin-gate.yml: untouched, and deliberately — it reads the pinned commit out of the pin file with the verifier's own parser, so there is no second copy of the referent to move.The measurement
openreposhape-pin-product-commitisreproduction=MEASURED, so a re-pin owes a named measurement. Verifier green against the real bytes at the new commit:And run deliberately against a checkout at the OLD commit, to show the pin refuses a stale tree rather than reporting 27 digest failures:
Three digests were also cross-checked by hand (
sha256sumover the checkout's working-tree bytes forscripts/family.py,README.mdandtemplates/family-root/family.yaml) against the rows written into the pin; all three agree with the verifier's own recomputation.openreposhape-pin-gateon this pull request is the same measurement run by CI: it checks outopensoft/openRepoShapeat the NEW commit read out of this file and re-verifies.Tests and doc-health
tests/doc-health/test_sentinel_vocabulary.pynamesopenreposhape-pin-product-commit(the 69th declared site, the 24th member) but asserts nothing about the pin's counts, so it needed no edit and stayed green.Doc-health self-gate, run the documented way and diffed against a worktree of
origin/mainas baseline:Both reports: 6 critical, 4 error, 27 warning, 16 info; new regressions vs previous report: 0. No new finding in any family — the only difference between the two reports is the governance word count (+97 words, the amendment note below), which moves the
ratifiedrow of the per-stage table and leaves canon share at 36.3%.Release status
This lands unreleased.
contracts/openreposhape-pin.yamlis not an entry incontracts/manifest.yamland appears in no file undercontracts/releases/, so it is not a release-inventory member and no cut is made here; perdocs/contract-versioning-policy.mda contract-file edit between cuts is expected and the next cut re-baselines. The inventory is not hand-edited, andcontracts/CHANGELOG.mdis untouched (itscontract-v3.1record still narrates the pin as landed atdeacbdcc, which is what a record should say).Not an OpenSpec change: no requirement of
project-repo-schemamoves; the pin advances within its ratified grammar.The doctrine sentence
docs/project-repo-schema.mdisStatus: ratified,Kind: standard,Ratified by: add-project-repo-schema, and it said in bold at § The pilot on record: "The commit this repository pins isdeacbdc, the one carrying both fixes". The bump makes that sentence false.Handled under
docs/document-lifecycle.mdas a currency correction, not a delta. The Explicit Delta Rule reaches prose that "changes, contradicts, or restates promoted policy"; this sentence states a FACT about the current value of an artifact the document cites, and the pin file is the authority for that fact. No requirement moves, so no OpenSpec change and noxspec:supersedesmarker is owed, and the lifecycle nowhere forbids the correction. It is made with the device the lifecycle document uses on itself (docs/document-lifecycle.md§ theedit-documentverb, "> Amended 2026-08-15. This first saidedit-apply… The rule is unchanged; only the verb name was wrong."):deacbdc, the one carrying both fixes";> Amended 2026-09-04note follows it, quoting what the text first said, naming the commit now in force with its split, stating that nothing in the doctrine moves with the bump, and saying that the PIN FILE rather than the sentence is where the commit in force is read.Everything else in that section is historical and true as written: the pilot run WAS made against
deacbdc, and the two first-run defects WERE fixed at7edd6bbanddeacbdc.Two live mentions of
deacbdcare left alone on purpose, both historical rather than claims about the pin in force:README.md:2329(the MedxScribe pilot line) andideation/README.md:341(the record of whatadd-project-repo-schemalanded — "at openRepoShapedeacbdcwith sixteen per-file digests and eighteen path-only members", a statement about the packet as landed). Everything elsegrep -rn deacbdcfinds outside those two is either the new pin header's deliberate historical references,contracts/CHANGELOG.md, or the archived change packet.Prose that stated the old count and is not a record was made count-free rather than renumbered, because a number in prose that no test reads is how the count went stale in the first place: the verifier docstring's "THE SIXTEEN
sha256s" and "beats sixteen failures", andscripts/doc_health/pin_class.py's "recomputes the sixteen digested members".🤖 Generated with Claude Code
https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T