Skip to content

openDox root: bump code to da8aae96 and spec to 1a216ea4 (Q-L8 (a), BUILD slices 1+2) - #5

Merged
brettheap merged 1 commit into
mainfrom
pin/legs-2026-09-11
Sep 11, 2026
Merged

brettheap merged 1 commit into
mainfrom
pin/legs-2026-09-11

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Refs opensoft/openXfactory#656 — BUILD arc, routine leg pin-sync at the openDox
assembly root. Step 1 of a three-step lockstep chain: openXdox's
contracts/opendox-pin.yaml (step 2) and openxFactory's openDox gitlink +
pins (step 3) follow this landing.

CLAIM: opensoft/openXfactory#656 (comment)
(lane openxfactory-4-opendox-extraction, session openxfactory-90). Sibling
search: gh pr list --repo opensoft/openDox --state open = none; issue #656
searched for an existing claim on this root's leg pins — none found.

What moved, in the one commit

Both legs' three-fact invariant (README ## The lockstep invariant;
scripts/validate-pins.py):

fact code leg spec leg
gitlink da8aae969b4057bd46d2550c265e5bb363142458 1a216ea413cdcc14791aa3939712e2e459cfa6b6
contracts/<role>-pin.yaml commit: same same
digests.tree_sha256: 425c00fdc121d0be4b0412d2c3d46361a51d627ddb80d1ee9b2b7df02aef6d4b 7a3586018c68cba00ea675d362eb3142dd5521a2bd6635bc2be9a20895b498a6
was ce53b489f8007c37f70da19c90c95ba89156feed fc67332d5ef203624d5c557f7c53d1f134d6d2ea
  • code — opensoft/openDox-code#9 (BUILD arc slice 2, the openDox side:
    4 of 13 import-time back-imports converted to a late-bound seam), merged
    2026-09-11T01:15Z. Preceded by Q-L8 (a) round 4, opensoft/openDox-code#8
    to 8e9ffa62 (the two Q-L1 seams shipped in the wheel).
  • spec — opensoft/openDox-spec#6 (BUILD arc slice 1, the
    stale-citations erratum in the session runbook), merged 2026-09-10T23:26Z.

Both digests recomputed under sorted-ls-tree-r-v1 via this repository's own
scripts/repo_shape.py::tree_digest (not reimplemented) — cross-checked
against an independently hand-rolled git ls-tree -r -z reduction for each
leg separately; both agree exactly.

