Repository navigation
Cut contract-v3.1: add-project-repo-schema realized; archive it - #616
Conversation
…n is realized Realizes add-project-repo-schema tasks.md 9.3 -- the archive blocker that packet's own realization left to the cutting session. contract-v3.0 is the declared+tagged bundle and contracts/releases/ holds inventories through it with no member for this family, so the next additive number is contract-v3.1, taken here. Change class: ADDITIVE (minor). git diff --name-status contract-v3.0 HEAD -- contracts/schemas/project-register.schema.yaml scripts/validate-ideation-dashboard-contracts.py shows the schema gaining three OPTIONAL fields (schema, reference, repository_roles) and the validator gaining four new rules over those fields alone, with repositories unchanged as strings and every existing rule's behaviour untouched -- no consumer pinned at contract-v3.0 is made non-conformant. contracts/manifest.yaml: contract_bundle_version contract-v3.0 -> contract-v3.1. contracts/CHANGELOG.md: the contract-v3.1 entry, naming the four realized artifacts (docs/project-repo-schema.md, contracts/openreposhape-pin.yaml, scripts/validate-openreposhape-pin.py + its gate workflow, and the ONE registered row that actually moves -- scripts/validate-ideation-dashboard- contracts.py, row 1417 of the v3.0 inventory), and disclosing an unrelated re-baseline: docs/contract-versioning-policy.md drifted since v3.0 via PR #577 (the contract-v2.6 Instance Six recording), carried forward unchanged. contracts/README.md: the project-register.schema.yaml row's editorial description grown to name the new fields and add-project-repo-schema. contracts/releases/contract-v3.1.digests.yaml: built LAST via scripts/validate-contract-release.py build --tag contract-v3.1, 283 entries in, 283 out -- the closed release surface gains and loses no member; only the two named files' bytes moved. NOT HERE, deliberately: the contract-v3.1 annotated tag. Policy step 5 publishes it against the commit that actually lands on main; the post-merge commands are in the pull request body. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
9.2: re-verified contracts/openreposhape-pin.yaml against the real opensoft/openRepoShape bytes at deacbdcce4f52af427bcb4edd075fcc992e3dabe via scripts/validate-openreposhape-pin.py --from-gh (16 digests recomputed, 18 members present, 34 files declared, none undeclared, exit 0), and re-ran the four validator lines slices 4 and 5 recorded -- all green. 9.3: DONE, AS contract-v3.1, in the prior commit of this pull request. 9.4: python3 scripts/proposal-support.py . package add-project-repo-schema --date 2026-09-03 --apply converts supporting-docs/ into supporting-docs.tar.gz + supporting-docs.manifest.yaml, a verified deterministic bundle (proposal-support.py . verify -> "proposal support verification ok"), satisfying release-realization's proposal-support archive gate ahead of openspec archive. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
openspec archive add-project-repo-schema --yes: merged-plus-green realization evidence exists (contract-v3.1, cut in this pull request), so the release-realization archive gate opens. Moved to openspec/changes/archive/2026-09-03-add-project-repo-schema/. Promotes: project-repo-schema (11 ADDED requirements, new capability) and ideation-dashboard's "Project grouping hierarchy" (1 MODIFIED requirement -- the register's optional schema/reference/repository_roles election, carried verbatim with every original scenario retained). openspec/specs/project-repo-schema/spec.md: Purpose set from the proposal (elective, confers nothing, the double pin, the manifest-is-the-source rule, the ownership split with openRepoShape) rather than left TBD. README.md: moved the OpenSpec Records entry from Active to Archived, per the README's own convention, with the realization evidence (contract-v3.1, the MedxScribe pilot, and the real MedxEHR/MedxGlass adoptions) and the sequenced-after pin's movement recorded. ideation/README.md: the promoted-from-staging pointer now names the archive path; docs/project-repo-schema.md's own inline references to the pre-archive proposal.md path are left as originally written, mirroring this repository's own precedent (docs/contract-versioning-policy.md:341 still cites openspec/changes/add-release-inventory-drift-check/proposal.md, archived 2026-08-25, uncorrected) -- a record is not rewritten to match today's state. tests/sequenced_after/test_sweep.py: the live corpus pin moves in this same commit, its own protocol. Archiving this co-modified ACTIVE change moves active_co_modified alone, 20 -> 19 (measured: origin/main at 7af2725 reads 33 active + 125 archived = 158, 108, 50, 20/13; this commit reads 32 active + 126 archived = 158, 108, 50, 19/13) -- co_modified, sole_modifiers and active_sole are untouched, exactly the shape #563's, #571's and declare-spent-bundle-state's own archives moved. NOTE: this branch was authored against origin/main at 7af2725 while PRs #608 and #609 were landing separately per the coordinating session's instruction not to rebase repeatedly. The README OpenSpec Records block and this sequenced-after pin are the expected conflict points and must be re-measured against main's post-#608/#609 state before merge. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
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.
🔵 Needs a closer look
It performs a contract bundle cut plus an OpenSpec archive/promotion across many governance and release-tracked artifacts, which is high-impact and warrants final human review despite only minor inline nits.
Pull request overview
This PR performs the contract-v3.1 contract bundle cut to realize add-project-repo-schema’s release-gated validator changes, then archives the add-project-repo-schema OpenSpec packet and promotes its specs into canon while updating corpus indices and the live sequenced-after sweep pin.
Changes:
- Cut
contract-v3.1by bumpingcontracts/manifest.yamland adding a newcontracts/CHANGELOG.mdentry describing the additive surface. - Move
add-project-repo-schemafrom Active → Archived inREADME.mdand update related pointers/pins (ideation/README.md,tests/sequenced_after/test_sweep.py). - Add/promote canonical spec material for
project-repo-schemaand extendideation-dashboardcanon to document the new optional register election fields.
File summaries
| File | Description |
|---|---|
| tests/sequenced_after/test_sweep.py | Updates the live sweep narrative and pins active_co_modified to reflect archiving add-project-repo-schema. |
| README.md | Moves add-project-repo-schema from Active to Archived and records the archive/cut rationale. |
| ideation/README.md | Updates the promoted-from-staging pointer to the archived packet and refreshes the summary prose accordingly. |
| openspec/specs/project-repo-schema/spec.md | Adds the canonical project-repo-schema spec with Purpose + Requirements and scenarios. |
| openspec/specs/ideation-dashboard/spec.md | Updates the canonical “Project grouping hierarchy” requirement with additive optional election fields and scenarios. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/.openspec.yaml | Adds the archived packet’s origin metadata (staged origin provenance). |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/proposal.md | Archives the ratified proposal content and records realization/cut context for the archived packet. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/design.md | Archives the design record for the change. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/tasks.md | Marks archive-gated tasks as done and records the contract cut + packaging steps. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/review/ratification-2026-09-02.md | Adds the ratification record into the archived packet. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/supporting-docs.manifest.yaml | Records the deterministic supporting-docs bundle manifest for the archived packet. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/specs/project-repo-schema/spec.md | Captures the packet-local spec delta for project-repo-schema in the archived record. |
| openspec/changes/archive/2026-09-03-add-project-repo-schema/specs/ideation-dashboard/spec.md | Captures the packet-local spec delta for the ideation-dashboard modification in the archived record. |
| openspec/changes/add-project-repo-schema/supporting-docs/project-repo-schema.md | Removes staged supporting-doc content from the active packet path after archiving/packaging. |
| openspec/changes/add-project-repo-schema/supporting-docs/source-snapshots/project-repo-schema.md | Removes the staged snapshot from the active packet path after archiving/packaging. |
| contracts/manifest.yaml | Bumps contract_bundle_version to contract-v3.1. |
| contracts/CHANGELOG.md | Adds the contract-v3.1 entry documenting the additive contract surface and re-baselined members. |
| contracts/README.md | Updates the project-register.schema.yaml row description to reflect the new optional election fields and their release context. |
Review details
- Files reviewed: 13/20 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - **THEN** the row is valid and the election is machine-readable by the instrument that already names the group | ||
| - **AND** the election confers no lifecycle state, authority, gate standing or clearance eligibility over any repository it names | ||
|
|
||
| #### Scenario: A project declares neither field |
| than a present one. The pin moves in the SAME COMMIT as the corpus — here | ||
| the merge commit that resolves this conflict — which is this test's own | ||
| protocol. | ||
| - `active_co_modified` reads 19, and read 20 above. It moved on 2026-09-03, |
|
Lane: openxfactory-1d (cross-lane notice; not this lane's PR) A debt this cut is the named vehicle for, and does not yet carry. |
|
Lane: repo-shape CLAIMED — this lane (repo-shape; session xfactory-bc, Brett's release-cut lane) owns PR #616: the contract-v3.1 cut and the archive of add-project-repo-schema, plus the codexFactory floor lockstep (codexFactory #183 → core 605d48a). Acting under Brett Heap's ruling of 2026-09-03: (1) add the SPENT-state obligation paragraph to docs/contract-versioning-policy.md beside § Immutable Tag Correction (the declare-spent-bundle-state § 3.1 debt), (2) rebuild the v3.1 inventory LAST and note the paragraph + #577 re-baseline in the CHANGELOG entry, (3) fix merge-master-approval (floor pin advance, in progress) and pytest-suite (ReleaseState ValueError + floor tests), (4) lane protocol on every commit/comment. No merge until the convener's word. |
|
Lane: repo-shape CLAIMED — lane repo-shape, session session_01HGKwdQsmvRZx4fGQESdFGZ (xfactory-bc), 2026-09-03T14:54Z, for the contract-v3.1 cut + archive of add-project-repo-schema (this PR) and its floor lockstep. Rule 1 reads: (1) comments on this PR — one prior CLAIMED by this same lane (protocol-form supersedes it), no other lane's claim, no RULING comment (Brett's 2026-09-03 ruling was given in session); (2) |
…e floor now enumerates project-repo-schema (57 → 58) codexFactory PR #183 merged as 605d48acd129d25e5dd5dac48201f53c11de08ae (codexFactory main tip), regenerating scripts/merge_master/openxfactory-review-authority-floor.yaml's machine-generated block at openxFactory 6f80e67 — this pull request's own branch tip, where add-project-repo-schema was archived, realized at contract-v3.1, promoted — to carry openspec/specs/project-repo-schema/spec.md onto the floor. Generated block: 53 -> 54 tracked paths. Floor total (four hand-reasoned chokepoints + the generated block): 57 -> 58 never-clearable paths. Per codexFactory docs/repository-gate-floor-repair-runbook.md and openxFactory PR #569 (47f9008), every site that names the core commit moves together, in one commit: * contracts/review-lane-pin.yaml: core_commit db157dbb -> 605d48ac; declared_at/declared_from restated; the floor_snapshot sha256 bf7a6b69... -> 6ab79400..., entry_count 57 -> 58; prose restated to 58 entries and the PR #183 regeneration. * .github/workflows/merge-master-approval.yml: PINNED_CORE_COMMIT and the core checkout ref: literals advance to 605d48ac; a dated note records the advance beside the existing divergence note. * .github/workflows/pytest-suite.yml: the pinned-core checkout ref: (the fourth site the core commit is written, per tests/review_lane_pin/test_floor_snapshot.py:: test_the_required_suite_checks_out_the_pinned_core) advances to 605d48ac. * contracts/review-lane-floor-snapshot.yaml: re-copied byte-for-byte from codexFactory's floor document at 605d48a (sha256 6ab7940009e0d15117bf749266beb29bfbe4bf10be3c93cd5c6a0ea8362ea819), never hand-edited. Verified: `tests/review_lane_pin` 55 passed / 1 skipped locally (legitimate skip, no core checkout on disk), 56 passed / 0 skipped with a real codexFactory checkout at 605d48a supplied via PINNED_CORE_COMMIT (the byte-identity and freshness-verifier-by-name tests both ran and passed for real). `doc-health.py --single-repo .` run before and after this edit is identical modulo repo-identity naming and one run's transient release-tag-publication network skip (reproduced clean on re-run) — no family gains or loses a finding because of this change. `pytest tests/doc-health -q -m "not postgres"` and `openspec validate --all --strict` (86/86) both pass. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
There was a problem hiding this comment.
🔵 Needs a closer look
It cuts a new contract bundle and updates multiple governance-critical pins/inventories and archival artifacts, which warrants careful human verification beyond automated review.
Review details
Suppressed comments (1)
tests/sequenced_after/test_sweep.py:501
- The docstring sentence is grammatically incorrect: "reads 19, and read 20 above" reads as a typo and makes the measurement narrative harder to follow.
- `active_co_modified` reads 19, and read 20 above. It moved on 2026-09-03,
- Files reviewed: 17/24 changed files
- Comments generated: 1
- Review effort level: Lite
| # ADVANCED AGAIN 2026-09-03, from `db157dbb` to `605d48ac` (codexFactory PR | ||
| # #183, an LQ-A7 completeness repair, ADD-SIDE): the machine-generated block |
|
Lane: openxfactory-f2 Heads-up, not a claim on this pull request — a floor collision you need to know about before the pin advance here is written. codexFactory PR #183 regenerated What this means here.
|
…te's 3.1, owed at this cut The obligation-side half of declare-spent-bundle-state task 3.1, deliberately left owed to the next contract cut under OD-6's shape argument and affirmed there by Brett Heap on PR #587 (2026-09-03T02:49:08Z). This is that cut. WHAT #577 ALREADY DISCHARGED AND IS NOT RE-AUTHORED HERE: the consumer-facing record that contract-v2.6 is superseded and not dischargeable. That lives in this same document as Instance Six and is cross-referenced, not restated -- "two records of one measurement is how they drift apart". Instance Six RECORDS the supersession; the new subsection DEFINES the state, which is precisely what #577 declined to do ("No sentinel is invented ... Building one here would be exactly the failure that check exists to catch"). Placed as a ### subsection of ## Immutable Tag Correction, LAST in that section -- after ### contract-v1.36 Was Moved, whose opening sentence says "the rule immediately above" and would have been broken by an insertion between it and its parent. It sits beside Immutable Tag Correction because the SPENT remedy IS that section's remedy for a defective release applied one step earlier in the lifecycle, and because its "its version number is never reused" is the sentence the v2.6 disposition leans on. The paragraph states, quoting openspec/specs/doc-health/spec.md ### Requirement: Release-tag publication rather than paraphrasing it where the wording carries weight: the third state between published and owes-a-tag; entry ONLY by explicit declaration, never by silence, age or any absence; the declaration's home in contracts/CHANGELOG.md inside the SUPERSEDING bundle's own entry, in the reserved single-line form, with the opener reserved and an incomplete line malformed rather than prose; that a bundle cannot declare itself spent; the successor guard in all three of its conjuncts (cut, published, strictly later); the three severities -- info accepted, warning provisional, error refused with the superseded error standing beside it; and that the number is never reused while the manifest, the inventory and the spent bundle's own entry are left exactly as written. The reserved form is shown as a 4-space indented code block, per the requirement's own reason for doing so. Measured, not assumed: zero lines of this document begin with the reserved opener, and the family reads only contracts/CHANGELOG.md in any case (line.startswith, no lstrip). doc-health --single-repo vs the pre-edit tree at the same origin/main (0f1edc0): 6 critical / 4 error / 29 warning / 13 info on both, no family gains or loses a finding, release-tag-publication included. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
…and as the tripwire requires The contract-v3.1 cut moved contracts/manifest.yaml and left this file behind: ValueError: 'contract-v3.1' is not a valid ReleaseState, failing test_release_membership_when_registration_changes_then_transition_is_atomic and test_release_inventory_when_registration_changes_then_schema_pins_are_atomic (2 failed, 286 passed, reproduced before the edit). That failure is the tripwire working, not a bug. The enum's own docstring says why it must be a HAND act: INTENT_RELEASE_FLOOR is an at-or-after comparison, so nothing here notices a bump on its own, and every cut past the floor states on the record which side of the boundary its bundle falls on. FEATURE_SUCCESSOR_5 = "contract-v3.1" added, mirroring the four successors above it, and wired into both match statements' successor arm exactly as v2.5, v2.6 and v3.0 are wired -- the arms are exhaustive over the enum and guarded by assert_never, so a value added without wiring would fail there instead. The docstring gains the paragraph the tripwire exists to collect: the v3.1 cut is add-project-repo-schema's project-register election and its openRepoShape consumption pin; the ONE registered row it moves is scripts/validate-ideation-dashboard-contracts.py; it touches NO intent-compliance member; so the membership this file asserts is UNCHANGED -- said by hand, because "unchanged" is the one thing the library cannot tell from "unnoticed". python3 -m pytest tests/intent-compliance -q: 288 passed. This file is itself a member of the intent-compliance release surface, so its new bytes are part of what the v3.1 inventory rebuild in the next commit records. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
…the inventory over the bytes as cut The changelog half first, then the inventory LAST, because the inventory digests the changelog. contracts/CHANGELOG.md, inside the existing ## contract-v3.1 entry and immediately after the paragraph disclosing #577's between-cuts drift: three paragraphs saying that docs/contract-versioning-policy.md moves a SECOND time at this cut and why. The first movement is #577's bytes carried forward unaltered (that paragraph is not edited); the second is declare-spent-bundle-state task 3.1's SPENT-state definition, routed by OD-6 to "the next contract cut" and affirmed there by Brett Heap on PR #587 (2026-09-03T02:49:08Z). One rebuilt inventory re-baselines both, which is what discharges that packet's § 3.2 -- this changelog's editorial drift info and the policy document's release-inventory-drift ERROR "both clear on their own when the inventory re-baselines". NOTHING IS DECLARED SPENT BY THIS CUT and the entry says so in terms. contract-v2.6's declaration stands exactly where it was written, in § contract-v3.0's own entry; no declaration is added or edited. Measured, not asserted: contracts/CHANGELOG.md still carries EXACTLY ONE line beginning with the reserved opener, the v2.6 declaration at what is now line 538, and this commit introduces no new ## heading that could move an entry boundary under it. contracts/releases/contract-v3.1.digests.yaml rebuilt with the command the cut itself used (01489fc): scripts/validate-contract-release.py build --tag contract-v3.1 --output contracts/releases/contract-v3.1.digests.yaml. 283 entries in, 283 out -- the closed release surface gains and loses no member. THREE digests move, and all three are this ruling's own edits, each of which is a registered member: contracts/CHANGELOG.md 6f89cc40 -> 8be8bc65 docs/contract-versioning-policy.md 094bd83b -> 280691a5 tests/intent-compliance/test_release_boundary.py 2d600127 -> 6c9dd003 So the inventory DOES digest the policy document -- artifact_id docs-contract-versioning-policy.md, a NORMATIVE_DOCS member -- and the v3.1 inventory now records the tree as cut rather than as contract-v3.0 recorded it. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
There was a problem hiding this comment.
🟢 Approval recommended
The changes appear internally consistent and the only issues found are minor comment/doc typos with straightforward fixes.
Review details
Suppressed comments (2)
.github/workflows/merge-master-approval.yml:95
- The comment has a duplicated “#” in the PR reference (
PR # #183), which reads like a typo and makes the reference harder to parse.
# ADVANCED AGAIN 2026-09-03, from `db157dbb` to `605d48ac` (codexFactory PR
# #183, an LQ-A7 completeness repair, ADD-SIDE): the machine-generated block
# was regenerated at openxFactory `6f80e67e` — this pull request's own branch
tests/sequenced_after/test_sweep.py:501
- Minor grammar issue in the docstring: “reads 19, and read 20 above” mixes tenses and is likely meant to be “reads 19, and it read 20 above”.
- `active_co_modified` reads 19, and read 20 above. It moved on 2026-09-03,
- Files reviewed: 19/26 changed files
- Comments generated: 0 new
- Review effort level: Lite
This branch was authored against `origin/main` at `7af2725c`, which is the real merge base — not `2b0615da`, which is itself a later `main` commit. Main moved on by the ratifications of `create-medxchart-overlay-boundary` (#608) and `create-medxpractice-overlay-boundary` (#609) — BOTH RATIFIED AND STILL ACTIVE, neither archived — and by #614, #602, #604, #601, #599 and #603. TWO CONFLICT POINTS, both named in advance by this branch's own README block and sweep docstring, and both resolved by KEEPING BOTH SIDES rather than by taking either wholesale. README.md — the "OpenSpec Records" block auto-merged, the two sides having touched disjoint regions, and the result was checked rather than assumed: main's expanded RATIFIED entries for both overlay-boundary packets stand under "Active changes", and this branch's move of `add-project-repo-schema` out of that list and into "Archived changes" stands as well. This branch's "NOTE FOR THE NEXT REBASE" paragraph is rewritten to RECORD its own discharge instead of still demanding it. tests/sequenced_after/test_sweep.py — the corpus pin, the one textual conflict. `active_co_modified` resolves to 20, WHICH IS NEITHER SIDE'S NUMBER: #608's ratification made an already-active change a co-modifier and raised it 20 -> 21, this branch's archive of `add-project-repo-schema` moved a co-modified active change out of the active corpus and lowered it 20 -> 19, and on the merged tree both are true at once so the two moves cancel at 20. MEASURED, not netted by arithmetic, on both trees via `python3 scripts/validate-sequenced-after.py . --sweep`: `origin/main` at `0bf37d14` reads 33 active + 125 archived = 158 change ids, 109 co-modified, 49 sole modifiers, 21 / 12 active co-modified/sole; the merged tree reads 32 active + 126 archived = 158, 109, 49, 20 / 12. EXACTLY ONE READING DIFFERS, main's own reading being the by-exclusion control since this archive is the only difference between the two trees. Every other pin therefore keeps MAIN'S post-#608/#609 value — `co_modified` 109, `sole_modifiers - 1` 48, `active_sole - 1` 11, `change_ids - 1` 157 — and BOTH movement-log bullets are kept, main's and this branch's, with a third recording the merged reading. #609 moves no pin at all: its delta carries no `## MODIFIED Requirements` block, so it was and remains a sole modifier. NO `contract-v3.1` INVENTORY MEMBER MOVED. The 283 registered paths were intersected with everything `main` touched across `7af2725c..0bf37d1`: main's only edits under `contracts/`, `scripts/` or `docs/` are `scripts/nlm_auth.py`, `scripts/sync-notebooklm-books.py`, `scripts/validate-manifest-digests.py` and four `docs/notebook*` / `docs/lifecycle-notebook-projection.md` files, and NONE of the seven is a registered row. The inventory therefore stands as cut and is not rebuilt. 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.
🔵 Needs a closer look
It performs a contract bundle cut and archives/promotes governance artifacts across many files, which warrants a final human verification pass despite only minor localized fixups.
Review details
Suppressed comments (2)
tests/sequenced_after/test_sweep.py:686
- The assertion message mixes two different baselines using "since" (e.g., "It read 20 since …" followed by "It read 21 since …"), which reads like both are simultaneously true and makes failures harder to interpret. Reword the later clause to indicate it’s a prior/historical reading (e.g., "after"), so the timeline is unambiguous.
"#563's and #571's archives moved. It read 21 "
"since add-project-repo-schema was authored 2026-09-02 as one "
.github/workflows/merge-master-approval.yml:95
- Typo in the changelog comment: "PR # #183" has a duplicated "#", which is confusing when scanning for the referenced PR number.
# ADVANCED AGAIN 2026-09-03, from `db157dbb` to `605d48ac` (codexFactory PR
# #183, an LQ-A7 completeness repair, ADD-SIDE): the machine-generated block
# was regenerated at openxFactory `6f80e67e` — this pull request's own branch
- Files reviewed: 19/26 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-f2 ORDER RULED — Brett Heap, 2026-09-03 ~19:5xZ, in-session, verbatim: "615 first, but first verify status." Verified at 19:52Z: this PR is OPEN (head RULING for lane openxfactory-f2's PR #615 and lane repo-shape's PR #616: #615 lands first. Lane f2 now merges codexFactory #184 (floor = 53 + |
|
(lane repo-shape, 2026-09-03T20:11Z) Brought up to date with What
|
| change ids | co_modified |
sole_modifiers |
active co-mod / sole | |
|---|---|---|---|---|
origin/main @ 0bf37d14 |
33 active + 125 archived = 158 | 109 | 49 | 21 / 12 |
| merged tree | 32 active + 126 archived = 158 | 109 | 49 | 20 / 12 |
EXACTLY ONE READING DIFFERS, main's own reading being the by-exclusion control since this archive is the only difference between the trees. Every other pin therefore keeps main's post-#608/#609 value — co_modified 109, sole_modifiers - 1 48, active_sole - 1 11, change_ids - 1 157. Both movement-log bullets are kept, main's and this branch's, with a third recording the merged reading. #609 moves no pin at all: its delta carries no ## MODIFIED Requirements block, so it was and remains a sole modifier.
Every other file main touched is byte-identical to origin/main in the merged tree — checked blob-by-blob across all 29 of them; only these two differ, and both deliberately.
Inventory decision: NOT rebuilt
verify-commit passes at the merged tree, and no contract-v3.1 inventory member moved. The 283 registered paths were intersected with everything main touched across 7af2725c..0bf37d14: main's only edits under contracts/, scripts/ or docs/ are scripts/nlm_auth.py, scripts/sync-notebooklm-books.py, scripts/validate-manifest-digests.py and four docs/notebook* / docs/lifecycle-notebook-projection.md files — none of the seven is a registered row. No digest moved, so the inventory stands as cut.
Validators at the merged tree — all clean
release verify-commit: pass
inventory=contracts/releases/contract-v3.1.digests.yaml
Totals: 86 passed, 0 failed (86 items) # openspec validate --all --strict
2092 passed, 1 skipped, 7 warnings, 20 subtests passed in 452.99s
# pytest sequenced_after intent-compliance review_lane_pin doc-health
# openreposhape_pin ideation_dashboard proposal-support
OK contracts/manifest.yaml: 163 per-file digest(s) verify
validate-ideation-routing: 0 error(s), 0 warning(s)
doc-health was compared against a baseline run on a clean checkout of origin/main @ 0bf37d14. No family gains a finding. The only family that moves is release-inventory-drift, which goes 3 findings → 0 — precisely what cutting contract-v3.1 is for:
main Findings: 6 critical, 6 error, 29 warning, 14 info. New regressions vs previous report: 0.
merged Findings: 6 critical, 4 error, 29 warning, 13 info. New regressions vs previous report: 0.
The two cleared errors are docs/contract-versioning-policy.md and scripts/validate-ideation-dashboard-contracts.py ("bytes differ from the digest contract-v3.0 records"), plus the editorial contracts/CHANGELOG.md info.
Checks on head a981c988
| check | result | run |
|---|---|---|
openreposhape-pin |
pass | 33798470110 |
signed-execution-chain-gate |
pass | 33798470109 |
wallet-validation |
pass | 33798470033 |
merge-master-approval |
fail — RED BY CONSTRUCTION | 33798468433 |
pytest-suite |
fail — INHERITED FROM #610 | 33798470102 |
merge-master-approval is red by construction and must not be "fixed" here. It is a pull_request_target workflow, so it runs main's copy of the workflow at the OLD core pin db157dbb — the 57-entry floor, which cannot enumerate a spec this pull request is the one adding:
stage: floor_incomplete
floor entries: 57
reachable matches: 2
unreachable entries: 0
tracked under prefix: 54 (openspec/specs/)
uncovered by floor: 1
matched: contracts/review-lane-pin.yaml
matched: openspec/specs/ideation-dashboard/spec.md
UNCOVERED: openspec/specs/project-repo-schema/spec.md
The refusal message names the three-step repair itself, and steps (2) and (3) are exactly what this pull request carries: the core pin advances db157dbb → 605d48ac (floor 57 → 58) in contracts/review-lane-pin.yaml, the workflow's two pin literals and the vendored floor snapshot, in lockstep. It clears the moment this lands on main.
pytest-suite fails on six tests that are not this branch's — and this one is worth flagging to whoever owns #610. The pull_request merge ref picked up #610 (ea117d4e), which landed on main after this branch was pushed:
FAILED tests/factory_identity/test_mint_script.py::test_the_whole_mint - ModuleNotFoundError: No module named 'cryptography'
FAILED tests/factory_identity/test_mint_script.py::test_a_failed_secret_set_aborts_before_any_register_edit
FAILED tests/factory_identity/test_mint_script.py::test_a_store_that_exits_zero_but_stored_nothing_refuses
FAILED tests/factory_identity/test_mint_script.py::test_a_failing_gate_leaves_the_tree_modified_and_uncommitted
FAILED tests/factory_identity/test_mint_script.py::test_a_green_gate_that_adjudicated_nothing_is_refused
FAILED tests/factory_identity/test_mint_script.py::test_the_recorded_ruling_is_the_operators_own
6 failed, 8935 passed, 21 skipped, 338 deselected, 9 warnings, 57 subtests passed in 1287.49s
scripts/mint-factory-origin-key.py:1282 imports cryptography, which is NOT in requirements/hermes-runtime-contracts.lock — the lock CI installs with --require-hashes. #610's own pytest-suite failed with the byte-identical signature (run 33798107640: same six tests, same 6 failed, 8935 passed, 21 skipped, 338 deselected) and it was merged red regardless, so main is currently broken for this lane. Nothing on this branch touches tests/factory_identity/, scripts/mint-factory-origin-key.py or requirements/ — the fix belongs to #610's lane (add cryptography to the lock with hashes, or guard the import), not to this pull request.
No force-push was used; the merge is a merge commit, pushed fast-forward 5d8cf02c..a981c988.
|
(lane repo-shape, 2026-09-03T20:52Z) — POST-MERGE DEFECT REPORT on contract-v3.1: the published tag does not verify. Merged as squash 19d0087; annotated tag contract-v3.1 pushed on it. Cause, measured: the inventory was built LAST at this PR's head a981c98 and verified there, but #621 (11db75e, the mint script's Ed25519 dependency) landed on main between that build and this squash merge and changed both files, which are registered inventory members. This lane tagged after the merge without re-running verify-commit at the merge commit first — that is the error, and it is this lane's. Policy (docs/contract-versioning-policy.md § Immutable Tag Correction): the tag is NOT moved, deleted or re-tagged; a defective release is corrected by a SUPERSEDING release allocated through the realization order, with the defect and migration guidance recorded in contracts/CHANGELOG.md; contract-v3.1 and its inventory stay as immutable provenance and the number is never reused. Proposed act, awaiting the convener's word: cut contract-v3.2 at the current main tree (inventory rebuilt at the exact tree that will be tagged; verify-commit at the merge commit BEFORE tagging), recording v3.1's defect. Nothing further is done until that word. |
…pace A catch-up merge rather than a rebase: force-push is refused by repository rule on this branch, and the earlier heads are already published and reviewed. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
…t held CI on f4a8fa8 reported seven failures; six were the inherited #620 set and the seventh was mine — the live sequenced-after sweep, whose pins this packet moves by adding an active change with two MODIFIED blocks. Measured on both trees after rebasing onto current main, because #616 landed the contract-v3.1 cut underneath this branch and had itself moved active_co_modified 21 -> 20; pinning against the stale base would have produced numbers that were wrong on arrival. main 19d0087 reads 158/109/49/20/12; this branch reads 159/110/49/21/12. The mechanism is the opposite of the obvious prediction, so it is written into the pin rather than left to be re-derived. A MODIFIED block over a requirement whose only earlier writer was archived and sole normally raises co_modified by TWO and drops sole_modifiers by one. Here it raised by one and the sole set held, because add-binding-consumer-identity was ALREADY co-modified through a third key it shares with add-notebook-hosting-credential-custody, so it was never in the sole set and had nothing to leave. The two pins that did not move carry a HOLD note each: a pin that silently holds through a move that usually shifts it is indistinguishable from one nobody re-derived. Also re-reads the bundle figures the packet is indexed to. contract-v3.1 is now CUT and published, so the next additive minor re-reads as contract-v3.2 — and is still not written down, for the same reason it was not written before. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
…anch ONE CONFLICT, IN THE FILE THIS PACKET EXISTS TO FIX, and it is the packet's own evidence rather than an inconvenience: #616 cut `contract-v3.1`, realized `add-project-repo-schema` and ARCHIVED it, and in the same commit moved the five scalar pins in `tests/sequenced_after/test_sweep.py` and appended a MOVEMENT LOG entry. This branch had replaced those five assertions, so git could not merge them. RESOLUTION. - The ASSERTION BLOCK takes this branch's side: the five literals are what the packet removes, and main's newer literals are the same shared total under newer numbers. - The MOVEMENT LOG merged CLEANLY and every one of main's entries is retained VERBATIM — verified line by line against `origin/main`'s docstring, zero lines missing. Retaining history verbatim is this packet's own rule. - The LEDGER was re-derived mechanically, not hand-edited: `validate-sequenced-after.py . --seed-ledger --moved-by '#623'`. AND THE RE-DERIVATION IS THE MEASUREMENT THE PROPOSAL ARGUES FOR. A merge that brought in a contract cut, a realization and an archive moved EXACTLY ONE LINE of the ledger: - add-project-repo-schema: {state: active, class: co-modifier, ...} + add-project-repo-schema: {state: archived, class: co-modifier, ...} Under the old pin the same merge moved four totals, a docstring entry and this branch's whole assertion block. Under the new one it moves one row, the row diff states the move in full, and NO MOVEMENT LOG ENTRY IS OWED for it — which is the new rule applied to the first case that arose after it was written. Gates on the merged tree: `openspec validate --all --strict` 87/87; `openspec validate add-per-change-sweep-ledger --strict` valid; `validate-sequenced-after.py .` passes (33 active, 2 declaring); `--ledger-diff` exits 0 on 159 rows; `pytest tests/sequenced_after` 144 passed. Refs #618 Lane: openxfactory-max001 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
…collision #616 archived `add-project-repo-schema` and landed FIRST, promoting `openspec/specs/project-repo-schema/spec.md` and advancing the review-lane pin onto codexFactory PR #183's 54-entry spec floor (`605d48ac`). This branch archives `update-standards-body-current-publications` and promotes `openspec/specs/standards-body-registry/spec.md`. Neither floor covers the merged tree, which carries FIFTY-FIVE tracked spec paths. RESOLUTIONS, six conflicted files: - `README.md` — each side removed a DIFFERENT active entry (ours `update-standards-body-current-publications`, main's `add-project-repo-schema`) and each ADDED its own archived entry, which auto-merged. Both packets are archived on the merged tree, so BOTH active entries go and neither archived entry is disturbed. - `tests/sequenced_after/test_sweep.py` — both sides' MOVEMENT LOG entries kept and a new entry added naming this merge. RE-MEASURED with `python3 scripts/validate-sequenced-after.py . --sweep`, not netted by arithmetic: the merged tree reads `31 active + 127 archived` = 158 change ids, `109` co-modified, `49` sole modifiers, `20 / 11` active co-modified/sole; `origin/main` at `19d00872` reads `32 active + 126 archived` = 158, `109`, `49`, `20 / 12`. By exclusion, the merged tree with ONLY this archive undone reproduces main's reading EXACTLY, so the archive is the whole of the difference and no third change moved in the window. The pins take `active_co_modified` = 20 from MAIN (this branch's 21 was measured at `ea117d4e`, before #616 archived an active co-modifier) and `active_sole - 1` = 10 from THIS BRANCH (main's 11 falls by one on this archive of an always-sole active change) — neither side's pair, which is why it had to be measured. `co_modified` 109, `change_ids - 1` 157 and `sole_modifiers - 1` 48 all hold. - The FIVE pin sites and the vendored snapshot — `contracts/review-lane-pin.yaml`, `contracts/review-lane-floor-snapshot.yaml`, `.github/workflows/merge-master-approval.yml`, `.github/workflows/pytest-suite.yml` — RESOLVED TO MAIN'S SIDE in full, byte-identical to `origin/main`, REVERTING this branch's own `0d17d1be` advance onto codexFactory `8cb17373`. A pin cannot name a floor that does not cover the tree it judges: PR #184's floor is 53 specs + this branch's one, and the merged tree has 55. Taking the union of the two snapshots — which is what a naive line merge produced in the snapshot's generated block — would have hand-forged a document only `scripts/merge_master/generate_specs_floor_block.py` may write (CSC-C7). Per the pinned core's `docs/repository-gate-floor-repair-runbook.md` the SECOND lander regenerates the floor ONCE at its own post-merge head; the pin advance onto that new floor is a separate commit. EXPECTED RED, and it is the guard working: `tests/review_lane_pin` fails on exactly three coverage assertions, every one of them naming `openspec/specs/standards-body-registry/spec.md` — `TheRealFiles::test_every_tracked_openspec_spec_path_is_on_the_floor`, `NegativeControls::test_a_fabricated_off_floor_spec_path_is_refused`, `NegativeControls::test_the_unmutated_surface_is_a_positive_first` (3 failed, 52 passed, 1 skipped, 18 subtests passed). A spec the floor does not carry is a spec the floor does not protect. GREEN on the merged tree, measured and not assumed: `pytest tests/sequenced_after tests/test_standards_body_registry.py` 135 passed; `pytest tests/doc-health` 1500 passed (foreground, 578s); `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` 86 passed, 0 failed; `ls openspec/specs | wc -l` = 55 with both `project-repo-schema` and `standards-body-registry` present, matching 55 git-tracked `openspec/specs/*/spec.md` paths. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF
#624) contract-v3.1 was cut by #616 (squash 19d0087) and its annotated tag pushed there. It does not verify at its own commit. verify-tag --tag contract-v3.1 and verify-commit --commit 19d0087 both report: HGR-RELEASE-DIGEST-MISMATCH error path=requirements/hermes-runtime-contracts.in: digest does not match the raw Git blob at the pinned commit HGR-RELEASE-DIGEST-MISMATCH error path=requirements/hermes-runtime-contracts.lock: digest does not match the raw Git blob at the pinned commit MEASURED CAUSE. The v3.1 inventory was built last at #616's head a981c98 and verified there. The branch forked at 0bf37d1 and three first-parent landings reached main before the squash: ea117d4 (#610), 4fc7b94 (#566) and 995c0ad, the merge of 11db75e (#621, "The mint script's Ed25519 dependency is declared where the suite installs it"). Intersecting the eighteen paths of `git diff --name-only a981c98 19d0087` with the 283 registered members of contract-v3.1.digests.yaml leaves exactly two, both #621's: requirements/hermes-runtime-contracts.in and .lock. The lane published the tag without re-running verify-commit at the merge commit — Bundle Realization Order step 4, skipped. That was lane repo-shape's error, in the cutting session itself. REMEDY, per docs/contract-versioning-policy.md § Immutable Tag Correction: the published tag is never moved, deleted or re-tagged. The defect is corrected by a superseding release allocated through the same realization order. contract-v3.1's tag and inventory remain in place as immutable provenance, its number is never reused, and nothing is declared spent — v3.1 was PUBLISHED, so it is DEFECTIVE rather than a number that could never be published. Ruled by Brett Heap, convener, 2026-09-03: "cut 3.2". CLASS: ADDITIVE (minor). `git diff --name-status contract-v3.1 HEAD` at the branch point is empty — the tag peels to origin/main's tip — so this bundle is v3.1's realized surface with the two requirements files as they now stand. The only registered movement is #621's cryptography==50.0.0 declaration and its lock closure: a build dependency added, no required field, no shape removed, no semantics changed. No consumer pinned at contract-v3.1 is made non-conformant. One candidate commit, per Bundle Realization Order step 2: manifest, changelog, the release-boundary hand statement and the rebuilt inventory move together. Membership is 283 rows in both inventories, unchanged; five digests move — this cut's own three release-surface files plus the two requirements files. No new capability is realized beyond what contract-v3.1 named. contracts/releases/contract-v3.1.digests.yaml is byte-identical. Lane: repo-shape Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T Co-authored-by: Claude Fable 5.1 <[email protected]>
…oth README archive rows, and the sweep pin re-derived on the merged tree Two conflicts, both in files where this branch and `main` added to the same list on the same day. README.md "OpenSpec Records" — both sides prepended a row to `Archived changes:`. BOTH ARE KEPT, this branch's `amend-owner-layer-severity` first and main's `add-project-repo-schema` (the `contract-v3.1` cut, #616) second, with every other row of main's untouched. No row is dropped and none is rewritten: the block is a record, and a merge that resolved it by picking a side would delete somebody's history. tests/sequenced_after/test_sweep.py — both sides appended MOVEMENT LOG entries and both moved `active_co_modified`. Main's entries are kept ahead of this branch's two, and a MERGE entry is added that measures the merged tree rather than reasoning about it. THE PIN IS A NET OF FOUR OPPOSED MOVES ON ONE READING AND A COMPOUND ON THE OTHERS, and that asymmetry is the whole content of the merge entry. `active_co_modified`: main moved twice off the shared 20-baseline (create-medxchart-overlay-boundary's RATIFICATION #608 20 -> 21, then add-project-repo-schema's ARCHIVE on the contract-v3.1 cut 21 -> 20) and this branch moved twice off the same baseline in one commit (the authoring 20 -> 21, the archive 21 -> 20). Four moves, cancelling two-for-two, so the merged tree reads 20 — neither branch's intermediate, and not arithmetic on either. `co_modified`, `change_ids` and `sole_modifiers` COMPOUND instead, because main's two moves were an active-membership ratification and an archive, neither of which touches a corpus-wide count, while this branch's authoring raised `co_modified` by two and lowered `sole_modifiers` by one for good. merged tree 32 active + 127 archived = 159 / 111 / 48 / 20-12 origin/main 32 active + 126 archived = 158 / 109 / 49 / 20-12 this branch 33 active + 126 archived = 159 / 111 / 48 / 21-12 MEASURED ON ALL THREE TREES AND BY EXCLUSION, never adjusted by arithmetic: the same sweep on the merged tree with only openspec/changes/archive/2026-09-03-amend-owner-layer-severity/ moved aside reads 158 / 109 / 49 / 20-12 — main's own reading EXACTLY — so this one archived packet is the whole of the difference and no third change moved in the window. `archived` rises 126 -> 127; prose headers hold at 3 (3 archived); `declaring`/`root_claims` hold at 1/0. The promoted canon this branch carries is re-verified on the merged tree by sha256 rather than assumed to have survived the merge: `Owner layer constraint` hashes 035fb896…bc4ed439 and `The declared bundle describes the release surface` hashes 6e102b2e…d02a1d19a, both identical to the archived packet's own delta blocks, and `promotion-fidelity` reads 0/0/0/0 over the merged tree. Gates on the merged tree: openspec validate --all --strict 86 passed / 0 failed; proposal-support verify ok over the whole corpus; pytest tests/sequenced_after 118 passed. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
… the two-packet collision THE OPENXFACTORY HALF OF THE FLOOR REPAIR THIS PACKET'S OWN PROMOTION FORCED, TAKEN A SECOND TIME AND FOR A REASON THAT IS NOT A CORRECTION OF THE FIRST. TWO openxFactory packets each promoted a NEW capability on 2026-09-03, and codexFactory's `repository_gate_floor` for this repository is REGENERATED BY ENUMERATING A TREE rather than by editing a list. `add-project-repo-schema` (PR #616, merged 20:49Z as `19d00872`) landed first and codexFactory PR #183 (`605d48ac`) regenerated for it. codexFactory PR #184 (`8cb17373`) then regenerated for THIS packet at `c9928846` — PR #615's PRE-MERGE branch head, which did not yet carry #616's promotion — so its block went 54 -> 54 rather than 54 -> 55 and SILENTLY DROPPED `openspec/specs/project-repo-schema/spec.md`, the entry #183 had just landed. NEITHER EARLIER PULL REQUEST IS DEFECTIVE. Each regenerated at a real tree, exactly as CSC-C7 requires. This is the failure mode a two-lander collision HAS, and the pinned core's `docs/repository-gate-floor-repair-runbook.md` already answers it by making the SECOND LANDER regenerate once at its OWN POST-MAIN-MERGE head. AND `main` WAS NEVER BROKEN IN THE INTERVAL — stated so nobody hunts an incident that did not happen. `main`'s pin named `605d48ac`, whose 58-entry floor covers `main`'s 54-spec tree INCLUDING `project-repo-schema`. The gap becomes reachable only when THIS packet's fifty-fifth spec lands, which is the moment this advance exists to serve. CODEXFACTORY'S HALF LANDED: PR #186, MERGE COMMIT (not squash) `8f770afbf86043ee0f5494ded0f12f51c2a9b45e`, 2026-09-03T21:55:35Z, regenerated at openxFactory `8d893a0f` — this branch's merge of `main` `19d00872`, and the FIRST COMMIT ANYWHERE carrying fifty-five tracked paths under `openspec/specs` — restoring `project-repo-schema` BESIDE `standards-body-registry`. codexFactory `main` was re-verified at that same commit by `git ls-remote` immediately before this advance rather than assumed. FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them disagree: contracts/review-lane-pin.yaml core_commit 605d48ac -> 8f770afb .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT (same) .github/workflows/merge-master-approval.yml core checkout ref: (same) .github/workflows/pytest-suite.yml core checkout ref: (same) contracts/review-lane-floor-snapshot.yaml re-copied at the new commit and the snapshot's declared witnesses move with it: `entry_count` 58 -> 63, `sha256` 6ab79400… -> b8f95136916fc58d297a8319408bebbffaf327790fd2885a677e22de193f41f8. THIS PIN NEVER NAMED `8cb17373`, AND THAT IS RECORDED RATHER THAN TIDIED AWAY. Commit `0d17d1be` on this branch DID advance onto it at 16:24, and the later catch-up merge of `main` — which carried PR #616's own advance to `605d48ac` — resolved the pin sites to `main`'s side, so the intermediate 58-entry state `8cb17373` describes was never the state this branch shipped. A reader comparing this file's history to codexFactory's will see #184 land and this pin skip it; that is the collision, not a lost edit. THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy fetched from the pinned core at `8f770afb` and verified THREE independent ways: sha256 as above over 12492 bytes; GIT'S OWN CONTENT ADDRESSING — `git hash-object` of the vendored file equals the blob sha codexFactory's tree carries at that path and commit, `351c47fb5bfad13697dc6c777b9bb17a147e8e45`; and `cmp` against a REAL shallow checkout of codexFactory at that commit. The freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is absent — was additionally run WITH that core on disk (`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte assertion CI performs actually ran and passed here. THE FLOOR GREW BY FIVE, AND ONLY ONE OF THEM IS A SPEC. Measured on the merged tree, not inferred from the proposal. * THE SPEC: `openspec/specs/standards-body-registry/spec.md`. The generated block goes 54 -> 55 tracked paths. Coverage over this branch's merged tree: all 55 tracked paths under `openspec/specs` are floored, 0 uncovered, and 0 floored spec paths are dead. Both `project-repo-schema` and `standards-body-registry` are present. * THE OTHER FOUR ARE CHOKEPOINTS, NOT SPECS, and they arrive here for the first time: codexFactory PR #182 (merge `e5534552`, 20:51:52Z — AUTHORED BEFORE #183/#184 BUT MERGED AFTER BOTH, which is why they surface at an advance whose stated object is a spec) floored the sibling FACTORY-IDENTITY REGISTER FAMILY BY NAME — `governance/factory-identity/register.yaml` and the wallet, grant and custody attestation beside it — realizing THIS repository's own ratified `add-cpc-clearing-boundary` task 2.7. By name is FORCED, not preferred: `_parse_exact_path` refuses wildcards and trailing slashes, so the directory cannot be floored as a prefix. All four exist on this tree, verified path by path, so the advisory lane gains four reachable floor paths and no dead entry. The document's hand-reasoned chokepoints go 4 -> 8, and its own self-description moves with it: 4 + 1 becomes 8 + 1. LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces still name `f4702f64` (read directly off xFactory `main` 2026-09-03 — the two `ref:` literals in `merge-master-approval.yml` and `council-convening-lane.yml`), so `lockstep.status` stays `diverged` and the obligation to converge at a future re-point ceremony stands. THE GAP WIDENED BY FIVE ENTRIES, NOT BY A NEW KIND OF DIVERGENCE: the cause is unchanged from 2026-09-01 and is still forced by the feature. Also takes a FIFTH catch-up merge of `origin/main` (`9a773a31`, the `contract-v3.2` cut) — merged, never rebased — and files the archived packet's tasks.md §5.7 forward with the completed repair. The squash SHA is deliberately NOT invented there: it is filled in at landing by the merge-provenance comment. Validated: tests/review_lane_pin + tests/sequenced_after + tests/test_standards_body_registry.py = 190 passed, 1 skipped, 18 subtests passed (that one skip being the freshness comparison, separately exercised green with the core present); tests/doc-health = 1500 passed; `openspec validate --all --strict` = 86 passed, 0 failed; `scripts/validate-omnigent-contracts.py` = all checks passed; `import cryptography` = 41.0.7. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF
…03, realized by #593 (3c237cd), green on main (run 33717394896) (#615) * Archive update-standards-body-current-publications: ratified 2026-09-03, realized by #593 (3c237cd), green on main (run 33717394896) Brett's word: "archive it". Finishes work an Opus agent left on disk, uncommitted, after being killed twice by provider errors — verified rather than redone: the 8-file move to openspec/changes/archive/2026-09-03-update-standards-body-current-publications/, the byte-identical promotion to openspec/specs/standards-body-registry/spec.md (real Purpose section, requirements diff-clean against the delta), and the README "OpenSpec Records" entry. Took a catch-up merge of origin/main first: declare-spent-bundle-state's own archive (PR #611, squash 7af2725) landed on main after this branch was cut from 6da1e1f, so every gate and pin below is re-measured against 7af2725 rather than the stale base. Corrected the sequenced_after live pin accordingly in the same commit as the corpus move (its own protocol): active_sole - 1 falls 12 -> 11 (this archive, a SOLE modifier); active_co_modified already held at 20 from the sibling archive this branch merged, not from this one. Ran `python3 scripts/validate-sequenced-after.py . --sweep` on both trees to confirm: 32 active + 126 archived = 158, 108, 50, 20 / 12. Also added tasks.md 5.7 naming this PR as the landing act for the archive that ran uncommitted in the isolated clone. Gate evidence: PR #593 squash 3c237cd on main; pytest-suite run 33717394896 (2026-09-03T05:26Z) and signed-execution-chain-gate both success on that commit. Validated: openspec validate --all --strict 86 -> 86 passed (33 active + 53 specs -> 32 active + 54 specs); pytest tests/doc-health 1500 passed either side; pytest tests/test_standards_body_registry.py 17 passed; pytest tests/sequenced_after 118 passed; scripts/validate-omnigent-contracts.py all checks passed; doc-health.py --single-repo . 6 critical / 6 error / 29 warning / 13 info either side, 0 new regressions, and --family promotion-fidelity / duplicate-packet / status-validity all zero findings either side. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * README: re-measure the archive entry's gates against the second catch-up merge origin/main moved 5 more commits (#603 #599 #601 #614 #602, tip 1c3e744) while this PR was being finished. None touch this packet's files, so the archive act itself is unaffected, but the doc-health.py --single-repo info count and the base commit cited in the entry were stale. Re-measured back-to-back on 1c3e744 (before) and the merged tree (after): 6 critical, 6 error, 29 warning, 14 info, 0 new regressions, unchanged by this act. Also records the one transient pytest tests/doc-health network-read failure (test_this_repository_can_consult_the_retention_namespace) that a clean rerun did not reproduce. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * tasks.md: name PR #615 as the landing act Fills the placeholder §5.7 left after PR creation. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * tasks.md: stop claiming PR #615 already landed on main Copilot review round 1, taken: 5.7 said "LANDED ON main" while the PR is still open. Corrected to state the PR exists and is open, not merged; a follow-up line records the squash SHA once it actually merges. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * tasks.md: name the third catch-up merge (#604) A fourth commit landed on origin/main after the round-1 fix; §5.7 said "TWO catch-up merges" when a third had since happened. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * Fix two Markdown rendering defects Copilot flagged Round 2/3: an inline-code span split across two lines in tasks.md (inline spans can't contain a newline) and a stray line break in README.md that orphaned "with" on its own line. Cosmetic only, no claims changed. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w * Advance the review-lane pin onto codexFactory's regenerated 58-entry floor THE OPENXFACTORY HALF OF A TWO-REPOSITORY REPAIR THIS PR'S OWN PROMOTION FORCED. Promoting `standards-body-registry` adds a path under `openspec/specs/`, and codexFactory's `repository_gate_floor` for this repository ENUMERATES that surface exactly — so the new spec arrived OFF the floor and `tests/review_lane_pin/test_floor_snapshot.py`'s LQ-A7 coverage assertion reddened the REQUIRED `pytest-suite`. That is the guard working: a spec the floor does not carry is a spec the floor does not protect. THE ORDER IS FORCED AND IS THE RUNBOOK'S (`docs/repository-gate-floor-repair-runbook.md` in the pinned core, and the ordered repair the assertion prints on failure): codexFactory regenerates the block at an openxFactory commit that ALREADY carries the new path, and only then may this pin advance onto it — a pin cannot name a document that does not yet exist. CODEXFACTORY'S HALF LANDED FIRST: PR #184, merge `8cb173738ebecd773eadd1b77b11d29029b37382` (2026-09-03T19:53:55Z), regenerated by `scripts/merge_master/generate_specs_floor_block.py` at openxFactory `c9928846` — this branch's own head, the only tree carrying the new path. FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them disagree: contracts/review-lane-pin.yaml core_commit db157dbb -> 8cb17373 .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT (same) .github/workflows/merge-master-approval.yml core checkout ref: (same) .github/workflows/pytest-suite.yml core checkout ref: (same) contracts/review-lane-floor-snapshot.yaml re-copied at the new commit and the snapshot's declared witnesses move with it: `entry_count` 57 -> 58, `sha256` bf7a6b69… -> 22993960b31ff7853df719a701b0f53cd62c420ed7fe25b2da1ba6646bf16f7b. THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED. It is a byte copy fetched from the pinned core at `8cb17373` and verified two independent ways: sha256 as above over 9219 bytes, and GIT'S OWN content addressing — `git hash-object` of the vendored file equals the blob sha codexFactory's tree carries at that path and commit, `cdb08cd603a0d10c44f3c843e024d73bd1d6e1ce`. The freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is absent — was additionally run WITH the core on disk (`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte assertion CI performs actually ran and passed here. MEASURED, NOT ASSUMED. The new floor is the old floor plus exactly `openspec/specs/standards-body-registry/spec.md` — nothing removed, no dead entry introduced. 58 entries = the same 4 hand-reasoned chokepoints + 54 spec paths (was 53). Coverage over the merged tree: all 54 tracked paths under `openspec/specs/` are floored, 0 uncovered, and 0 floored spec paths are dead. `project-repo-schema` has NOT landed, so 54 is the correct surface. LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: xFactory's two judging surfaces still name `f4702f64` (read from xFactory main 2026-09-03), so `lockstep.status` stays `diverged` and the obligation to converge at a future re-point ceremony stands. The gap widened by ONE ENTRY, not by a new kind of divergence — the cause is unchanged from 2026-09-01 and still forced by the feature. Also files forward the archived packet's tasks.md §5.7 with the floor repair. The squash SHA is deliberately NOT invented there: it is filled in at landing by the merge-provenance comment. Validated: tests/review_lane_pin + tests/sequenced_after + tests/test_standards_body_registry.py = 190 passed, 1 skipped (that skip being the freshness comparison, separately exercised green with the core present); tests/doc-health = 1500 passed; `openspec validate --all --strict` = 86 passed 0 failed; `scripts/validate-omnigent-contracts.py` = all checks passed. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF * Anchor §5.7's not-yet-merged claim to its writing instant, not the present tense TAKEN FROM COPILOT's review of `0d17d1be` ("Needs a closer look"): the §5.7 prose asserts landed state in the PRESENT TENSE — "still not merged", "`main` does not carry this archive" — and this packet is ARCHIVED, so that wording goes FALSE the instant the pull request merges and leaves a permanent stale claim inside a record. The finding is right about the shape and this commit takes it FOR THE HALF THIS LANE AUTHORED. The claim is now ANCHORED TO AN INSTANT — "as of this note's writing, 2026-09-03, branch head `0d17d1be`, this packet had not merged" — so it stays TRUE after the merge instead of decaying, and it points a reader wanting the LANDED state at the merge-provenance comment rather than at a line that speaks only for the moment it was written. No fact changes; the tense does. WHAT THIS COMMIT DOES NOT TOUCH, AND WHY. Copilot also flagged lines 172 and 184-189 — the PRIOR session's §5.7 prose, not this lane's. Those are left alone on two grounds: this lane's scope is to APPEND a dated note to §5.7, not to rewrite another lane's record text; and the phrasing there is the repository's deliberate doctrine, stated in its own voice ("NOT YET TRUE, AND NAMED SO IT STAYS FALSE UNTIL IT ISN'T"), which exists to stop a packet claiming landed state before it lands — the archive-gate rule in `docs/release-realization-flow.md` § The Archive Gate, and the claim-outrunning-machinery lesson family. Rewriting it as a bare "TBD" would weaken a guard rather than fix a defect. That text also already commits to completing the provenance at landing, which is the act that retires the staleness. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF * Advance the review-lane pin onto the 63-entry floor: second lander of the two-packet collision THE OPENXFACTORY HALF OF THE FLOOR REPAIR THIS PACKET'S OWN PROMOTION FORCED, TAKEN A SECOND TIME AND FOR A REASON THAT IS NOT A CORRECTION OF THE FIRST. TWO openxFactory packets each promoted a NEW capability on 2026-09-03, and codexFactory's `repository_gate_floor` for this repository is REGENERATED BY ENUMERATING A TREE rather than by editing a list. `add-project-repo-schema` (PR #616, merged 20:49Z as `19d00872`) landed first and codexFactory PR #183 (`605d48ac`) regenerated for it. codexFactory PR #184 (`8cb17373`) then regenerated for THIS packet at `c9928846` — PR #615's PRE-MERGE branch head, which did not yet carry #616's promotion — so its block went 54 -> 54 rather than 54 -> 55 and SILENTLY DROPPED `openspec/specs/project-repo-schema/spec.md`, the entry #183 had just landed. NEITHER EARLIER PULL REQUEST IS DEFECTIVE. Each regenerated at a real tree, exactly as CSC-C7 requires. This is the failure mode a two-lander collision HAS, and the pinned core's `docs/repository-gate-floor-repair-runbook.md` already answers it by making the SECOND LANDER regenerate once at its OWN POST-MAIN-MERGE head. AND `main` WAS NEVER BROKEN IN THE INTERVAL — stated so nobody hunts an incident that did not happen. `main`'s pin named `605d48ac`, whose 58-entry floor covers `main`'s 54-spec tree INCLUDING `project-repo-schema`. The gap becomes reachable only when THIS packet's fifty-fifth spec lands, which is the moment this advance exists to serve. CODEXFACTORY'S HALF LANDED: PR #186, MERGE COMMIT (not squash) `8f770afbf86043ee0f5494ded0f12f51c2a9b45e`, 2026-09-03T21:55:35Z, regenerated at openxFactory `8d893a0f` — this branch's merge of `main` `19d00872`, and the FIRST COMMIT ANYWHERE carrying fifty-five tracked paths under `openspec/specs` — restoring `project-repo-schema` BESIDE `standards-body-registry`. codexFactory `main` was re-verified at that same commit by `git ls-remote` immediately before this advance rather than assumed. FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them disagree: contracts/review-lane-pin.yaml core_commit 605d48ac -> 8f770afb .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT (same) .github/workflows/merge-master-approval.yml core checkout ref: (same) .github/workflows/pytest-suite.yml core checkout ref: (same) contracts/review-lane-floor-snapshot.yaml re-copied at the new commit and the snapshot's declared witnesses move with it: `entry_count` 58 -> 63, `sha256` 6ab79400… -> b8f95136916fc58d297a8319408bebbffaf327790fd2885a677e22de193f41f8. THIS PIN NEVER NAMED `8cb17373`, AND THAT IS RECORDED RATHER THAN TIDIED AWAY. Commit `0d17d1be` on this branch DID advance onto it at 16:24, and the later catch-up merge of `main` — which carried PR #616's own advance to `605d48ac` — resolved the pin sites to `main`'s side, so the intermediate 58-entry state `8cb17373` describes was never the state this branch shipped. A reader comparing this file's history to codexFactory's will see #184 land and this pin skip it; that is the collision, not a lost edit. THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy fetched from the pinned core at `8f770afb` and verified THREE independent ways: sha256 as above over 12492 bytes; GIT'S OWN CONTENT ADDRESSING — `git hash-object` of the vendored file equals the blob sha codexFactory's tree carries at that path and commit, `351c47fb5bfad13697dc6c777b9bb17a147e8e45`; and `cmp` against a REAL shallow checkout of codexFactory at that commit. The freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is absent — was additionally run WITH that core on disk (`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte assertion CI performs actually ran and passed here. THE FLOOR GREW BY FIVE, AND ONLY ONE OF THEM IS A SPEC. Measured on the merged tree, not inferred from the proposal. * THE SPEC: `openspec/specs/standards-body-registry/spec.md`. The generated block goes 54 -> 55 tracked paths. Coverage over this branch's merged tree: all 55 tracked paths under `openspec/specs` are floored, 0 uncovered, and 0 floored spec paths are dead. Both `project-repo-schema` and `standards-body-registry` are present. * THE OTHER FOUR ARE CHOKEPOINTS, NOT SPECS, and they arrive here for the first time: codexFactory PR #182 (merge `e5534552`, 20:51:52Z — AUTHORED BEFORE #183/#184 BUT MERGED AFTER BOTH, which is why they surface at an advance whose stated object is a spec) floored the sibling FACTORY-IDENTITY REGISTER FAMILY BY NAME — `governance/factory-identity/register.yaml` and the wallet, grant and custody attestation beside it — realizing THIS repository's own ratified `add-cpc-clearing-boundary` task 2.7. By name is FORCED, not preferred: `_parse_exact_path` refuses wildcards and trailing slashes, so the directory cannot be floored as a prefix. All four exist on this tree, verified path by path, so the advisory lane gains four reachable floor paths and no dead entry. The document's hand-reasoned chokepoints go 4 -> 8, and its own self-description moves with it: 4 + 1 becomes 8 + 1. LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces still name `f4702f64` (read directly off xFactory `main` 2026-09-03 — the two `ref:` literals in `merge-master-approval.yml` and `council-convening-lane.yml`), so `lockstep.status` stays `diverged` and the obligation to converge at a future re-point ceremony stands. THE GAP WIDENED BY FIVE ENTRIES, NOT BY A NEW KIND OF DIVERGENCE: the cause is unchanged from 2026-09-01 and is still forced by the feature. Also takes a FIFTH catch-up merge of `origin/main` (`9a773a31`, the `contract-v3.2` cut) — merged, never rebased — and files the archived packet's tasks.md §5.7 forward with the completed repair. The squash SHA is deliberately NOT invented there: it is filled in at landing by the merge-provenance comment. Validated: tests/review_lane_pin + tests/sequenced_after + tests/test_standards_body_registry.py = 190 passed, 1 skipped, 18 subtests passed (that one skip being the freshness comparison, separately exercised green with the core present); tests/doc-health = 1500 passed; `openspec validate --all --strict` = 86 passed, 0 failed; `scripts/validate-omnigent-contracts.py` = all checks passed; `import cryptography` = 41.0.7. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF --------- Co-authored-by: openRepoShape CI <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> Co-authored-by: Brett Heap <[email protected]>
|
Lane: openxfactory-f2 Collision closed — nothing further owed by this lane. #615 merged as |
…ctive_sole re-derived, and this branch moves nothing main had not already moved `main` advanced three commits under this branch — #616's `contract-v3.1` cut with its archive of `add-project-repo-schema`, #624's `contract-v3.2` superseding cut, and #615's archive of `update-standards-body-current-publications` — and one conflict reached this branch, in the file both sides keep a movement log in. tests/sequenced_after/test_sweep.py — BOTH SIDES' ENTRIES ARE KEPT and neither is rewritten: main's `active_sole` entry (the (a)/(b) pair, whose two moves COMPOUND rather than cancel because they remove DIFFERENT changes from one population) stands ahead of this branch's, and this branch's HELD note is re-aimed onto the merged reading rather than deleted — the hold is still the claim it was making, and it is still worth asserting, because this packet's authoring AND its archive both leave `active_sole` untouched while moving four other readings in the same commit. `active_sole - 1` takes main's 10. THIS BRANCH'S CONTRIBUTION IS UNCHANGED IN SHAPE A SECOND TIME and is entirely in the other four readings: `co_modified` 109 -> 111, `sole_modifiers` 49 -> 48, `change_ids` 158 -> 159, and `active_co_modified` NOT AT ALL — its authoring and its archive cancel inside the one commit, which is what a doc-only landing does to that pin. merged tree 31 active + 128 archived = 159 / 111 / 48 / 20-11 origin/main 31 active + 127 archived = 158 / 109 / 49 / 20-11 MEASURED ON BOTH TREES AND BY EXCLUSION a second time, never adjusted by arithmetic: the same sweep on the merged tree with only openspec/changes/archive/2026-09-03-amend-owner-layer-severity/ moved aside reads 158 / 109 / 49 / 20-11 — main's own reading EXACTLY — so this one archived packet remains the whole of the difference and none of main's three new commits interacts with it. `archived` rises 127 -> 128; prose headers hold at 3 (3 archived); `declaring`/`root_claims` hold at 1/0. README.md merged clean this time: three archived rows now head the block — this branch's `amend-owner-layer-severity`, main's `add-project-repo-schema` and main's `update-standards-body-current-publications` — and no row is dropped or rewritten. The promoted canon is re-verified on the merged tree by sha256 rather than assumed to have survived a second merge: `Owner layer constraint` 035fb896…bc4ed439 and `The declared bundle describes the release surface` 6e102b2e…d02a1d19a, both still identical to the archived packet's delta blocks. Gates on the merged tree: openspec validate --all --strict 86 passed / 0 failed; proposal-support verify ok over the whole corpus; pytest tests/sequenced_after 118 passed. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
…ctory that issued it (#622) * A fetch identity is a name, and a name is unique only inside the directory that issued it Declares `consumer.identity_namespace` and rescopes `shared-authority-identity` from a bare string to the pair `(identity_namespace, fetch_identity)`. The finding refused two tenants of one provider whose principals share a name, and the only escape was to rename a fetch identity in the record while the principal kept its real name in the provider — a refusal whose only escape is a lie. The fallback REPORTS rather than clears. Where either side declares no namespace, or one outside the identifier grammar, the comparison returns to the bare identity: an estate able to silence a real shared authority by omitting a member on one side would hold a rule it can turn off without writing anything false. One predicate serves both the named finding and the lift's third condition, canon stating the comparison once. The first draft rescoped only the finding and was caught by execution — a two-tenant pair sharing a secret escaped the named fault and was refused by `shared-secret-identity` instead, sending a reader to split a secret rather than read a namespace. Carries openxFactory #553's ruling in the same MODIFIED block, because a MODIFIED block replaces a requirement wholesale and both rulings write the same one: the ambiguity scenario narrows to the per-document scope `resolve_requirement` enforces, and the six-conditions sentence with it. Exactly two edits; the resolver, its `ambiguous` verdict and § 3.4's freeze are cited and not edited. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD * Copilot round one: name the four screened sinks, re-wrap, and pin the arity before indexing a finding Two findings taken. `docs/credential-access-model.md` said "those three members … governs all four" and left the fourth to arithmetic; a reviewer misread it, which is proof enough that naming the four beats counting them. The starter pack's inserted clause left a run-on line and is re-wrapped. One refuted with its substantive half taken. Sorting `_consumers()`'s keys is refused — no test in that section reads WHICH binding an edit lands on, every assertion being symmetric over the pair, so sorting would fix an order the tests do not read while implying they do. The real fragility is that two tests index `_findings(doc)[0]` without pinning the arity, so a second finding arriving later would change what they assert about without failing them. Both now assert one finding first, and `_consumers` says which property is load-bearing. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD * Pin the authority predicate's whole truth table, eight rows, each asserted symmetrically The fallback is a rule about ABSENCE, and a rule about absence is only as good as its enumeration of the ways a value can be missing: not declared, declared and ungrammatical, declared as null. The tests covered the first and left the other two to a reader's confidence. Exactly one row clears — both sides declaring a grammatical namespace and the two differing — and the other seven fall back to the bare identity and report. Symmetry is asserted rather than assumed: the predicate is called over `combinations`, which fixes an order, and a rule whose outcome depends on which binding was found first is not a rule. Also re-measures doc-health on the Copilot-round head rather than carrying the first figures forward: same 6/6/39/16, same three-finding info delta. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD * Move the corpus-sweep pins this packet moves, and say why the sole set held CI on f4a8fa8 reported seven failures; six were the inherited #620 set and the seventh was mine — the live sequenced-after sweep, whose pins this packet moves by adding an active change with two MODIFIED blocks. Measured on both trees after rebasing onto current main, because #616 landed the contract-v3.1 cut underneath this branch and had itself moved active_co_modified 21 -> 20; pinning against the stale base would have produced numbers that were wrong on arrival. main 19d0087 reads 158/109/49/20/12; this branch reads 159/110/49/21/12. The mechanism is the opposite of the obvious prediction, so it is written into the pin rather than left to be re-derived. A MODIFIED block over a requirement whose only earlier writer was archived and sole normally raises co_modified by TWO and drops sole_modifiers by one. Here it raised by one and the sole set held, because add-binding-consumer-identity was ALREADY co-modified through a third key it shares with add-notebook-hosting-credential-custody, so it was never in the sole set and had nothing to leave. The two pins that did not move carry a HOLD note each: a pin that silently holds through a move that usually shifts it is indistinguishable from one nobody re-derived. Also re-reads the bundle figures the packet is indexed to. contract-v3.1 is now CUT and published, so the next additive minor re-reads as contract-v3.2 — and is still not written down, for the same reason it was not written before. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD * Record that the catch-up was a merge, not the rebase whose push the rule refused The rebase was done first and its push was refused — "Cannot force-push to this branch". The earlier heads are published and reviewed, so rewriting them is both forbidden and wrong. The branch was reset to the published head and took an ordinary catch-up merge instead, and the sweep was re-measured on the MERGED tree rather than carried over: identical at 159 / 110 / 49 / 21 / 12. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD * Report the doc-health delta at the new baseline: it is no longer zero-new-error Re-measured against origin/main 6a39d2a after #617 and #624. The answer changed, and the change is a fact about main rather than about this packet. While main was itself drifting docs/contract-versioning-policy.md since contract-v3.0, this branch's edit to that file added no finding — it sat on both sides. PR #624 then cut contract-v3.2, the superseding release for a defective contract-v3.1, which rebaselined the inventory and made main clean. The same unchanged edit now raises a NEW ERROR on its own. Baseline 6a39d2a reads 6/4/39/12; the branch reads 6/5/39/15. The delta is one error and three info. The error is release-inventory-drift and it is the CUT's to discharge: the family's own remedy line forbids hand-editing an inventory to make this comparison pass, and greening it would make a published digest describe bytes nobody shipped. Gate 7.5 is UNTICKED rather than ticked with an excuse, which is what add-binding-consumer-identity 6.3 did with the identical finding. Lane: openxfactory-smalls Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Lane: repo-shape
Claim: #616 (comment)
Release table
contract-v3.1contract-v3.0(declared + published tag,contracts/manifest.yaml:3before this PR)add-project-repo-schematasks.md9.3contract_bundle_version: contract-v3.0→contract-v3.1contracts/CHANGELOG.md§contract-v3.1(new entry, inserted above §contract-v3.0)contracts/releases/contract-v3.1.digests.yaml— 283 entries (unchanged count; same closed release surface as v3.0)The number, derived, not assumed.
contracts/manifest.yaml:3declaredcontract-v3.0;contracts/releases/held inventories throughcontract-v3.0.digests.yaml; the annotated tagcontract-v3.0is published;contracts/CHANGELOG.mdheaded atcontract-v3.0with noUnreleasedblock;grep -rl project-repo-schema contracts/releases/contract-v3.0.digests.yamlfinds nothing. Next available additive number:contract-v3.1.Measured, not claimed.
git diff --name-status contract-v3.0 HEAD -- contracts/schemas/project-register.schema.yaml scripts/validate-ideation-dashboard-contracts.pyshows the schema gaining three OPTIONAL fields (schema,reference,repository_roles) and the validator gaining four new rules over those fields alone;repositoriesis unchanged as strings and every existing rule's behaviour is untouched. No consumer pinned atcontract-v3.0is made non-conformant.What this bundle carries
Of
add-project-repo-schema's four realized artifacts, exactly ONE is a registered release-inventory member (measured againstcontracts/hermes_runtime_validation/release.py's closed membership rules —NAMED_VALIDATORS,AUXILIARY_MEMBERS,NORMATIVE_DOCS, and thecontracts/hermes-runtime/contract-index.yamlcatalog):docs/project-repo-schema.mdcontracts/openreposhape-pin.yamlopenxwallet-pin.yamlscripts/validate-openreposhape-pin.py+.github/workflows/openreposhape-pin-gate.ymlscripts/validate-ideation-dashboard-contracts.pycontracts/releases/contract-v3.0.digests.yaml:1417, the one row this cut movesAlso re-baselined, disclosed rather than hidden:
docs/contract-versioning-policy.md(aNORMATIVE_DOCSrelease member) drifted sincecontract-v3.0via PR #577 (recording thecontract-v2.6"Instance Six" disposition) — unrelated toadd-project-repo-schema, carried forward unchanged and re-baselined by this cut, exactly the "expected between-cuts state" the versioning policy describes for non-editorial drift.Evidence table
MedxSoft/MedxScribe, 2026-09-02, againstopensoft/openRepoShape@deacbdc— Brett Heap, 2026-09-02: "it is not a real project ... make sure it noted as pilot"MedxSoft/MedxEHRconverted in place — legsMedxEHR-spec,MedxEHR-code; assembly rootf1e07bd(verified viagh api: commit exists, dated 2026-09-03T12:56Z)MedxSoft/MedxGlassscaffolded as a declared descendant ofopenGlass; assembly roota0e1897(verified viagh api: commit exists, dated 2026-09-03T12:56Z)opensoft/openRepoShape@51836ba,v0.3,update-shape(verified viagh api: commit exists, dated 2026-09-03T12:54Z)python3 scripts/validate-openreposhape-pin.py --from-gh→OK … 16 digest(s) recomputed, 18 member(s) present, 34 file(s) declared with none undeclared, exit 0Archive act
OPENSPEC_TELEMETRY=0 openspec archive add-project-repo-schema --yes→ moved toopenspec/changes/archive/2026-09-03-add-project-repo-schema/. Promotes:project-repo-schema(NEW capability, 11 ADDED requirements) —Purpose:set from the proposal (elective, confers nothing, the double pin, the manifest-is-the-source rule, the ownership split withopensoft/openRepoShape), never leftTBD.ideation-dashboard§ "Project grouping hierarchy" (1 MODIFIED requirement) — the register's optionalschema/reference/repository_roleselection, carried verbatim with every original scenario retained.README.md's OpenSpec Records entry moved from Active to Archived.ideation/README.md's promoted-from-staging pointer now names the archive path.Left as originally written, mirroring this repository's own precedent:
docs/project-repo-schema.md'sRatified by:field and its inline links to the pre-archiveproposal.mdpath.docs/contract-versioning-policy.md:341still citesopenspec/changes/add-release-inventory-drift-check/proposal.md— archived 2026-08-25, uncorrected — under this repository's own rule that a record is not rewritten to match today's state. No exemplar ratified doc in this specific family points aRatified by:field at an archive path (the two exemplars that link to an archive path at all are unrelated capability families), sodocs/project-repo-schema.mdis left untouched.tests/sequenced_after/test_sweep.py— the live corpus pin, moved in the archive commit per its own protocol. Archiving this co-modified ACTIVE change movesactive_co_modifiedalone: measuredorigin/mainat7af2725c=33 active + 125 archived = 158, 108, 50, 20/13; this branch =32 active + 126 archived = 158, 108, 50, 19/13.co_modified,sole_modifiers,active_soleuntouched.Validator lines
tests/doc-health/test_release_tag_publication.pybetween merge and tag push: every fixture in that file is a REAL, LOCAL git repository with its own bareorigin, built and torn down per test — it never touches this repository's actualorigin/mainor its published refs. It is unaffected by this PR's merge/tag-push timing and stays green throughout.POST-MERGE STEPS
No GitHub Release object is required: the versioning policy and the
release-tag-publicationdoc-health family (scripts/doc_health/release_tag_publication.py,tag_ref()) both key on the published annotated git tag alone (git ls-remote --tags origin), never a GitHub Release resource.Base and rebase note
This PR was authored against
origin/mainat7af2725c(per the coordinating session's instruction not to rebase repeatedly while PRs #608 and #609 land separately). At last checkorigin/mainwas 5 commits ahead of that base. Two known conflict points, both already measured and documented in-commit: theREADME.md"OpenSpec Records" block (this PR moves theadd-project-repo-schemaentry from Active to Archived) andtests/sequenced_after/test_sweep.py(the live corpus-count pin). Both must be re-measured againstmain's post-#608/#609 state at rebase time, viapython3 scripts/validate-sequenced-after.py . --sweepfor the latter, rather than resolved by taking either side blind.Do NOT merge.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