Repository navigation
GATED (runbook 1.2) — slice B3: the eight contract-v3.4 inventoried members, denominator re-sorted (12/9) - #805
Conversation
…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]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…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]>
There was a problem hiding this comment.
🟡 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/codexFactoryin 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.pyto 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.
| 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. |
|
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 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. MEDIUMM-1.
|
…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
|
Lane: provenance-autonomous-merge — fix round COMPLETE on this pull request. Head Answering #805 (comment) finding by finding.
M-1The sentence now reads that each stack lives under the organization that owns it, that four are under 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 M-2
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 ownTask 4.3's forward reference is no longer forward. The body recorded The transient, and that the fix round did not widen itStill exactly EIGHT, as task 7.5 predicts, and the fix round adds none:
|
There was a problem hiding this comment.
🔵 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
| 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. |
`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]>
There was a problem hiding this comment.
🔵 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
…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]>
…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]>
| `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]>
There was a problem hiding this comment.
🔵 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
codeXfactoryis 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]>
There was a problem hiding this comment.
🔵 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]>
There was a problem hiding this comment.
🔵 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
|
Lane: provenance-autonomous-merge Brought up to date with origin/main. Conflict resolution: none required. B3's branch never modified Frozen-class check ( Validators (from the merged worktree):
CI on the pushed head (1177773): clearing-dispatch-gate, lane-line, merge on Brett Heap's word via lane provenance-autonomous-merge (ceremony merge 3/4) |
|
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 |
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…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]>
…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]>
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, head2880462d, base7681e409Merged up to
origin/main@7681e409in three passes, all clean, no conflict.mainmoved five times during the reconciliation of the four slices (ca4a1558→86651a58→9a67d42c→82c9f059→7681e409); none of the six commits touched the fivecontracts/hermes-runtime/inventoried members, the three prose readings underdocs/, ortests/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 .at2880462dreports 10 critical / 16 error / 57 warning / 16 info; the same run atorigin/main@7681e409in a throwaway worktree reports 9 error. Diffed line for line, the delta is EXACTLY these sevenrelease-inventory-driftERRORs and nothing in any other family, and nothing that stands onmaindisappears:With the pre-existing
docs/contract-versioning-policy.mdthe 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 againstorigin/main@7681e409:pytest tests/hermes_runtime_contracts/test_domain_regression.py -q→ 35 passed — the re-sortedPINNED_TABLEstill pins the fixture row for row and in document orderscripts/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 recordspytest tests/review_lane_pin tests/clearing tests/credential_contracts -q→ 624 passed, 2 skipped, 48 subtests passedopenspec validate --all --strict→ 101 passed / 3 failed, all three pre-existing onmain:disposition-codexfactory-declared-renames, pluspin-openspec-cli-dependency-closureandspec/repo-boundary-governancefrom 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 rowspytest-suite→ expected PASS (verify-commitis 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-identitytasks 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 featurespecs/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 — sodesign.md§ 5's arithmetic holds unchanged. None of the eight is inscripts/doc_health/release_inventory.py's three-pathEDITORIALset, so each moved blob is anERROR-severityrelease-inventory-driftfinding and a redverify-commituntil the cut re-baselines the inventory.Splitting the eight puts a subset of that transient on
mainwith no cut available to repair it, because a cut needs all eight. That is the constraint that shapes this slice, not tidiness.contracts/hermes-runtime/fixtures/domain-regression-inventory.yamlcontracts/hermes-runtime/fixtures/regression/digest-mismatch.yamlcontracts/hermes-runtime/fixtures/regression/duplicate-repository.yamlcontracts/hermes-runtime/fixtures/regression/missing-exclusion-reason.yamlcontracts/hermes-runtime/README.mddocs/contract-versioning-policy.mddocs/terminology-and-repo-topology.mddocs/xfactory-domain-factory-model.mdPlus
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.mdintroduced the block this slice moves with "The sellable domain stacks should live in separate repositories under theopensoftGitHub organization." After the respelling, that sentence asserted in the present tense that five repositories live underopensoftand then listed one that does not.No grep-based sweep could find it: the sentence carries no
opensoft/codexFactoryliteral. 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 ascontracts/review-lane-repin-binding.template.yaml:103on #801 anddocs/dogfood-content-migration-plan.md:49on #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 namescontracts/policies/repository-identity.yamlas 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, andc<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
on the tree carrying this slice:
Exactly EIGHT, as task 7.5 predicts, and the fix round's two edits add none:
docs/xfactory-domain-factory-model.mdwas 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 onmain, and no other family moves.A correction worth recording: the baseline was ONE, not zero.
docs/contract-versioning-policy.mdalready drifts from thecontract-v3.4digest onmain— doc-health reported itERRORbefore 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 onorigin/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-identityhas 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.cis0x63,ois0x6F, socodeXfactory/…sorts before everyopensoft/….adopt-medxsoft-repository-identityhas not landed (MedxSoft/,M=0x4D, would take first place), so the "FIRST" branch fires and the entry moves to position 1.Verified mechanically:
commit,stack_path,stack_digest,domain_id,expected_contract_ref,expected_contract_schema_versionandexpected_resultare byte-identical: the repository content did not move, only its owner segment. Theopensoft/LegalxFactoryexclusion row is untouched.PINNED_TABLEis respelled and reordered in the same commit; its# … bytewise sorted by repositorycomment stays true; the value-for-valuezipagainstentriesin document order and thesorted(..., 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 stillopensoft/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.pyreportspass (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, threecontracts/**/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 andspecs/005-customer-subject-runtime/**. So the engineering domain's--domain-reporesolver key becomescodeXfactory/codexFactoryfrom 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.mdas 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.yamllanded onmain— this change's task 1.1 was amended by the convener to create the file here (recordreview/amendment-2026-09-08-task-1-1.md), realized in #799, and the codexFactory mapping row landed with #815. The row readsformer: opensoft/codexFactory,current: codeXfactory/codexFactory, withtransferred_ondeliberately 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:owner: codeXfactoryand checks outcodeXfactory/codexFactory.tests/hermes_runtime_contracts,tests/clearing,tests/factory_identityandtests/review_lane_pingreen 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-promotionand the annotated tag are release surfaces the runbook's legend does not cover; treat them as operator acts.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
openspec validate --all --strict→ 101 passed / 1 failed, the same pre-existingdisposition-codexfactory-declared-renames.validate-sequenced-after.py --ledger-diff→ consistent, 186 rows. Freeze empty againstcontracts/signed-execution-chain/ openspec/changes/archive/ specs/ docs/decisions/ ideation/.The full
tests/hermes_runtime_contractspackage includes Postgres-backed suites that exceed a 570-second local budget; CI'spytest-suiteruns 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/mainis 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 tomain.Ticks
Nothing in the packet's
tasks.mdis 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.