Skip to content

GATED (runbook 1.2) — slice B3: the eight contract-v3.4 inventoried members, denominator re-sorted (12/9) - #805

Merged
brettheap merged 8 commits into
mainfrom
realize/codexfactory-identity-b3
Sep 9, 2026
Merged

brettheap merged 8 commits into
mainfrom
realize/codexfactory-identity-b3

Conversation

@brettheap

@brettheap brettheap commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: provenance-autonomous-merge

GATED — lands at runbook step 1.2. DO NOT MERGE BEFORE THE TRANSFER.

Not for merge without Brett's word. The bundle cut (P7) is owed once this and the other three slices have landed — see § Ceremony merge order, which corrects an earlier revision of this line.


RECONCILED WITH main — 2026-09-09, head 2880462d, base 7681e409

Merged up to origin/main@7681e409 in three passes, all clean, no conflict. main moved five times during the reconciliation of the four slices (ca4a1558 → 86651a58 → 9a67d42c → 82c9f059 → 7681e409); none of the six commits touched the five contracts/hermes-runtime/ inventoried members, the three prose readings under docs/, or tests/hermes_runtime_contracts/test_domain_regression.py. The count is unchanged: 12 occurrences across 9 files.

THE PREDICTED TRANSIENT WAS RE-MEASURED AT THE NEW BASE, BY NAME AND NOT BY COUNT, because a moved baseline could have moved it and nothing would have said so. doc-health --single-repo . at 2880462d reports 10 critical / 16 error / 57 warning / 16 info; the same run at origin/main@7681e409 in a throwaway worktree reports 9 error. Diffed line for line, the delta is EXACTLY these seven release-inventory-drift ERRORs and nothing in any other family, and nothing that stands on main disappears:

contracts/hermes-runtime/README.md
contracts/hermes-runtime/fixtures/domain-regression-inventory.yaml
contracts/hermes-runtime/fixtures/regression/digest-mismatch.yaml
contracts/hermes-runtime/fixtures/regression/duplicate-repository.yaml
contracts/hermes-runtime/fixtures/regression/missing-exclusion-reason.yaml
docs/terminology-and-repo-topology.md
docs/xfactory-domain-factory-model.md

With the pre-existing docs/contract-versioning-policy.md the family reports EIGHT — task 7.5's prediction, and the body's own § The predicted transient, MEASURED — and the bundle cut (ceremony row 4) discharges all eight. The correction this body already records still holds at the new base: the baseline was one, not zero, so this slice adds seven.

Other validators at 2880462d, each against origin/main@7681e409:

  • pytest tests/hermes_runtime_contracts/test_domain_regression.py -q → 35 passed — the re-sorted PINNED_TABLE still pins the fixture row for row and in document order
  • scripts/validate-hermes-runtime-contracts.py → pass (51 contracts, 32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests collected) — byte-identical to the count this body records
  • pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q → 624 passed, 2 skipped, 48 subtests passed
  • openspec validate --all --strict → 101 passed / 3 failed, all three pre-existing on main: disposition-codexfactory-declared-renames, plus pin-openspec-cli-dependency-closure and spec/repo-boundary-governance from Pin the OpenSpec CLI's dependency closure: vendor a lockfile beside the pin, install through it #813/A pin's registration is checked: the manifest row's path, its consumer entrypoint and its consumption rule must agree #828. The number to compare against is now 3, not 1.
  • validate-sequenced-after.py . --ledger-diff → consistent, 189 rows
  • freeze check → EMPTY after the merge
  • pytest-suite → expected PASS (verify-commit is the check that reads the inventory drift, and it is the cut's business, not this suite's)

The reconciled arithmetic for all four slices is recorded in § 18 of the sweep evidence, which lands on #806.

