Repository navigation
Propose add-subject-overlay-contract: the neutral Subject Hermes overlay kind - #183
Conversation
…d openxFactory describes and domains instantiate Prerequisite task 2.1 of codexFactory's ratified add-project-alfa-subject-overlay (rulings D1/D2: openxFactory DESCRIBES customer/subject overlays, never HOSTS them; instances live in domain repos). The gap is measured, not preferred. hermes-domain-overlay.schema.yaml hard-enums kind to [hermes_domain_overlay] and requires the domain authority block; client-policy-overrides.schema.yaml enumerates a CLOSED set of seven override policies with no policy namespace and no named-policy identity anywhere — so neither can carry an addressable <namespace>/<policy-id> seat policy of the shape hermes-install manager-profile bindings already declare. Meanwhile validate-hermes-domain-overlay.py checks that the descriptor's declared customer path EXISTS and then skips its content, and overlay-descriptor.schema.yaml already accepts the customer role with a comment anticipating hermes/subject/. Adds hermes_subject_overlay (subject identity + policy_namespace + named policies whose BODY stays open — enumerating policy names is the flaw being fixed), enforces identity against the DOMAIN's own subject_hermes_template rather than a neutral field list, replaces the validator's blanket skip with kind dispatch, and specifies the enforceable slice while leaving materialization mechanics to hermes-install. OQ-1 positions taken for ratification: kind hermes_subject_overlay (canonical Subject/Tenant/Domain vocabulary matching subject_hermes_template already in the family; the frozen `customer` role key is mapped in the schema header, not renamed); identity by `id` not `ref` (client.ref references a tenant recorded elsewhere, a subject overlay declares an identity that exists nowhere else — and `ref` would make conforming instances fail their own domain's template on the first field); and stricter_only REFUSED, replaced by a structurally enforced relation_to_baseline: additive_constraints_only (the tenant comparability engine's partial orders are keyed to tenant-policy keys, so additive named constraints with no counterpart would every one return review_required — the strongest word in the family enforcing nothing). MODIFIES hermes-domain-overlay with six requirements. Related, not blocking: staged topic subject-establishment (DTN-017), which gains a landing surface. openspec validate --strict: change valid; --all --strict 59/59. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Introduces a new OpenSpec change proposal (add-subject-overlay-contract) describing a neutral hermes_subject_overlay contract kind for Subject-layer Hermes overlays, including intended validator behavior, fixture expectations, and consumer responsibilities.
Changes:
- Adds an “Active change” entry in the root README pointing to the new proposal.
- Adds the spec-driven change package for
add-subject-overlay-contract(proposal, design, spec delta, tasks, and.openspec.yamlmetadata). - Documents cross-repo tracking expectations for hermes-install consumption and parity coverage.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds the new change to the OpenSpec Records “Active changes” list. |
| openspec/changes/add-subject-overlay-contract/tasks.md | Adds a task checklist for ratification, implementation surface, tracking, and archive gate. |
| openspec/changes/add-subject-overlay-contract/specs/hermes-domain-overlay/spec.md | Adds spec delta requirements/scenarios for the subject overlay contract. |
| openspec/changes/add-subject-overlay-contract/proposal.md | Adds the proposal document and front-matter describing scope/targets. |
| openspec/changes/add-subject-overlay-contract/design.md | Adds detailed design rationale, evidence pointers, and risk analysis. |
| openspec/changes/add-subject-overlay-contract/.openspec.yaml | Adds the change metadata (origin, commissioning, approvals, related work). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - [ ] 1.2 Strict-validate (`OPENSPEC_TELEMETRY=0 openspec validate | ||
| add-subject-overlay-contract --strict` and `--all --strict`, run from | ||
| the openxFactory root) and list the change in the README's OpenSpec | ||
| Records block. |
…itten) Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Suppressed comments (6)
openspec/changes/add-subject-overlay-contract/tasks.md:16
- The OQ-1.1 bullet cites “(design D2)”, but in this change’s design document the kind-name position is D1. This reference is off by one and makes it hard to trace the ratified position back to the design section.
**(a) OQ-1.1 — kind name.** Position: `hermes_subject_overlay`
(design D2). Canonical Subject/Tenant/Domain vocabulary, matching the
openspec/changes/add-subject-overlay-contract/tasks.md:20
- The OQ-1.2 bullet cites “(design D3)”, but D3 in this change’s design doc is the
stricter_onlyposition; theidvsrefposition is D2. This looks like an off-by-one reference.
**(b) OQ-1.2 — `id` vs `ref`.** Position: `subject.id` (design D3).
openspec/changes/add-subject-overlay-contract/tasks.md:25
- The OQ-1.3 bullet cites “(design D4)”, but D4 in this change’s design doc is identity conformance; the
stricter_onlyposition is D3. This reference appears off by one.
**(c) OQ-1.3 — `stricter_only`.** Position: NO (design D4). Require
openspec/changes/add-subject-overlay-contract/design.md:7
- The intro says “The three D-sections are the OQ-1 sub-questions…”, but this document also contains a D4 section (identity conformance). Clarifying which D-sections correspond to OQ-1 will avoid reader confusion.
this document. The three D-sections are the OQ-1 sub-questions codexFactory
`add-project-alfa-subject-overlay` design §8 left open and explicitly assigned
to openxFactory. Each states a POSITION; ratification confirms or corrects it.
openspec/changes/add-subject-overlay-contract/tasks.md:36
- Task 1.2 includes “and list the change in the README’s OpenSpec Records block”, but this PR already adds the README entry. Keeping this text makes the checklist ambiguous (partially done vs not started). Consider scoping 1.2 to the strict-validation step only (or splitting into separate tasks).
- [ ] 1.2 Strict-validate (`OPENSPEC_TELEMETRY=0 openspec validate
add-subject-overlay-contract --strict` and `--all --strict`, run from
the openxFactory root) and list the change in the README's OpenSpec
Records block.
openspec/changes/add-subject-overlay-contract/proposal.md:9
- In the proposal front-matter, the parenthetical D-references for the three OQ-1 positions appear off by one relative to this change’s own design.md (kind name is D1,
idvsrefis D2,stricter_onlyrefusal is D3). Aligning these references will make it easier to audit ratification against the design sections.
Ratified by: Brett Heap, reviewer of record, 2026-08-15 — the three OQ-1
positions confirmed as written: kind `hermes_subject_overlay` (D2), identity
`subject.id` (D3), `stricter_only` refused in favor of
`relation_to_baseline: additive_constraints_only` with structural
non-relaxation (D4).
…1-2.5) The Subject layer had a live seat pointed at a document no contract in this repository could describe, and the canonical validator said so out loud: validate_repo checked that the descriptor's declared customer path EXISTED and then skipped its content. Neither existing overlay kind could carry a `<namespace>/<policy-id>` address — hermes_domain_overlay hard-enums its kind and requires the domain authority block, and client-policy-overrides enumerates a closed set of seven policies with no namespace anywhere. hermes-subject-overlay.schema.yaml adds the kind: subject identity by `id` (a subject overlay DECLARES an identity that exists in no prior registry, unlike client.ref), a policy_namespace, a declared relation_to_baseline as a single-value enum, and a non-empty policies mapping whose entries restate their own policy_id and namespace and keep an OPEN body — enumerating policy names is the flaw being fixed, so this contract governs the addressing envelope and not the policy vocabulary. The kind name is canonical while the runtime role key stays the frozen `customer`; the mapping is written into the schema header, and neither side is renamed. The validator stops blanket-skipping. Declared paths now dispatch by kind, `hermes_client_overlay` skips with its canonical owner named rather than being double-validated here, and a family-owned kind at the wrong role's path is a finding instead of a silent pass. New deterministic checks: address self-consistency and uniqueness, the prohibited-block list walked recursively (a subject adds constraints and never grants, widens, or waives), credential values, and identity conformance against the DOMAIN's own subject template — absent template, skip with notice, so no repo is retroactively broken. Eleven negatives ship with the positive, three of them repo-shaped because the rules they cover only exist across documents. self-test ok: 23 fixture(s); the real codexFactory checkout still exits 0. Co-Authored-By: Claude Fable 5 <[email protected]>
…og, ticks The family README gains the schema in its Files list, four canonical rules beyond the schema shape (policy addressing, the prohibited-block list, the cross-document identity check, kind dispatch at declared paths), the two consumers, and a section stating the enforceable slice a conforming document contributes — subject_identity plus a policy_position payload keyed by policy id, reusing the already-ratified content kind so a namespaced address reads the same KIND of row whichever layer holds it. Materialization stays the consumer's: what a document contributes is ours, how the rows get written is theirs. The `blocking`-defaults-true rule is recorded there as a CONVENTION, not a validated field, because the ratified contract keeps the policy body open and a shape check would close it. Release surface: the manifest entry with the per-file sha256 consumers verify before treating a copy as current, and a changelog entry under Unreleased. The minor number is NOT allocated and no tag is cut — the versioning policy forbids reserving one before merge order is known, so contract_bundle_version stays at contract-v1.31 and task 2.7 stays unticked with the merge-gated remainder named. Co-Authored-By: Claude Fable 5 <[email protected]>
…erlay-contract # Conflicts: # README.md
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.
Suppressed comments (1)
scripts/validate-hermes-domain-overlay.py:71
- ROLE_KINDS doesn’t include the
clientrole, so a family-owned kind (e.g.hermes_domain_overlay/hermes_subject_overlay) placed at a descriptor-declaredclientpath will be validated and reported as “overlay ok (client)” instead of being refused as a wrong-kind-at-role-path. This contradicts the stated rule that a family-owned kind at the wrong role’s path is a finding.
Add an expected kind for client so the wrong-kind check triggers for family-owned kinds parked at the client path while still skipping the client overlay kind itself (since it’s not in FAMILY_VALIDATED_KINDS).
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.
Suppressed comments (2)
scripts/validate-hermes-domain-overlay.py:421
- self_test() currently ignores any directory under examples/negative/ that is neither a generated-domain fixture (ontology starter marker present) nor a repo-shaped fixture (overlay descriptor present). That makes the self-test fail open if someone adds a new repo-shaped negative directory but forgets the marker/descriptor, because it will be silently skipped.
scripts/validate-hermes-domain-overlay.py:517 - In validate_declared_paths(), a family-owned kind (hermes_domain_overlay / hermes_subject_overlay) placed at the descriptor's
clientrole path will currently be treated as valid because ROLE_KINDS has no entry forclient(expected becomes None), so the wrong-kind guard does not trigger. This contradicts the documented intent that a family-owned kind at the wrong role path is a finding, and could let a miswired repo pass validation.
…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
* Cut contract-v3.1: add-project-repo-schema's project-register election 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 * Tick add-project-repo-schema 9.2-9.4: archive preflight complete 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 * Archive add-project-repo-schema: realized at contract-v3.1, promoted 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 * Floor pin: advance the merge-master core to codexFactory 605d48a — the 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 * Define the SPENT state in the pinned policy: declare-spent-bundle-state'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 * Advance the intent-compliance release boundary to contract-v3.1, by hand 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 * Record the SPENT-state carry in the contract-v3.1 entry, and rebuild 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 --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…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
… 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]>
…r lanes (proposal, draft) (#676) * Author openxFactory's half of the floor addition grace as a draft proposal codexFactory's `add-floor-addition-grace` is RATIFIED and REALIZED (issue #203 ruled option (c), "rule c, this lane authors it"; "ratify 205, B1 stands"; PR #206, merge `712fc8ca`). Its ratified requirement *"The blocking check and the reporting lane implement one completeness rule"* has a second lane, and the second lane is this repository's — NAMED there as the companion change `openxFactory: mirror-floor-addition-grace` and deliberately not authored there (its tasks 4.1-4.3). This is that companion, as a PROPOSAL ONLY. ## What is refused today, and where it blocks The `repository_gate_floor` for `opensoft/openxFactory` is an EXACT SET: 59 generated spec paths inside a 67-entry floor. So promoting a capability is an ADDITION to the set the floor enumerates, and `surface - entries` reports the new path as uncovered in two places at once — the REQUIRED `pytest-suite` assertion `test_every_tracked_openspec_spec_path_is_on_the_floor` (org ruleset 21538893) with the two negative controls that fail with it by construction, and `merge-master-approval.yml` step 8 at stage `floor_incomplete`. The repair was paid FIVE TIMES IN TWO DAYS (codexFactory PRs #183, #195, #197, #198, #204 - four on 2026-09-04 alone), each matched here by an advance moving five pin sites in lockstep. Until this companion lands, the ratified grace is INERT IN THE ONLY LANE THAT BLOCKS. ## The measured defect this retires, re-measured here rather than quoted Re-measured on this branch against `origin/main` (`55c95dc1`), 2026-09-05: 3afd8a8 (THE LIVE PIN) NOT an ancestor of main c236c6b NOT an ancestor of main 8d893a0 NOT an ancestor of main 0ae7408 ancestor 2a3b29c ancestor THREE OF THE LAST FIVE declared `generated_at` pins are not ancestors of `main`, the live one among them, because the old order forced regeneration at an openxFactory PULL-REQUEST HEAD. With the addition graced the regeneration FOLLOWS the landing and can pin at a landed commit. ## The packet SEVEN `## ADDED Requirements`, 28 scenarios, in a NEW capability `review-lane-floor-mirror`. No `MODIFIED` and no `REMOVED` block anywhere in the delta: `grep -rl "review-lane-pin\|LQ-A7\|floor_snapshot" openspec/specs` returns NOTHING across all 59 promoted capabilities, so there is no requirement text to modify and no sibling-delta hazard to walk into. Decision A, the packet's one real design choice: the REQUIRED lane MIRRORS the rule and is falsified by replaying the core's 16 exported vectors plus its 5 refused ones; the ADVISORY lane IMPORTS `evaluate_floor_completeness` outright. The asymmetry is measured, not stylistic - the pinned core checkout is `continue-on-error: true` in `pytest-suite.yml` on purpose ("a required check that fails for reasons the candidate cannot fix blocks everything"), so an IMPORTING blocking assertion could only skip (the blocking check silently ceasing to block - the CSC-F16 shape inside the guard against CSC-F16) or fail for a cause no candidate can fix. Step 8 already treats an unreadable core as fatal and has nothing to protect by keeping a second copy of the rule. Decision B: a NEW capability rather than `neutral-product-pin`, on that pin file's OWN written ground - `contracts/review-lane-pin.yaml` declares `kind: pinned_workflow` and says why, "Reusing `pinned_contract_manifest` would have claimed a digest discipline this pin does not have and cannot have". Decision D: `sequenced_after: [codexFactory:add-floor-addition-grace]` - the FIRST cross-repository entry in this corpus. The grammar accepts `<repository>:<change-id>` and checks a qualified foreign entry for well-formedness only, which is exactly the disposition this dependency has. ## Validation openspec validate mirror-floor-addition-grace --strict valid openspec validate --all --strict 90 passed, 0 failed (was 89) scripts/proposal-support.py . verify ok scripts/validate-sequenced-after.py . passed (31 active, 2 declaring) pytest tests/review_lane_pin -q 55 passed, 1 skipped (unchanged) `--ledger-diff` is STALE by exactly this change's one missing row and the six derived totals that follow from it; the row is seeded in the next commit, once the pull request number this ledger records exists. RATIFICATION IS OWED AND IS BRETT HEAP'S ACT. His word of 2026-09-05, "companion", authorized the AUTHORING and not the content; nothing here is ratified by being authored. No realization code, no pin advance, no regeneration, no D-3 tolerance value, and no codexFactory file touched. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Move the one ledger row this packet's arrival moves A consequence of the previous commit, not a re-baseline to make a check pass. ## The row — moved by the tool, never by hand `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#676' --moved-on 2026-09-05` -> `wrote tests/sequenced_after/corpus-ledger.yaml (168 rows, 1 moved by #676)`, and the row it names is `mirror-floor-addition-grace`. + mirror-floor-addition-grace: {state: active, class: sole, + declares: [codexFactory:add-floor-addition-grace], depth: 0, + prose: false, moved_by: "#676", moved_on: "2026-09-05"} ONE LINE, ONE INSERTION, ZERO DELETIONS — `git diff --stat` reads `1 file changed, 1 insertion(+)`. **NO PARTNER FLIPPED**: the packet's delta opens a NEW capability (`review-lane-floor-mirror`), so it shares no requirement key with any change in the corpus and lands `class: sole` without moving anybody else's class. **No MOVEMENT LOG entry is owed** — `add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the row diff does NOT state, and this move is entirely stated by the row diff. `--ledger-diff` had reported the staleness in advance and named its whole extent: one missing row plus the six derived totals that follow from it (change_ids 167->168, active 30->31, sole_modifiers 52->53, active_sole 10->11, declaring 3->4, and the declaring_ids tuple). It now reads `per-change sweep ledger consistent with the corpus (168 rows)`, exit 0, and `pytest tests/sequenced_after` is **162 passed** where it was 4 failed. ## One honest finding about `depth: 0`, recorded rather than smoothed over This is the corpus's FIRST cross-repository `sequenced_after:` declaration, and the derived `depth` it produces is **`0`** — because the sweep measures "the longest RESOLVABLE declared chain from this change", a qualified FOREIGN entry resolves for no validator by design (*"the neutral validator cannot read another repository's corpus and MUST NOT pretend to"*), and no hop is therefore walkable. The ledger's own header says `0` is the value it wanted to keep away from a non-declaring row because *"`0` would read as a resolved root"*. Here the row DOES declare — `declares:` carries the foreign parent verbatim, so the two keys read together say exactly what is true — but a reader keying on `depth` ALONE would read this row as a root, which it is not. The value is what the tool derived and it is not hand-corrected here; the observation is recorded so the first instance of the shape is on the record rather than rediscovered by whoever files the second one. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record the depth: 0 reading the first cross-repository declaration produces The observation was in the ledger commit's message and nowhere a future author would look. `design.md` gains § 7, so the shape is on the record at its FIRST instance rather than rediscovered at its second. `sequenced_after: [codexFactory:add-floor-addition-grace]` is the corpus's first QUALIFIED FOREIGN entry — measured 2026-09-05, three changes declare the field and all three declare bare local parents. The sweep derives `depth: 0` for it, and the value is TRUE: `depth` is "the longest RESOLVABLE declared chain", and a qualified foreign entry resolves for no validator BY DESIGN (`validate_resolvable` checks well-formedness only, because "the neutral validator cannot read another repository's corpus and MUST NOT pretend to"). But the ledger's own header keeps `depth` off a non-declaring row for exactly this reason — "`0` would read as a resolved root" — and `[]`, the POSITIVE root claim, is a fact the ledger goes to trouble elsewhere to keep apart from absence. Read together with `declares:` the row is exact; read on `depth` alone it is misleading. Nothing is hand-corrected: hand-editing a derived key is the defect "moved by the tool, never by hand" exists to prevent. Whether `depth` should distinguish "no resolvable hop" from "resolved root" is left as a question somebody can take up deliberately, in its own change, now against a real example. `openspec validate mirror-floor-addition-grace --strict` still valid; no requirement, scenario or front-matter field moves. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Copilot round 1: the pin-window command is the core's own, argument for argument FINDING ACCEPTED, AND IT IS A REAL DEFECT rather than a style note. Copilot found the same fault at two of the three sites that write the command (`proposal.md` § What Changes, `tasks.md` 2.2); the third (`design.md` § 3) had `--name-only` but not `--pretty=format:` and carried HALF the same fault, so all three are corrected in one act rather than only the two that were reported. WHAT WAS WRONG. The packet wrote the B1 window as git log --diff-filter=A <generated_at>..<base> -- openspec/specs which emits COMMIT HEADERS interleaved with nothing else — no path list at all without `--name-only`, and commit metadata mixed into the paths even with it unless `--pretty=format:` empties the header. A realization following the written command would have parsed a different thing from the one the pinned core parses, in a packet whose entire object is that the two lanes must not diverge. THE FIX IS NOT "ADD A FLAG", IT IS "COPY THE CORE'S INVOCATION". All three sites now carry `specs_floor_block.paths_added_after_pin`'s exact argument list: git log --diff-filter=A --name-only --pretty=format: \ <generated_at>..<base> -- <prefix> and each says why the two flags are load-bearing. `design.md` § 3 states the principle the correction actually follows: copying the invocation is the same discipline as replaying the core's vectors — the rule has one home, and so does the command that feeds it. No requirement, no scenario and no front-matter field moves; the spec delta is byte-unchanged. `openspec validate mirror-floor-addition-grace --strict` valid; `--all --strict` 91 passed / 0 failed; `proposal-support.py . verify` ok. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record Brett's ratification of mirror-floor-addition-grace: "ratify the companion when green, then realize it" Brett Heap (repository owner), in session, verbatim: "ratify the companion when green, then realize it" — a standing word given while the packet was being authored, applied at the first head where the condition held, ce9a81e (all ten checks green, three Copilot threads resolved, Copilot Approval recommended, Codex quota-refused). Recorded on PR #676 (comment beginning "RULING — Brett Heap") and issue #675 (comment beginning "RATIFIED — Brett Heap"). RATIFIED: the seven `## ADDED Requirements` (28 scenarios) on the new capability `review-lane-floor-mirror`, as written. Because the word preceded the authoring's completion, authoring decisions A-F stand as recommended and none is separately ruled; the owner may veto any by follow-up. Nothing in the spec delta changes between the ruled head and this commit: `git diff ce9a81e -- specs/ design.md tasks.md .openspec.yaml` is empty. Ratification authorizes promotion of the delta and performs no realization; realization is the next act on the same word. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) * Copilot round 2: the origin field answers its own "has not happened" .openspec.yaml's origin.approved_by note said the packet's content ratification "has not happened" — true when authored, stale after the ratifying commit. Append, in the same field, the house precedent's shape (amend-chain-anchoring-readiness-and-durability's .openspec.yaml): the field still records authorization to file only, and a separate dated statement records that the packet has since been ratified, citing the verbatim word, the head it applied at, and the ratification record. Nothing in the field's original text moves. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Prerequisite 2.1 of codexFactory's ratified
add-project-alfa-subject-overlay(2026-08-15): the neutralhermes_subject_overlaycontract kind — the grammar openxFactory owns, whose instances live only in domain repos (ruling D2: openxFactory describes customer overlays, never hosts them).<namespace>/<policy-id>, e.g.opensoft.codexfactory.project-alfa/admission-conditions) — inexpressible in both existing kinds, each for a structural reason argued in the proposal.customerpaths (today it skips them out loud).subject.id(template-conformance forced);stricter_onlyREFUSED at the subject layer with mechanism (everything would gradereview_required) — replaced byrelation_to_baseline: additive_constraints_only+ a structural prohibited-block rule that fails rather than defers.contract-v<next minor>per the late-allocation rule; names the hermes-install parity-test trap (both loops filter to the domain kind — new fixtures would be silently skipped) as an explicit consumer task.Validation:
openspec validate --all --strict59/59; doc-health zero findings.Ratification confirms the three OQ-1 positions (design D2/D3/D4). Open questions retained in design §11 (content-kind registration, subject content manifest, multi-subject descriptors).
🤖 Generated with Claude Code