What did NOT move (deliberately)

  • contracts/manifest.yaml's carved_from: block — untouched (still
    b075fd91dc8fced8e1373825ba80220c33536bae / opendox-carve-0).
  • No .github/workflows/*.yml carries an @<sha> reference to either leg
    repository, so the lockstep invariant's third fact has no member here.
  • contracts/code-pin.yaml / spec-pin.yaml: nothing beyond commit: and
    digests.tree_sha256: changed (this root's pin schema has no pinned_at
    or similar field to touch).

Verification

$ git -C code cat-file -t da8aae969b4057bd46d2550c265e5bb363142458
commit
$ git -C spec cat-file -t 1a216ea413cdcc14791aa3939712e2e459cfa6b6
commit

make validate (both submodules initialised at their new pins, staged before
running) — exit 0:

python3 scripts/validate-repository-naming.py --project project.yaml
  openDox                          neutral-product/assembly   also_matches project-leg/assembly
  openDox-spec                     project-leg/spec
  openDox-code                     project-leg/code
python3 scripts/validate-manifest.py
manifest ok: openDox (opendox), 3 legs
python3 scripts/validate-pins.py
  ok  spec: gitlink == contracts/spec-pin.yaml commit 1a216ea413cd
  ok  spec: tree digest recomputes (7a3586018c68...)
  ok  code: gitlink == contracts/code-pin.yaml commit da8aae969b40
  ok  code: tree digest recomputes (425c00fdc121...)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok

scripts/verify-carve-arrival.py --assembly-root opensoft/openDox --dest-root <this checkout> --source-repo <openxFactory checkout> --phase B (run from an
openxFactory checkout per its own convention — the script lives in
openxFactory's scripts/, not vendored into openDox):

OK <dest-root>: assembly root opensoft/openDox (destination opendox_root) -
carved_from opensoft/openxFactory@b075fd91dc8f, which is
opensoft/openxFactory@b075fd91dc8f (opendox-carve-0)

Exit 0. carved_from unchanged, as expected for a leg-only bump.

Not done here

  • openXdox's own contracts/opendox-pin.yaml — a separate, later act at a
    different repository (step 2 of the lockstep chain).
  • openxFactory's openDox gitlink + pin — step 3, after step 2 lands.

Lands via the lane's destination gate.

🤖 Generated with Claude Code

Summary by Sourcery

Update the openDox assembly root to the latest coordinated code and specification revisions.

Enhancements:

  • Synchronize the openDox code and specification submodules with their updated upstream commits and corresponding tree digests.

Tests:

  • Validate the updated submodule pins, tree digests, repository manifest, and carve provenance.

…UILD slices 1+2)

Move both legs in the one commit the lockstep invariant requires
(README.md#the-lockstep-invariant; scripts/validate-pins.py):

| fact | code leg | spec leg |
|---|---|---|
| gitlink | da8aae969b4057bd46d2550c265e5bb363142458 | 1a216ea413cdcc14791aa3939712e2e459cfa6b6 |
| contracts/<role>-pin.yaml commit: | same | same |
| digests.tree_sha256: | 425c00fdc121d0be4b0412d2c3d46361a51d627ddb80d1ee9b2b7df02aef6d4b | 7a3586018c68cba00ea675d362eb3142dd5521a2bd6635bc2be9a20895b498a6 |
| was | ce53b489f8007c37f70da19c90c95ba89156feed | fc67332d5ef203624d5c557f7c53d1f134d6d2ea |

code: opensoft/openDox-code#9, "BUILD § 3.5/3.6: openDox stops requiring its
consumer at import time" (Q-L8 (a) round 4, #8, -> 8e9ffa62 preceded it; #9 is
BUILD arc slice 2, the openDox side), merged 2026-09-11T01:15Z.

spec: opensoft/openDox-spec#6, "BUILD § 3.6: record 10 stale citations the
carve left in the session runbook" (erratum; split-opendox slice 1), merged
2026-09-10T23:26Z.

Both digests recomputed under sorted-ls-tree-r-v1 via this repository's own
scripts/repo_shape.py::tree_digest (not reimplemented), cross-checked against
an independently hand-rolled git ls-tree -r -z reduction; both agree exactly.

contracts/manifest.yaml's carved_from block is untouched (still
b075fd91dc8fced8e1373825ba80220c33536bae / opendox-carve-0); no
.github/workflows/*.yml carries an @<sha> reference to either leg repository,
so the lockstep invariant's third fact has no member here (make validate: 0
findings).

Step 1 of the lockstep chain: openXdox's contracts/opendox-pin.yaml and
openxFactory's openDox gitlink + pins follow.

Refs opensoft/openXfactory#656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 03:13
@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026 •

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

Reviewer's Guide

This PR performs the first root-level step of the lockstep chain by updating the code and spec submodule gitlinks to their new commits and synchronizing each pin file's commit and sorted-ls-tree-r-v1 digest. It intentionally leaves carve provenance unchanged and records successful repository, pin, digest, and carve-arrival validation; downstream openXdox and openxFactory pin updates are deferred.

File-Level Changes

Change Details Files
Advance both assembly submodule legs and synchronize their declared commits and tree digests.
  • Move the code gitlink to the new openDox-code commit.
  • Update the code pin commit and recomputed tree digest.
  • Move the spec gitlink to the new openDox-spec commit.
  • Update the spec pin commit and recomputed tree digest.
code
spec
contracts/code-pin.yaml
contracts/spec-pin.yaml
Preserve the assembly provenance and validate the lockstep pin invariant.
  • Leave the carved-from manifest provenance unchanged.
  • Verify submodule objects, pin/gitlink equality, tree digest recomputation, repository shape, manifest, and carve-arrival checks.
  • Defer corresponding pin updates in openXdox and openxFactory to later lockstep steps.
contracts/manifest.yaml
scripts/validate-pins.py
scripts/repo_shape.py
README.md

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

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@sonarqubecloud

Copy link
Copy Markdown

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

Pins and digests are synchronized, validation passes, and there are no unresolved review comments.

Pull request overview

Synchronizes the openDox assembly root with updated code and specification revisions.

Changes:

  • Updates the spec commit and tree digest.
  • Updates the code commit and tree digest.
  • Preserves lockstep validation.
File summaries
File Description
contracts/spec-pin.yaml Records the new spec commit and tree digest.
contracts/code-pin.yaml Records the new code commit and tree digest.
Review details
  • Files reviewed: 4/4 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.

@brettheap
brettheap merged commit 44679fa into main Sep 11, 2026
4 checks passed
brettheap added a commit to opensoft/openXfactory that referenced this pull request Sep 11, 2026
…6415 (chain step 3; § 4.2 fields at the root) (#952)

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…).
- tests/openxdox_pin/test_openxdox_pin_verifier.py: one stale literal moved
  in lockstep alongside the bump.
- tests/opendox_pin: a positive test for the § 4.2 migration block (the
  Copilot thread), asserting the block and its ruling citation are present
  and identical across the direct and derived pin records.

Verified: verify-opendox-pin.py OK (lockstep confirmed), verify-openxdox-pin.py
OK, validate-carve-manifest.py OK (456 rows), sentinel-vocabulary standing
census unchanged at (75, 28); pytest-suite run 34590449354 success at HEAD.
Three Copilot threads taken and resolved.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 11, 2026
…proxy; BUILD slice 1b) (#6)

Lane: openxfactory-4-opendox-extraction
Refs opensoft/openXfactory#656

The openDox assembly root advances both leg gitlinks to the legs' main in
lockstep with their pin files: code/ da8aae96 → a99eba03 (openDox-code #11,
§ 4.3 lazy proxy — profile_openxfactory registered by the host at process
start, read by build_parser() and build_server()) and spec/ 1a216ea4 →
a8f5eb73 (openDox-spec #7, BUILD slice 1b — the ten stale citations
corrected in place inside the Q-L1 declared lines). contracts/code-pin.yaml
and contracts/spec-pin.yaml carry the new commits and their
sorted-ls-tree-r-v1 tree digests, computed with the root's own
scripts/repo_shape.py tree_digest and cross-checked by hand; manifest and
CHANGELOG untouched, as in #5. Four files, one commit; validate green at
612f379; Copilot approval recommended, no threads.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 30, 2026
…ps 1–2) (#16)

Plan 034, task **T062**, slice **P2-D** (the openDox root pin, phase 2). The plan is
`specs/034-opendox-standalone-operation/tasks.md` at opensoft/openxFactory `main`
`39f19145`. This PR realizes box **9.5 (part)** of the ratified
`add-neutral-product-standalone-operability`, as T090 steps 1-2.

Arc: neutral-product-standalone-operability

- **Claim:** openxFactory#656 comment [`5917907106`](opensoft/openXfactory#656 (comment)).
- **Landing word:** Brett's "land phase 2 when green", as this lane's phase-2 claims quote it (for example #656 comment `5901343950`). The holder's lander merges; this writer does not.

## What changes -- THE PIN THIS PR DELIVERS IS `047bb4fa394f3e1bf42466062a67ef18e99f8d6a`

ONE commit (`ef7e83f7`, this PR's head) moves exactly two things, as T039 (#13) did:

| file | before | after |
|---|---|---|
| `code` (gitlink) | `2d116415159b721b55613fe20a159afc46202d1f` | `047bb4fa394f3e1bf42466062a67ef18e99f8d6a` |
| `contracts/code-pin.yaml` `commit:` | `2d116415159b721b55613fe20a159afc46202d1f` | `047bb4fa394f3e1bf42466062a67ef18e99f8d6a` |
| `contracts/code-pin.yaml` `digests.tree_sha256` | `322f8105d15cf01582dae8771fce2cc6ca9120e5b6bca2750898e872cb6a26e2` | `97536dbe7454ac062cc8fd3e34fd15a32eee52213f0292042b243f7e5c699a02` |

Diffstat: 2 files, 3 insertions, 3 deletions. The `spec` leg and `contracts/spec-pin.yaml` are untouched.

**No workflow file moves.** No `.github/workflows/*.yml` references the code leg by
`@<sha>`. Checked here with `grep -rnE "openDox-code[^ ]*@[0-9a-f]{40}" .github`, which finds
nothing; the only 40-hex `uses:` pin in the tree is `actions/create-github-app-token@fee1f7d6...`,
an unrelated action. `validate-pins.py`'s own workflow check (`WORKFLOW_REF_RE`) raises no finding.

## Dependencies (T062's `After:` line) -- ALL LANDED

T062 is `After: T054-T058 (every phase-2 openDox-code landing), T039 (the root pin's single-writer order)`,
and comes after T053's spec pin and bundle in this root.

| task | state | landed as |
|---|---|---|
| T053 (spec pin and bundle, this root) | landed | openDox-spec#16 -> `f7ee3c76`; openDox#14 -> `52005213` (tag `dox-v1.1`, tag object `851a28e9`); openDox#15 -> `66758438` |
| T039 (phase 1's root pin, single-writer order) | landed | openDox#13 -> `663ac683` |
| T054 | landed | openDox-code#57 -> `a691e4e4` (mergedAt 2026-09-30T00:32:48Z) |
| T057 | landed | openDox-code#58 -> `8ec08e91` (2026-09-30T15:01:12Z) |
| T055 | landed | openDox-code#59 -> `fa140875` (2026-09-30T17:12:43Z) |
| T055 follow-up | landed | openDox-code#70 -> `75bd8703` (2026-09-30T18:19:46Z) |
| T056 | landed | openDox-code#66 -> `a23e4224` (2026-09-30T18:28:21Z) |
| T058 | **landed** | openDox-code#68 -> `047bb4fa` (**mergedAt 2026-09-30T19:07:35Z**) |

**`047bb4fa394f3e1bf42466062a67ef18e99f8d6a`** is openDox-code `main`'s tip now that T058 has landed
(`gh api repos/opensoft/openDox-code/commits/main --jq .sha` at this PR's opening), and is the ONLY commit
this PR pins. Its first-parent history above the phase-1 pin `2d116415` is exactly nine landings, every
phase-2 openDox-code task: T050 `dc3765dd` (#53), T051 `86647320` (#56), T052 `fa8862cc` (#54), T054, T057,
T055 with its follow-up, T056 and T058 (`git log --first-parent 2d116415..047bb4fa` in the `code` submodule).
`2d116415` is an ancestor of `047bb4fa`, so this is an ancestor move.

## Falsifier

`make pins` in the openDox root, **at this PR's head** (`ef7e83f7`, pinning `047bb4fa`):

```
$ make pins
python3 scripts/validate-pins.py
  ok  spec: gitlink == contracts/spec-pin.yaml commit f7ee3c763b3a
  ok  spec: tree digest recomputes (e81f8530d93e…)
  ok  code: gitlink == contracts/code-pin.yaml commit 047bb4fa394f
  ok  code: tree digest recomputes (97536dbe7454…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
```

The repo's own `make validate` (naming + manifest + lockstep pins) also passes at this head, exit 0:

```
$ make validate
python3 scripts/validate-repository-naming.py --project project.yaml
  openDox                          neutral-product/assembly   also_matches project-leg/assembly
  openDox-spec                     project-leg/spec
  openDox-code                     project-leg/code
python3 scripts/validate-manifest.py
manifest ok: openDox (opendox), 3 legs
python3 scripts/validate-pins.py
  ok  spec: gitlink == contracts/spec-pin.yaml commit f7ee3c763b3a
  ok  spec: tree digest recomputes (e81f8530d93e…)
  ok  code: gitlink == contracts/code-pin.yaml commit 047bb4fa394f
  ok  code: tree digest recomputes (97536dbe7454…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
```

Before the commit, with the gitlink not yet recorded, the same `make pins` reported
`FINDING pin-gitlink-mismatch` (recorded gitlink `2d116415` vs pin file `047bb4fa`), exit 2, with the digest
line already `ok`. That is the lockstep rule working, and is why the gitlink and the pin file are one commit.

## The digest, and how it was recomputed independently

`97536dbe7454ac062cc8fd3e34fd15a32eee52213f0292042b243f7e5c699a02` is `sorted-ls-tree-r-v1` over
`047bb4fa394f3e1bf42466062a67ef18e99f8d6a` (299 records), the definition in `contracts/code-pin.yaml`'s own
header. Four methods, none of them copied from another, gave the same value:

| method | result |
|---|---|
| A. standalone Python that does NOT import `repo_shape` (split `git ls-tree -r -z` on NUL, drop empties, sort bytewise, sha256 of each record plus `\n`), in the `code` submodule's own object store | `97536dbe...9a02`, 299 records |
| B. shell only: `git ls-tree -r -z <sha> \| tr '\0' '\n' \| LC_ALL=C sort \| sed '/^$/d' \| sha256sum` | `97536dbe...9a02` |
| C. the repo's own `scripts/repo_shape.py::tree_digest(Path('code'), <sha>)`, the function `validate-pins.py` recomputes with | `97536dbe...9a02` |
| D. the forge's own data: `gh api repos/opensoft/openDox-code/git/trees/<sha>?recursive=1` (not truncated), tree rows dropped, `mode type sha TAB path` rows sorted and hashed, no clone involved | `97536dbe...9a02`, 299 records |

**Sanity check on the method first.** Before trusting methods A and B on the new commit, they were run on the
commit the repo already trusts, `2d116415159b721b55613fe20a159afc46202d1f`, and both reproduced the existing
`contracts/code-pin.yaml` value `322f8105d15cf01582dae8771fce2cc6ca9120e5b6bca2750898e872cb6a26e2` exactly
(219 records). Only then were they applied to `047bb4fa`.

## Not this PR

- `contracts/CHANGELOG.md` is not edited. A code-pin move carries no CHANGELOG line: #13 and every earlier
  code-leg bump (#5 to #10) changed only the gitlink, `contracts/code-pin.yaml`, and, in #5, #6 and #10, the
  spec pair too, and the `code` leg carries no contract bytes (`contracts/manifest.yaml`: "THE CODE LEG
  CONTRIBUTES NO ENTRY"). The
  `dox-v1.1` section still names `2d116415` in its bundle table because it describes the bundle at the tagged
  commit `52005213`, which it still does. One dated line does read differently after this lands: the
  `## Unreleased` bullet dated 2026-09-29 says `contracts/code-pin.yaml` "still pins `2d116415`". It is a dated
  snapshot and is left as written; refreshing it is a holder call, not part of T090's steps 1-2.
- No bundle is cut. T053's `dox-v1.1` is phase 2's one bundle (T090), and the `dox-v1.1` tag is over `52005213`,
  untouched.
- The `spec` leg, `contracts/spec-pin.yaml`, `contracts/manifest.yaml`, and every workflow file are untouched.
- The consumer side is not this PR's. T059 (openXdox-code, `After: T062`) moves `pyproject.toml`'s `opendox @`
  to this same openDox-code commit (T090 step 3), and T064 (T090 steps 5-6) moves the openXdox root to T061's
  commit and to this PR's root commit, and openxFactory's pin pairs with them.

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

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


Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants