Skip to content

openXdox root: pin openDox 44679fa7 with the § 4.2 fields (not_yet_deployed, RULED ASK-1); spec → 481a07f9 - #7

Merged
brettheap merged 1 commit into
mainfrom
pin/opendox-44679fa7-section-4-2
Sep 11, 2026
Merged

brettheap merged 1 commit into
mainfrom
pin/opendox-44679fa7-section-4-2

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

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

Lockstep chain step 2 (Refs opensoft/openXfactory#656), task 4.2 of split-opendox-two-layer-product, at the openXdox ASSEMBLY ROOT. Continues branch pin/opendox-44679fa7-section-4-2 from 6d65fbb (previous author's commit; nothing further to add — verified below).

What this PR does

contracts/opendox-pin.yaml — bumps the neutral-product pin onto step 1 (opensoft/openDox#5, the routine leg catch-up bump):

Field Old New
commit 49a99df2561bf70e49337c999d79b36836718349 44679fa732780862230c7446a8f7f2e2bb032e88
digests.tree_sha256 96655ad2d2b2b70e5d23b613d5f0e73232e39c75069959044b665313f2c76ee4 f7e2c3001365493f87c7c8fda2659cbdb11db9b783dce43e3301d80ba1a4b26c
carve_commit unchanged b075fd91dc8fced8e1373825ba80220c33536bae (a fixed historical fact, not moved by a routine bump)

Plus the three neutral-product-pin fields the MODIFIED requirement's "A pin bump crosses a migration" scenario (openspec/changes/split-opendox-two-layer-product/specs/neutral-product-pin/spec.md) requires, RULED ASK-1 (Brett Heap, opensoft/openXfactory#656 comment 5628886636, 2026-09-11 — option (1) selected: "the three fields are added now with an explicit not_yet_deployed sentinel value ... the openXdox pin of openDox is then brought current"):

migration:
  range: not_yet_deployed
  reversible: not_yet_deployed
  runbook: not_yet_deployed

Each carries an in-file comment citing the ruling and the reason (RULING Q2's FastAPI+Postgres runtime is itself unbuilt; opensoft/openDox-code carries no migrations/ directory yet at da8aae96). The spec's own prose ("the migration RANGE the bump crosses, whether the bump is reversible, and the runbook that performs it") does not hand down literal YAML key spellings — the scoping note flags this as a real gap under ASK-1 — so range / reversible / runbook nested under migration: is this task's rendering of that prose, not a literal quote of a schema.

Per-file sha256: / pinned_by_commit_only: — NOT added, on a HAND ACT judgment, not a silent omission. opensoft/openDox's own contracts/manifest.yaml at 44679fa7 carries contract_bundle_version: none and entries: [] (independently re-fetched via gh api repos/opensoft/openDox/contents/contracts/manifest.yaml?ref=44679fa7... for this PR, not merely re-read from the prior commit's claim) — the set of artifacts openDox's own manifest digests per file is empty, so the per-file list has no members to carry rather than members omitted. This is the identical fact and the identical resolution scripts/verify-openxdox-pin.py (openxFactory's own pin of openXdox, one link up this same chain) already applies to its own upstream, quoted directly from that script:

"The whole-tree digest discharges the completeness obligation those two lists exist to serve, and discharges it more strongly. The capability's own words for the published-artifact medium apply verbatim to a whole-tree digest over a source tree: 'ONE digest addresses EVERY byte inside it, so no member can be undeclared and none can be added or altered without changing the referent.'"

Revisit at the first commit where openDox's own contracts/manifest.yaml carries a non-empty entries: row.

spec leg (gitlink + contracts/spec-pin.yaml), bound live (slice-1 erratum):

Field Old New
gitlink / commit 03eacc61b733272d836f7e859eba4ae345e0f73b 481a07f90167bb7c27cebead830b5e2f86475deb
digests.tree_sha256 d0ffa578793410842639dc8f102a5cbef93f0d552a1775ec42ec2dc3d7b1108c 96f9ede15b0a7357eeba3289fff1245d08ece78cce794f127b6a3f8f0b2c667a

Untouched: code gitlink/contracts/code-pin.yaml (5da58ee2e54e5988baff235a06437616ee74a554) and contracts/manifest.yaml's carved_from: block (b075fd91…, opendox-carve-0, legs code: 92, spec: 47).

Verification (run fresh, this session, not carried from the prior commit's claim)

make validate (naming + manifest + pins), submodules initialized locally so the leg digests recompute from checkout rather than skipping:

python3 scripts/validate-pins.py
  ok  spec: gitlink == contracts/spec-pin.yaml commit 481a07f90167
  ok  spec: tree digest recomputes (96f9ede15b0a…)
  ok  code: gitlink == contracts/code-pin.yaml commit 5da58ee2e54e
  ok  code: tree digest recomputes (fbdb5fd4be0a…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
  ok  openDox: pin commit 44679fa73278 digest recomputes (gh-api-tree-recursive)
pins ok

Exit 0 for all three (validate-repository-naming.py, validate-manifest.py, validate-pins.py). The openDox line is the root's own gh-api-tree-recursive method (scripts/validate-pins.py::tree_digest_from_gh) independently recomputing and matching the digest above — not a hand computation. No validator refuses the new migration: key; none of the three scans for an unknown-key set.

From an opensoft/openxFactory checkout:

$ python3 scripts/verify-carve-arrival.py --assembly-root opensoft/openXdox --dest-root <this checkout> --source-repo <openxFactory checkout> --phase B
OK <dest-root>: assembly root opensoft/openXdox (no `destinations:` key — the root receives no row) — carved_from opensoft/openxFactory@b075fd91dc8f, which is opensoft/openxFactory@b075fd91dc8f (opendox-carve-0)

Exit 0.

§ 4.2 tick judgment, clause by clause

Box text (openspec/changes/split-opendox-two-layer-product/tasks.md § 4, item 4.2): openXdox pins openDox by commit and tree digest; "the per-file sha256, pinned_by_commit_only: and the migration range/reversibility/runbook the MODIFIED neutral-product-pin requires are a HAND ACT this task also performs, not part of §1.2's seed"; "The dependency points ONE way and there is no cycle."

  1. Commit + tree digest — MET (this PR; verified above).
  2. Migration range/reversibility/runbook (the HAND ACT) — MET, at not_yet_deployed, per RULED ASK-1.
  3. Per-file sha256 / pinned_by_commit_only — MET by the whole-tree digest, on the verify-openxdox-pin.py precedent (quoted above); openDox's own manifest declares no per-file digest set to enumerate.
  4. "The dependency points ONE way and there is no cycle" — NOT met by this PR, out of scope for it. The § 4 scoping note (measured live 2026-09-10) finds opensoft/openDox-code's own test_dependency_direction.py ratchet still records 9 import-time / 19 deferred back-imports at da8aae96; the note places this clause DOWNSTREAM of § 4.1's direction work and the ASK-2 ruling (already made: LAZY PROXY), not independently closeable by the pin-file HAND ACT alone. Other lane sessions have open CLAIMs against exactly that ratchet ("BUILD slice 2b — the nine remaining...", comments 5628845887 / 5629040695) — this PR does not touch it and box 4.2 does not fully tick on this PR alone.
  5. The pin-chain-order regression (openXdox-code consuming openDox-code past what openDox's own assembly root pinned) — already closed by chain step 1 (opensoft/openDox#5 → 44679fa7, landed), which this PR's new pin target consumes.

Whose act is the HAND ACT — does it require Brett Heap's own commit, or is his word sufficient? His word is sufficient; the commit is the lane's. docs/opendox-cutover-runbook.md § 12 ("Brett Heap's acts, collected") enumerates exactly six reserved acts, of which act 1 is "Every destination pull request, admin-merged on his word" and act 3 is "The pins — openXdox's opendox-pin.yaml bump ... the estate hand-bumps pins" (naming the ruling/authorization, not personal authorship). The same section then states explicitly: "The lane's, as pull requests: the arrival commits and declared edits at the four legs; the assembly-root pin/gitlink commits; this runbook; the arrival verifier; the scaffold levelling; the openxFactory § 5 diff. None of them merges without act 1." — the assembly-root pin/gitlink commit (this PR) is named explicitly as the lane's to author; Brett's reserved parts are the schema-shape ruling (ASK-1, already given) and the eventual merge (act 1, this PR does not perform it). "HAND ACT" throughout tasks.md (License text, branch-protection docs, posture files, etc.) consistently means "manual judgment beyond what scaffold-project.py writes," never "Brett Heap's own keystrokes."

Untouched, per this lane's hard limits

code gitlink/contracts/code-pin.yaml, contracts/manifest.yaml's carved_from: block — confirmed unchanged by the diff and independently re-verified passing above.

Refs opensoft/openXfactory#656

Co-Authored-By: Claude Fable 5.1 [email protected]

Summary by Sourcery

Refresh the openXdox assembly root’s openDox and specification pins while recording the pending migration declaration.

Enhancements:

  • Update the openDox dependency pin to the current commit and record its refreshed tree digest.
  • Declare the required migration metadata with explicit not_yet_deployed values until migrations are available.
  • Advance the spec submodule and its recorded tree digest to the matching revision.

Tests:

  • Validate the refreshed dependency pins, tree digests, repository metadata, and carve-arrival relationship.

…ULED ASK-1); spec -> 481a07f9

Lockstep chain step 2 (opensoft/openXfactory#656), task 4.2 of
`split-opendox-two-layer-product`, at the openXdox ASSEMBLY ROOT.

THE NEUTRAL-PRODUCT PIN on openDox (`contracts/opendox-pin.yaml`), bumped
onto openDox's own routine leg catch-up bump (step 1, `opensoft/openDox#5`):

  commit             49a99df2 -> 44679fa732780862230c7446a8f7f2e2bb032e88
  digests.tree_sha256 96655ad2... -> f7e2c3001365493f87c7c8fda2659cbdb11db9b783dce43e3301d80ba1a4b26c
  carve_commit       unchanged (b075fd91...) -- a fixed historical fact about
                     the ORIGIN carve, not the routine bump this commit performs

Recomputed `sorted-ls-tree-r-v1` two independent ways that agree exactly: this
repository's own `scripts/repo_shape.py::tree_digest` against a sibling
checkout, and a hand-rolled reading of `gh api .../git/trees/<sha>?recursive=1`
with `type: tree` rows filtered (matching `git ls-tree -r`'s own omission of
intermediate tree objects).

THE THREE NEW `neutral-product-pin` FIELDS (MODIFIED requirement, "A pin bump
crosses a migration" scenario), RULED ASK-1 (Brett Heap,
`opensoft/openXfactory#656` comment 5628886636, 2026-09-11): added now with an
explicit `not_yet_deployed` sentinel, proving the schema shape before a real
migration exists to fill it -- RULING Q2's runtime is itself unbuilt and
openDox-code carries no migrations directory yet.

  migration:
    range: not_yet_deployed
    reversible: not_yet_deployed
    runbook: not_yet_deployed

PER-FILE `sha256:` / `pinned_by_commit_only:` -- NOT added. Checked directly:
openDox's own `contracts/manifest.yaml` at this commit carries
`contract_bundle_version: none` and `entries: []`, so the set of artifacts its
own manifest digests per file is EMPTY -- the identical fact
`scripts/verify-openxdox-pin.py` (openxFactory's pin of openXdox, one link up
this same chain) found for its own upstream and resolved the same way: the
whole-tree digest already discharges the completeness obligation those two
lists exist to serve, more strongly than an enumeration would. Recorded as a
HAND ACT judgment for review, not a silent omission.

THE `spec` LEG, gitlink and `contracts/spec-pin.yaml` in lockstep (slice-1
erratum; bind live):

  commit 03eacc61 -> 481a07f90167bb7c27cebead830b5e2f86475deb
  digests.tree_sha256 d0ffa578... -> 96f9ede15b0a7357eeba3289fff1245d08ece78cce794f127b6a3f8f0b2c667a

Recomputed the same two ways (local `tree_digest` against the checked-out
submodule; `gh api` recursive tree with `tree` rows filtered).

The `code` leg (`contracts/code-pin.yaml`, gitlink `5da58ee2...`) and
`contracts/manifest.yaml`'s `carved_from:` block are UNTOUCHED by this commit.

Verified: `make validate` (naming + manifest + pins) exit 0, the openDox
neutral-product pin recomputed from a sibling checkout rather than skipped;
`scripts/verify-carve-arrival.py --assembly-root opensoft/openXdox --phase B`
from an openxFactory checkout, exit 0.

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 03:38
@brettheap
brettheap marked this pull request as ready for review September 11, 2026 03:38

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

@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR advances openXdox’s openDox pin to commit 44679fa7 with a recomputed whole-tree digest and adds the §4.2 migration fields using the RULED ASK-1 sentinel, while also updating the spec leg to 481a07f9. Validation and carve-arrival checks pass; the broader dependency-direction/no-cycle requirement remains explicitly downstream and out of scope.

File-Level Changes

Change Details Files
Bump the root’s openDox dependency pin and record the required migration declaration.
  • Update the openDox commit and whole-tree SHA-256 digest.
  • Add migration range, reversibility, and runbook fields with the ruled not_yet_deployed sentinel.
  • Document why per-file digests and pinned_by_commit_only are intentionally absent because the upstream manifest has no entries.
contracts/opendox-pin.yaml
Advance the bound specification leg to its newer validated revision.
  • Update the spec submodule gitlink.
  • Synchronize the spec pin commit and tree digest.
spec
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

@brettheap
brettheap merged commit 8405641 into main Sep 11, 2026
4 checks passed

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.

🟡 Changes recommended

Add the required per-file lists and correct the migration comment’s repository reference.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates openXdox’s assembly-root pins to refreshed openDox and spec revisions, with pending migration metadata.

Changes:

  • Bumps the openDox commit and tree digest.
  • Adds not_yet_deployed migration fields.
  • Advances the spec pin and digest while preserving code and carve provenance.
File summaries
File Summary Findings
contracts/spec-pin.yaml Updates the spec commit and tree digest. None
contracts/opendox-pin.yaml Updates the openDox pin and migration metadata. Critical: Required per-file source-tree lists are missing. Nit: Correct the repository reference in the migration comment.
Review details

Suppressed comments (1)

contracts/opendox-pin.yaml:73

  • These lines identify da8aae96 as the commit named by this root's code pin, but this root pins opensoft/openXdox-code at 5da58ee2 (contracts/code-pin.yaml:21-24). da8aae96 is the openDox assembly root's openDox-code gitlink, so the comment currently points future migration checks at the wrong repository/pin; please describe it as the openDox root's code-leg commit instead.
# `da8aae96`, the commit this root's own `code` pin currently names). Update
# these at the FIRST real migration a bump of this pin crosses, not before.
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment on lines +55 to +59
# ITS upstream and resolved the same way: "the whole-tree digest... discharges
# the completeness obligation those two lists exist to serve, and discharges
# it more strongly... ONE digest addresses EVERY byte inside it, so no member
# can be undeclared and none can be added or altered without changing the
# referent." Neither list is added here for that reason — a HAND ACT judgment
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
… spec to ae59dfa5 (1b), openDox pin to 8ec3036c

Advances the root's three pins to the legs' current main and the new
openDox root, mirroring the pure-bump shape of openXdox #7:

- code leg -> openXdox-code#14 (§ 4.4 code half, 3840c167) and #15
  ("Bump opendox pin to openDox-code a99eba03", merge af15f712), moving
  code past the § 4.5 slice-3 pin (5333b125) this PR previously held.
- spec leg -> openXdox-spec#7 (BUILD slice 1b, ae59dfa5).
- openDox neutral-product pin -> openDox#6 ("openDox root: bump code to
  a99eba03 and spec to a8f5eb73", merge 8ec3036c), replacing the prior
  44679fa7 pin.

Digests recomputed with this repo's own scripts/repo_shape.py::tree_digest
(the same function scripts/validate-pins.py uses); the openDox neutral
pin's digest was cross-checked two ways — gh-api-tree-recursive and a
local clone's git ls-tree — both agreeing on
71b97c8bec10f1e85f6d56be52b7a83966232d7591952ad5e0af7db68192b392.

Re-checked the § 4.2 hand-act judgment before keeping it: opensoft/openDox
contracts/manifest.yaml still reads contract_bundle_version: none and
entries: [] at 8ec3036c, so the per-file sha256/pinned_by_commit_only
judgment (no per-file list needed) still holds unchanged.

Refs opensoft/openXfactory#656
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 11, 2026
… spec to ae59dfa5 (1b), openDox pin to 8ec3036c (#8)

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

The openXdox assembly root advances in lockstep: code/ → openXdox-code
af15f712 (carrying § 4.4's engine, #14, and the post-§ 4.3 opendox pin,
#15), spec/ → openXdox-spec ae59dfa5 (BUILD slice 1b, #7), and the neutral
product pin contracts/opendox-pin.yaml → openDox root 8ec3036c (#6: code
a99eba03, spec a8f5eb73), each with its sorted-ls-tree-r-v1 tree digest
recomputed and cross-checked two ways. The § 4.2 hand-act judgment in the
openDox pin is kept verbatim because the fact it cites is unchanged:
opensoft/openDox contracts/manifest.yaml still reads contract_bundle_version
none with no entries at 8ec3036c, and openDox-code at a99eba03 still has no
migrations directory, so the not_yet_deployed sentinels stand. Five files,
one commit on the DRAFT's a9655dd; validate green at 8bfde65; one Copilot
thread answered and resolved.

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