Realizes adopt-codexfactory-repository-identity tasks 3.1, 3.2, 3.3, 3.4, 4.2, 4.3, 4.4 — 12 occurrences across 9 files. Runbook step 10.2, slice B3. Speckit feature specs/030-realize-codexfactory-identity/ (landed in #799).

Why all eight inventoried members move in ONE slice

Re-verified at this head against contracts/releases/contract-v3.4.digests.yaml (283 entries): all eight named members are present, and none of the other renamed files is — so design.md § 5's arithmetic holds unchanged. None of the eight is in scripts/doc_health/release_inventory.py's three-path EDITORIAL set, so each moved blob is an ERROR-severity release-inventory-drift finding and a red verify-commit until the cut re-baselines the inventory.

Splitting the eight puts a subset of that transient on main with no cut available to repair it, because a cut needs all eight. That is the constraint that shapes this slice, not tidiness.

inventoried member task
contracts/hermes-runtime/fixtures/domain-regression-inventory.yaml 3.1
contracts/hermes-runtime/fixtures/regression/digest-mismatch.yaml 3.3
contracts/hermes-runtime/fixtures/regression/duplicate-repository.yaml 3.3
contracts/hermes-runtime/fixtures/regression/missing-exclusion-reason.yaml 3.3
contracts/hermes-runtime/README.md 3.4
docs/contract-versioning-policy.md 4.2
docs/terminology-and-repo-topology.md 4.3
docs/xfactory-domain-factory-model.md 4.4

Plus tests/hermes_runtime_contracts/test_domain_regression.py, which is not inventoried but pins the denominator row for row and in document order, so it moves in the same commit or the suite goes red — the mechanism working (tasks 3.1, 3.2).

The fix round: two things the sweep could not see

The containment claim moves with the member

docs/xfactory-domain-factory-model.md introduced the block this slice moves with "The sellable domain stacks should live in separate repositories under the opensoft GitHub organization." After the respelling, that sentence asserted in the present tense that five repositories live under opensoft and then listed one that does not.

No grep-based sweep could find it: the sentence carries no opensoft/codexFactory literal. That is the structural limit of a literal-string sweep — the rule over path classes is the right instrument for finding OCCURRENCES and is not an instrument for finding prose that becomes false because an occurrence moved. It is the same blindness class as contracts/review-lane-repin-binding.template.yaml:103 on #801 and docs/dogfood-content-migration-plan.md:49 on #806.

The sentence now says each stack lives under the organization that owns it, that four are under opensoft, that the engineering stack moved with the transfer, and names contracts/policies/repository-identity.yaml as the resolver — and it says why it needed saying, so the next reader knows the sentence is load-bearing.

This generalises, and it is the concrete instance that motivates task 9.6's dual. 9.6 already leaves open "whether a deterministic check family should verify that no live surface names a mapped former identity." The dual — no live surface should make a containment claim falsified by a mapped identity — is a second input that family would need. Recorded on #279.

The fourth enumeration joins the other three

Three prose readings of the regression fixture were re-sorted with it, putting the codex entry first: contracts/hermes-runtime/README.md, docs/contract-versioning-policy.md, docs/terminology-and-repo-topology.md. The fourth — docs/xfactory-domain-factory-model.md — kept it last, so a reader comparing any two of the four found them disagreeing about the order of the same file. It is re-sorted, in the siblings' own punctuation, and now states the reason: the order is the fixture's, which is bytewise sorted, and c < o.

And the exemption is now written down rather than left to be "fixed" later: the ASCII block at the end of that document is in DOMAIN order, not sorted order, deliberately. It is not a reading of a sorted machine file, so re-sorting it would be a change with nothing to agree with. The document says so beneath the block.

The predicted transient, MEASURED

python3 scripts/doc-health.py --single-repo . --family release-inventory-drift

on the tree carrying this slice:

ERROR (8):  contracts/hermes-runtime/README.md
            contracts/hermes-runtime/fixtures/domain-regression-inventory.yaml
            contracts/hermes-runtime/fixtures/regression/digest-mismatch.yaml
            contracts/hermes-runtime/fixtures/regression/duplicate-repository.yaml
            contracts/hermes-runtime/fixtures/regression/missing-exclusion-reason.yaml
            docs/contract-versioning-policy.md
            docs/terminology-and-repo-topology.md
            docs/xfactory-domain-factory-model.md
INFO  (2):  contracts/README.md, contracts/manifest.yaml   (EDITORIAL members — the family's documented between-cuts state)

Exactly EIGHT, as task 7.5 predicts, and the fix round's two edits add none: docs/xfactory-domain-factory-model.md was already one of the eight, so editing it further cannot widen the set. Whole-repository doc-health at this head is 16 ERRORs — the 8 above plus the 8 that stand on main, and no other family moves.

A correction worth recording: the baseline was ONE, not zero. docs/contract-versioning-policy.md already drifts from the contract-v3.4 digest on main — doc-health reported it ERROR before this slice existed. So this slice adds seven, the family reports eight, and it does not report nine. The predicted number is right; the arithmetic behind it is one member different, and that pre-existing drift is discharged by the same cut this change owes. (The review re-derived both readings independently — 1 on origin/main, 8 on this head — and they hold.)

Task 3.1's sorted position was DERIVED, never copied

The packet says "the entry moves from LAST to FIRST if this change lands alone, and to SECOND if adopt-medxsoft-repository-identity has landed … Derive the position from the tree at the realization head; do not copy either number."

Derived: the entries list at this head is opensoft/AdxFactory, opensoft/LedgerxFactory, opensoft/MedxFactory, opensoft/OpsxFactory, opensoft/codexFactory — the codex entry is 5 of 5. c is 0x63, o is 0x6F, so codeXfactory/… sorts before every opensoft/…. adopt-medxsoft-repository-identity has not landed (MedxSoft/, M = 0x4D, would take first place), so the "FIRST" branch fires and the entry moves to position 1.

Verified mechanically:

['codeXfactory/codexFactory', 'opensoft/AdxFactory', 'opensoft/LedgerxFactory',
 'opensoft/MedxFactory', 'opensoft/OpsxFactory']
sorted: True     # against key=lambda v: v.encode("utf-8")

commit, stack_path, stack_digest, domain_id, expected_contract_ref, expected_contract_schema_version and expected_result are byte-identical: the repository content did not move, only its owner segment. The opensoft/LegalxFactory exclusion row is untouched.

PINNED_TABLE is respelled and reordered in the same commit; its # … bytewise sorted by repository comment stays true; the value-for-value zip against entries in document order and the sorted(..., key=lambda value: value.encode("utf-8")) assertion both pass. All four prose enumerations now carry that order.

Task 3.3: each negative still fails for its own reason

duplicate-repository.yaml's deliberate duplicate is still opensoft/AdxFactory — it appears twice and remains the reported one; the codex entry appears once. The other two negatives keep their zero-digest and missing-reason defects. validate-hermes-runtime-contracts.py reports pass (51 contracts, 32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests collected).

Task 3.2: the resolver-key migration touches no workflow

git grep -- "domain-repo" at this head returns only prose (README.md, contracts/CHANGELOG.md, three contracts/**/README.md, docs/contract-versioning-policy.md). No workflow, script or test passes the flag with a repository key. The review widened this check to the whole workspace — all nine submodules and the aggregation root — and found the same: only openxFactory's own validator, README, tests and specs/005-customer-subject-runtime/**. So the engineering domain's --domain-repo resolver key becomes codeXfactory/codexFactory from the next bundle forward, and that is a consumer-visible changelog note rather than a workflow edit — it belongs in the cut (P7).

Task 4.3's note: the forward reference now RESOLVES

An earlier revision of this body recorded the note added to docs/terminology-and-repo-topology.md as a deliberate forward reference to a file that "does not exist yet". That is no longer true and is corrected here. contracts/policies/repository-identity.yaml landed on main — this change's task 1.1 was amended by the convener to create the file here (record review/amendment-2026-09-08-task-1-1.md), realized in #799, and the codexFactory mapping row landed with #815. The row reads former: opensoft/codexFactory, current: codeXfactory/codexFactory, with transferred_on deliberately unset until transfer step 1.2 supplies its date. So the note points at a real resolver with a real row, and the only thing still pending on it is the operator's date.

Ceremony merge order

The four slices' file sets are provably disjoint and git merge-tree --write-tree origin/main <branch> is conflict-free for all four, so the merges themselves are order-free. Two things downstream are not, and this body's earlier line — "the bundle cut is owed the moment this merges" — understated where the cut sits. The sequence:

# act who why here
0 Precheck. A throwaway workflow run that mints with owner: codeXfactory and checks out codeXfactory/codexFactory. operator Proves transfer step 1.6 end to end; #801's merge-time proof depends on it.
1 #801 — machine surfaces (41/15) Brett's word Gated on Phase 1 COMPLETE, 1.6 included.
2 #802 — origin identity + the occurrence no slice owned (37/15) Brett's HUMAN merge HUMAN-ONLY floor, and it carries the grant lines task 6.5 depends on.
3 #805 — this one (12/9) Brett's word The only slice touching inventoried members.
4 Bundle cut — tasks 7.2–7.4 LANE, then operator for the release surfaces Task 7.1 requires tests/hermes_runtime_contracts, tests/clearing, tests/factory_identity and tests/review_lane_pin green on the renamed tree before any release surface is touched — so not after this slice alone. Its condition is MET here because #806 touches no test and no inventoried member. verify-promotion and the annotated tag are release surfaces the runbook's legend does not cover; treat them as operator acts.
5 #806 — prose + README per line (25 respelled + 3 frozen / 14) Brett's word Owes no cut.
6 Ticks: 7.1 then 6.5 LANE 6.5 is strictly last — a whole-corpus zero-residual check. Task 7.5's zero-findings row can only be ticked by the cut itself.
7 Aggregation five-site lockstep — runbook Phase 2 LANE, then operator merges opensoft/xFactory's nine reference groups move in ONE commit.

A stricter reading is recorded rather than silently overruled. The review's position is that the cut is after all FOUR slices, on the letter of 7.1 and 6.5. The order above puts it after three, because #806 touches no test and no inventoried member so neither the cut's inputs nor 7.1's condition can change across it. If the convener prefers the letter, move row 4 below row 5; nothing else moves.

Recorded results, re-run at this head

python3 -m pytest tests/hermes_runtime_contracts/test_domain_regression.py -q
  35 passed in 7.79s

python3 scripts/validate-hermes-runtime-contracts.py            # NO path argument
  Hermes runtime contracts: pass (51 contracts, 32 schemas, 110 fixtures,
                                  17 requirements, 85 scenarios, 439 tests collected)

openspec validate --all --strict → 101 passed / 1 failed, the same pre-existing disposition-codexfactory-declared-renames. validate-sequenced-after.py --ledger-diff → consistent, 186 rows. Freeze empty against contracts/signed-execution-chain/ openspec/changes/archive/ specs/ docs/decisions/ ideation/.

The full tests/hermes_runtime_contracts package includes Postgres-backed suites that exceed a 570-second local budget; CI's pytest-suite runs them on this pull request and is the record for the rest.

The branch is merged up to origin/main — git rev-list --count $(git merge-base origin/main HEAD)..origin/main is 0 — so the numbers here are today's. Line numbers are deliberately not quoted: a verdict is per line CONTENT and line numbers move with every commit to main.

Ticks

Nothing in the packet's tasks.md is ticked by this pull request. Tasks 3.1–3.4 and 4.2–4.4 tick on its merge, and task 7.5's zero-findings row can only be ticked by the cut that follows it.

…members

Lane: provenance-autonomous-merge
Realizes: adopt-codexfactory-repository-identity tasks 3.1, 3.2, 3.3, 3.4, 4.2,
4.3, 4.4
12 occurrences across 9 files.

GATED. DO NOT MERGE BEFORE THE TRANSFER. The regression denominator carries the
ENGINEERING DOMAIN'S CANONICAL KEY with a real commit and stack_digest, and task
3.2 ties the --domain-repo resolver-key migration to 'the next bundle forward'.

WHY ALL EIGHT MOVE IN ONE SLICE, re-verified at this head against
contracts/releases/contract-v3.4.digests.yaml (283 entries): all eight named
members are present and NONE of the other 52 renamed files is, so design.md 5's
arithmetic holds unchanged. None is in release_inventory.py's three-path
EDITORIAL set, so each moved blob is an ERROR-severity release-inventory-drift
finding and a red verify-commit until the cut re-baselines the inventory.
Splitting the eight puts a subset of that transient on main with NO CUT
AVAILABLE TO REPAIR IT, because a cut needs all eight.

Task 3.1's sorted position was DERIVED from the tree, not copied: c (0x63) sorts
before o (0x6F) and adopt-medxsoft-repository-identity has NOT landed
(MedxSoft/, M = 0x4D, would take first place), so the codex entry moves from
position 5 of 5 to position 1 - the packet's 'FIRST if this change lands alone'
branch. commit, stack_path, stack_digest, domain_id, expected_contract_ref,
expected_contract_schema_version and expected_result are byte-identical: the
repository content did not move.

PINNED_TABLE is respelled AND reordered in the SAME commit, its 'bytewise
sorted by repository' comment stays true, and the three prose enumerations
(hermes-runtime README, contract-versioning-policy, terminology-and-repo-topology)
are re-ordered to agree with the fixture.

duplicate-repository.yaml's deliberate duplicate is still opensoft/AdxFactory,
verified.

Task 4.3's resolver note is added to docs/terminology-and-repo-topology.md. It
FORWARD-REFERENCES contracts/policies/repository-identity.yaml, which
adopt-medxsoft-repository-identity authors at ITS task 1.1 and which does not
exist yet - the same forward reference this packet's own proposal.md and
design.md already carry on main.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 8, 2026 13:27

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

brettheap pushed a commit that referenced this pull request Sep 8, 2026
…appened mid-sweep

Lane: provenance-autonomous-merge

The feature's tasks.md ledger now names the real pull requests:
  #799  slice A, safe now      - the sweep evidence, the 8 safe-now renames, the freeze proof
  #801  slice B1, DRAFT gated  - the decision-core pin, the workflows, the operator tools (41/15)
  #802  slice B2, DRAFT gated  - the origin identity, HUMAN MERGE WORD ONLY (35/14)
  #805  slice B3, DRAFT gated  - the eight contract-v3.4 inventoried members (12/9)
  #806  slice B4, DRAFT gated  - the remaining prose and README.md per line (28/14)
  P6    the mapping row        - NOT OPENED, blocked on medxsoft task 1.1
  P7    the bundle cut         - NOT OPENED, owed the moment #805 merges

Evidence 13 records the drift that happened while the sweep was being filed:
origin/main advanced nine commits to e7c5301 when Brett merged #783. It added
no codexFactory occurrence to README.md - still exactly nine - but shifted the
line numbers for the SECOND time since the packet was written, which is the
whole argument for a rule over path classes instead of a hand enumeration. The
per-line README rename is applied programmatically against the recorded verdict
set and REFUSES on any occurrence it has no verdict for.

Re-measured at the merged head: 372/164, every delta attributed - slice A's 8
left contracts-live, this feature's own specs/030 documents added 36 to the
specs/** FROZEN class, and this evidence file added 17 to active-packets, the
self-reference 11 predicted. Gates re-run: openspec --all --strict now
100 passed / 1 failed with the SAME single failure, and --ledger-diff green at
184 rows after #783's new row.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated docs introduce/expand guidance that implies an existing lookup policy file that is not present yet, and one supported-domain enumeration remains out of sync with the canonical inventory ordering.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the Hermes runtime “supported-domain regression denominator” surfaces to reflect the repository identity transfer from opensoft/codexFactory to codeXfactory/codexFactory, including the inventoried contract members and the unit test that pins the inventory ordering.

Changes:

  • Re-spell the codexFactory repository key to codeXfactory/codexFactory in the canonical regression inventory and its regression fixtures.
  • Update the pinned denominator table and resolver-path test in tests/hermes_runtime_contracts/test_domain_regression.py to match the new owner segment and ordering.
  • Reorder/refresh the corresponding prose enumerations in affected documentation and contract README text to align with the inventory ordering.
File summaries
File Description
tests/hermes_runtime_contracts/test_domain_regression.py Moves the codex row to match bytewise ordering and updates resolver test paths/keys.
contracts/hermes-runtime/fixtures/domain-regression-inventory.yaml Updates the canonical inventory entry from opensoft/... to codeXfactory/... and repositions it accordingly.
contracts/hermes-runtime/fixtures/regression/digest-mismatch.yaml Updates the regression fixture’s codex repository spelling.
contracts/hermes-runtime/fixtures/regression/duplicate-repository.yaml Updates the regression fixture’s codex repository spelling.
contracts/hermes-runtime/fixtures/regression/missing-exclusion-reason.yaml Updates the regression fixture’s codex repository spelling.
contracts/hermes-runtime/README.md Updates the documented supported-domain list to the new codexFactory owner segment and ordering.
docs/contract-versioning-policy.md Updates the supported-domain list to include the new codexFactory owner segment and ordering.
docs/terminology-and-repo-topology.md Updates the supported-domain list ordering and adds repository-move lookup guidance.
docs/xfactory-domain-factory-model.md Updates codexFactory owner segment in the supported-domain description and the repo list block.
Review details
  • Files reviewed: 9/9 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.

Comment on lines +213 to +216
A repository that has MOVED ORGANIZATIONS keeps its recorded former spelling
wherever that spelling is a dated record, and the former identity is resolved
BY LOOKUP in `contracts/policies/repository-identity.yaml` — never through a
provider redirect, which lapses the moment the former owner reuses the name.
Comment thread docs/xfactory-domain-factory-model.md Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge — adversarial review (Opus), 2026-09-08

Convener-ordered review of all four gated slices. Read-only: no file changed, nothing pushed, draft status untouched. Checks run in a throwaway worktree; head reviewed is 44fc8063.

Verdict: FIX-FIRST. The mechanics are right and I re-derived the two claims that matter most independently — the eight-versus-nine drift arithmetic and the sorted position both hold. The findings are about a sentence the literal sweep cannot see and an enumeration left out of the re-sort.


MEDIUM

M-1. docs/xfactory-domain-factory-model.md:868 becomes false the moment :888 is respelled, and the sweep is blind to it.

The block this slice edits is introduced, at :868, by:

The sellable domain stacks should live in separate repositories under the opensoft GitHub organization.

and the diff changes :888 inside that block to codeXfactory/codexFactory (and :890 to the matching URL). After the merge the document asserts, in the present tense, that five repositories live under opensoft and then lists one that does not.

git grep -i "opensoft/codexfactory" cannot see this: the sentence carries no opensoft/codexFactory literal. This is the structural limit of a literal-string sweep, and it is the same blindness class as contracts/review-lane-repin-binding.template.yaml:103 (identity_namespace: "github:opensoft") which #801 leaves behind. The rule over path classes is the right instrument for finding occurrences; it is not an instrument for finding prose that becomes false because an occurrence moved.

Fix: amend :868-869 in this slice — the sentence is inside the same section as a member this slice moves, so it belongs in the same commit under the packet's own one-commit discipline. Recommend something like "…under the opensoft GitHub organization, except where a stack has moved (see contracts/policies/repository-identity.yaml)."

Worth a moment at the ceremony: this finding generalises. Task 9.6 already leaves open "whether a deterministic check family should verify that no live surface names a mapped former identity." The dual — no live surface should make a containment claim falsified by a mapped identity — is a second input that family would need, and this is the concrete instance that motivates it.

M-2. The fourth prose enumeration is left in the old order, and the exception is unrecorded.

Three enumerations were re-sorted to put the codex entry first, matching the re-sorted fixture:

  • contracts/hermes-runtime/README.md:125-127 → codeXfactory/codexFactory, opensoft/AdxFactory, …
  • docs/contract-versioning-policy.md:448-449 → same
  • docs/terminology-and-repo-topology.md:207-208 → same

The fourth, docs/xfactory-domain-factory-model.md:297, keeps it last:

currently `opensoft/AdxFactory`, `opensoft/LedgerxFactory`,
`opensoft/MedxFactory`, `opensoft/OpsxFactory`, and `codeXfactory/codexFactory`,

All four sentences make the same claim about the same fixture ("currently names…", "It currently names…"), so a reader comparing any two now finds them disagreeing about order. The body says the re-order was done "so README order and fixture order agree" and names only three files; nothing records why the fourth is exempt. Either re-sort it or record the exemption. (The ASCII block at :886-890 in the same file is not sorted — Medx, Opsx, Ledgerx, Adx, codex — so it correctly needs no re-order; that is worth stating so the next reader does not "fix" it.)

M-4. No merge order is written anywhere, and the cut's position is understated here.

git merge-tree --write-tree origin/main <each branch> is conflict-free for all four and the file sets are provably disjoint, so the merges are order-free. But this body says "the bundle cut (P7) is owed the moment this merges", which reads as after #805 alone. Task 7.1 requires tests/hermes_runtime_contracts, tests/clearing, tests/factory_identity and tests/review_lane_pin green on the renamed tree before any release surface is touched — so the cut is after all four slices, not after this one. Task 6.5 likewise. State the sequence (#801 + #802 + #805 + #806 → 6.5 → 7.2–7.4) on each body and in the runbook's Phase 10, with who does each step: 7.2–7.4 are LANE acts, but 7.4's verify-promotion and the annotated tag are release surfaces and the runbook's legend does not cover them.


LOW

L-3. The branch is 34 commits behind main, so the line numbers in the body are stale.

git merge-base origin/main = e7c53012; git rev-list --count e7c53012..origin/main = 34. No textual conflict, so not a merge risk.


NOTE — what I verified independently and found correct

The eight-and-not-nine arithmetic, re-derived rather than read off the body. Two runs of python3 scripts/doc-health.py --single-repo . --family release-inventory-drift:

  • at origin/main: 1 ERROR — docs/contract-versioning-policy.md — plus 2 INFO (contracts/README.md, contracts/manifest.yaml, the editorial members' documented between-cuts state).
  • at this branch's head: 8 ERROR — the five contracts/hermes-runtime/** members plus docs/contract-versioning-policy.md, docs/terminology-and-repo-topology.md, docs/xfactory-domain-factory-model.md — plus the same 2 INFO.

So the correction "the baseline was ONE, not zero" is right, task 7.5's predicted eight is right, and it is not nine. This is the finding in the packet I most expected to be a miscount, and it is not.

Inventory membership is exactly the eight. grep -F " path: <f>" contracts/releases/contract-v3.4.digests.yaml (283 entries) over the whole 60-file RENAME set returns a hit for precisely these eight and for nothing in slices A, B1, B2 or B4 — including tests/hermes_runtime_contracts/test_domain_regression.py, which is not inventoried, exactly as the body says. design.md § 5's arithmetic holds and the "splitting the eight is unrepairable" argument is sound.

No consumer digest verification breaks. I checked every domain consumer's pin: xFactories/{MedxFactory,LedgerxFactory,codexFactory,OpsxFactory,AdxFactory}/stack.yaml all pin openxFactory by commit (contract_ref_type: commit, contract_ref: <sha>), not by per-member digest. A content change to an inventoried member therefore cannot break a consumer's verification — a consumer only sees it when it chooses to advance its pin. The exposure is confined to openxFactory's own verify-commit / release-inventory-drift, which is what the body claims. No consumer contract test pins any of these eight paths at an exact sha.

Task 3.2's claim holds across the whole workspace, not just this repository. grep -rn -- "--domain-repo" over all nine submodules and the aggregation root finds it only in openxFactory's own scripts/validate-hermes-runtime-contracts.py, contracts/hermes-runtime/README.md, tests/hermes_runtime_contracts/** and specs/005-customer-subject-runtime/**. No workflow, no aggregation site, no consumer passes the flag with a repository key — so the resolver-key migration really is a changelog note owed to the cut and not a workflow edit.

The sorted position is derived correctly. ['codeXfactory/codexFactory','opensoft/AdxFactory','opensoft/LedgerxFactory','opensoft/MedxFactory','opensoft/OpsxFactory'] == sorted(v, key=lambda s: s.encode()) → True. And the "SECOND if MedxSoft has landed" branch checks out too: MedxSoft/codexFactory (M = 0x4D) sorts first of the six. The entries list, PINNED_TABLE, and the three re-sorted prose enumerations all agree.

The negatives still fail for their own reasons. duplicate-repository.yaml: the deliberate duplicate is opensoft/AdxFactory at :18 and :26, and the codex entry appears once at :50 — so the reported duplicate is unchanged. The other two negatives keep their zero-digest and missing-reason defects.

The other pin fields are byte-identical. commit: 7bfa492f…, stack_digest: sha256:06f88e19…, domain_id: codex, expected_contract_ref: 3d51c3ed…, expected_contract_schema_version, expected_result all move unchanged with the entry; the opensoft/LegalxFactory exclusion row is untouched. The repository content did not move, only its owner segment — which is what the entry should say.

Task 4.3's forward reference is not a new breakage. The note added at docs/terminology-and-repo-topology.md:209-213 names contracts/policies/repository-identity.yaml in backticks, not as a markdown link, so no link checker fires; and the same path is already referenced from this packet's proposal.md and design.md on main. Recording it in the body was the right call.

Case is exact. 12 added, 12 removed, counted with grep -o; every added spelling is precisely codeXfactory/codexFactory. codexFactory.git at test_domain_regression.py:407 is a bare member name under a tmp_path mirror root and is correct per task 6.4.

Nothing frozen or not-swept is touched. git diff --name-only e7c53012 44fc8063 -- contracts/signed-execution-chain/ openspec/changes/ specs/ docs/decisions/ ideation/ is empty.

…on joins the other three

Fix round on the adversarial review of #805 — M-1 and M-2, both in
docs/xfactory-domain-factory-model.md. No inventoried member's respelling
changes; the 12/9 set is the same nine files.

M-1. `:868` introduced the block this slice moves at `:888` with "The sellable
domain stacks should live in separate repositories under the `opensoft` GitHub
organization." After the respelling that sentence asserted, in the present
tense, that five repositories live under `opensoft` and then listed one that
does not. It carries no `opensoft/codexFactory` literal, so no grep-based sweep
could find it — the structural limit of a literal-string sweep, and the same
blindness class as the `identity_namespace` #801 leaves behind. The sentence now
says each stack lives under the organization that owns it, that four are under
`opensoft`, that the engineering stack moved with the transfer, and names
`contracts/policies/repository-identity.yaml` as the resolver. It also says WHY
this needed saying: an enumeration is a containment claim as well as a list, so
a stack that moves has to move in the sentence too.

M-2. `:297` was the fourth prose reading of the regression fixture and the only
one left in the old order — the other three (`contracts/hermes-runtime/README.md`,
`docs/contract-versioning-policy.md`, `docs/terminology-and-repo-topology.md`)
were re-sorted with the fixture and put the codex entry first. All four make the
same claim about the same file, so a reader comparing any two found them
disagreeing about its order. It is re-sorted, in the siblings' own punctuation,
and it now states the reason: the order is the fixture's, which is bytewise
sorted, `c` < `o`.

And the exemption the review asked to have written down rather than left to be
"fixed" later: the ASCII block at the end of the document is in DOMAIN order,
not sorted order, deliberately — it is not a reading of a sorted machine file,
so re-sorting it would be a change with nothing to agree with. The document now
says so beneath the block.

Lane: provenance-autonomous-merge
Copilot AI review requested due to automatic review settings September 9, 2026 00:12
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge — fix round COMPLETE on this pull request. Head 9f312db7 (was 44fc8063), merged up to origin/main f03fd875.

Answering #805 (comment) finding by finding.

finding disposition
M-1 — docs/xfactory-domain-factory-model.md:868 becomes false when :888 moves FIXED 9f312db7
M-2 — the fourth prose enumeration left in the old order; the exception unrecorded FIXED 9f312db7 — re-sorted, and the ASCII block's exemption written down
M-4 — no merge order, and the cut's position understated here FIXED — body § Ceremony merge order; the "owed the moment this merges" line is corrected at the top of the body too, not only in the new section
L-3 — 34 commits behind, so the body's line numbers are stale FIXED, and the cause removed — git merge --no-edit origin/main was clean, git rev-list --count $(git merge-base origin/main HEAD)..origin/main is now 0, and the body quotes no line numbers at all

M-1

The sentence now reads that each stack lives under the organization that owns it, that four are under opensoft, that the engineering stack moved with the transfer, and names contracts/policies/repository-identity.yaml as the resolver. It also states, in the document, why it needed saying — "an enumeration here is a containment claim as well as a list, so a stack that moves has to move in this sentence too — which is a thing a literal-string sweep cannot find, because the sentence names no repository" — so the next reader knows the sentence is load-bearing rather than decorative.

Your generalisation is carried forward as you framed it: task 9.6's open question has a dual — no live surface should make a containment claim falsified by a mapped identity — and this is its concrete instance. Recorded on #279 alongside #801's identity_namespace and #806's :49, so the family that gets built has all three inputs rather than one.

M-2

:297 is re-sorted to codeXfactory/codexFactory, opensoft/AdxFactory, opensoft/LedgerxFactory, opensoft/MedxFactory, and opensoft/OpsxFactory — in the siblings' own punctuation, so the four sentences match in form as well as order — and it now states the reason rather than leaving it to be re-derived: the order is the fixture's, which is bytewise sorted, c < o, and the three sibling documents carry the same order.

And the exemption you asked to have stated so the next reader does not "fix" it: the ASCII block is now followed by "The block above is in domain order, not sorted order, and that is deliberate — unlike the four prose enumerations of the regression fixture, it is not a reading of a sorted machine file, so re-sorting it would be a change with nothing to agree with. Do not 'fix' it to match them."

One thing the fix round found on its own

Task 4.3's forward reference is no longer forward. The body recorded contracts/policies/repository-identity.yaml as a deliberate reference to a file that "does not exist yet". It exists on main now: task 1.1 was amended by the convener to create the file in this change (record review/amendment-2026-09-08-task-1-1.md), it landed in #799, and the codexFactory mapping row landed with #815 — former: opensoft/codexFactory, current: codeXfactory/codexFactory, transferred_on unset until step 1.2 supplies its date. The body is corrected; the note in docs/terminology-and-repo-topology.md needs no change, because it now points at a real resolver with a real row.

The transient, and that the fix round did not widen it

doc-health --single-repo . --family release-inventory-drift   ->  8 ERROR  (+2 INFO)
doc-health --single-repo .   (all families)                   -> 16 ERROR

Still exactly EIGHT, as task 7.5 predicts, and the fix round adds none: docs/xfactory-domain-factory-model.md was already one of the eight, so editing it further cannot widen the set. The whole-repository 16 is the 8 above plus the 8 that stand on main unchanged — four status-validity on other packets' records, four tag-hygiene in ideation/staging/. No other family moves.

pytest tests/hermes_runtime_contracts/test_domain_regression.py -q → 35 passed. validate-hermes-runtime-contracts.py → pass (51 contracts, 32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests collected). openspec validate --all --strict → 101 passed / 1 failed, the same pre-existing disposition-codexfactory-declared-renames. validate-sequenced-after.py --ledger-diff → consistent, 186 rows. Freeze empty. Still a draft; nothing merged.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Merge readiness depends on external operator-gated timing (org transfer) and coordinated post-merge bundle/cut steps, which require human confirmation.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +213 to +216
A repository that has MOVED ORGANIZATIONS keeps its recorded former spelling
wherever that spelling is a dated record, and the former identity is resolved
BY LOOKUP in `contracts/policies/repository-identity.yaml` — never through a
provider redirect, which lapses the moment the former owner reuses the name.
brettheap added a commit that referenced this pull request Sep 9, 2026
`origin/main@86651a5` merged with no conflict — nothing this slice touches was
touched by #813, #817/#818, #827 or #828. This slice's surfaces are the
factory-origin register, its grant and wallet, the review-authority grant, the
seven clearing examples and their three test literals, plus its own § 16 of the
sweep evidence; the landed changes moved workflows, pin tooling and openspec
packets.

Validators at this merge:
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 617 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@86651a5` and measured there:
  `disposition-codexfactory-declared-renames`,
  `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`.
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to the same
  run at `origin/main`. No new ERROR.
- freeze check against `contracts/signed-execution-chain/`,
  `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` ->
  EMPTY after the merge.

This pull request stays HUMAN-ONLY to merge; this commit reconciles it and
nothing more.

Next unfinished pull request in the ceremony order: #805
(`realize/codexfactory-identity-b3`).

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…y transient measures EXACTLY as the body predicts

`origin/main@86651a5` merged with no conflict. This slice's nine files —
the five `contracts/hermes-runtime/` inventoried members, the three prose
readings under `docs/`, and `tests/hermes_runtime_contracts/test_domain_regression.py`
— were untouched by #813, #817/#818, #827 and #828.

RE-MEASURED AT THE MERGE, because a moved baseline could have moved the
predicted transient and did not:

- doc-health `--single-repo .` -> 10 critical, **16 error**, 57 warning,
  16 info. Diffed line for line against the same run at `origin/main`
  (9 error): the delta is **exactly seven** `release-inventory-drift`
  ERRORs and **no finding in any other family**. Seven, not eight, because
  `docs/contract-versioning-policy.md` ALREADY drifts on `main` — the
  correction this pull request's body records. The family therefore reports
  **eight**, which is what task 7.5 predicts and what the body's measured
  block states, and the bundle cut (P7, ceremony row 4) is what discharges
  all eight.
- `pytest tests/hermes_runtime_contracts/test_domain_regression.py -q`
  -> 35 passed. The denominator still pins row for row and in document
  order, so the re-sorted `PINNED_TABLE` still agrees with the fixture.
- `scripts/validate-hermes-runtime-contracts.py` -> pass (51 contracts,
  32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests
  collected) — byte-identical to the count in the body.
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 617 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@86651a5`:
  `disposition-codexfactory-declared-renames`,
  `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`.
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- freeze check against `contracts/signed-execution-chain/`,
  `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` ->
  EMPTY after the merge.

Next unfinished pull request in the ceremony order: #806
(`realize/codexfactory-identity-b4`).

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 06:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

It intentionally introduces a known release-inventory drift/transient that is explicitly gated on an external transfer/cut ceremony, so final approval should be confirmed by a human at the correct runbook step.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

brettheap added a commit that referenced this pull request Sep 9, 2026
…published rule, so this slice respells them

`relocate-review-authority-floor-mirror` landed its OpenSpec Records entry on
`main` (#817/#818) between this slice being cut and this reconciliation. The
entry cites the companion codexFactory issue and pull request four times:

    :593  [codexFactory #232](codeXfactory/codeXfactory#232)
    :598  [codexFactory #293](codeXfactory/codeXfactory#293)
    :617  [codexFactory #232](codeXfactory/codeXfactory#232)
    :623  [codexFactory #293](codeXfactory/codeXfactory#293)

DECIDED AGAINST THE PUBLISHED RULE, NOT BY EYE. The sweep evidence's § 5
already ruled this exact shape, four times over, for the citations this slice
respells at `:1001`, `:1002`, `:1113` and `:1115`: *"kept-current index
citation; issue NUMBERS carry through a transfer"* -> **RENAME**. The four new
lines are the same shape in the same block of the same file, so they take the
same verdict, and `README.md` stays a mixed file — renamed in ten lines now,
frozen in three.

THE THREE FROZEN LINES ARE UNTOUCHED and re-checked by hand, because the
respelling was line-targeted and could have taken one by accident: `:1127`
(this packet's own dated measurement — respelling it would make the record
claim the change is about the identity it moves TO), `:1782` and `:1794` (the
completed, dated factory-origin mint act). `git grep -o -i 'opensoft/codexFactory'
-- README.md` now returns EXACTLY those three.

Consequence for this slice's arithmetic, stated rather than left to be
recomputed: B4 now respells **30** occurrences and freezes **4** (three in
`README.md`, one at `docs/dogfood-content-migration-plan.md`), a scope of
**34 across 15 files** — up from 26 respelled / 30 scope. The union of the
four slices is **113 of main's 412 occurrences across 55 of 174 files**. The
per-slice re-derivation and the closed residual go in the sweep evidence
addendum in the next commit.

Nothing about the freeze moved: `docs/dogfood-content-migration-plan.md:49`
stays frozen for the reason #805's body names — it is prose that a literal
sweep cannot judge, and its verdict was taken per line.

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…s time, and the B1 resolution holds

`origin/main` advanced from `86651a58` to `9a67d42c` (#826, #824) while this
reconciliation ran, so this is a SECOND merge on top of the conflict
resolution in `a1f08c39`. It is clean — #826 touched
`contracts/openspec-cli-pin.yaml`'s header and #824 landed
`govern-archived-record-edits`, neither of which this slice touches.

RE-CHECKED AFTER THE SECOND MERGE, because a resolved conflict can be undone
by a later merge and nothing would say so:
`.github/workflows/review-lane-repin.yml` still carries
`SOURCE_REPOSITORY: codeXfactory/codexFactory` (`:137`) above main's
`FLOOR_IN_SOURCE_CANDIDATES:` list (`:159`), the source mint's
`owner: codeXfactory` (`:236`) with its fail-closed rationale (`:210`), and
the decision-core checkout's `repository: codeXfactory/codexFactory`
(`:496`). `git grep -o -i 'opensoft/codexFactory'` on that file is EMPTY.

Validators:
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 619 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@9a67d42`
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to
  `origin/main@9a67d42` (10 critical / 9 error / 57 warning / 16 info)
- freeze check -> EMPTY

Next unfinished pull request: #805 then #806's evidence addendum.

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…, clean

`origin/main` advanced from `86651a58` to `9a67d42c` while this
reconciliation ran, so this is a SECOND merge on top of the first. Clean:
#826 touched `contracts/openspec-cli-pin.yaml`'s header and #824 landed
`govern-archived-record-edits`, neither of which this slice touches.

`pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
green at this head; freeze check against
`contracts/signed-execution-chain/`, `openspec/changes/archive/`,
`specs/`, `docs/decisions/`, `ideation/` EMPTY. The full validator set is
recorded on the first merge commit of this branch and re-run below.

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 06:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are consistent, localized to inventory/test/doc alignment, and I found only a minor wording ambiguity in one doc sentence.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

`opensoft` GitHub organization.
The sellable domain stacks should live in separate repositories, each under the
GitHub organization that owns it. Four are under `opensoft`; the engineering
stack moved to `codeXfactory` with the codexFactory organization transfer, and
…), clean, and the eight-member transient is unchanged

`#829` landed M-1 step (3) of `relocate-review-authority-floor-mirror` — the
review-lane workflow, its runbook, its script and its tests. None of it is
this slice's surface. Clean merge.

RE-MEASURED, because the inventory transient is this slice's whole risk and a
new main could have moved the baseline:
- doc-health `--single-repo .` -> 10 critical, **16 error**, 57 warning,
  16 info. Diffed against the same run at `origin/main@82c9f05` (9 error):
  the delta is EXACTLY seven `release-inventory-drift` ERRORs and NOTHING in
  any other family, and nothing that stood on main disappeared. The family
  reports **eight** — the seven plus the pre-existing
  `docs/contract-versioning-policy.md` — which is what task 7.5 predicts and
  what the bundle cut (ceremony row 4) discharges.
- `pytest tests/hermes_runtime_contracts/test_domain_regression.py -q`
  -> 35 passed; the re-sorted `PINNED_TABLE` still pins the fixture row for
  row and in document order.
- `scripts/validate-hermes-runtime-contracts.py` -> pass (51 contracts,
  32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests
  collected)
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 621 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@82c9f05`
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- freeze check -> EMPTY

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

One updated doc sentence uses an inaccurate/ambiguous phrasing (“codexFactory organization transfer”) that misstates what actually moved and should be corrected before merge.

Review details

Suppressed comments (1)

docs/xfactory-domain-factory-model.md:876

  • “codexFactory organization transfer” reads like codexFactory is the organization being transferred, but here codexFactory is the repository and codeXfactory is the organization. This is likely to confuse readers about what actually moved.
The sellable domain stacks should live in separate repositories, each under the
GitHub organization that owns it. Four are under `opensoft`; the engineering
stack moved to `codeXfactory` with the codexFactory organization transfer, and
`contracts/policies/repository-identity.yaml` is the resolver that maps its
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…th time (#830, #176), clean, transient still exactly seven

`#830` (merge-approval envelope, ruling D-10 (a)) and `#176` (the bot's
`intents/rolling`) touch none of this slice's surfaces. #830's one new
`opensoft/codexFactory` occurrence is in
`tests/review_lane_pin/test_review_lane_caller.py`, which is B1's file.

RE-MEASURED at the new base:
- doc-health `--single-repo .` -> 10 critical, **16 error**, 57 warning,
  16 info. Named diff against the same run at `origin/main@7681e40`
  (9 error): the delta is EXACTLY the seven `release-inventory-drift` ERRORs
  this slice's respellings cause —
  `contracts/hermes-runtime/README.md`,
  `contracts/hermes-runtime/fixtures/domain-regression-inventory.yaml`,
  the three `contracts/hermes-runtime/fixtures/regression/` negatives,
  `docs/terminology-and-repo-topology.md`,
  `docs/xfactory-domain-factory-model.md` — nothing in any other family, and
  nothing that stood on main disappeared. With the pre-existing
  `docs/contract-versioning-policy.md` the family reports EIGHT, as task 7.5
  predicts; the bundle cut discharges all eight.
- `pytest tests/hermes_runtime_contracts/test_domain_regression.py -q`
  -> 35 passed
- `scripts/validate-hermes-runtime-contracts.py` -> pass (51 contracts,
  32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests
  collected)
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 624 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@7681e40`
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- freeze check -> EMPTY

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 06:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

It is explicitly merge-gated on an external transfer event and intentionally introduces a temporary release-inventory drift that requires coordinated follow-up actions (bundle cut) to restore green gates.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…le: union of § addenda from B1 (#801), B2 (#802) and B3

B3's branch never modified the evidence file
(openspec/changes/adopt-codexfactory-repository-identity/evidence/codexfactory-identity-sweep-2026-09-08.md),
so the merge produced no conflict there: main's § 16 (B2's addendum, #802)
and § 17 (B1's addendum, #801) land unchanged, separated by the existing
--- rules, no TOC/index to update, zero conflict markers anywhere in the tree.

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 19:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The changes are procedurally gated on an external transfer event and intentionally participate in a transient release-inventory drift state that needs coordinated human-controlled sequencing.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge

Brought up to date with origin/main.

Conflict resolution: none required. B3's branch never modified
openspec/changes/adopt-codexfactory-repository-identity/evidence/codexfactory-identity-sweep-2026-09-08.md
(verified: zero diff between the pre-merge B3 head and the merge-base with main
for that file), so main's content landed unchanged — § 16 (B2's addendum, #802)
and § 17 (B1's addendum, #801), separated by the existing --- rules. No B3-authored
addendum section existed to renumber, and no TOC/index references it. Zero
conflict markers anywhere in the tree post-merge (repo-wide grep).

Frozen-class check (contracts/signed-execution-chain/, openspec/changes/archive/,
specs/, docs/decisions/, ideation/): git diff --name-only origin/main HEAD -- <those paths> is empty — no divergence beyond what main itself carried.

Validators (from the merged worktree):

  • openspec validate --all --strict: 98 passed, 3 failed — the failing 3
    (disposition-codexfactory-declared-renames, neutral-product-pin,
    repo-boundary-governance) are confirmed identical, by name and by error
    text, to a direct openspec validate --all --strict run against origin/main
    in isolation (98 passed, 3 failed, same 3 names). Pre-existing on main, not
    introduced by this merge. (Note: the change pin-openspec-cli-dependency-closure
    named in the original known-failures list was archived by main in the interim —
    its underlying SHALL/MUST-keyword failure now surfaces as spec/neutral-product-pin
    instead, same root cause.)
  • pytest tests/doc-health -q: 1648 passed, 7 warnings.
  • pytest tests/sequenced_after -q: 235 passed.

CI on the pushed head (1177773): clearing-dispatch-gate, lane-line,
merge-master-approval, openreposhape-pin, openspec-cli-pin, release-tag-gate,
signed-execution-chain-gate, wallet-validation all pass; pytest-suite pass
(25m1s). All 9 checks green.

merge on Brett Heap's word via lane provenance-autonomous-merge (ceremony merge 3/4)

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge

LANDING — lane provenance-autonomous-merge, session b5acd0@Eagle, 2026-09-09T20:00:03Z, PR #805 into openxFactory main

Ceremony merge 3/4 (slice B3, the eight contract-v3.4 inventoried members). Brett Heap's standing word, verbatim "merge 805 when green" (19:36Z); head 11777736 is 9/9 green, mergeable, merged with main @20298c64 (no conflict — B3 never touched the evidence file). Lane merge follows; LANDED next. The bundle cut (ceremony row 5) follows this landing.

@brettheap
brettheap marked this pull request as ready for review September 9, 2026 20:00

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit 00d368a into main Sep 9, 2026
10 checks passed
@brettheap
brettheap deleted the realize/codexfactory-identity-b3 branch September 9, 2026 20:00
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge

LANDED — lane provenance-autonomous-merge, 2026-09-09T20:00:17Z, PR #805 → 00d368a

Ceremony merge 3/4 done. Window released. NEXT: contract-v3.4 bundle cut (tasks 7.2–7.4) and #806 (slice B4) refresh; #806 merges on Brett's standing word when green.

brettheap added a commit that referenced this pull request Sep 9, 2026
…le: union of § addenda from B1 (#801), B2 (#802), B3 (#805) and B4

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…Xfactory/codexFactory

Tasks 7.2-7.3 of the ratified change adopt-codexfactory-repository-identity.
ONE candidate commit over ONE integration point, per
docs/contract-versioning-policy.md § Bundle Realization Order step 2.

THE CUT IS OWED, NOT ELECTIVE. Eight members of the declared contract-v3.4
inventory changed bytes when the org move landed, and § "What a red
verify-commit at HEAD means" calls a mismatch on a non-editorial member "a
defect ... the remedy is a release cut, never a hand-edit". Measured at
00d368a: verify-commit reported exactly ten HGR-RELEASE-DIGEST-MISMATCH
findings - these eight plus contracts/manifest.yaml and contracts/README.md,
the two editorial movers that section allows between cuts.

INTEGRATION POINT 95e67ab (#806, 2026-09-09T20:44:00Z), the LAST of the four
gated realization slices. The candidate was first derived at 00d368a (#805,
20:00:16Z) and RE-DERIVED here when main moved, per step 1's "fetch and rebase
onto the final integration point, then immediately recheck bundle/tag
availability". The branch was unpublished, so the integration is a rebase; the
resulting tree is what a merge would have produced. Re-measured across the
move: neither #806 nor #864 touches a release-inventory member (exact-path
check against the inventory's 283 entries), so the re-derivation moved no
digest the first derivation had not already moved.

NUMBER FRESH-COUNTED AT THE CANDIDATE, not assumed. manifest.yaml declared
contract-v3.4; contracts/releases/ held inventories through
contract-v3.4.digests.yaml; git ls-remote --tags origin publishes annotated tags
through contract-v3.4 (807a4f4) and refs/tags/contract-v3.5 is ABSENT; there is
no Unreleased block. So no earlier bundle owes a tag, contract-v3.5 is not a
reuse, and it is the next available additive minor. Task 7.2 reserved no number
and says so in terms.

CHANGE CLASS: ADDITIVE (minor), MEASURED. git diff --name-status contract-v3.4
HEAD -- contracts/ reports 4 additions and 27 modifications, every path
attributed in the changelog entry. No required field added, no shape removed, no
contract_schema_version moved, no vocabulary semantics changed: every edit to a
published member replaces one owner segment inside a value that was already a
free-form repository string. The ONE break in the release is a command line, not
a record shape - the --domain-repo key becomes
codeXfactory/codexFactory=<checkout>, and the changelog entry carries the
migration note.

INVENTORY. 283 entries, membership UNCHANGED, no git_mode change, TWELVE digests
re-baselined: the eight above; the three editorial members (manifest.yaml,
README.md, CHANGELOG.md); and tests/intent-compliance/test_release_boundary.py,
which is a release member and carries the by-hand boundary statement every cut
past the intent-compliance floor owes. FEATURE_SUCCESSOR_9 = "contract-v3.5" is
added to the enum and to both match arms, and the docstring records the
measurement: git diff --name-status contract-v3.4 HEAD over
contracts/intent-compliance/, scripts/intent_compliance/, tests/intent-compliance/
and scripts/validate-intent-compliance.py reports ZERO paths, so this cut moves
no intent-compliance member. Built LAST by the tool, never hand-edited;
contract-v3.4.digests.yaml is byte-unchanged and remains valid provenance.

7.4 IS AN OPERATOR ACT AND IS NOT PERFORMED HERE. verify-promotion and the
annotated tag are release surfaces that the ceremony runbook assigns to the
operator. The exact four-command sequence is written into the changelog entry
§ "The annotated tag is published at the LANDED commit, not from this branch".
No tag is created by this commit.

BOOKKEEPING IN THE SAME COMMIT, DELIBERATELY. tasks.md ticks 7.2 and 7.3 and
annotates 7.4 as the operator half. It rides the cut rather than following it
because release-tag-gate grades the DECLARING DISTANCE: the family emits no
finding only when the earliest first-parent commit declaring the bundle is the
TIP, and a bookkeeping commit stacked on top of the declaration puts it at
distance one and refuses the gate. Measured on this branch before the squash:
"1 first-parent landing(s) after the commit that declared it", REFUSED
gate-findings. One commit is also what 7.3 asks for. 7.1 and 6.5 are NOT ticked
here; they belong to the lane's own later pass.

Lane: provenance-autonomous-merge

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants