Skip to content

openDox root: bump code to a99eba03 and spec to a8f5eb73 (§ 4.3 lazy proxy; BUILD slice 1b) - #6

Merged
brettheap merged 1 commit into
mainfrom
pin/legs-after-4-3-and-1b
Sep 11, 2026
Merged

brettheap merged 1 commit into
mainfrom
pin/legs-after-4-3-and-1b

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

Refs opensoft/openXfactory#656 — routine leg pin-sync at the openDox assembly
root, advancing both legs to their current main.

Sibling search: gh pr list --repo opensoft/openDox --state open = none before
this branch was pushed.

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 a99eba03e31a0aee1cc15a061fdf718cc88a2c44 a8f5eb73671c209871bc1598fe95ddf83b99ce24
contracts/<role>-pin.yaml commit: same same
digests.tree_sha256: 80913dc9392e79182a0b7c3b7684f6ad029ddb90b9a62c8e9328031a4e8d0c22 658c034d6eba529ff19c6d776ddcfb87ed36633ae413a5e3b776fdad4e455e16
was da8aae969b4057bd46d2550c265e5bb363142458 1a216ea413cdcc14791aa3939712e2e459cfa6b6
  • code — opensoft/openDox-code#11 (§ 4.3 lazy proxy: profile_openxfactory
    becomes a lazy proxy registered by the host at process start, read by both
    composition points), merged 2026-09-11T19:04Z.
  • spec — opensoft/openDox-spec#7 (BUILD § 3.6, split-opendox slice 1b:
    the 10 stale citations corrected in place, inside the Q-L1 declared lines),
    merged 2026-09-11T17:44Z.

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.

Files changed: code, spec (gitlinks), contracts/code-pin.yaml,
contracts/spec-pin.yaml — exactly the shape of the prior bump, PR #5.

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/CHANGELOG.md — untouched, matching PR openDox root: bump code to da8aae96 and spec to 1a216ea4 (Q-L8 (a), BUILD slices 1+2) #5's precedent (no
    per-bump line kept there for a routine leg-only bump).

Verification

$ git -C code cat-file -t a99eba03e31a0aee1cc15a061fdf718cc88a2c44
commit
$ git -C spec cat-file -t a8f5eb73671c209871bc1598fe95ddf83b99ce24
commit

make validate (both submodules initialised at their new pins) — 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 a8f5eb73671c
  ok  spec: tree digest recomputes (658c034d6eba…)
  ok  code: gitlink == contracts/code-pin.yaml commit a99eba03e31a
  ok  code: tree digest recomputes (80913dc9392e…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok

Not done here

  • No merge — the lane lands this.

🤖 Generated with Claude Code

Summary by Sourcery

Enhancements:

  • Synchronize the openDox code and spec legs with their latest commits and update the corresponding lockstep pin metadata and tree digests.

…proxy; BUILD slice 1b)

Both legs' three-fact invariant (contracts/*-pin.yaml, scripts/validate-pins.py):

| fact | code leg | spec leg |
|---|---|---|
| gitlink | a99eba03e31a0aee1cc15a061fdf718cc88a2c44 | a8f5eb73671c209871bc1598fe95ddf83b99ce24 |
| contracts/<role>-pin.yaml commit: | same | same |
| digests.tree_sha256: | 80913dc9392e79182a0b7c3b7684f6ad029ddb90b9a62c8e9328031a4e8d0c22 | 658c034d6eba529ff19c6d776ddcfb87ed36633ae413a5e3b776fdad4e455e16 |
| was | da8aae969b4057bd46d2550c265e5bb363142458 | 1a216ea413cdcc14791aa3939712e2e459cfa6b6 |

- code: opensoft/openDox-code#11 (§ 4.3, profile_openxfactory becomes a lazy
  proxy registered by the host at process start), merged 2026-09-11T19:04Z.
- spec: opensoft/openDox-spec#7 (BUILD § 3.6, split-opendox slice 1b, the 10
  stale citations corrected in place), merged 2026-09-11T17:44Z.

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

No .github/workflows/*.yml carries an @<sha> reference to either leg
repository, so the lockstep invariant's third fact has no member here.
contracts/manifest.yaml's carved_from: block is untouched.

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

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 20:47
@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026

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

Reviewer's Guide

This routine lockstep bump advances the code leg to the lazy-proxy implementation and the spec leg to the BUILD slice 1b corrections, updating each gitlink plus its contract pin and tree digest while leaving manifest provenance, workflows, and changelog unchanged.

File-Level Changes

Change Details Files
Advanced the code and spec submodule pins and synchronized their recorded commit and tree-digest metadata.
  • Moved the code gitlink to a99eba03 and updated its lockfile commit and digest.
  • Moved the spec gitlink to a8f5eb73 and updated its lockfile commit and digest.
  • Preserved the repository’s lockstep invariant and validated both submodule commits and recomputed tree digests.
code
spec
contracts/code-pin.yaml
contracts/spec-pin.yaml

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

@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

No unresolved review issues were reported.

Pull request overview

Synchronizes the openDox code and spec legs with updated commits and matching pin metadata.

Changes:

  • Updates both gitlink references.
  • Refreshes commit pins and tree digests.
File summaries
File Description
contracts/spec-pin.yaml Updates the spec commit and tree digest.
contracts/code-pin.yaml Updates the 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 marked this pull request as ready for review September 11, 2026 20:49

@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 2 days and 20 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap
brettheap merged commit 8ec3036 into main Sep 11, 2026
4 checks passed
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