Skip to content

Amend contracts/opendox-pin.yaml: the files:/pinned_by_commit_only: revisit is due, resolved NOT owed - #16

Merged
brettheap merged 1 commit into
mainfrom
chore/amend-opendox-pin-trigger-fired
Sep 22, 2026
Merged

brettheap merged 1 commit into
mainfrom
chore/amend-opendox-pin-trigger-fired

Conversation

@brettheap

@brettheap brettheap commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

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

The files:/pinned_by_commit_only: revisit this pin named is due, and its answer is that the lists are still NOT owed. RULED by Brett Heap at opensoft/openxFactory#656 comment 5768144952, verbatim "(b) for the pin shape, keep going". Small follow-up to STEP 3 (opensoft/xFactory#478); comment-only, no commit/digest/migration field moves.

The gap

This pin's own PER-FILE sha256:/pinned_by_commit_only: paragraph named a revisit trigger: "the first commit where openDox's own contracts/manifest.yaml carries a non-empty entries: row." This pin already carries that commit — dc7aa08f, landed here at openXdox#15 — so the revisit was due the moment this file was bumped, and stayed unnoticed until now: a gap in the record, closed here rather than quietly (the same gap opensoft/openxFactory#1134's own diff names for this exact file).

Checked, and independently re-verified

Not merely asserted: read directly from opensoft/openDox at dc7aa08f via the GitHub contents API in this same session. contracts/manifest.yaml there carries contract_bundle_version: dox-v1.0 and three entries:, every one digested per file:

id path release_member
xfactory-workbench-chat-turn contracts/schemas/xfactory-workbench-chat-turn.schema.yaml (openDox-spec @ 8fe8c4c7) true
xfactory-workbench-model-catalog contracts/schemas/xfactory-workbench-model-catalog.schema.yaml (openDox-spec @ 8fe8c4c7) true
ideation-workbench contracts/schemas/ideation-workbench.schema.yaml (openDox-spec @ 8fe8c4c7) false

The conclusion does not change

The paragraph's own independent, stronger reason already covers it: the whole-tree sorted-ls-tree-r-v1 digest this pin already carries covers every byte of the pinned root tree, discharging the completeness obligation those two lists exist to serve more strongly than an enumeration would — and the three artifacts above sit in openDox's own commit-and-digest-pinned spec leg regardless. So files: and pinned_by_commit_only: are RESOLVED not owed, not merely deferred pending a revisit that has already passed.

Mirrors openxFactory's identical amendment

openxFactory's own direct contracts/opendox-pin.yaml makes the IDENTICAL amendment at opensoft/openxFactory#1134 (same ruling, same comment 5768144952) — both pins name openDox at the same trigger-crossing commit, so both reach the same resolution. It did not land with openXdox#15 because the claim posted as 5767868394 was an earlier draft that lacked this finding.

Proof

make validate (naming + manifest + lockstep pins, this repo's own leg submodules spec/code initialized so the lockstep check runs live rather than skipping) — all green, identical result to before this edit: the openDox referenced-pin digest recomputes via the GitHub API (gh-api-tree-recursive), unaffected by a comments-only change.

Landing

Plain gate — no openspec/changes/ surface, no landing-window claim needed. Landing form: --merge --admin once checks + Copilot are green, matching this lane's other pin/contract amendments.

Summary by Sourcery

Record the completed openDox pin-shape revisit and confirm that files: and pinned_by_commit_only: remain resolved as not owed.

Enhancements:

  • Update the openDox pin record to document that its manifest now contains per-file contract entries while retaining the resolution that explicit file lists are unnecessary because the whole-tree digest provides stronger completeness coverage.
  • Align the pin’s recorded ruling and resolution with the corresponding openxFactory amendment, closing the overdue revisit gap.

🤖 Generated with Claude Code

…evisit is due, and resolved NOT owed

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

RULED by Brett Heap at opensoft/openXfactory#656 comment 5768144952,
verbatim "(b) for the pin shape, keep going". This pin's own PER-FILE
sha256/pinned_by_commit_only paragraph named a revisit trigger: "the
first commit where openDox's own contracts/manifest.yaml carries a
non-empty entries: row." This pin already carries that commit --
dc7aa08f, landed here at openXdox#15 -- so the revisit was due the
moment this file was bumped, and stayed unnoticed until now: a gap in
the record, closed here rather than quietly.

Checked directly (and independently re-verified via the GitHub API
against opensoft/openDox at dc7aa08f, not merely asserted):
contracts/manifest.yaml there carries contract_bundle_version: dox-v1.0
and three entries -- xfactory-workbench-chat-turn,
xfactory-workbench-model-catalog and ideation-workbench, all in
opensoft/openDox-spec at 8fe8c4c7.

The conclusion does not change: the paragraph's own independent,
stronger reason already covers it -- the whole-tree sorted-ls-tree-r-v1
digest covers every byte of the pinned root tree, discharging the
completeness obligation those two lists exist to serve more strongly
than an enumeration would, and the three artifacts sit in openDox's own
digest-and-commit-pinned spec leg regardless. So files: and
pinned_by_commit_only: are RESOLVED not owed, not merely deferred.

openxFactory's own direct contracts/opendox-pin.yaml makes the
IDENTICAL amendment at opensoft/openXfactory#1134 (same ruling, same
comment 5768144952) -- both pins name openDox at the same
trigger-crossing commit, so both reach the same resolution.

Comment-only change: no commit, digest, or migration field moves.
Verified: make validate (naming + manifest + lockstep pins, including
the openDox referenced-pin digest recompute via the GitHub API) --
all green, unchanged from before this edit.

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

sourcery-ai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Reviewer's Guide

Updates the pin’s explanatory contract comments to close the manifest-entry revisit gap at commit dc7aa08f while preserving the decision not to add files or pinned_by_commit_only lists, based on the whole-tree digest and existing digest chain.

File-Level Changes

Change Details Files
Document that the revisit trigger for the omitted file lists has been reached, while reaffirming that the lists remain unnecessary.
  • Replace the stale empty-manifest explanation with the current three-entry manifest state at the pinned commit.
  • Record the governing ruling, the missed revisit, and the resulting RESOLVED-not-owed determination.
  • Justify the decision using the stronger whole-tree digest and the existing spec-leg commit-and-digest chain.
  • Cross-reference the identical amendment in the upstream pin and explain why it was not included with the earlier pin bump.
contracts/opendox-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.

Copilot review overview

🔵 Needs a closer look

Add the required per-file sha256: and pinned_by_commit_only: entries for the three manifest artifacts.

Review effort: Lite
Findings: None

What changed in this PR

This pull request documents the openDox pin-shape revisit and retains the decision to omit per-file lists.

Changes:

  • Records the manifest entries and ruling history.
  • Updates explanatory comments and rationale.
  • Aligns the record with the corresponding openxFactory amendment.
File Summary
contracts/​opendox-pin.yaml Updates explanatory pin comments; required per-file declarations remain missing.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

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

Answering Copilot's review overview finding ("Add the required per-file sha256: and pinned_by_commit_only: entries for the three manifest artifacts") — a preference/policy finding, not a fact error in the diff, so answering by measurement here rather than moving the head (lane landing-gate rule): this PR does not add the per-file lists, on purpose.

This is a re-litigation of an already-RULED question, not an open one. Brett Heap ruled on the pin shape at opensoft/openxFactory#656 comment 5768144952, verbatim "(b) for the pin shape, keep going" — i.e. keep the current no-per-file-list shape, which is exactly what this PR's own new paragraph documents and justifies. The paragraph gives the reasoning Copilot's suggestion doesn't engage with: the whole-tree sorted-ls-tree-r-v1 digest this pin already carries (digests.tree_sha256) covers every byte of the pinned root tree, so it discharges the per-file completeness obligation those two lists exist to serve — more strongly than an enumeration would, since one digest cannot silently drop a member the way a hand-maintained list can. The three manifest artifacts additionally sit in openDox's own commit-and-digest-pinned spec leg (contracts/spec-pin.yaml), so a per-file list here would be a second, weaker statement of a fact already covered end to end.

Not an isolated read: openxFactory's own direct contracts/opendox-pin.yaml makes the identical amendment, under the identical ruling, at opensoft/openxFactory#1134 — and Copilot's own final review there (commit a28d68a6) came back 🟢 "Approval recommended," findings none, with no objection to the same no-per-file-list shape. This PR's local suggestion is the outlier against that precedent, not a new fact.

Registered for the next act on this file: if pin_role: neutral-product's per-file obligation is ever tightened project-wide (a change to the neutral-product-pin requirement itself, not a per-pin judgment call), that's an OpenSpec-level change to make in one pass across every pin of this shape — not a one-off addition here against a standing ruling.

No thread to resolve (Copilot's finding is in the review overview, not an inline comment); checks are green and this is proceeding to ready.

🤖 Generated with Claude Code

@brettheap
brettheap marked this pull request as ready for review September 22, 2026 01:30

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

@brettheap
brettheap merged commit 7194c06 into main Sep 22, 2026
4 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-09-22T01:33:28Z, PR #16 → 7194c06 (opensoft/openXdox main; plain gate)

openXdox contracts/opendox-pin.yaml header: the AMENDMENT per RULED 5768144952 (b) mirrored from oxF#1134 — trigger fired at dc7aa08f (3 entries, spec leg), whole-tree digest discharges completeness, files:/pinned_by_commit_only: not owed; Copilot's 'add the lists' preference answered by one comment (re-litigates the ruling). Actor agg3; Brett Heap's standing word 'keep going' (2026-09-22).

brettheap added a commit that referenced this pull request Oct 2, 2026
…5098297 (T062) (plan 034 T064, T090 step 5) (#21)

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

Plan 034, task **T064** (slice P2-H), step 5 of **T090**'s pin procedure: *"The openXdox root moves its `code` gitlink and `code-pin.yaml`, and moves `contracts/opendox-pin.yaml` to step 2's root commit."* The plan is `specs/034-opendox-standalone-operation/tasks.md` at opensoft/openxFactory `main` `80217a92`. Precedent: #20 (T047), which landed as `57e2b8f2` and was followed by opensoft/openXfactory#1181.

T066 (opensoft/openXfactory#1213), the non-arc act that makes openxFactory hold at both pin sets, has landed as `80217a92`. openxFactory's half of T064 is a separate PR. It re-points its `openXdox` gitlink to this PR's LANDED sha.

## The lockstep

| site | before | after |
| --- | --- | --- |
| `code` gitlink | `6158151e` | **`6a3b93b9`** |
| `contracts/code-pin.yaml` `commit:` (line 24) | `6158151e7f52…` | **`6a3b93b93cd647ea0c62aa7bb5cdff529a2c35e8`** |
| `contracts/code-pin.yaml` `digests.tree_sha256` (line 39) | `40ec3108…d0c9` | **`4ef2b4f72157f926dbb638c5997106de0fa3dbf39fae580ee6d9bfb24982aeb3`** |
| `contracts/opendox-pin.yaml` `commit:` (line 34) | `663ac683…` | **`d5098297a5c262f9977193305210bccb4ec51e89`** |
| `contracts/opendox-pin.yaml` `digests.tree_sha256` (line 40) | `ec826603…9d5d` | **`2815ca2353d1cd4c220b5391e1c0bc45c2cabfec9aa196cee1e0a4bcc9e857cc`** |

No `.github/workflows/*.yml` names the code leg by `@<sha>`. The one 40-hex `uses:` pin is `actions/create-github-app-token`'s. So the README's third site does not exist here.

**Each gitlink and its pin file move in one commit.** `e7b5e2c7` moves `code` with `code-pin.yaml`, and moves `contracts/opendox-pin.yaml`. `make pins` passes there. `bfd0c5a2` changes prose only: the pin files' comments, `contracts/manifest.yaml` and `contracts/CHANGELOG.md`. `4012e05b` and `bb78fa11` are a review fix, also prose only (Copilot at `bfd0c5a2`: "the root tagged by `dox-v1.1`", then rewrapped).

**Both moves are ancestor moves.** `6158151e` is an ancestor of `6a3b93b9`, and `663ac683` is an ancestor of `d5098297` (`git merge-base --is-ancestor`, both checks exit 0). `6a3b93b9` is openXdox-code `main`, and `d5098297` is openDox `main`.

**What the code leg's advance carries.** `6158151e..6a3b93b9` is three first-parent commits, each a squash landing of plan 034's phase 2 that carries the `Arc:` trailer:

- `c41063d6`, #34 (T060): the `DISPLAY` facet carries the governed snapshot's `values`.
- `839492d9`, #35 (T059): the governed generator, snapshot registry, corpus root, writer and validators, contributed through openDox's seams (`openxdox.projection_contributions`).
- `6a3b93b9`, #36 (T061): the consumer's validator is located through the installed distribution. It packages copies of three spec-leg schemas under `src/openxdox/contracts/schemas/`.

**What the openDox pin's advance carries.** `663ac683..d5098297` is three commits:

- opensoft/openDox #14 (`52005213`, T053) cuts `dox-v1.1`. It moves the `spec` gitlink `8fe8c4c7` → `f7ee3c76` with `contracts/spec-pin.yaml`, and moves `contracts/manifest.yaml` `dox-v1.0` → `dox-v1.1`, which adds a fourth entry, `opendox-snapshot`. The annotated tag `dox-v1.1` (`851a28e9`) is over `52005213`.
- #15 (`66758438`) changes only `contracts/CHANGELOG.md`.
- #16 (`d5098297`, T062) moves `code` `2d116415` → `047bb4fa` with `contracts/code-pin.yaml`.

## The digests, three ways

| tree | records | `scripts/repo_shape.py` `tree_digest` | independent `ls-tree` + `sha256` | `repo_shape.tree_digest_from_gh` (the forge's tree) |
| --- | ---: | --- | --- | --- |
| openXdox-code `6a3b93b9` | 187 | `4ef2b4f7…aeb3` | `4ef2b4f7…aeb3` | `4ef2b4f7…aeb3` |
| openDox `d5098297` | 28 | `2815ca23…57cc` | `2815ca23…57cc` | `2815ca23…57cc` |

Controls: the same three methods recompute the recorded `40ec3108…d0c9` at `6158151e` (173 records) and `ec826603…9d5d` at `663ac683` (28 records).

## `contracts/opendox-pin.yaml`, edited in place

It stays at 164 lines, with every line in its position. These lines change:

- line 34, `commit:`;
- line 40, `tree_sha256`;
- lines 55-61, the per-file paragraph. It was checked at `dc7aa08f` and `663ac683`, and is checked again at `d5098297`. There it reads `dox-v1.1` and FOUR `entries:` (`opendox-snapshot` is the new one), all at openDox-spec `f7ee3c76`;
- line 76, "the four artifacts above";
- line 143, the migration triple's `runbook`, which names "the pinned code leg". That is `047bb4fa` now.

**The migration triple.** No migration path changes over openDox-code `2d116415..047bb4fa`, and `migrations/` holds the same two files. So `range: "0001..0002"` and `reversible: false` stay, and only `runbook`'s leg changes. openxFactory's own `contracts/opendox-pin.yaml` takes the identical block in T064's openxFactory PR. `tests/opendox_pin/test_opendox_pin_verifier.py` asserts the two blocks are equal.

## Prose kept true in the same PR

- **`contracts/manifest.yaml`.**
  - "THE CODE LEG CONTRIBUTES NO ENTRY" now covers `6a3b93b9`. From there the leg packages COPIES of three spec-leg schemas (`gate-action-record`, `ideation-dashboard-snapshot`, `ideation-dashboard-snapshot-index`). Each is sha256-identical to its row (measured), and `src/openxdox/contracts/copies.yaml` records each against spec `f088b097`. They are the spec leg's bytes, so none of the five rows moves.
  - "WHAT THIS BUNDLE DEPENDS ON" names `d5098297` and #14-#16, and keeps #20's advance as history.
  - The lockstep paragraph's openxFactory reading is `57e2b8f2`, whose blob names `663ac683`.
- **`contracts/CHANGELOG.md`, `## Unreleased`.** It records the code leg's fifth advance and the openDox pin's advance. Its closing sentence is true as written: both legs' `main` are exactly the commits this root pins.
- **No tag moves.** `xdox-v1.0` stays where it is. No advance cuts a bundle.

## Validators, as `validate.yml` runs them (at `bfd0c5a2`; `make validate` exits 0 again at `4012e05b` and `bb78fa11`)

| check | result |
| --- | --- |
| `python3 scripts/validate-repository-naming.py --project project.yaml` | exit 0 |
| `python3 scripts/validate-manifest.py` | exit 0: `manifest ok: openXdox (openxdox), 3 legs` |
| `make pins` (`python3 scripts/validate-pins.py`) | exit 0: `ok  code: gitlink == contracts/code-pin.yaml commit 6a3b93b93cd6`, `ok  code: tree digest recomputes (4ef2b4f72157…)`, `ok  openDox: pin commit d5098297a5c2 digest recomputes (gh-api-tree-recursive)`, `pins ok` |
| `make validate` | exit 0 |

## What this does to openxFactory

`verify-opendox-pin.py` check 5 reads this root's `contracts/opendox-pin.yaml` as a blob, at whatever commit openxFactory's `openXdox` gitlink names. This PR changes that file's `commit:` to `d5098297`. So when openxFactory's `openXdox` gitlink moves here, its own `openDox` pair must move to `d5098297` in the SAME commit. T064's openxFactory PR does exactly that. Until it lands, openxFactory keeps reading `57e2b8f2`.

Measured with this branch's head as the candidate (T066's measurement, opensoft/openXfactory#1213): both verifiers pass at the candidate pins. With T064's host line, openxFactory's suite is down to the three reds T064's own commit answers.

## Landing (forced order)

1. ~~T066, opensoft/openXfactory#1213, lands.~~ Landed → `80217a92`.
2. This PR lands. Squash or merge, never rebase, and the landing carries the `Arc:` line.
3. T064's openxFactory PR moves BOTH pin pairs in one commit to this PR's LANDED sha and to `d5098297`, and records the landed tree's digest.

Plain gate: this repository has no `openspec/changes/`, so there is no Rule 6 window. **This PR is not merged by the actor that opened it.**

Arc: neutral-product-standalone-operability

🤖 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