Skip to content

Pin lockstep #3: openDox and openXdox advance to the S8 landings and the opendox dependency bump - #1084

Merged
brettheap merged 2 commits into
mainfrom
chore/pin-lockstep-3
Sep 17, 2026
Merged

brettheap merged 2 commits into
mainfrom
chore/pin-lockstep-3

Conversation

@brettheap

@brettheap brettheap commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Refs #656 (stays OPEN).
CLAIM: openxFactory#656 comment 5699629088

Third and final leg of pin lockstep #3 (after opensoft/openDox#9 and opensoft/openXdox#11). Precedent: #1054 → 3c614d34 (lockstep #2, LANDED note 5689609863), followed for the pin mechanics — two gitlinks, two pin YAMLs, one test literal — and for its residue, which said in terms that a pin bump's consumer surface is whole-repo and the rehearsal that clears it must be whole-repo too.

from to
openDox gitlink + contracts/opendox-pin.yaml commit: 3819625e… c4c5014d9b39ac55e5df957db23a56db38847a6b
contracts/opendox-pin.yaml digests.tree_sha256 40c6216c… f7b9b0236ae6afabcb2692abb3f7e084053ea67babf450222efff7452cac51f6
openXdox gitlink + contracts/openxdox-pin.yaml commit: a6500141… 88a1047e43c180d41b9ee16ae48688bed7ee5415
contracts/openxdox-pin.yaml digests.tree_sha256 47a420da… cdbe7573f48635f8ed1062c1a7f453d7b0dd282e302994acb63a13799358ca4b
tests/openxdox_pin/test_openxdox_pin_verifier.py (the lockstep literal) 3819625e… c4c5014d…

What each advance carries:

