Repository navigation
openxFactory: lockstep pin bump — openDox → 44679fa7, openXdox → 84056415 (chain step 3; § 4.2 fields at the root) - #952
Conversation
…6415 (chain step 3; § 4.2 fields at the root) Chain step 3 of the lockstep pin chain (#656): moves BOTH product pins in ONE commit so the LOCKSTEP check between them holds. - openDox gitlink 49a99df2 → 44679fa7 (opensoft/openDox#5; legs code da8aae96, spec 1a216ea4); contracts/opendox-pin.yaml commit + tree_sha256 digest recomputed (f7e2c300…), and a `migration: {range, reversible, runbook}` block added at `not_yet_deployed` (RULED ASK-1, #656 comment 5628886636), rendered identically to openXdox's own copy of this pin (opensoft/openXdox#7). - openXdox gitlink 96155cc5 → 84056415 (opensoft/openXdox#7; its own contracts/opendox-pin.yaml already names openDox 44679fa7, confirming lockstep at the source); contracts/openxdox-pin.yaml commit + tree_sha256 digest recomputed (2eeae172…). Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThis PR performs the third lockstep chain bump by moving openDox and openXdox gitlinks and pin manifests to their coordinated commits, recomputing integrity digests, adding the required openDox migration-shape sentinel, and updating one stale verifier-test literal. Review the two commits together, with the intended landed result being a squash into one pin-bump commit; the supplied validators report 146 tests passing and confirm both pins, lockstep, and the carve manifest. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…he bump test_ruling_q7_two_direct_upstreams_in_lockstep's real lockstep assertion (opendox_pin["commit"] == derived_pin["commit"]) is unaffected by this PR's pin bump and still passes unchanged. Its second, redundant assertion hardcoded openDox's commit as of PR #932 ("49a99df2..."), which the previous commit in this PR made stale. Updated to this PR's new value ("44679fa7..."). No other stale reference to either superseded commit (openDox 49a99df2, openXdox 96155cc5) exists outside the two submodules: checked full-tree and short-form across tests/ and scripts/; the one other hit (openspec/changes/split-opendox-two-layer-product/review/reality-check- 2026-09-10-section-4-and-the-shed.md) is a dated historical record of a past state and is out of this PR's scope (openspec/changes/ is off-limits to this lane's author role). Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Update stale test expectations and add validation for the migration contract fields.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Synchronizes openDox and openXdox pins, digests, and lockstep metadata.
Changes:
- Bumps both submodule references and contract commits.
- Recomputes tree digests.
- Adds openDox migration metadata.
File summaries
| File | Summary |
|---|---|
contracts/opendox-pin.yaml |
Updates the openDox pin and migration declaration; stale test expectations and migration validation require changes. |
contracts/openxdox-pin.yaml |
Updates the openXdox pin and digest; stale openDox test expectations require changes. |
Review details
Suppressed comments (1)
contracts/opendox-pin.yaml:129
- The new
migrationcontract is not validated:verify-opendox-pin.pyonly checks the commit/digest fields, and the positive pin tests never assert these three keys. As a result, removing or misspellingrange,reversible, orrunbookwould still produce a green pin verification even though the modifiedneutral-product-pinrequirement makes them mandatory. Add a contract-shape check (including thenot_yet_deployedpre-runtime state) and regression tests for missing/invalid fields.
migration:
range: not_yet_deployed
reversible: not_yet_deployed
runbook: not_yet_deployed
- Files reviewed: 5/5 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.
There was a problem hiding this comment.
🟡 Changes recommended
Add assertions covering the required migration field values.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Lite
…unenforced test_the_migration_block_is_present_and_lockstep_with_openxdox adds the positive assertion PR #952's review thread asked for: `verify()` only reads `commit` and the tree digest, so the `migration.range`/`.reversible`/ `.runbook` fields RULED ASK-1 (#656 comment 5628886636) were deletable or renameable without failing any existing check. The new test asserts the root pin's three fields are each `not_yet_deployed`, that the in-file comment cites ASK-1, and that openXdox's own derived copy — read as a git BLOB at the gitlinked commit, never the working tree, mirroring test_the_real_pin_is_in_lockstep_with_openxdox_own_derived_reading's own technique — renders the identical three keys and citation. Field-VALUE enforcement inside verify() itself is left as a follow-up once neutral-product-pin's spec pins the key names, per the reply on the thread; this addresses only the "silently deletable" gap the thread named. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
…nDox sentence
TWO AMENDMENTS, both under Rule 6, neither touching any other packet file.
5.6a — THE DEPRECATING MINOR THE PACKET NEVER AUTHORED. § 5.7 restates the
policy clause it must satisfy ("a preceding full minor of deprecation
warnings") and no numbered task anywhere in this packet produced one, so the
MAJOR could not legally cut however complete 5.2-5.6 became. RULED ASK-10 -> 1
(#656 comment 5635524078) placed it FIRST, from pre-shed main. The box names
the pull request that satisfies it (#970) and is worded so that LANDING
satisfies it: the `contract-v3.7` annotated tag is Brett Heap's own act
(ASK-9a) and is recorded as 5.7's precondition rather than this box's, because
a bundle whose warning window a major relies on must be PUBLISHED before that
major cuts.
5.8 — A SENTENCE THAT WAS TRUE WHEN WRITTEN AND IS NOT NOW. It read that the
aggregation's openDox root gitlink "has NO openxFactory-side counterpart to
check against". RULED Q7 (#656 comment 5626248666, 2026-09-10) ended that:
openxFactory mounts the openDox assembly root DIRECTLY as a second gitlink
beside contracts/opendox-pin.yaml (#932 / #952) and declares two direct
upstreams. The correction states the new equality — BOTH openxFactory's own
direct openDox gitlink AND opensoft/openDox's assembly root — quotes the
replaced sentence rather than deleting it, and dates the supersession, so a
reader of 5.8 at the aggregation is not sent to check one side of a
two-sided invariant.
`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product
--strict` passes on this tree.
Refs #656
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…oxy + § 4.4 engine reachable) The half this pull request carries cannot be authored against the old pins: `scripts/opendox_host.py` imports `opendox.domain_profile` and `opendox.profile_proxy`, neither of which exists below `openDox-code` `a99eba03`, and the openXdox engine that delegates to openDox's registry is `openXdox-code` `af15f712`. So the bump and the half ride together — the legs REFUSE a parser or a server build without a registered host, and the host registration cannot import the leg APIs until these pins name them. Modelled on `#952` field for field — the gitlinks, both pin files' `commit:` and `sorted-ls-tree-r-v1` `tree_sha256:`, and the one literal the openXdox verifier's own test pins: * `openDox` gitlink 44679fa7 → 8ec3036c (openDox #6, `code` → `a99eba03` § 4.3 lazy proxy, `spec` → `a8f5eb73` BUILD slice 1b); * `openXdox` gitlink 84056415 → eca0b597 (openXdox #8, `code` → `af15f712` § 4.4 engine + post-§ 4.3 pin, `spec` → `ae59dfa5`, its own `contracts/opendox-pin.yaml` → 8ec3036c); * `contracts/opendox-pin.yaml` tree digest 71b97c8bec10f1e85f6d56be52b7a83966232d7591952ad5e0af7db68192b392; * `contracts/openxdox-pin.yaml` tree digest c6d1078d3d4e7ddc4d3d70470b0c1fd7a0f4b32519c6b107773644b3d855c000; * `tests/openxdox_pin/…::test_ruling_q7_two_direct_upstreams_in_lockstep`'s asserted openDox commit. THE LOCKSTEP INVARIANT HOLDS BY MEASUREMENT, not by assertion: openXdox's own `contracts/opendox-pin.yaml`, read as a git BLOB at the commit the `openXdox` gitlink now records, carries `commit: 8ec3036c…` — the same value this repository's direct pin declares. `scripts/verify-opendox-pin.py` and `scripts/verify-openxdox-pin.py` both print OK. THE ASK-1 SENTINEL IS RE-CHECKED RATHER THAN CARRIED FORWARD. The migration block's own comment cited `da8aae96` — the `code` leg the OLD pin named — as where "no migrations directory" was read. A bump that moves the leg and leaves that citation standing would make the sentinel rest on a commit this pin no longer names, so the reading is redone at `a99eba03` (`git ls-tree -r` carries no path matching `migration`) and the comment says so. The sentinel values themselves do not move: no migration exists yet to fill them. TWO PROSE CLAIMS THIS BUMP WOULD OTHERWISE FALSIFY are corrected in tense, and in tense only. `contracts/CHANGELOG.md`'s `contract-v3.7` entry and `docs/contract-versioning-policy.md` § both said the `relocating.at` values "are the `spec` gitlinks of the assembly-root commits this repository's own pins ALREADY NAME". After this bump they are the gitlinks the pins named AT THAT CUT. The recorded values are NOT rewritten — a cut bundle's marker is a record of what was true when it was cut, and `contracts/manifest.yaml`'s five `at:` rows stand exactly as cut — the sentences now say which moment they describe, and name where the pins moved to. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>



Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs #656
CLAIM: cited, not re-posted. Session
openxfactory-40already posted the step-3 claim on #656 at 2026-09-11T03:47:40Z (comment #656 (comment)): "lockstep chain step 3 — openxFactory openDox gitlink+opendox-pin → 44679fa7 and openXdox gitlink+openxdox-pin → 84056415 in ONE commit; files: two gitlinks + two pin files; branch pin/lockstep-2026-09-11." That branch did not exist when this session started (confirmed via the GitHub branches API, 404) — this PR is the redo, same branch name, same scope. No new CLAIMED comment posted.Chain steps 1–3
44679fa732780862230c7446a8f7f2e2bb032e88— root pin-sync; legs codece53b489→da8aae96, specfc67332d→1a216ea4.84056415c7e21995ca15a6b5809758b276a1cd56— root pin-sync + task 4.2; its owncontracts/opendox-pin.yamlnow names openDox44679fa7(with themigration:block atnot_yet_deployed, RULED ASK-1); spec481a07f9.openDoxgitlink +contracts/opendox-pin.yaml→44679fa7, and itsopenXdoxgitlink +contracts/openxdox-pin.yaml→84056415, in one pin-bump commit so the LOCKSTEP check (verify-opendox-pin.pycheck 5) holds, plus one follow-up commit fixing a test literal the bump made stale (see "Two commits, not one" below).What moved / what did not
openDoxgitlink:49a99df2561bf70e49337c999d79b36836718349→44679fa732780862230c7446a8f7f2e2bb032e88openXdoxgitlink:96155cc538f13172f883e958b9f1f4a74e47dd8f→84056415c7e21995ca15a6b5809758b276a1cd56contracts/opendox-pin.yaml:commitbumped to44679fa7…;digests.tree_sha256recomputed tof7e2c3001365493f87c7c8fda2659cbdb11db9b783dce43e3301d80ba1a4b26c(independently computed via the documentedsorted-ls-tree-r-v1algorithm — matches, byte for byte, the value openXdox's own copy of this pin already records for the same commit);carve_commituntouched. Amigration: {range, reversible, runbook}block added atnot_yet_deployed, citing RULED ASK-1 (openDox + openXdox: two open-source layers, an installable app with users, projects and a database; domain descendants pin openXdox (Brett's ruling 2026-09-04) #656 comment 5628886636), rendered the same way openXdox#7 rendered its own copy (see Migration-block decision below).contracts/openxdox-pin.yaml:commitbumped to84056415…;digests.tree_sha256recomputed to2eeae1728f8ab97a18d85e225f0ad6c7e08edc7cc3dd6ce70d1c33c24cc9a0e3;carve_commituntouched. No migration block added here — the ASK-1 ruling and the MODIFIEDneutral-product-pin"pin bump crosses a migration" scenario concern openDox's own not-yet-built runtime/migrations, not openXdox's; nothing in the lane's record asks for this field on openXdox's own pin.tests/openxdox_pin/test_openxdox_pin_verifier.py: one stale literal moved in lockstep (see below).Lockstep proof
openXdox@84056415:contracts/opendox-pin.yaml's owncommit:field reads"44679fa732780862230c7446a8f7f2e2bb032e88"— read directly viagit -C openXdox show HEAD:contracts/opendox-pin.yamlafter checking out the new openXdox commit, i.e. openXdox's OWN derived reading of openDox already names the exact commit this PR'scontracts/opendox-pin.yamlnames directly.scripts/verify-opendox-pin.py's check 5 confirms it mechanically (output below).Migration-block decision
Checked
scripts/doc_health/pin_class.pybefore adding the block:PIN_CLASS's twoopendox-pin-*members (opendox-pin-carve-commit,opendox-pin-product-commit) are keyed to the specific field namescarve_commitandcommit; the sweep vocabulary (PIN_KEY_VOCABULARY, feeding_VOCAB_RE/_WIDE_VOCAB_RE) is a closed, commit/revision-shaped keyword list (source_revision,commit_sha,base_commit, etc.) that does not includemigration,range,reversibleorrunbook, and in any case_VOCAB_RE/_WIDE_VOCAB_REonly match keys IN that vocabulary at all. So the block cannot create a newPinSite/NonPinSite, cannot movestanding_census, and cannot tripuncovered_sitesorvanished_members. Added the block. Verified empirically too:tests/doc-health/test_sentinel_vocabulary.py's(75, 28)standing-census assertion still passes post-commit (see Validators below) — same 42-item suite, same 1 selected/41 deselected shape when isolated.Two commits, not one (disclosed; branch protection blocked the alternative)
The pin-bump commit (
0a4ce3b6, pushed first) madetests/openxdox_pin/test_openxdox_pin_verifier.py::test_ruling_q7_two_direct_upstreams_in_lockstepfail: its REAL lockstep assertion (opendox_pin["commit"] == derived_pin["commit"]) is unaffected and still passes, but a second, redundant assertion hardcoded openDox's commit as of PR #932 ("49a99df2...") — stale the moment this PR's pin bump landed. Full-tree search (including short-form) found no other stale reference to either superseded commit outside the two submodules; the one other hit is a dated historical review doc underopenspec/changes/, correctly frozen and out of this PR's/this lane role's scope.I tried to keep this to the required ONE commit via
git commit --amend+--force-with-lease, butopensoft/openxFactory's branch protection onpin/lockstep-2026-09-11refuses any force-push (GH013: Cannot force-push to this branch). Rather than leave the suite red or fight branch protection, I pushed the fix as a second, small, fast-forward commit (44eb0ed1): the pin bump, then the one-line test-literal fix it made necessary. Both commits carry theLane:/Refs #656/Co-Authored-By:trailers. Squash subject and body for the merge (so the landed history is the one commit the chain requires):Validators (run against HEAD
44eb0ed1)Lands via the lane's plain gate — no
openspec/changes/,.gitmodules,pin_class.py, sentinel-vocabulary test,.github/, or carve-manifest touch in this diff, so Rule 6's LANDING/LANDED window does not apply.🤖 Generated with Claude Code
Summary by Sourcery
Synchronize openDox and openXdox product pins with their updated commits and digests while recording the required migration schema at the root.
New Features:
Bug Fixes:
Enhancements:
Tests: