Skip to content

openDox root: bump code to 1e469713 (S5 leg B gate loop, S7 class C parameterized) - #8

Merged
brettheap merged 1 commit into
mainfrom
chore/pin-code-to-s5-s7-landings
Sep 15, 2026
Merged

brettheap merged 1 commit into
mainfrom
chore/pin-code-to-s5-s7-landings

Conversation

@brettheap

@brettheap brettheap commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5656720756.

First leg of pin lockstep #2, on pin lockstep #1's own precedent (#7 → 7cf6c143): code (opensoft/openDox-code) advances 05bbde80 → 1e469713, carrying § 3.4 S5 leg B (#20 — the shell contributes the gate loop: six class-B modules leave, the registry mounts, requires acts, ViewBindingError surfaces; RULED Q1–Q12) and § 3.4 S7 (#21 — class C parameterized: the display facet, the context hop, the vocabulary by ROLE, and the four arrived Act-1 suites nobody had run since the carve). spec unchanged at a8f5eb73.

from to
code gitlink + contracts/code-pin.yaml commit: 05bbde80… 1e4697130855e9695a6acc3344b7c925bb3eeb09
contracts/code-pin.yaml digests.tree_sha256 98634678… efb196d2a56b1ffa4f721b3944db85d3abe227b97f95b7b462ccecfc11ea257c

Two files, exactly the two #7's precedent predicts. The digest is sorted-ls-tree-r-v1 recomputed from the submodule's own object store, not retyped.

$ 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 1e4697130855
  ok  code: tree digest recomputes (efb196d2a56b…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
                                                            [exit 0]

$ python3 scripts/validate-manifest.py
manifest ok: openDox (opendox), 3 legs
                                                            [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
                                                            [exit 0]

🤖 Generated with Claude Code

Summary by Sourcery

Advance the openDox code leg and its integrity pin to the latest validated revision.

Enhancements:

  • Advance the openDox code dependency to include the S5 leg B gate-loop coverage and S7 parameterized class-C coverage.

Chores:

  • Update the code pin and verified tree digest to commit 1e469713.

…arameterized)

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5656720756.

First leg of pin lockstep #2, on pin lockstep #1's precedent
(#7 -> 7cf6c14): `code` (opensoft/openDox-code) advances
`05bbde80` -> `1e469713`, carrying S 3.4 S5 leg B (opensoft/openDox-code#20
-> 8efb3cf5, the shell contributes the gate loop; RULED Q1-Q12) and S 3.4 S7
(opensoft/openDox-code#21 -> 1e469713, class C parameterized plus the four
arrived Act-1 suites). `spec` unchanged at `a8f5eb73`. Two files, the two #7
predicts; the digest is sorted-ls-tree-r-v1 recomputed from the submodule's own
object store, not retyped.

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

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

@sourcery-ai

sourcery-ai Bot commented Sep 15, 2026

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

Reviewer's Guide

This PR performs the second pin-lockstep update for openDox by moving the code submodule to 1e469713, which carries the S5 leg B gate-loop implementation and S7 parameterized class-C suites, and synchronizes its contract commit and tree digest. The change is limited to the code gitlink and its pin metadata; spec remains unchanged, with repository, manifest, and pin validations reported passing.

File-Level Changes

Change Details Files
Advance the openDox code leg to the commit containing the S5 leg B gate-loop behavior and S7 parameterized class-C coverage.
  • Move the code submodule gitlink from 05bbde80 to 1e469713.
  • Update the pinned code commit to the full 1e4697130855e9695a6acc3344b7c925bb3eeb09 revision.
  • Refresh the sorted-ls-tree-v1 SHA-256 digest for the new code revision.
code
contracts/code-pin.yaml
Preserve repository lockstep and validation invariants for the updated code pin.
  • Keep spec and shape pins unchanged while aligning the code gitlink and contract metadata.
  • Validate commit equality, tree digest recomputation, copied shape files, manifest structure, and repository naming.
contracts/code-pin.yaml
code

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.

🔵 Needs a closer look

Final human approval is prudent for this dependency and integrity-pin update.

Pull request overview

Advances the openDox code dependency to revision 1e469713, including S5 leg B and S7 coverage.

Changes:

  • Updates the code gitlink and commit pin.
  • Records the matching verified tree digest.
File summaries
File Description
contracts/code-pin.yaml Updates the pinned code commit and integrity digest.
Review details
  • Files reviewed: 2/2 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 3819625 into main Sep 15, 2026
4 checks passed
brettheap added a commit to opensoft/openXdox that referenced this pull request Sep 15, 2026
…uted) and openDox pin to 3819625e (S5/S7 landings) (#10)

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5656720756.

Second leg of pin lockstep #2, on #9 -> 76df74c's precedent:
`code` (opensoft/openXdox-code) advances `d6e7bbe3` -> `c1ad341a` (S 3.4 S5
leg A, #18 - six ViewBindings contributed, their bytes as package data, the
assembly seam; NOT #19, which lands later after openxFactory#1025), and
`contracts/opendox-pin.yaml` advances `7cf6c143` -> `3819625e` to match
opensoft/openDox#8. `spec` unchanged at `ae59dfa5`.

`contracts/opendox-pin.yaml` moves in the SAME commit because openxFactory's
`scripts/verify-opendox-pin.py` check 5 reads THIS file as a git BLOB out of
this repository's object store, at whatever commit openxFactory's `openXdox`
gitlink names, and refuses `opendox-pin-lockstep-mismatch` the moment it
disagrees with openxFactory's own direct pin of openDox.

Three files, the three #9 predicts. `digest_source` does not move: it is
already `local-checkout`.

Gate evidence: `validate` SUCCESS at `f2a555b66abdb364c30ea0ef79de6ac2a2f7febd` (base confirmed `main`);
`scripts/validate-pins.py` recomputes the tree digest and confirms gitlink/pin-file
lockstep (`pins ok`); `validate-manifest.py` and `validate-repository-naming.py`
also pass; 0 review thread(s), 0 unresolved.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@brettheap
brettheap deleted the chore/pin-code-to-s5-s7-landings branch September 15, 2026 22:02
brettheap added a commit to opensoft/openXfactory that referenced this pull request Sep 15, 2026
…1054)

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

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

Third and final leg of pin lockstep #2, after opensoft/openDox#8 and
opensoft/openXdox#10. Precedent #1020 -> 5488529: two gitlinks, two
pin YAMLs, one test literal.

  openDox  gitlink + contracts/opendox-pin.yaml  7cf6c143 -> 3819625e
           digests.tree_sha256                   46f49679 -> 40c6216c
  openXdox gitlink + contracts/openxdox-pin.yaml 76df74c8 -> a6500141
           digests.tree_sha256                   a0a4a22f -> 47a420da
  tests/openxdox_pin/...::test_ruling_q7_two_direct_upstreams_in_lockstep
                                                 7cf6c143 -> 3819625e

Nine files, not five: the five pin mechanics above plus FOUR consumer files
the bump forces - three edited, one deleted.

(1) tests/ideation-dashboard/test_lens.py - GATE_LENS_JS re-homed from the
opendox_code mount to the openxdox_code one, because S 3.4 slice S5 (RULED Q5)
moved views/gate-lens.js to openXdox-code where it ships as package data. The
dead `shutil.copy(LENS_MODEL_JS, tmp_path / "lens-model.js")` goes with it:
RULED counterpart Q6 removed that static import. Measured 1124 passed/13
skipped before, 2 failed without the fix, 1124 passed/13 skipped with it.

(2) tests/test_engineering_profile_display_facet.py, plus the DELETION of
tests/fixtures-opendox-display-facet-schema.yaml. This one was NOT found by
the pre-PR rehearsal - it was found by pytest-suite failing on this PR at
`15d0a9e9` (run 35028710746: one failed, 7409 passed, 6 skipped), and this
message said "six files" until it did. The rehearsal ran
tests/ideation-dashboard, tests/{opendox,openxdox}_pin, tests/carve_manifest
and tests/carve_arrival and concluded "no OTHER consumer breaks"; that held
only for the directories it ran. A rehearsal proves the scope it covers.

The failing test was PLANTED to fail here - "If this starts failing because
`from opendox import display_profile` now succeeds, that is GOOD NEWS (the pin
advanced past #21) and the fix is to delete the vendored fixture and simplify
the test above to the live path only". Verified in the pinned checkout's own
object store, not inferred: src/opendox/display_profile.py is ABSENT at
`a99eba03` and `05bbde80`, PRESENT at `1e469713`, with normalize_display at
:445. Not a pre-existing red: pytest-suite run 35026939157 at main `b3a75537`,
this branch's own base, concluded success. The replacement is stronger than
what it replaces - the fallback validated the facet against a vendored COPY of
#21's schema, which can drift; the live path hands it to openDox's real
normalize_display, so #21's refusals are enforced by the module that owns
them. Measured after: that file's 16 remaining tests pass at the new pin.

(3) scripts/profile_openxfactory.py, and (4) a second docstring inside the
same test file. Both were found by COPILOT, in rounds 2 and 3 on this PR, and
both were the same class: prose stating what IS pinned, made false by the bump.
`_display_facet` still said the schema is "NOT YET PINNED" and named
`a99eba03`; the identical-object test still said
`opendox.view_extension.host_profile_name()` "is not importable at this
repository's PINNED openDox commit" - measured, it IS importable at the new
leg. Round 2 caught a third: the module docstring left describing the fallback
the seventh-file commit had just deleted.

After round 3 the whole repository was swept for `a99eba03` rather than
fixing only the flagged lines. About ten more mentions were found and every
one was deliberately LEFT: they are HISTORY, not claims about the current pin
- where a BUILD slice sat, the carve manifest's measurement notes and the
admissions file's `since:` fields, "the proxy landed as openDox-code #11
(`a99eba03`)", the tasks.md landing record, and this commit's own MIGRATION
DECLARATION chain. Rewriting those would falsify the record, not repair it.

SO THE COUNT MOVED THREE TIMES - six, then seven, then nine - and each move
was a review round finding a consumer the round before had not. That is the
same shape #1020 landed with ("Nine files, not the five ... plus four
consumer-test fixes the bump's own CI run forced across two follow-up
rounds"), and the same total. The lesson is recorded as residue on #656: a pin
bump's consumer surface is whole-repo, so the rehearsal that clears it must be
whole-repo, and run in a whole-repo CLONE.

Plain gate: pytest-suite run 35034584514 SUCCESS at `0d40d23c35d7d54c7d33690ed000fb3338fa0312`; all required
checks green; 2 thread(s) / 0 unresolved.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…ve) (#9)

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5699629088.

First leg of pin lockstep #3, on lockstep #2's precedent (#8 ->
3819625, LANDED note 5689609863): `code` (opensoft/openDox-code) advances
`1e469713` -> `0b4e8bbf`, carrying S 3.4 slice S8 leg B
(opensoft/openDox-code#23, LANDED note 5690615323): six pre-carve path
constants repaired - test_outline_model.py:22, test_doxbench_view.py:303,
test_doxbench_knowledge.py:31, test_doxbench_document_abstract.py:44,
test_doxbench_memory_gateway.py:32, test_bullseye_widget.py:1674 - each one the
reason a whole arrived suite could not run, and every one of them declared on
its own row in openxFactory#1025. That leg's own validate list went 10 files ->
27 and 283 -> 694 tests. RULED 5656343213, "the path constant moves, the file
does not". `spec` unchanged at `a8f5eb73`.

Two files, the two the lockstep invariant predicts for a leg with no workflow
@<sha> reference. The digest is sorted-ls-tree-r-v1 recomputed from the
submodule's own object store - 165 entries - and independently re-checked, not
retyped.

Gate evidence: `validate` run 35112642084 SUCCESS at `c46a352a3ce6a4931ba45fb7480d83938b66d482`; `validate-pins.py` `pins ok` (tree digest
recomputed, gitlink/pin-file lockstep confirmed); `validate-manifest.py` and
`validate-repository-naming.py` pass. Copilot's review at that head read from the BODY,
not the thread count: `5224471846`, "Approval recommended - No unresolved review
comments; the dependency pin and metadata are synchronized", files reviewed 2/2,
comments generated 0, and NO suppressed-comments section. 0 review threads / 0
unresolved.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 19, 2026
… 3.7 FLOOR PART 3, § 5.4 (d)) and spec to 8fe8c4c7 (four of the five § 6 re-homes) (#10)

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: [5738280604](opensoft/openXfactory#656 (comment)).

Runbook **Phase 3** — `docs/opendox-cutover-runbook.md`:1812, *"the assembly
roots: `carved_from` + gitlink + pin, ONE COMMIT"*. The second and last of the
pair; opensoft/openXdox#12 is the first.

## What moves — four paths, no fifth

| leg | gitlink + pin `commit:` | `digests.tree_sha256:` |
| --- | --- | --- |
| `code` | `0b4e8bbf…` → **`d816cf06f1c9752a39c2b71ba40adc4ae3f3bf66`** | `db8817dd…` → **`ac877e49b7ec001a22be21ce18021208e00f9d1d2c2ceb997b060a0b247fbcac`** |
| `spec` | `a8f5eb73…` → **`8fe8c4c71c4da8d363394441ad9e2c9547e540a3`** | `658c034d…` → **`f63c5b8fee6bf0fded4cb745555dea6427b274683c5d5bccac01c82e2b0fadbb`** |

```
 code                    | 2 +-
 contracts/code-pin.yaml | 4 ++--
 contracts/spec-pin.yaml | 4 ++--
 spec                    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
```

Each target is that repository's `main` tip, **measured at 2026-09-19T01:31Z**
and not carried forward. The runbook's pre-push object check (:1825-1830 — *git
stores a gitlink without checking the object is present, so a wrong pin commits
and pushes clean*): `git -C code cat-file -t d816cf06…` and `git -C spec
cat-file -t 8fe8c4c7…` both print `commit`, and both equal `origin/main` in
their own repository.

## What the advance carries — the largest of the arc

**`code`, nine commits** (64 files, 37 529 insertions, 1 358 deletions):

| | |
| --- | --- |
| `d816cf0` | § 3.6 follow-up #2: a linked worktree's metadata, and a store refusal that is a refusal (openDox-code#32) |
| `93ccc3d` | § 3.7 FLOOR PART 3, openDox side: the declared conformance factory and Q-F1's transposition (#31) |
| `5c86713` | § 3.6 follow-ups: the seven findings #26 registered, each with its case (#30) |
| `373b05a` | § 5.4 FLOOR PART 2 clause (d), openDox leg: the collection triple pinned on the required check (#29) |
| `4f8ae01` | § 3.6: openDox creates a repository as a first-class act, with RULING C3's conformant local-git adapter (#26) |
| `aca94ec` | § 3.5: the openDox runtime — FastAPI + Postgres, identity and coordination, and nothing else (RULED Q1/Q2) (#25) |
| `52b237e` | § 3.4 S7 residue: the display facet threaded to the seven leaves it never reached (#28) |
| `5c137a9` | § 3.4 RULED Q7: a contributed binding's CSS leaves `styles.css` for the binding's own sheet (#27) |
| `0e65b5f` | the two intent-feed DOM suites retired at this leg (#24) |

**`spec`, eight commits** (15 files, 3 636 insertions, 0 deletions):

| | |
| --- | --- |
| `8fe8c4c` | § 6.2 — the surviving `-v2` chat-turn family (openDox-spec#15) |
| `66d5977` | § 6.5 — `add-lens-document-selection`, the set-builder half (#14) |
| `3b7f80c` | § 6.3 — `add-doxchat-model-intake`, the model plane (#13) |
| `edeed08` | § 6.4 — `add-composed-view-authoring`, openDox's first OpenSpec change (#12) |
| `54e9107` | Front-end boundary note, amendment #3 (#11) |
| `7d12428` | Front-end boundary note, amendment #2 (#10) |
| `61866d2` | § 3.4 boundary note: the five rulings Q1–Q5 and the S1–S3 start (#9) |
| `a44ac06` | § 3.4 design note: the front-end package boundary (#8) |

**Taken with openXdox#12, this pair is the first moment BOTH roots name all five
§ 6 re-homes:** § 6.1's refresh lane is `openXdox-spec` `f088b097`, pinned by
#12; § 6.2–6.5 are `openDox-spec` `8fe8c4c7`, pinned here.

## The third fact-class is VACUOUS here, measured rather than assumed

`scripts/validate-pins.py` holds gitlink + pin-file `commit:` + **every**
`.github/workflows/*.yml` `<org>/<leg>@<sha>` reference as one invariant. This
root has one workflow and exactly one 40-hex `@sha` in it —
`actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349`
(`validate.yml`:104) — naming neither leg, so there is no third fact to move and
no *"workflow @&lt;sha&gt; reference(s) agree"* note is printed.
`neutral_product_pins: []` here, so unlike openXdox's root there is no
neutral-pin recheck either: **five `ok` lines, not six.** A grep for the two
outgoing shas across the whole tree finds them in exactly the two pin files and
nowhere else.

## Both digests recomputed, by two independent paths that agree

`sorted-ls-tree-r-v1`, via this repository's own `scripts/repo_shape.py` —
`tree_digest()` reads the submodule's **object store**, `tree_digest_from_gh()`
reads the **forge's** recursive tree listing:

```
code d816cf06f1c9  local=ac877e49b7ec001a22be21ce18021208e00f9d1d2c2ceb997b060a0b247fbcac
                   gh   =ac877e49b7ec001a22be21ce18021208e00f9d1d2c2ceb997b060a0b247fbcac  AGREE=True
spec 8fe8c4c71c4d  local=f63c5b8fee6bf0fded4cb745555dea6427b274683c5d5bccac01c82e2b0fadbb
                   gh   =f63c5b8fee6bf0fded4cb745555dea6427b274683c5d5bccac01c82e2b0fadbb  AGREE=True
```

Neither was retyped from anywhere.

## Verification — BEFORE and AFTER, the same five lines so they compare line for line

**BEFORE**, at root `c4c5014d9b39ac55e5df957db23a56db38847a6b`, legs initialized
with `git submodule update --init code spec` (never a bare `git add` of a
submodule):

```
  ok  spec: gitlink == contracts/spec-pin.yaml commit a8f5eb73671c
  ok  spec: tree digest recomputes (658c034d6eba…)
  ok  code: gitlink == contracts/code-pin.yaml commit 0b4e8bbf68fa
  ok  code: tree digest recomputes (db8817ddde1a…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
```
exit 0.

**AFTER**, at this branch's head:

```
  ok  spec: gitlink == contracts/spec-pin.yaml commit 8fe8c4c71c4d
  ok  spec: tree digest recomputes (f63c5b8fee6b…)
  ok  code: gitlink == contracts/code-pin.yaml commit d816cf06f1c9
  ok  code: tree digest recomputes (ac877e49b7ec…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
```
exit 0.

`make validate` — naming + manifest + pins, *what CI runs* — is green end to
end: `validate-repository-naming.py` exit 0 (`openDox
neutral-product/assembly`, `openDox-spec project-leg/spec`, `openDox-code
project-leg/code`), `validate-manifest.py` `manifest ok: openDox (opendox), 3
legs`, `validate-pins.py` `pins ok`.

## Negative control — so the green is not read as vacuous

With the gitlink moved and `contracts/code-pin.yaml` left at the old commit in
the working tree, the same command exits **1** with two findings:

```
FINDING pin-gitlink-mismatch: code: gitlink d816cf06f1c9752a39c2b71ba40adc4ae3f3bf66 != contracts/code-pin.yaml commit 0b4e8bbf68fabfcd65d4f0d80e619c20a013e888
FINDING pin-digest-mismatch: contracts/code-pin.yaml: digests.tree_sha256 ac877e49b7ec…
       recomputed at 0b4e8bbf68fa db8817ddde1a…
2 finding(s). THE LOCKSTEP RULE: …
```

Restored from the index and re-verified green. **The arm that has to fire, fires.**

## What deliberately does NOT move

`contracts/manifest.yaml` `carved_from` = `{opensoft/openxFactory,
b075fd91dc8fced8e1373825ba80220c33536bae}` — the CARVE commit, a provenance
record of an event (runbook § 1.1), not a pin that tracks a head; the runbook's
item (3) was discharged by the commit that wrote it. Also
`contracts/shape-pin.yaml`, `project.yaml`, and every other file.

## The downstream consequence, measured

openxFactory pins openDox **directly** (`contracts/opendox-pin.yaml` =
`c4c5014d…`, `openDox` gitlink = `c4c5014d…`) and openXdox's root pins it too
(`c4c5014d…`). `verify-opendox-pin.py` **check 5** compares those two
declarations **to each other**, not to openDox's current head — so this advance
breaks nothing: openxFactory continues to pin an older openDox root, which is
what a pin is for.

**Registered as the follow-up, not taken here:** advancing openxFactory to this
new root is a **three-repository** lockstep — openxFactory's `openDox` gitlink,
openxFactory's `contracts/opendox-pin.yaml`, and openXdox's
`contracts/opendox-pin.yaml` (read as a **blob** at whatever commit
openxFactory's `openXdox` gitlink names) must all name the same openDox commit
in one landing, or check 5 refuses `opendox-pin-lockstep-mismatch`.

## Sequencing, and what this PR is not

This is the Phase 3 **pin** act. § 3.8 (`tasks.md`:1517-1521) and § 4.6
(`tasks.md`:2049-2050) cut `dox-v1.0` / `xdox-v1.0` **in the assembly root**,
*"over the commit that names both legs"* — this commit is the first one that
names the landed legs. It **cuts nothing**: runbook § 9, Phase 6 (:2000) — *"the
tags (§ 3.8 and § 4.6). **BRETT'S ACT, ALWAYS.**"*

Sibling search before authoring: `gh pr list --repo opensoft/openDox --state
open` returned **zero** open pull requests at 2026-09-19T01:31:12Z.

🤖 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 21, 2026
…ee entries at the pinned spec leg, and the § 3.8 CHANGELOG entry (NO TAG) (#11)

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

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: [5767092136](opensoft/openXfactory#656 (comment)).

**Brett's act is the annotated tag over `<root sha>`; this PR is the entry
beside it (runbook § 9 Phase 6); RULING NEEDED 5738327369.** The `<root sha>` is
the commit this PR produces on `main` — it does not exist yet; this branch is
based on `d05e204e56ed7bca17ef7823e777cbb87e353960`, and the merge keeps the
same two legs, so the tagged commit will name code `d816cf06` and spec
`8fe8c4c7` plus these entries.

Under RULED **(a)** — Brett Heap, 2026-09-21, `opensoft/openxFactory` issue #656
comment [`5767052465`](opensoft/openXfactory#656 (comment)),
on the RULING NEEDED at [`5738327369`](opensoft/openXfactory#656 (comment)):

> **"(a) for both, cut the tags when the drafts are green."**

**This PR creates, moves and deletes NO TAG.** Runbook
`docs/opendox-cutover-runbook.md` § 9 Phase 6 — *"the tags (§ 3.8 and § 4.6).
**BRETT'S ACT, ALWAYS.**"* Opened as a **draft** for review; it lands only on
the operator's word.

## Two files, no third

```
 contracts/CHANGELOG.md  | 111 +++++++++++++++++++++++++++++++++++++++++++-
 contracts/manifest.yaml | 109 ++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 210 insertions(+), 10 deletions(-)
```

No pin, no gitlink, no workflow. `make validate` is green end to end and reports
**the same pin lines as before this commit**, because no pin moved:

```
  ok  spec: gitlink == contracts/spec-pin.yaml commit 8fe8c4c71c4d
  ok  spec: tree digest recomputes (f63c5b8fee6b…)
  ok  code: gitlink == contracts/code-pin.yaml commit d816cf06f1c9
  ok  code: tree digest recomputes (ac877e49b7ec…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
pins ok
```

## There is no schema for this file — measured, not assumed

The brief was to measure the manifest's own schema and any template *before*
inventing a shape. **There is none**, and the file already said so:

> *"Read `scripts/validate-manifest.py` before assuming something in this
> repository checks it: that validator reads `project.yaml`
> (`kind: project-manifest`), NOT this file … **This file is hand-authored and
> validated by nothing in this tree.**"*

Confirmed by reading that validator: its docstring and its whole
`WHAT IS CHECKED` list are about `project.yaml`, and the only `contracts/` paths
it opens are `<pin>-pin.yaml` and `repository-naming.yaml`. `contracts/manifest.yaml`
is also **not** one of `shape-pin.yaml`'s 10 digest-pinned shape copies, so
editing it trips no `shape-copy-drift` — also measured.

**Three spellings of the one concept exist in the family, and no code reads any:**

| tree | `kind:` | list key | bundle field |
| --- | --- | --- | --- |
| `opensoft/openDox`, `opensoft/openXdox` | `contract-manifest` (hyphen) | `entries:` | `none` → `dox-v1.0` here |
| `opensoft/openXwallet` — this file's own NAMED precedent | `contract_manifest` (underscore) | `contracts:` | `wallet-v1.5` |
| `opensoft/openxFactory` | *absent* | `contracts:` | `contract-v4.0` |

**The key is not being renamed.** openXwallet's own manifest states the rule
that settles it — *"Machine keys do NOT move in v1 (R2, LOCKED) … a rename
inside the move is unbisectable"* — and a first release is the worst moment to
rename the key a consumer would pin. Registered on #656; not decided here.

## Every row field is lifted from a family artifact; none is invented

| field | where it comes from |
| --- | --- |
| `id`, `path`, leg `repository`, leg `commit`, `sha256` | the five columns of openxFactory's **own contract-v4.0 relocation table** (`contracts/CHANGELOG.md`: *"manifest `id` \| path it held \| canonical home \| leg commit \| `sha256`, unchanged"*) — the table that shed two of these rows INTO this project |
| `type`, `contract_schema_version`, `release_member` | openxFactory's `contracts/hermes-runtime/contract-index.yaml` row fields, unchanged in spelling |

The one genuinely new thing: a row addresses a file in a **pinned submodule**
rather than in its own tree. That is what a three-repository project's bundle
*is* — the root holds no contract bytes and a consumer's pin points here, so the
bundle can only be the legs at the commits the pin files name. Each row's
`commit:` is exactly the value in `spec-pin.yaml` / `code-pin.yaml`, checked by
script below.

`adapter_owner:` and `intended_consumers:` are deliberately **omitted** —
nothing in this tree reads them, and a first bundle carrying fields no reader
consumes is decoration. Either is one additive line the day a consumer needs it.

## Membership was already RULED; it is not this project's to assert

openxFactory's contract-v4.0 entry:

> *"Inventory membership is catalog-driven from
> `contracts/hermes-runtime/contract-index.yaml`, not from `manifest.yaml` …
> `gate-action-record`, `xfactory-workbench-chat-turn` and
> `xfactory-workbench-model-catalog` ARE catalog release members and STAY
> release members, digested at the pinned spec legs … openxFactory no longer
> OWNS them but still CONSUMES them."*

I read that catalog: **51 rows, all `release_member: true`**, and
`ideation-workbench` is **not** among them — so its `false` is a measurement,
not a judgement. Declared release-surface rule, on openXwallet's precedent:
`dox-vN.M` selects `{ entry | entry.release_member == true }` — **by declared
field, never by a `contracts/schemas/` path heuristic**, which would break the
day this project publishes a schema of its own that is not a catalog member.

## What the bundle is

| leg | repository | commit | contract bytes |
|---|---|---|---|
| code | `opensoft/openDox-code` | `d816cf06f1c9752a39c2b71ba40adc4ae3f3bf66` | **none** — no `contracts/` path at any commit |
| spec | `opensoft/openDox-spec` | `8fe8c4c71c4da8d363394441ad9e2c9547e540a3` | the three schemas below |

| `id` | `sha256` | `release_member` |
|---|---|---|
| `xfactory-workbench-chat-turn` | `350bfedc0269…d3e691dc1d` | **true** |
| `xfactory-workbench-model-catalog` | `e563cc9fc6ed…9026aa021635` | **true** |
| `ideation-workbench` | `d304384911…651000faafc` | false |

**No contract byte moved to reach this bundle, and the two members prove it.**
Both carry at `8fe8c4c7` exactly the digests openxFactory recorded at
`contract-v3.7` and re-asserted at `contract-v4.0` (`350bfedc…`, `e563cc9f…`) —
**recomputed from the pinned leg's own object store**, never copied from that
table.

## Three self-checks run before the commit

A digest written by hand is a digest waiting to be wrong.

1. **Every row's `sha256` recomputed** from the pinned leg → **3 of 3 agree**;
   and every row's `commit:` / `repository:` compared to that leg's own pin file
   → agree.
   ```
     ok   xfactory-workbench-chat-turn       350bfedc…  release_member=True
     ok   xfactory-workbench-model-catalog   e563cc9f…  release_member=True
     ok   ideation-workbench                 d3043849…  release_member=False
   ALL ENTRIES VERIFIED
   ```
2. **The CHANGELOG's table cross-checked against the YAML rows** on path,
   `sha256` and `release_member`, plus both leg commits it quotes against the
   pin files → `CROSS-CHECK CLEAN`. Two copies of one number is how a figure
   goes stale.
3. `make validate` green, pin lines unchanged.

## `Status: draft` is deliberate, and is a live question

This entry lands **before its tag exists**, on openxFactory's own lane/operator
split (RULED ASK-9a → 1: *"the lane authors and lands the cut PR … the annotated
tag is Brett's act"*). A `Status: standard` header in that window would assert a
published bundle that does not exist — the `contract-v2.6` *"superseded
unpublished"* shape.

Measured: `opensoft/openXwallet`'s contract changelog carries **`Status: standard`**
and defines a bundle by five coordinated values, one of which is *"an annotated
`wallet-v<major>.<minor>` tag"*; **openxFactory's carries `Status: draft`** across
twenty-plus published releases; `docs/document-lifecycle.md` **never mentions a
changelog** and reserves `standard` for a claim "a promoted OpenSpec spec or
canonical contract backs". **Registered on #656 as a question** — a one-line
change once the tag exists, if Brett wants openXwallet's precedent followed.

## Also registered, not taken

openxFactory's cut-PR precedent carries a
`contracts/releases/<tag>.digests.yaml`. **I did not create one.** Measured:
neither root has a `contracts/releases/` directory, nothing in either tree reads
one, and the `entries:` rows already carry the per-file digests that file exists
to publish — a second copy of the same numbers with no reader. Additive whenever
it is wanted.

## The floor the entry names — § 8.2's four parts, one evidence line each

Ticked 2026-09-19 by `tasks.md` amendment #8 (openxFactory **#1124** →
`3e3b4587`). **None of these is "the tests passed"**; no part substitutes for
another.

1. **The carve manifest** — openxFactory **#865** → `17167481`: 454 rows at
   `carve_commit b075fd91`.
2. **The source→destination test mapping** (§ 5.4) — **#1080** → `4b53ea99`
   (exit 0, Σ 4440 over 146 test-bearing rows), clause (d) pinned at all three:
   `openDox-code#29` → `373b05aa`, `openXdox-code#25` → `ab04453d`, and
   openxFactory's own `pytest-suite.yml` triple.
3. **The conformance corpus green in EVERY destination** (§ 3.7) — `OK — 17 of
   17` at a LANDED head in each: `openDox-code` `93ccc3dd` (re-read at main,
   comment `5738152229`), `openXdox-code` `3ee8cd31` (`5736681367`),
   openxFactory `eb1880cb`.
4. **The snapshot-equivalence digests** (§ 5.5) — **#1105** → `02967478`, with
   **#1110** → `313b2665` and **#1115** → `4101fbe9`; per RULED **Q-P4 (a)**
   (comment `5728856581`) that line also says § 4.4's domain profile reproduces
   openxFactory's own vocabulary.

Sibling search before authoring: zero open pull requests on `opensoft/openDox`
at 2026-09-21T20:23Z.

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

---

# Which precedent this follows, and why — added after comparing against `cutcheck38`'s banked sketch

The helper lane's read-only actor `cutcheck38` banked manifest/CHANGELOG patch
sketches and a readiness report at
`handoffs/…/actors/cutcheck38/CUT-READINESS-2026-09-21T20-36-49Z.md`. **Its
independent measurements corroborate this branch's**: both roots' `main`
unmoved at the candidate commits, **zero tags** in either repository, **no
ruleset targeting `tag`** (all three active rulesets on each repo are
`target: branch`), PR gates `validate`+SonarCloud PASS with Sourcery skipped
on quota, and `validate-pins.py` exit 0 with the same four leg digests, recomputed
in its own fresh clones. Nothing in this PR disagrees with any of that.

**Its `entries:` SHAPE and this branch's are different, and the difference is the
substance of the review.** Stating it rather than quietly picking one:

| | `cutcheck38`'s sketch | this branch |
|---|---|---|
| what a row IS | one row **per release** — `contract_bundle_version`, `contract_bundle_tag`, `commit`, `date`, `legs: {code, spec}` | one row **per contract member** — `id`, `leg`, `repository`, `commit`, `path`, `type`, `contract_schema_version`, `sha256`, `release_member` |
| so `entries:` is | the release **history** | what the bundle **carries** |
| rows here | 1 | **3** (2 release member(s)) |

**Why this branch took the member-list shape — three reasons, in order of force.**

1. **The only two trees in the family that have actually released a bundle both
   use a member list.** `opensoft/openXwallet` at `wallet-v1.5` and
   `opensoft/openxFactory` at `contract-v4.0` each carry
   `contract_bundle_version` as a **single scalar naming the current bundle**
   and a list of **contract members** beside it (both spell that list
   `contracts:`). Neither keeps a release history in the manifest: the history
   is `contracts/CHANGELOG.md`, and the per-release digest set is
   `contracts/releases/<tag>.digests.yaml`. A manifest is a **snapshot**, not a
   log. `cutcheck38` shaped its sketch on openXwallet's *scalar* field —
   correctly — but then put a release record in `entries:`, which openXwallet
   does not do.
2. **A per-release row cannot carry the tagged commit, by construction — and the
   sequencing is now decided.** The sketch's row holds
   `commit: "d05e204e56ed7bca17ef7823e777cbb87e353960"`, the PRE-PR `main`. The coordinator has ruled that the
   manifest/CHANGELOG bump is **INSIDE the tagged tree** — the tag goes over the
   **post-PR `main`**, not beside it, because the runbook says the bundle
   identity must "live where a consumer's pin points" and a consumer pinning the
   tag has to see the bundle version there. Under that sequencing a
   `commit:` field naming the tagged commit is **unsatisfiable**: the sha depends
   on the file's own bytes. This branch never names the root commit — only the
   **leg** commits, which are fixed before the bump and are exactly what
   `spec-pin.yaml` / `code-pin.yaml` already record.
3. **The brief for this act asked for "an `entries:` block naming what the
   bundle carries."** The ruling itself is silent on shape, so the instruction
   that is not silent governs.

**AGAINST this branch, and recorded because a reviewer should see it rather than
have to find it:** the sentence this PR's rewrite removed from
`contracts/manifest.yaml` read *"A contract bundle is added here, **as an
entry below**, only when one is actually cut and published"* — which reads the
sketch's way, one entry per bundle. That is the strongest argument for the other
shape and it is a sentence written before either bundle existed, by the
levelling pass, against no precedent. **If Brett prefers the per-release reading,
the fix is small** — `entries:` becomes a `releases:` list and the member rows
move to `contracts:` (openXwallet's own key), which is a rename this PR
deliberately declines to make unilaterally at a first release.

## The conditional in the brief, answered by measurement: there is NO neutral manifest schema to validate against

*"If openXwallet's manifest schema is the neutral one openxFactory pins,
validate against it."* **It is not, and none exists.**

- openxFactory's `contracts/openxwallet-pin.yaml` pins openXwallet by commit
  `f3eb929b` plus **eight per-file digested paths**, every one of them a
  *wallet* schema under `contracts/openxwallet*/`
  (`openxwallet-record`, `-custody-registry`, `-custody.registry`, `-grant`,
  `-grant-exercise`, `-distinct-holder-constraint`, `-subject-attestation`,
  `openxwallet-agent-composition`). **`contracts/manifest.yaml` is not among
  them.**
- openXwallet's whole tree contains no schema for a contract manifest — its own
  `contracts/manifest.yaml` is hand-authored exactly as these roots' are.
- openxFactory's own `*manifest*.schema.yaml` files schema **other** things
  entirely (durability batches, sealed bundles, ontology packages,
  domain-overlay content). None schemas a contract manifest.

So validation is by **recomputation**, not conformance — which is what the
self-checks above do, and which is also the honest answer to Copilot's
"**needs a closer look** … hand-authored entries and SHA-256 digests that are not
validated within this repo" (**Findings: None**, 0 threads). That observation is
**correct and is this PR's own stated premise**, not a defect in it.
**Proposed, not smuggled in:** a `scripts/validate-contract-manifest.py` that
runs exactly these checks — every row's `sha256` recomputed from the pinned leg,
every row's `commit:`/`repository:` equal to that leg's pin file, and the
CHANGELOG table cross-checked against the rows — would close the gap
permanently. It is an **additive PR**, out of scope for a change the ruling
scoped to two files, and it is registered on #656 rather than added here.

## The annotated-tag house style, read first-hand for the ceremony

`opensoft/openXwallet`'s real tag objects (read via `gh api`, not described
from memory): `wallet-v1.0` → object `de74c8cc`, tagger `brettheap`
2026-08-26, message `<tag> — <summary>` + justification + *"Realizes P2 of the
ratified openxFactory change split-openxwallet-repo."*; `wallet-v1.5` → object
`ff9ac797`, message `<tag>: <summary with change class>` + *"Tagged by the
coordinator (lane hermes-wallet-exercise, session 9f81d930) on Brett Heap's word
\"cut wallet-v1.5\", 2026-09-07."* + a `Lane:` trailer. **`wallet-v1.5`'s is
the applicable precedent** — a lane cutting a tag on the operator's quoted word —
and the ceremony for `dox-v1.0` will follow it, over the commit this PR produces
on `main`. Sibling: opensoft/openXdox#13.


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