openDox (opensoft/openDox#9) moves code (opensoft/openDox-code) 1e469713 → 0b4e8bbf: § 3.4 slice S8 leg B (openDox-code#23 — the RECEIVE half of "the path constant moves, the file does not", RULED 5656343213): six pre-carve path constants repaired, each the reason a whole arrived suite could not run, and that leg's own validate list 10 files → 27 and 283 → 694 tests. spec unchanged at a8f5eb73.

openXdox (opensoft/openXdox#11) moves code (opensoft/openXdox-code) c1ad341a → 2529c10a, crossing TWO landings because lockstep #2 deliberately stopped before #19 existed: § 3.4 slice S8 leg A (openXdox-code#19 — 44 of 46 root spellings across 31 files read openDox's bundle through the pin instead of a directory that leg does not have) and the opendox dependency bump (openXdox-code#21 — pyproject.toml pins openDox-code 0b4e8bbf, the act owed by the S5 LANDED note 5656797299 item 4 and by lockstep #2's residue item 1). Its own contracts/opendox-pin.yaml copy advances to match openDox's bump above — the cross-repository lockstep scripts/verify-opendox-pin.py check 5 reads as a BLOB out of the openXdox gitlink's own object store. spec unchanged at ae59dfa5.

This is the lockstep that closes the loop the last one left open. Copilot's suppressed finding on #1054 was that the pinned openXdox code declared an opendox older than the lockstep contract named. It is answered here by the object being pinned, not by prose: openXdox-code's pyproject.toml now names the same 0b4e8bbf that contracts/opendox-pin.yaml reaches through the openDox assembly.

Verifier results, verbatim:

$ python3 scripts/verify-opendox-pin.py
OK opendox-pin verified: openDox@c4c5014d9b39ac55e5df957db23a56db38847a6b, gitlink read from HEAD, sorted-ls-tree-r-v1 tree digest recomputed (f7b9b0236ae6afabcb2692abb3f7e084053ea67babf450222efff7452cac51f6), lockstep with openXdox confirmed
                                                            [exit 0]

$ python3 scripts/verify-openxdox-pin.py
OK openxdox-pin verified: openXdox@88a1047e43c180d41b9ee16ae48688bed7ee5415, gitlink read from HEAD, sorted-ls-tree-r-v1 tree digest recomputed (cdbe7573f48635f8ed1062c1a7f453d7b0dd282e302994acb63a13799358ca4b)
                                                            [exit 0]

The consumer surface, and the baseline it is read against. This branch was cut from main at a93d2682, and main's own pytest-suite run at that exact commit — 35219872882 — concluded SUCCESS (2026-09-17T12:13Z). That is the baseline the runbook requires before any red on this branch is called a regression: main is green again since #1075, so anything red here is this act's.

Measured at this head so far:

  • scripts/verify-opendox-pin.py and scripts/verify-openxdox-pin.py — both OK, quoted above, with the cross-repository lockstep confirmed.
  • pytest -q tests/opendox_pin tests/openxdox_pin — 105 passed.
  • python3 scripts/validate-carve-manifest.py — OK: 456 rows, 143 moved_verbatim / 175 moved_with_declared_edit / 138 not_moved, 318 digests recomputed, none undeclared, 4 RE-DESTINED by RULED Q6.
  • pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin — 481 passed at the same pin values (taken at the candidate rehearsal; the real A2's tree digest is identical to the candidate's, because a squash of a three-file change onto the same base yields the same tree).
  • The WHOLE repository under CI's own invocation (python3 -m pytest tests/ -q -m "not postgres") is running as this description is written, and its result is recorded here and on the PR when it lands — beside pytest-suite's own run on this head, which is the authority. Lockstep Add factory contract home placeholder #2's residue item 2 is why it is run at all: a rehearsal proves the scope it covers and nothing wider, and Pin lockstep #2: openDox and openXdox advance to the S5/S7 landings #1054's "six files" became seven and then nine, each time because a review round found a consumer the round before had not.

The MIGRATION DECLARATION is a CHAIN ADVANCE, not a schema change: git ls-tree -r 0b4e8bbf68fabfcd65d4f0d80e619c20a013e888 | grep -i migration on opensoft/openDox-code's own checkout returns nothing, so not_yet_deployed still holds and the sentence now names 0b4e8bbf under c4c5014d, keeping 1e469713 under 3819625e, 05bbde80 under 7cf6c143 and a99eba03 under 8ec3036c as the chain (#1020's shape, carried by #1054). Re-measured at authoring time, never assumed — make-pin-lockstep.sh refuses if that command ever returns a path.

Copilot round 1 — the two files that named 1e469713 as the pin now name the chain, at 96f52cc1

Review 5235758134 at 268a6fe8: 🔵 "Correct the stale upstream migration metadata and repin; update the contradictory live pin documentation." 5/5 files, comments generated 0, 0 threads, two suppressed — both accurate.

FIXED. scripts/profile_openxfactory.py::_display_facet and tests/test_engineering_profile_display_facet.py (four sites) still described 1e469713 as the code leg this repository pins. Both name the CHAIN now — 1e469713 is where the live import path became possible, 0b4e8bbf is the leg pinned here — and each live claim was re-measured in the pinned checkout's own object store: at 0b4e8bbf, git ls-tree -r names src/opendox/display_profile.py (normalize_display at :445) and src/opendox/view_extension.py (host_profile_name present). pytest -q tests/test_engineering_profile_display_facet.py → 16 passed. The openspec/changes/split-opendox-two-layer-product/tasks.md hits on the same sha are slice S7's record and are left alone — a stale CLAIM about what IS pinned must move, a true statement about the past must not.

ANSWERED AND REGISTERED, not edited — opensoft/openXdox@88a1047e:contracts/opendox-pin.yaml:72 says "checked at da8aae96, the commit this root's own code pin currently names" while that root's code pin is 2529c10a. The finding is right and the sentence is stale, but: it is a COMMENT no verifier reads (check 5 reads the blob's commit:, which is c4c5014d… — the run above says lockstep with openXdox confirmed, and the migration: fields are not_yet_deployed, re-measured at this leg); it was already stale at the previous pin a6500141 (whose root code was c1ad341a), so this PR neither introduced it nor is the first to carry it; and correcting it would need an openXdox root PR, its landing and a re-pin here — a fourth leg, mid-lockstep, for a comment. Registered by name below, with the measurement, in the PR comment on this pull request.

What this does NOT do, by name

  • It does not touch openspec/changes/ or the README's OpenSpec Records block — measured at THIS head, not at the first one: git diff --name-only a93d2682..HEAD is seven files (the five pin-mechanics files, plus scripts/profile_openxfactory.py and tests/test_engineering_profile_display_facet.py from round 1), 0 under openspec/ and 0 README. Rule 6 does not apply to this pull request. The count is stated at the head that carries it because a file count written once goes stale on the next round — this act's own lesson from openXdox-code#21.
  • It does not correct opensoft/openXdox's own contracts/opendox-pin.yaml MIGRATION DECLARATION comment, which names da8aae96 as "the commit this root's own code pin currently names" and has been stale since before the previous lockstep. Registered for the declared act on that file — it should name the root's current code pin, or state the chain the way this repository's copy now does, folded into the next pin advance of that root.
  • It does not move the xFactory aggregation. That re-sync is four sites in one commit (openDox 3819625e→c4c5014d, openXdox a6500141→88a1047e, openxFactory cb2d3a2c→ this merge, and .github/clearing/openxfactory/PIN.yaml's openxfactory_commit, which tests/test_clearing_contract_pin.py holds equal to that gitlink), it becomes owed the moment this lands, and Brett admin-lands it — RULING R-5, openxFactory#656 comment 5690428146.
  • It does not touch openXdox-code README.md:40-43's "validate runs only the scaffold's shape assertions", stale since slice S8 and still owed to a later declared act.

🤖 Generated with Claude Code

…the opendox dependency bump

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Refs #656 (stays OPEN). CLAIM: 5699629088.

Third and final leg, after opensoft/openDox#9 -> c4c5014d and
opensoft/openXdox#11 -> 88a1047e. Precedent: #1054 -> 3c614d3
(lockstep #2, LANDED note 5689609863).

openDox  3819625e -> c4c5014d (code 1e469713 -> 0b4e8bbf: S 3.4 S8 leg B,
         openDox-code#23 - six path constants repaired, that leg's validate
         list 10 -> 27 files and 283 -> 694 tests).
openXdox a6500141 -> 88a1047e (code c1ad341a -> 2529c10a: S 3.4 S8
         leg A, openXdox-code#19, and the opendox dependency bump
         #21 -> 2529c10a - the leg now declares an opendox that carries
         the bundle it reads, so its validate goes 301 passed / 23 skipped ->
         360 / 6 at that leg's landed head, of which the bump alone is 317 / 6
         and the rest is the 43 provenance-guard tests its review asked for).

FIVE files: the `openDox` and `openXdox` gitlinks, the two pin contracts and
the one lockstep literal in tests/openxdox_pin/test_openxdox_pin_verifier.py.
The MIGRATION DECLARATION chain moves inside contracts/opendox-pin.yaml, which
is one of those five and not a sixth.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 17, 2026 12:39
@sourcery-ai

sourcery-ai Bot commented Sep 17, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR completes pin lockstep #3 by advancing the openDox and openXdox gitlinks, synchronizing both pin contracts and their tree digests, carrying forward the migration-chain declaration, and updating the lockstep test literal. The referenced landings include openDox S8 leg B repairs and openXdox S8 leg A plus the openDox dependency bump; verifiers and targeted validation confirm the pins are internally consistent, with whole-repository CI validation serving as the consumer-surface regression check.

Sequence diagram for pin lockstep verification

sequenceDiagram
    participant Factory as openXfactory
    participant DoxVerifier as verify-opendox-pin.py
    participant XdoxVerifier as verify-openxdox-pin.py
    participant Dox as openDox gitlink
    participant Xdox as openXdox gitlink

    Factory->>DoxVerifier: verify-opendox-pin.py
    DoxVerifier->>Dox: read gitlink at HEAD
    DoxVerifier->>DoxVerifier: recompute tree_sha256
    DoxVerifier->>Xdox: check lockstep pin
    DoxVerifier-->>Factory: OK and lockstep confirmed
    Factory->>XdoxVerifier: verify-openxdox-pin.py
    XdoxVerifier->>Xdox: read gitlink at HEAD
    XdoxVerifier->>XdoxVerifier: recompute tree_sha256
    XdoxVerifier-->>Factory: OK
Loading

Flow diagram for lockstep #3 validation

flowchart TD
    Start[Advance openDox and openXdox gitlinks] --> Contracts[Update both pin contracts and tree digests]
    Contracts --> Literal[Update openXdox lockstep test literal]
    Literal --> PinChecks[Run pin verifiers]
    PinChecks --> Targeted[Run targeted pin and carve tests]
    Targeted --> WholeRepo[Run whole-repository pytest excluding postgres]
    WholeRepo --> Result[Confirm synchronized pins and consumer-surface compatibility]
Loading

File-Level Changes

Change Details Files
Advance the repository’s openDox and openXdox submodule pins and their integrity metadata to the final pin-lockstep #3 landings.
  • Update the openDox gitlink and commit/tree digest contract to c4c5014d and f7b9b023.
  • Update the openXdox gitlink and commit/tree digest contract to 88a1047e and cdbe7573.
  • Refresh the migration declaration to reference openDox-code 0b4e8bbf while preserving the no-migrations status and chain history.
  • Review that the referenced openDox landing contains S8 leg B repairs, while openXdox crosses S8 leg A and the opendox dependency bump.
openDox
openXdox
contracts/opendox-pin.yaml
contracts/openxdox-pin.yaml
Update lockstep verification expectations to require the new openDox pin.
  • Change the direct-upstream lockstep test literal to c4c5014d.
  • Retain the verifier-derived equality check between the openDox and openXdox contracts.
tests/openxdox_pin/test_openxdox_pin_verifier.py
Validate the synchronized pins, manifests, and repository-wide consumer surface.
  • Recompute and verify both sorted-ls-tree-v1 digests and cross-repository lockstep.
  • Run pin, carve, and conformance tests, with the targeted suite reported at 481 passing and pin tests at 105 passing.
  • Use the whole-repository non-Postgres pytest run and the CI pytest-suite result as the regression authority against the green main baseline.
scripts/verify-opendox-pin.py
scripts/verify-openxdox-pin.py
scripts/validate-carve-manifest.py
tests/

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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

Correct the stale upstream migration metadata and repin; update the contradictory live pin documentation.

Pull request overview

Advances the coordinated openDox/openXdox pins to the S8 landings and synchronizes lockstep metadata.

Changes:

  • Updates assembly pins, commits, and tree digests.
  • Refreshes migration-chain metadata.
  • Updates lockstep verifier expectations.
File summaries
File Summary
tests/openxdox_pin/test_openxdox_pin_verifier.py Updates the expected synchronized openDox revision.
contracts/openxdox-pin.yaml Updates the openXdox pin metadata; copied migration metadata is stale.
contracts/opendox-pin.yaml Updates the openDox commit, digest, and migration-chain evidence.
Review details

Suppressed comments (2)

contracts/opendox-pin.yaml:92

  • This pin now advances the openDox code leg to 0b4e8bbf, but tests/test_engineering_profile_display_facet.py and scripts/profile_openxfactory.py::_display_facet still describe 1e469713 as the code leg this repository currently pins. Please update those current-pin statements (or explicitly mark them historical) so the live dependency documentation does not contradict this contract.
commit: "c4c5014d9b39ac55e5df957db23a56db38847a6b"

contracts/openxdox-pin.yaml:76

  • The new openXdox gitlink points to a root whose contracts/opendox-pin.yaml still says its migration check was made at da8aae96, “the commit this root's own code pin currently names.” At this pinned root the code pin is 2529c10a, so that copied contract text is factually stale. Please correct the upstream file and repin, because verify-opendox-pin.py reads this blob as the lockstep referent.
commit: "88a1047e43c180d41b9ee16ae48688bed7ee5415"
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

…ame the chain

Copilot review 5235758134 on #1084: 0 threads, two suppressed comments. One is
this repository's and is fixed here; the other is another repository's file and
is answered by measurement and registered.

  contracts/opendox-pin.yaml:92 (suppressed) — ACCURATE. This pin advances the
  openDox code leg to 0b4e8bbf, and two files still described 1e469713 as the
  leg this repository pins: scripts/profile_openxfactory.py::_display_facet and
  tests/test_engineering_profile_display_facet.py (four sites). Both now name
  the CHAIN — 1e469713 is where the live import path became possible, 0b4e8bbf
  is the leg pinned now — and both live claims were re-measured in the pinned
  checkout's own object store rather than inferred: at 0b4e8bbf,
  `git ls-tree -r` names src/opendox/display_profile.py (normalize_display at
  :445) and src/opendox/view_extension.py (host_profile_name present). This is
  the lane's own sweep rule, applied to this act: a stale CLAIM about what IS
  pinned must move, and a true statement about the past must not. The
  openspec/changes/split-opendox-two-layer-product/tasks.md hits on the same sha
  are the S7 record and are deliberately left alone.

  tests/test_engineering_profile_display_facet.py: 16 passed after the edit.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 17, 2026 12:45
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Round 1 (review 5235758134 at 268a6fe8) — one fixed at 96f52cc1, one answered and registered. 0 threads, two suppressed comments, both accurate.

FIXED — contracts/opendox-pin.yaml:92. Two files still described 1e469713 as the code leg this repository pins: scripts/profile_openxfactory.py::_display_facet and tests/test_engineering_profile_display_facet.py (four sites). Both now name the CHAIN — 1e469713 is where the live import path became possible, 0b4e8bbf is the leg pinned now — and each live claim was re-measured in the pinned checkout's own object store rather than inferred: at 0b4e8bbf, git ls-tree -r names src/opendox/display_profile.py (normalize_display at :445) and src/opendox/view_extension.py (host_profile_name present). tests/test_engineering_profile_display_facet.py — 16 passed after the edit. The openspec/changes/split-opendox-two-layer-product/tasks.md hits on the same sha are slice S7's record and are deliberately left alone: a stale CLAIM about what IS pinned must move, a true statement about the past must not.

ANSWERED AND REGISTERED — contracts/openxdox-pin.yaml:76, and the finding is right. opensoft/openXdox@88a1047e:contracts/opendox-pin.yaml:72 does say "checked at da8aae96, the commit this root's own code pin currently names", and that root's code pin at 88a1047e is 2529c10a. Measured, not conceded:

$ git -C <openXdox> show 88a1047e:contracts/opendox-pin.yaml | sed -n '72p'
# `da8aae96`, the commit this root's own `code` pin currently names). Update
$ git -C <openXdox> ls-tree 88a1047e | grep '^160000'
160000 commit 2529c10aa37cdee05957ccbb4ab57794a9fa7fb6  code
160000 commit ae59dfa5d81ed363c6655da9179478e083d02e2d  spec

Three things about it, and none of them makes it this pull request's to fix:

  1. It is a COMMENT, and no verifier reads it. scripts/verify-opendox-pin.py check 5 reads that blob's commit: field — which is c4c5014d9b39ac55e5df957db23a56db38847a6b, the value this lockstep requires, and the run above says lockstep with openXdox confirmed. The MIGRATION DECLARATION's own fields (migration.range/reversible/runbook) are not_yet_deployed and remain correct: the sentinel was re-measured at the leg this pin names — git ls-tree -r 0b4e8bbf | grep -i migration on openDox-code's checkout returns nothing.
  2. It did not become stale here. It was already stale at a6500141, the previous openXdox pin, where the root's code was c1ad341a — so da8aae96 has not been "the commit this root's own code pin currently names" for two lockstep rounds. This PR neither introduced it nor is the first pin to carry it.
  3. Correcting it costs a fourth leg and an inverted order. It would need an openXdox root PR, its landing, and a re-pin of openXdox here — i.e. re-opening a leg that has already landed, mid-lockstep, for a comment. Registered instead, by name, for the declared act on that file: opensoft/openXdox contracts/opendox-pin.yaml's MIGRATION DECLARATION should name the root's current code pin (or stop naming one, the way this repository's own copy now states the chain), folded into the next pin advance of that root.

Both are recorded in the description under What this does NOT do.

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

No unresolved review issues remain.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review September 17, 2026 13:10
@brettheap
brettheap merged commit dc015d7 into main Sep 17, 2026
16 checks passed

@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.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 11 hours and 35 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

brettheap added a commit that referenced this pull request Sep 17, 2026
…RULED Q-F1..F3, and § 8.7 TICKED on pin lockstep #3

Three additions, all ruled or landed 2026-09-17.

1 · NEW BOX § 4.5a [oXd], RULED Q-X1 (a) (#656 comment 5715212264): BUILD the
corpus-adapter IMPLEMENTATION -- design.md § D4 machinery (1), the one of the
seven § 4.5 did not name -- parameterized by the § 4.4 domain profile and proved
on § 3.7's neutral corpus; exit evidence --destination openxdox_code -> OK 17 of
17. A NEW box on this packet's own Na precedent (§ 2.2a, § 5.2a, § 5.6a), and the
box says why § 4.5 did not already cover it: § 4.5 named three of § D4's seven
machineries and ticked on all three landing, and the reader § 3.7 wants is the
one none of them named. § 4.1 stays a carve box.
Q-X2 (a) is recorded in the same box: openXdox's reader is the NEUTRAL,
PROFILE-PARAMETERIZED reader, and RULING Q4's clause "over openxFactory's corpus
and check families" (5542823211) is SUPERSEDED by C2 (5544370242) + DQ-1, struck
from force and not from the record, in this packet's no-deletion style. Q4's
standing clause is untouched and is what the box performs. Q-X3 (a): CorpusShape
carries kind_field and required_fields_by_kind as construction data; no spec or
schema change. STATUS: CLAIM 5715212503, building now off openXdox-code 589adee7,
where --destination openxdox_code still refuses conformance-adapter-undeclared.

2 · § 3.7 STATUS, RULED Q-F1/Q-F2/Q-F3 (#656 comment 5714365086). The verdict
does NOT move and the box does not tick; what changes is that both missing
readers now have rulings and pull requests. Q-F1 (a): the DESTINATION transposes
the corpus and says so -- openxFactory ships ONE neutral corpus -- with the
privileged route and the delete-"EVERY" route both declined, the second being the
shape of narrowing this box's own status already refuses. Q-F2/Q-F3 (a) land in
openDox-code #26. Measured today: openDox 11 of 17, openXdox no reader at all
(its build is § 4.5a), control openxFactory 17 of 17.

3 · § 8.7 TICKS on pin lockstep #3, the act its own status said would carry it:
openDox #9 -> c4c5014d, openXdox-code #21 -> 2529c10a, openXdox #11 -> 88a1047e,
openxFactory #1084 -> dc015d7, xFactory #458 -> b6602666 (13:33:10Z, RULED R-5).
THE EQUALITY IS RE-DERIVED FROM THE TREES rather than transcribed: at xFactory
b6602666 and openxFactory dc015d7, three independent readings of each name agree
-- aggregation gitlink, openxFactory's own nested gitlink, and openxFactory's pin
file commit: -- c4c5014d for openDox and 88a1047e for openXdox. The aggregation's
own openxFactory gitlink at b6602666 is dc015d7, the commit those pin files
belong to. The invariant was KEPT across this lockstep as it was across #453,
and the box says which of the two it saw.

Ledger 48/22/1 -> 49 [x] / 22 [ ] / 1 [~] = 72: § 4.5a enters as a new open box
and § 8.7 ticks. openspec validate --strict valid; proposal-support verify ok.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…RULED 5704187317 on § 7.4, three status records, and the eight residues registered on #1058 (#1078)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Refs #656 (stays OPEN).
CLAIM: [`5704937336`](#656 (comment))

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #5 — one tick the packet already owed, one ruling, FOUR status records, and the eight prose residues amendment #4 registered rather than swept.**

**Rule 6** — this touches `openspec/changes/`. **Base is now `main`**: #1058 LANDED 2026-09-17T13:16:04Z as **`ec5069bc`** (a SQUASH), and this pull request was retargeted and merged forward the same hour.

### The merge forward, and why taking this branch's `tasks.md` drops nothing

#1058 merged as a **squash**, so `cbc3a2c6` is not an ancestor of `main` and `tasks.md` conflicts by construction — both sides changed it since the merge-base `c5f68457`. **Resolved to this branch, and that is provable rather than a preference:** measured before the merge, `origin/main:tasks.md`, `cbc3a2c6:tasks.md` and `5b84cce8:tasks.md` are **byte-identical**, sha256 `b9e878608a757c3ea79b14efd6826c14e1ab7260ae4a0d114e30a5a03032af84`. The squash carried this branch's base byte for byte, and the `gh pr update-branch` merge that produced `5b84cce8` changed **27 other files and not this one**. So `main` contributes nothing to `tasks.md` that this branch does not already carry. The resolved file is byte-identical to `e907bb93`'s (sha256 `aff35df14ef3ea870b5d729d0e4899bb71ad8557156c36261dfbc803afa6ea6e`); everything else `main` brings in is taken as `main` states it, including both submodule gitlinks (`openDox` → `c4c5014d`, `openXdox` → `88a1047e`), which were materialized with `git submodule update` and never `git add`ed. Merged, never rebased, with the lane trailers on the merge commit.

**Ledger 47 `[x]` / 23 `[ ]` / 1 `[~]` → 49 `[x]` / 22 `[ ]` / 1 `[~]` (71 → 72).** Three marker changes and one new box: **§ 5.3 ticks**, **§ 8.7 ticks**, and **§ 4.5a enters as a new OPEN box**.

### The three additions of 2026-09-17, all ruled or landed the same day

* **NEW BOX § 4.5a `[oXd]` — RULED Q-X1 (a)** ([`5715212264`](#656 (comment))). *BUILD the corpus-adapter IMPLEMENTATION* — `design.md` § D4 machinery **(1)**, the one of the seven § 4.5 did not name — parameterized by the § 4.4 domain profile and proved on § 3.7's neutral corpus; exit evidence `--destination openxdox_code` → **`OK — 17 of 17`**. A NEW box on this packet's own `Na` precedent (§ 2.2a, § 5.2a, § 5.6a), and it states **why § 4.5 did not already cover it**: § 4.5 named three of § D4's seven machineries and ticked on all three landing, and the reader § 3.7 asks openXdox for is the one none of them named. § 4.1 stays a carve box. **Q-X2 (a)** rides in the same box: openXdox's reader is the neutral, profile-parameterized reader, and **RULING Q4's clause *"over openxFactory's corpus and check families"* (`5542823211`) is recorded SUPERSEDED by C2 (`5544370242`) + DQ-1** — struck from force, not from the record, in this packet's no-deletion style; Q4's standing clause is untouched and is exactly what the box performs. **Q-X3 (a)**: `CorpusShape` carries `kind_field` and `required_fields_by_kind` as construction data, no spec or schema change. **STATUS**: CLAIM `5715212503`, building now off `openXdox-code` `589adee7`, where `--destination openxdox_code` still refuses `conformance-adapter-undeclared`.
* **§ 3.7's STATUS — RULED Q-F1/Q-F2/Q-F3** ([`5714365086`](#656 (comment))). **The verdict does not move and the box does not tick**; what changes is that both missing readers now have rulings and pull requests. Q-F1 (a): the DESTINATION transposes the corpus and says so, `openxFactory` shipping ONE neutral corpus — with both the privileged route and the delete-*"EVERY"* route DECLINED, the second being precisely the shape this box's own status already calls *"FLOOR PART 3 deleted to tick FLOOR PART 3"* (act: oxF **#1086**, draft). Q-F2/Q-F3 (a) land in **openDox-code #26**. Measured today: **openDox 11 of 17, openXdox no reader at all** (its build is § 4.5a), control `openxFactory` **17 of 17**.
* **§ 8.7 TICKS on pin lockstep #3** — the act its own STATUS said would carry it, since R-5 ruled the wording and left the verdict to the claiming act. Chain: openDox **#9 → `c4c5014d`** · openXdox-code **#21 → `2529c10a`** · openXdox **#11 → `88a1047e`** · openxFactory **#1084 → `dc015d7a`** · xFactory **#458 → `b660266686025b7e38863d6186ccab5139d96ba7`** (13:33:10Z, on Brett Heap's word, R-5). **The equality is re-derived here from the trees rather than transcribed from the act that made it**, which is the point of a check that only ever runs after a re-point:

| read | `openDox` | `openXdox` |
|---|---|---|
| aggregation gitlink at `b6602666` | `c4c5014d` | `88a1047e` |
| `openxFactory`'s own nested gitlink at `dc015d7a` | `c4c5014d` | `88a1047e` |
| `openxFactory`'s pin file `commit:` at `dc015d7a` | `c4c5014d` | `88a1047e` |

and the aggregation's own `openxFactory` gitlink at `b6602666` is **`dc015d7a`**, the very commit those pin files belong to. **The invariant was KEPT across the lockstep, not repaired by it** — the third such passage this box records, and it says which of the two it saw.

---

## 1 · The tick, and why amendment #4 was right not to take it

§ 5.3 is the `openxdox-consumer-gate` box. Amendment #4 recorded both halves of its tick condition as met and **declined the tick**, because the box says in its own words that it ticks on #1059 *"and not on this one"*, and #4's claim and RULED R-4 reach the PREMISE only. This is the act that records #1059's discharge, which is what the box names as the tick's owner.

Re-measured here rather than carried forward:

| what the box requires | measured |
|---|---|
| #1059 merged | **`7ab3dd80`**, 2026-09-16T16:27:36Z, merge commit on `main` |
| the new gate exists with a stable token | `.github/workflows/openxdox-consumer-gate.yml` at `main`, `name:` and job id both the single token `openxdox-consumer-gate`, **no job display name** |
| the gate has REPORTED | required check on #1058, SUCCESS at `d1314f4d` (run `35134189330`) and at `cbc3a2c6` |

**And the obligation the box named as still open is closed too.** Its own closing line says the required-check WIRING *"is named as owed there rather than claimed here"*, because making a check required is *"a human act on a human-only surface"*. That act happened **six minutes after the merge**: ruleset **`23554310`**, *"openxFactory consumer-gate (require openxdox-consumer-gate)"*, `target: branch`, `enforcement: active`, `conditions.ref_name.include: ["~DEFAULT_BRANCH"]`, a single `required_status_checks` rule whose sole context is `openxdox-consumer-gate`, `created_at` **2026-09-16T16:33:22Z**. Recorded with the ruleset's identifiers rather than as "the wiring landed", because a ruleset is the one class of evidence in this packet that lives outside git and can be re-queried from nowhere else.

**Three of amendment #4's self-references are re-spelled** — *"this amendment"*, *"not on this one"*, *"NOT TAKEN HERE"* → *amendment #4*. They were unambiguous while #4 was the only amendment in the box; with a second one below them a reader meets a `[x]` box that says three times it does not tick. Disambiguating a pronoun is a currency fix, not a re-wording of what ratification was over — the same line § 1's stale coordinates are repaired on and § 7.3's ratified sentence is left alone on.

## 2 · § 7.4 — RULED `5704187317`, SPLIT AND NARROW

Brett Heap, 2026-09-16T20:40:06Z, by interactive multi-choice, on one question from this lane's § 7.4 actor; measurement banked at `brett-wip` `fb3e0821`. **The box does not tick.** Four dispositions, all four written into it:

* **(A) A SECOND § 7.4 DELTA-TEXT DEFECT, RECORDED IN THE CLASS OF RULED `5700622683`.** This packet's `design.md` lists under **## Non-goals**, verbatim at `:133-134`, *"Resolving codexFactory's false `stack.yaml` digest declaration, or the `openxdox` DNS record's ungoverned status, **beyond naming them**"* — while the closing sentence of § 7.4 says that record *"is governed here"*. Two pieces of ratified text in ONE packet that cannot both be executed. `design.md`:101-103 supplies the measured state they disagree about, in the same sentence that carries the workload coordinate. Recorded for repair by an act that CLAIMS the delta; not silently corrected.
* **(B)** the DNS sentence is **discharged by NAMING**, per the packet's own Non-goal; the reach widening is lane `opsXfactory-4`'s `add-governed-dns-administration` under OQ-E word `5649809425`.
* **(D)** the `dox` workload set's per-tenant declaration is **left for the § 3.5 realization**; its requirement sits under lane `opsXfactory-3`'s claim `5638511222`. *(The coordinate the box quotes has moved — the workload set is at `workflows/aks-administration.yaml`:733-753 at OpsxFactory `7e15da58`, not `:412-431`. Recorded, NOT re-pointed: ratified text, and a quotation is bound to the tree it was written against.)*
* **(E)** this lane authors **only** a `credential-contracts` MODIFIED delta in `openxFactory` carrying the per-tenant App-Manifest PROVISIONING shape. Options (2) and (3) were declined.

The box now states its own tick condition so a later reader does not re-derive it: **(i)** this ruling, **(ii)** the landed delta of (E), **(iii)** § 3.5's per-tenant evidence. Only (i) is in hand. It stays `[ ]` and not `[~]` — the deferred form § 7.3 wears is for an act with no subject to perform on, and this one has a subject and an authored next step.

## 3 · Two more status records that do NOT tick

**§ 6.4 — the destination half has landed.** `opensoft/openDox-spec` **#12 MERGED → `edeed08c`**, 2026-09-16T17:37:41Z. **Byte-identity re-verified here at both ends rather than quoted from #12's body**: the delta reads **3,557 bytes**, digest **`1754e5d3f9803ea80b4e8a177fda8359a96d6c4b1024fce69893ee3cb3d716e1`**, identical at openxFactory `cb2d3a2c` and at openDox-spec `main`. A § 6 disposition is TWO acts and it is the CLOSURE that discharges the box, so § 6.4 ticks on **#1056** — open, Rule-6 sequenced — and not on its receiving half. The same ordering discipline § 5.3 applies to #1059.

**§ 5.2a — the id this task owes is authored.** **`openxfactory-engineering-adapter`**, in `repromote-engineering-vocabulary`, **#1071** (opened 2026-09-16T19:22:04Z, CLAIM `5703096449`). It is a FILING ONLY — `Status: draft` on all three lifecycle documents — so the box ticks on its landing, not on its opening. Recorded because three live acts were blocked on the id's absence: § 5.6's de-floor, § 8.4's both-directions accounting, and the two open § 6 closures #1060 and #1065.

## 4 · The eight residues — six repaired, two recorded

Registered under decision (b) on #1058 at comments **`5702227094`** (six, from Copilot rounds 14-17), **`5702495415`** and **`5702674145`** (two more, found by this lane's own sweeps rather than by a review). Every replacement value was measured when it was registered; each was **re-measured here** before it was written.

| # | where | disposition |
|---|---|---|
| 5 | § 5.2's column heading | **repaired** — the unit is files PRESENT, not files kept |
| 6 | § 5.2's disposition vector | **repaired** — recorded invariant at three trees |
| 7 | § 7.3's *"When the ruling lands"* | **recorded, not repaired** — ratified text |
| 8 | § 5.3's `--diff-filter=A` query | **repaired** — replaced by the rename-proof query |
| 9 | § 4.1's *"green in EVERY destination"* | **repaired** — criterion split from result |
| 10 | § 7.1's *"LIVE"* | **repaired** — withdrawn against the naming record |
| sweep | § 1's `tasks.md`:347 / `design.md`:868 | **repaired** — `:595` / `:981` |
| sweep | § 1.8's README position claim | **repaired as to its coordinates** |

**The measurements, since this packet's rule is that a body is measured and not transcribed:**

* **§ 5.2's heading.** The column's unit is FILES PRESENT after the carve. Measured cell by cell at `b075fd91` → `cc4ae9d3` across the five surfaces named by DIRECTORY — the only ones where "kept ROWS" is the same population as "files": `scripts/ideation_dashboard/` 63 → 9 present = 9 kept rows, `web/` 43 → 1 = 1, `tests/ideation_dashboard/` 4 → 0 = 0, `examples/ideation-dashboard/` 140 → 44 = 44, and **`tests/ideation-dashboard/` 157 → 42 present against 40 kept rows** — the two being `conftest.py` and `staging_shapes.py`, both `not_moved / replicated_at_destination`, which the box already discloses three lines above the table. The four cells named by FILE are counted on the old deletion list's own populations, which amendment #4 reconciled as subsets by design, so "kept rows" was never their unit either. **One heading was wrong and no number was.**
* **§ 5.2's vector.** `docs/opendox-carve-manifest.yaml`: **456 rows, 143 / 175 / 138, 117 kept** (103 adapter + 14 governance) at `main` `cb2d3a2c`, at `main` `c5f68457`, and at this amendment's base `cbc3a2c6` — identical at all three. The row's own label *"`main` `cb2d3a2c`, and this branch"* had never been verified across the two base merges that happened under it.
* **§ 5.3's instrument.** `--diff-filter=A` cannot carry *"never carried a dashboard-named workflow"*, because a rename reports as `R`. `git log --all --no-renames --pretty=format: --name-only -- .github/workflows/` decomposes every rename into a delete plus an add and returns **16 distinct paths ever**, **none matching `dashboard|ideation`**; `git log --all --diff-filter=R -- .github/workflows/` returns **nothing at all** — no rename has ever touched that directory, which is why the weaker query happened to be complete. The sixteen exceed the thirteen counted at `cb2d3a2c` because that count is files PRESENT at one tree and this one is paths EVER across all refs.
* **§ 4.1's grammar.** The criterion clause and the result clause were joined by a pair of dashes, so the first read alone as a measured PASS — the opposite of what the next clause records. Now separated into what § 3.7 ASKS and what it ANSWERS. No figure moves and no gate loosens; the result is still one pass (`openxfactory` OK — 17 of 17) and four `conformance-adapter-undeclared`.
* **§ 7.1's *"LIVE"*.** The QUOTATION is verbatim-accurate at OpsxFactory `6aa1512c`; what is not accurate is this packet's own word. `docs/openxdox-naming.md` **Amendment 1 (2026-08-14)**, `:84-89`: *"`openxdox.opensoft.dev` replaces `dox-opensoft-qa.xforge.us` … the legacy names are cut dead at switchover — no dual-host period and no redirect"*. **The RECORD is active and the HOST is retired.** The census verdict is invariant either way — § 7.1 turns on a `<Domainx>Dox` DESCENDANT instance and never on liveness — which is why this is a wording repair and not a re-measurement. That OpsxFactory's record is stale against the naming amendment is a finding about OpsxFactory's tree, raised there.
* **§ 1's two coordinates.** They read `tasks.md`:347 and `design.md`:868. Measured: `:347` of this file is a `gh api` tree read of the openDox root; the casefold discussion is at **`:595`** here and **`:981`** in `design.md`. Neither number was right at any tree checked. Now cited with the tree they were read at, because the quotation is the durable half of such a citation.
* **§ 1.8's README positions.** The box's whole thesis is that this block's line numbers move under every archival act — and the sentence asserting it had, within three commits, cited one that moved. Measured at six trees: `README.md`:**1775** (`8944758c`), :**1875** (`0a835098`), :**1813** (`cb2d3a2c`), :**1708** (`c5f68457` and `cbc3a2c6`), :**1836** (`main` `4cef77af`) — **five positions across six trees**. The `30,410` citations beside it are **exact at all six** (`design.md` 2, `proposal.md` 2, the RECORD 1), re-measured here.
* **§ 7.3, recorded and NOT repaired.** *"When the ruling lands"* is the packet's OWN RATIFIED TEXT: it enters at `ceb6dc9e`, the commit that ratified this packet (#666), stands identically at `main`, and amendment #4 only MOVED it out of the box header into the body while re-marking the box `[~]`. Re-wording ratified specification text is a spec-delta-class act — exactly the disposition RULED `5700622683` gave § 7.1's scenario-4 delta defect. A bookkeeping amendment fixes stale COORDINATES and does not re-word what ratification was over. The correct trigger is quoted beside the record so the repairing act re-derives nothing.

---

## Review rounds

**Copilot round 1** (`1788f7f2`, review `5228750887`, 21:54:12Z): **2 suppressed comments, 0 threads, both real, both FIXED at `dde9dfa2`** — answer comment [`5705165398`](#1078 (comment)).

1. **The rename-proof query was not reproducible as quoted.** `git log … --name-only` prints one line per matching COMMIT, not one per path: as first quoted it returns **177** path lines, not sixteen — the `sort -u` it was run with had been left out of the quotation. The command in the box is now the command as run, and the instrument was re-measured on the finding's other two points: **`--full-history` added and it changes nothing** (16 with, 16 without); **`--all` is deliberate** and makes the claim stronger than the box needs, with the base-scoped variant quoted beside it (**15**, the one path dropping being `proof-1-6a-codexfactory-app-install.yml`, already named as gone). `dashboard|ideation` matches **0** under every variant; `--diff-filter=R --full-history` still returns **nothing at all**. The conclusion is unmoved.
2. **§ 5.3's *"nothing is left owed to a later act"* over-reached.** The tick stands — the box's condition is about the ruleset and `23554310` is live — but #1059's shipped files still describe the gate as it stood six minutes before that ruleset existed: `openxdox-consumer-gate.yml`:48-56, `test_openxdox_gate_invocation.py`:8-11, `test_openxdox_gate_adjudicator.py`:10, `openxdox-pin.yaml`:119-120, `opendox-pin.yaml`:156-158. **All five true at authoring, stale from 2026-09-16T16:33:22Z.** Registered rather than repaired here, on this repository's own precedent for the identical class: `split-openxwallet-repo` corrected README's *"advisory until an operator marks it required"* **in place, from the act that owned the surface**, with its history stated (archive `tasks.md`:972-974; the corrected text at `README.md`:3026-3029).

**Copilot round 2** (`15388e8b`, review `5228778196`, 21:58:02Z): **2 suppressed comments, 0 threads, both real, both FIXED at `d727332e`** — answer comment [`5705203361`](#1078 (comment)).

1. **Two present-tense answers to one question.** Amendment #4's record still read *"which is still owed and still a human act on a human-only surface"* twenty lines above amendment #5's record closing exactly that obligation. Scoped to its own moment (2026-09-16, before 16:33:22Z). This was the **fourth** of #4's self-references this amendment re-spells and the only one that was a STATUS rather than a pronoun.
2. **(A), (B), (D), (E) with no (C).** They are the **ruling's own** labels over the **five** measured reads the § 7.4 actor put to it. **Read (C) was the DNS widening's MECHANICS** — a five-place lockstep whose first place sits in `opensoft/Opensoft-Tenant`, a repository this lane holds no clone of and no claim in — and the ruling **folds it into (B)** rather than disposing of it separately, which is why (B)'s sentence names the lockstep and that repository. Said in the box, so the gap reads as the ruling's shape. The finding's second half is taken too: the options are a **second** enumeration and all three are now named, with **(1) SPLIT AND NARROW** marked as the one taken.

**Copilot round 3** (`dde9dfa2`, review `5228812594`, 22:01:48Z): **1 thread, answered and RESOLVED, fixed at `c5ecbbc9`** — answer comment [`5705231687`](#1078 (comment)). It named `:2110` (already fixed at `d727332e`, which the review predates) and `:2127` (not yet, and the one that mattered): *"It is ADVISORY on the day it lands … so the required-check WIRING is named as owed there rather than claimed here"*, inside amendment #4's R-4 parenthetical, reading as current state. Now past tense and marked as #4's snapshot, superseded by the record below it. **The class was then re-swept over the whole box**: the only remaining present-tense "owes" resolves itself in its own sentence and is about the TOKEN, not the wiring.

**Copilot round 4** (`c5ecbbc9`, review `5228829531`, 22:03:43Z): **empty body, 0 comments, 0 threads** — a round that enumerates nothing.

**Copilot round 5** (`d727332e`, review `5228847347`, 22:06:14Z): **4 suppressed comments, 0 threads, all four real, all four FIXED at `1b1a22d0`** — answer comment [`5705281122`](#1078 (comment)).

1. **`--diff-filter=R` does not enable rename detection**, so an empty `R` set from a plain `git log` proves nothing. `--find-renames` added, and re-measured three ways — `--find-renames`, `-M`, `-M50%` — each returning **nothing at all** over `.github/workflows/`, and the same query over all of `.github/` finding no rename either. Conclusion unmoved.
2. **Three positional self-references**, and the third is the best finding on this pull request: `tasks.md`:595 is the wrong coordinate **in the tree being reviewed** (it is `:609` there). **Both numbers are right** — `:595` is where the casefold paragraph sits at the base `cbc3a2c6`, and this amendment's own insertions moved it fourteen lines, **inside one pull request, in the very paragraph repairing two stale coordinates**. § 1.8's thesis demonstrated a third time. The in-file half of the citation is now a **sentence**; `design.md`:981 keeps its number because this branch does not touch that file. The other two (*"four lines up"*, *"one line below this note"*) are anchored to the sentences they mean, and the class was swept beyond the three flagged.

**Copilot round 6** (`c5ecbbc9`, review `5228879214`, 22:10:33Z): **3 suppressed comments — one already fixed at `1b1a22d0`, two real and FIXED at `9cb2d23b`** — answer comment [`5705328045`](#1078 (comment)).

1. ***"it is a required check on this very pull request"*** is amendment #4's sentence, written when #1058 was the only pull request carrying the box; copied forward it names **#1078** and attributes to it a run that happened on **#1058**. Bound by number. **This is the seventh of amendment #4's sentences this amendment binds to amendment #4** — three pronouns, two statuses, one pull-request reference, one position — and the count, which had itself gone stale three times inside this pull request, is now stated by class in the box with that history (`e907bb93`).
2. **§ 5.2a said *"three live acts"* over a list of four.** #1071's own body counts three, treating the pair of § 6 closures as one class. Both counts are now said, enumeration unchanged: **three classes, four open acts**.

**Tally across six rounds: twelve findings, eleven distinct, all real, all fixed; one thread opened and resolved; ten of the twelve sat in the SUPPRESSED block.** Every one was about this amendment's own new text — the class decision (b) sends to a fix. **Under decision (b) the amendment now HOLDS at this head**: further rounds would re-read settled text, and this is a DRAFT stacked on #1058 with no landing pending.

**Copilot round 7** (`1b1a22d0`, review `5228902838`, 22:13:44Z): **🟢 Approval recommended** — its one finding (§ 5.2a's count) had been fixed at `9cb2d23b` three minutes earlier. No edit owed, none made. Note [`5705336646`](#1078 (comment)).

**And one finding carried over from #1058 after that pull request merged** (`ddb68b51`). Review `5226920310` on #1058 (`cbc3a2c6`, 2026-09-16T18:45:17Z) arrived after that head was frozen and carried a second suppressed finding nothing had answered: `Finding.match_key()`'s docstring says identity is *"family + path"* while the method returns `(family, repo, path)`. Measured — **the packet's quotation is verbatim and it already stated the true tuple first**, so nothing in it was inaccurate; but the two were set side by side as though they agreed, and the docstring's omission of `repo` could be read as the packet's claim. § 8.9 now says the docstring **understates its own key**, that **the RETURN governs** because it is what every caller compares, and that findings from different repositories therefore do not collide. The imprecision is `doc_health`'s own and is raised there. Answered on #1058 at [`5715028704`](#1058 (comment)), repaired here.

Plus one **self-verification** commit before any review (`15388e8b`): `design.md`'s cite in § 7.4's new STATUS bound to the sentence it names (`:101-103`, quoted whole) rather than to the paragraph, and `credential-contracts` cited by its requirement TITLE with the line beside it.

---

## Gates at `ddb68b51`

* `OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict` → **valid**
* `python3 scripts/proposal-support.py . verify split-opendox-two-layer-product` → **ok**
* `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **clean** (214 rows)
* Ledger read from the file: **48 `[x]` / 22 `[ ]` / 1 `[~]`** = 71, unchanged in total
* One file changes: `openspec/changes/split-opendox-two-layer-product/tasks.md`. No submodule gitlink moves.

## What this does NOT do

* **It does not merge.** Rule 6; the lane orchestrator opens the window.
* **It does not repair a spec delta.** § 7.1's scenario-4 defect and § 7.4's Non-goals contradiction are both RECORDED, on the disposition `5700622683` gave the first of them.
* **It does not touch OpsxFactory, Omnigent-Install, openDox or openXdox.** § 7.4's (B), (D) and (E) each name their owner and stop.
* **It does not tick § 7.4, § 6.4 or § 5.2a.** Each carries its status and the condition it still waits on.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 24, 2026
…e, and correct the required-check prose

This answers Copilot's review of openxFactory#1154 at d7afc3c.

docs/openxdox-pin-resync-runbook.md:
- A missing PyYAML is described as it behaves. The import guard prints
  "ERROR PyYAML is required to read contracts/openxdox-pin.yaml" and exits 2
  before verify() runs, so there is no PinRefusal, no code and no trailer.
  Measured by blocking the import: rc=2 and that one line. pin-unreadable now
  lists exactly what raises it: load_pin, submodule_path, the algorithm and
  definition, digests, and a failing ls-tree at check 4.
- § 3 sets NEW_SHA as a real shell variable, and every command reads "$NEW_SHA".
  The step 4 digest is a Python step that fails closed. It refuses a sha that is
  not 40 lowercase hex, raises on a failing ls-tree (check=True) and refuses an
  empty listing. The old pipe hashed empty input to e3b0c442... and exited 0.
- § 4's comparison is fail-closed Python too, and exits 1 with DIFFERENT on a
  disagreement.
- The steps are reordered: § 4's check comes before staging. Staging names the
  openDox pair, commented and conditional, and runs BOTH verifiers.
- § 7 adds #1084 as the worked example of the DIFFERENT case, and a table in
  which the step 4 command reproduces four recorded tree_sha256 values.
- Both Python steps were extracted verbatim from the document and run in bash
  and zsh. At 2f3f857d, cd2596a2, 646f1dc0 and 88a1047e step 4 matched
  149dc2cd, eb367f68, 47f50184 and cdbe7573, the values the pin recorded.
  § 4 exited 0, 0, 0 and 1 (DIFFERENT). An uppercase sha or an unknown commit
  exits 1 and prints no digest.

contracts/openxdox-pin.yaml:152-153: the verify_pin comment now cites what
requires the check, ruleset 23554310. GET repos/opensoft/openxFactory/rules/
branches/main lists that ruleset's required_status_checks as
["openxdox-consumer-gate"].

scripts/verify-openxdox-pin.py and the verifier test's docstring: four stale
passages are corrected in place, each block the same number of lines:
- :89-90 and the test's :859-860 (task 5.3's gate carries no dirty-checkout
  refusal);
- :99-101 (PyYAML);
- :103-105 (the tool is not the gate; the required gate runs it);
- :155-157 (the gate reads the exit code only).

The files are still 154, 626 and 1036 lines long. Every line another document
cites is byte-identical to main: the pin's :76-79,92-94,106-108,119-121; the
verifier's :19,158-163,186-187,257,266-291,276,284,307,314,322,329; and the
test's :264-265.

Measured: both verifiers print OK. tests/opendox_pin plus tests/openxdox_pin
give 105 passed. doc-health --single-repo gives 31 critical, 25 error,
52 warning and 20 info, the same as main dd2466a; the one delta is the
draft-age info line, where n goes from 69 to 70.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 24, 2026
…LED 5815412869 C4) (#1154)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

## What this is

This is D-16 of the owed-acts register. `contracts/openxdox-pin.yaml` said *"A resync runbook written for THIS consumption is owed and does not yet exist"*, and its `resync_runbook:` named openXdox's own `README.md#the-lockstep-invariant` as a stand-in. RULED at #656 comment [5815412869](#656 (comment)) (item 3, **C4, option (a)**: *"the openXdox-pin resync runbook lands as one small PR after review"*) and claimed at [5815620605](#656 (comment)). Landing word: *"land the C1, C3 and C4 PRs when green"*. The holder lands this PR. I do not merge it.

## What changes

| file | change |
| --- | --- |
| `docs/openxdox-pin-resync-runbook.md` | **new**, `Status: draft`, `Kind: runbook`, eight sections. It started as the helper bank's draft, re-verified against `main` `dd2466ad` command by command, and then went through eight Copilot rounds (below). Every command it gives fails closed or fails fast, and every one has been run as committed. |
| `README.md` | one doc-index entry, beside the openXdox dispatch-credential binding runbook |
| `contracts/openxdox-pin.yaml` | `resync_runbook:` now names the runbook, and the owed-gap paragraph above it is rewritten. The paragraph above `verify_pin:` still said the verifier was *"not yet wired into any required check"*. It is corrected in the same lines (`:152-153`), because `openxdox-consumer-gate` is a required check (ruleset 23554310) and has run it on every PR since #1059. **The `commit`, the digest and the gitlink do not move.** |
| `scripts/verify-openxdox-pin.py` | The `REMEDIATION` trailer now names `docs/openxdox-pin-resync-runbook.md`. `neutral-product-pin` requires every refusal to name *"the path of the pin-resync runbook"*, and the openXwallet verifier's trailer already names its own. Four stale docstring blocks are corrected in place: `:89-90`, `:99-101`, `:103-105` and `:155-157`. |
| `tests/openxdox_pin/test_openxdox_pin_verifier.py` | The one assertion that pins that trailer follows it. The docstring's dirty-checkout sentence (`:859-860`) gets the same correction as the verifier's. |

**No cited line moves.**
- The promoted `openspec/specs/document-lifecycle/spec.md` cites `contracts/openxdox-pin.yaml:76-79,92-94` and `scripts/verify-openxdox-pin.py:257` through `:329`.
- The active `add-neutral-product-standalone-operability` design cites the pin's `:106-108`.
- `amend-neutral-product-pin-source-tree-digest` cites `verify-openxdox-pin.py:19`, `:158-163` and the test's `:264-265`.
- `scripts/doc_health/pin_shapes.py` cites `verify-openxdox-pin.py:186-187`.

All three edited files keep their exact line counts (154, 626 and 1036), and every edit is in place, so each cited line still holds the content it held.

## What the re-verification corrected in the draft

- **§ 2 (the verifier).** The draft said "four checks". The verifier runs shape guards first: `_pinned_commit` refuses `openxdox-pin-tag-only`, and `_pinned_tree_digest` refuses a malformed `tree_sha256`. Then come the four ordered checks, with five refusal codes in all, plus `pin-unreadable` outside the vocabulary. Check 2 reads the INDEX when the gitlink is staged, so after `git add openXdox` the verifier reports `gitlink read from the index`.
- **§ 3 (the advance).** The draft gave only a pseudo-code digest recipe. The section now has three things:
  - an independent recompute that can be run, reproducing the recorded digest at each of four openXdox commits;
  - the forced leg → root → openxFactory order, with openXdox#18's re-point from PR head `39d8937e` to landed `626f2c8d` as the precedent;
  - the grep for the old sha in the pin's prose, and the by-line citations that make line count and position matter.
- **§ 4 (the lockstep).** This now has the exact comparison, and the measured history: openXdox `646f1dc0`, `cd2596a2` and `2f3f857d` all derive openDox `dc7aa08f`. That is why #1146 and #1148 moved this pin alone. #1084 is the `DIFFERENT` precedent.
- **§ 5 (the gates).** The draft reported *"105 tests, 90 passed, 15 failed"* from an uninitialized clone. This section now gives the environment both workflows set up, then their exact command blocks, floors and named verdicts. It also records a local gotcha: a checkout under any other directory name than `openxFactory` skips 13 ideation tests.
- **§ 6 (the migration triple).** The facts are re-measured, and the check is now fail-closed. The one `UNCONFIRMED` is kept as the draft stated it.

## Copilot rounds

Every thread is resolved with its measurement, and each overview's other items are answered in a PR comment.

| round | review at | overview | fixed at |
| --- | --- | --- | --- |
| 1 | `d7afc3c2` | 🟡: two threads (whether the consumer gate is required; PyYAML's failure behaviour); the digest read could pass on a failed `ls-tree`; sibling staging; stale verifier docstrings | `4a050955` |
| 2 | `4a050955` | 🟡: two threads (step 3 did not fail closed; an abbreviated sha in an example); the step 5 heading contradicted its bullet | `d06bb121` |
| 3 | `d06bb121` | 🟡: one thread (a failed `git` call left a traceback, not `REFUSE`); § 4 accepted two malformed equal commits as lockstep (measured: rc 0 on `"abc"` == `"abc"`) | `5ae23f96` |
| 4 | `5ae23f96` | 🔵, no findings. I re-read every command against its workflow and found three § 5 mismatches, plus § 6's shell-unsafe placeholder | `3302e814` |
| 5 | `3302e814` | 🟡: one thread (a host-absolute placeholder); § 6 did not validate `COMMIT` | `baddd6f3` |
| 6 | `baddd6f3` | 🔵, no findings; one "previously missed" item: § 5 did not give the workflows' environment setup | `51fd78d2` |
| 7 | `51fd78d2` | 🔵, no findings: *"unresolved fail-closed error-handling issues and documentation corrections"*. I re-audited every block and pasted § 3 into an interactive zsh: two blocks carried `#` comments, which zsh passes on as arguments, and § 2's success line was inexact | `db09c2c4` |
| 8 | `db09c2c4` | 🔵, no findings: *"pinned-core validation, dependency handling, and migration-range comparison"*. All three were real: nothing checked the pinned core's commit; § 4 needed PyYAML before § 5's setup; § 6 checked one commit, not the bump's range | `bc36cc09` |

At `bc36cc09` the overview reads 🟢 *"Approval recommended — only minor documentation nits remain, with no approval-blocking issues identified"*, with **Findings: None**.

## Measured (local full clones named `openxFactory`)

The kit replicates every PR-triggered gate from `.github/workflows/*.yml`. It ran over `baddd6f3`, beside `main` `dd2466ad`, this branch's base. `51fd78d2`, `db09c2c4` and `bc36cc09` change only the runbook's text. Those changes are re-measured by doc-health and by running each changed block as committed.

| gate | `main` `dd2466ad` | this branch |
| --- | --- | --- |
| both verifiers | `OK … openXdox@2f3f857d … (149dc2cd…)`, `OK … openDox@dc7aa08f …` | same |
| the other twelve validator steps the PR gates run: openXwallet pin, clearing dispatch, release-tag, signed chain, wallet syntax and validation, factory identity, OpenSpec CLI pin `--all`, openRepoShape pin, carve manifest, sequenced-after, former-id arrival | rc 0 (the arrival gate needs a range, so it runs on the branch only) | rc 0 |
| consumer gate: pin suites | 105 / 105 / 0, 4 named verdicts passed | same |
| consumer gate: ideation | 1137 / 1137 / 0, named verdict passed | same |
| `pytest-suite`, local | 3 failed, 8 skipped | 2 failed, 6 skipped, 0 new failures |
| doc-health `--single-repo --as-of 2026-09-24` | 31 critical, 25 error, 52 warning, 20 info | identical, apart from the draft-age info line (this runbook is a new draft) |

- **The local `pytest-suite` failures are not this PR's.** The two left are `test_validator_cli::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]` and `test_snapshot_equivalence::test_a_prefix_whose_path_cannot_be_resolved_is_replaced_not_raised_on`. Both fail identically at `main` `dd2466ad`. The per-test junit diff shows no test whose outcome worsened. The three that changed are network-dependent `test_pin_reachability` cases, which improved.
- **CI is green.** `pytest-suite` passes at `baddd6f3`, and all twelve checks pass at `bc36cc09`.
- **§ 5's blocks, run as committed** (fences extracted from the file):
  - the setup chain gave rc 0;
  - the consumer chain gave rc 0 (both OK lines, `105 passed`, `1137 passed`);
  - the `pytest-suite` chain with `CORE_CHECKOUT` unset stopped at its first link with rc 1;
  - the `pytest-suite` chain with it set ran through to the end, as it stood at `51fd78d2`, before round 8 added the pinned-core link:
    - the installer put `openspec` 1.12.0 on PATH, so none of the three `tests/proposal-support` tests skipped;
    - 8857 cases: 8850 passed, 6 skipped, 1 failed, the same local-only `test_validator_cli` failure as `main`;
    - both named verdicts, the freshness verifier and the vector replay, passed.
- **§ 3, run end to end** in an interactive `zsh -f -i` under a pty, in a simulation clone with push disabled, with `NEW_SHA=069fe471…`:
  - every step gave rc 0, and the digest came out `3ad15b72…`, the one #1157 records;
  - with the checkout wrong, step 7's chain refused with rc 1.
- **§ 5's pinned-core check**: the codexFactory core at `b21f0100` gives `OK`, rc 0. An openDox-code checkout, a directory that is not a git checkout, or an unset `CORE_CHECKOUT` each refuse with rc 1.
- **§ 4 and the core check without PyYAML** each refuse with rc 1, naming the setup block.
- **§ 6's range check**:
  - over the advance to `069fe471` it reports 0 changed and 0 present for the root (`2f3f857d` → `069fe471`), for code (`626f2c8d` → `e28930bf`) and for spec (unchanged);
  - over openDox-code `52b237e8` → `aca94ecb` it lists six added migration paths;
  - an abbreviated, empty or absent commit gives `REFUSE`, rc 1.

## Touches

- **Rule 6: no landing window.** Nothing under `openspec/changes/`, and not the README OpenSpec Records block.
- **The shared pin file.** C3's openXdox pin bump is open as #1157 and edits this pin's `:109` `commit:` and `:127` `tree_sha256`. This PR edits `:152-153`. `git merge-tree --write-tree` of the two heads is clean: the result keeps 154 lines, with #1157's `commit:` and digest and this PR's prose. Whichever lands second merges `main` in.


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[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