Skip to content

openDox release surface: contract_bundle_version none → dox-v1.0, three entries at the pinned spec leg, and the § 3.8 CHANGELOG entry (NO TAG) - #11

Merged
brettheap merged 1 commit into
mainfrom
release/dox-v1.0-surfaces
Sep 21, 2026
Merged

brettheap merged 1 commit into
mainfrom
release/dox-v1.0-surfaces

Conversation

@brettheap

@brettheap brettheap commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

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

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

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,
on the RULING NEEDED at 5738327369:

"(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


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.

…three `entries:` rows at the pinned spec leg, and the § 3.8 CHANGELOG entry (NO TAG)

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

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

Under RULED (a) — Brett Heap, 2026-09-21, `opensoft/openxFactory` issue #656
comment 5767052465, on the RULING NEEDED at 5738327369: "(a) for both, cut the
tags when the drafts are green." This commit is the DRAFT half. It creates,
moves and deletes NO TAG: runbook § 9 Phase 6, "BRETT'S ACT, ALWAYS."

TWO FILES, NO THIRD. `contracts/manifest.yaml` and `contracts/CHANGELOG.md`.
No pin, no gitlink, no workflow. `make validate` is green end to end and reports
the same pins as before this commit, because no pin moved: spec 8fe8c4c71c4d /
f63c5b8fee6b, code d816cf06f1c9 / ac877e49b7ec, the 10 shape files, `pins ok`.

THERE IS NO SCHEMA FOR THIS FILE, MEASURED RATHER THAN ASSUMED. The file's own
comment says so and it is still true: `scripts/validate-manifest.py` reads
`project.yaml` (`kind: project-manifest`), NOT this file; its whole
`WHAT IS CHECKED` list is about `project.yaml` and the only `contracts/` paths it
opens are `<pin>-pin.yaml` and `repository-naming.yaml`. So the row shape below
is not read off a schema; every field is lifted from a family artifact that
already answers the same question:

  `id`, `path`, leg `repository`, leg `commit`, `sha256`
      the five columns of openxFactory's OWN contract-v4.0 relocation table
      ("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 new thing is that a row addresses a file in a PINNED SUBMODULE rather
than in this tree, which is what a three-repository project's bundle IS: the
root holds no contract bytes and a consumer's pin points here.

THE KEY IS `entries:` AND IS NOT RENAMED. Three spellings of this concept exist
in the family and no code reads any of them - this project `kind:
contract-manifest` + `entries:`, `opensoft/openXwallet` `kind:
contract_manifest` + `contracts:`, openxFactory no `kind:` + `contracts:`.
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." A first
release is the worst moment to rename the key a consumer would pin. The
divergence is registered on #656, not decided here.

MEMBERSHIP IS NOT THIS PROJECT'S TO ASSERT, AND WAS ALREADY RULED. openxFactory's
contract-v4.0 entry: "Inventory membership is catalog-driven from
`contracts/hermes-runtime/contract-index.yaml`, not from `manifest.yaml` ...
`xfactory-workbench-chat-turn` and `xfactory-workbench-model-catalog` ARE catalog
release members and STAY release members". That catalog has 51 rows, all
`release_member: true`, and `ideation-workbench` is not among them - so its
`false` is a measurement, not a judgement. The declared release-surface rule
(openXwallet's precedent) is `dox-vN.M selects { entry | entry.release_member ==
true }`: by DECLARED FIELD, never by a `contracts/schemas/` path heuristic.

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... and e563cc9f... - RECOMPUTED here
from the pinned leg's own object store, never copied from that table.

THREE SELF-CHECKS RUN BEFORE THIS COMMIT, because a digest written by hand is a
digest waiting to be wrong:
  1. every `entries:` row's `sha256` recomputed from the pinned leg -> 3 of 3
     agree; and every row's `commit:`/`repository:` compared to the leg's own
     pin file -> agree.
  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 -> clean. Two copies of one number is how a count goes stale.
  3. `make validate` green, with the pin lines unchanged from before.

THE CODE LEG CONTRIBUTES NO ENTRY. `opensoft/openDox-code` at d816cf06 carries no
`contracts/` path at all (`git ls-tree -r`), so its absence from the list is a
fact about that leg, not an omission. Its main has since advanced to 1d4ac83c
(#33, test hygiene behind this root's pin), which moves no contract byte - stated
in the `## Unreleased` section rather than left for a reader to wonder about.

`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.
`opensoft/openXwallet`'s contract changelog carries `Status: standard`;
openxFactory's carries `draft` across twenty-plus published releases;
`docs/document-lifecycle.md` never mentions a changelog. Registered on #656 as a
question; a one-line change once the tag exists.

ALSO REGISTERED, NOT TAKEN: openxFactory's cut-PR precedent carries a
`contracts/releases/<tag>.digests.yaml`. 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 - so it would be a second
copy of the same numbers with no reader. Additive whenever it is wanted.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 21, 2026 20:34
@sourcery-ai

sourcery-ai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft PR defines openDox’s first contract bundle by changing contract_bundle_version to dox-v1.0 and adding three digest-verified schemas from the pinned spec leg, while documenting the release-selection rule, provenance, readiness evidence, and operator-owned tag step. It intentionally changes no pins or tags and leaves publication status as draft pending the annotated tag.

Flow diagram for selecting the dox-v1.0 release surface

flowchart TD
    Start[manifest.yaml: contract_bundle_version=dox-v1.0] --> Entries[Read entries]
    Entries --> Member{release_member == true?}
    Member -->|Yes| Release[Include entry in dox-v1.0]
    Member -->|No| Omit[Exclude entry]
    Release --> Digests[Use pinned leg commit and SHA-256]
    Omit --> Done[Release surface determined]
    Digests --> Done
Loading

File-Level Changes

Change Details Files
Records the first openDox contract bundle and its release-surface definition in the changelog.
  • Changes the bundle version from none to dox-v1.0 while keeping the changelog status as draft until the operator creates the annotated tag.
  • Documents the pinned code/spec legs, three contract files, release-membership rule, provenance, § 8.2 evidence floor, and tag/operator responsibilities.
  • Explains the absence of schema validation and the field provenance used to define the manifest shape.
contracts/CHANGELOG.md
Adds three pinned spec-leg entries to the contract manifest with verified metadata and digests.
  • Adds two catalog release members and one non-member schema, all pinned to the exact spec commit with repository, path, type, schema version, and SHA-256.
  • Preserves the existing entries: key and declares release-surface selection using release_member: true; the code leg contributes no entries because it contains no contract files.
  • Adds extensive inline rationale covering field provenance, pinned-submodule semantics, catalog-driven membership, omitted unused fields, and the no-validator constraint.
contracts/manifest.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

It defines a first-release contract bundle with hand-authored entries and SHA-256 digests that are not validated within this repo, so it needs final human verification before approval.

Review effort: Lite
Findings: None

What changed in this PR

This PR records openDox’s first contract bundle release surface in the assembly root by setting contract_bundle_version to dox-v1.0, enumerating the three spec-leg schema entries (with pinned-leg provenance and digests), and documenting the corresponding §3.8 release entry in the contract changelog—explicitly without creating or moving any Git tag.

Changes:

  • Update contracts/manifest.yaml to define contract_bundle_version: dox-v1.0 and add three entries: rows that point at the pinned spec leg commit and schema paths with SHA-256 digests and release_member flags.
  • Expand contracts/CHANGELOG.md with a dox-v1.0 entry describing bundle identification, release-surface selection rules, pinned-leg provenance, and tag/operator responsibilities.
File Description
contracts/​manifest.yaml Establishes the first dox-v1.0 bundle metadata and enumerates the three spec-leg contract entries with commits/paths/digests.
contracts/​CHANGELOG.md Documents the dox-v1.0 bundle definition, selection rule, provenance, and tagging guidance for the first published surface.

💡 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

Copilot's review, answered by measurement — REGISTERED, no head move

Review 5271603255 reads "🔵 Needs a closer look" with Findings: None
and 0 threads / 0 unresolved. Its stated reason:

"It defines a first-release contract bundle with hand-authored entries and SHA-256 digests that are not validated within this repo, so it needs final human verification before approval."

That is correct, and it is this PR's own stated premise rather than a defect
in it.
Measured, not conceded:

  • scripts/validate-manifest.py validates project.yaml (kind: project-manifest) — its docstring and its whole WHAT IS CHECKED list say
    so, and the only contracts/ paths it opens are <pin>-pin.yaml and
    repository-naming.yaml. contracts/manifest.yaml says the same thing about
    itself, in a comment written before this bundle existed: "This file is
    hand-authored and validated by nothing in this tree."
  • There is no schema to validate against anywhere in the family.
    openxFactory's contracts/openxwallet-pin.yaml pins openXwallet by commit
    plus eight per-file digested paths, every one a wallet schema —
    contracts/manifest.yaml is not among them; openXwallet's own manifest is
    hand-authored too; and openxFactory's *manifest*.schema.yaml files schema
    other things entirely (durability batches, sealed bundles, ontology packages,
    domain-overlay content).

So the verification available is recomputation, and it was run before the
commit — three self-checks, all clean:

  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   (3 of 3 digests recomputed from openDox-spec 8fe8c4c7)
CROSS-CHECK CLEAN      (CHANGELOG table vs YAML rows; both leg commits vs the pin files)
make validate          green, pin lines unchanged

What would close Copilot's point permanently, proposed rather than smuggled
in:
a scripts/validate-contract-manifest.py running exactly those checks —
every row's sha256 recomputed from the pinned leg, every row's
commit:/repository: equal to that leg's own pin file, and the CHANGELOG
table cross-checked against the rows — wired into make validate so the gate
answers the question instead of a reviewer having to. It is an additive PR:
the ruling scoped this change to two files, and adding a validator to the
release commit would make the diff under review a different diff. Registered on
opensoft/openxFactory issue #656 (claim comment 5767092136); not taken
here.

No head move — nothing in this PR's own code is a credential leak or a refusal
bypass, and a correct observation about a documented absence is registered, not
patched around.

@brettheap
brettheap marked this pull request as ready for review September 21, 2026 20:55

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

@brettheap
brettheap merged commit dc7aa08 into main Sep 21, 2026
4 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-09-21T20:55:41Z, PR #11 → dc7aa08 (opensoft/openDox main; plain gate)

Release surface for dox-v1.0 (§ 3.8): contracts/manifest.yaml contract_bundle_version none → dox-v1.0 with three spec-leg entries at the pinned leg 8fe8c4c7 (two release members, one non-member), contracts/CHANGELOG.md dox-v1.0 entry. Landed under RULED (a), Brett Heap 2026-09-21, #656 5767052465: "(a) for both, cut the tags when the drafts are green." Copilot at head 7b20921: Findings None, 0 threads. The dox-v1.0 tag follows over the post-PR main, one push, verified from a third clone, evidence on #656.

brettheap added a commit to opensoft/openXdox that referenced this pull request Sep 21, 2026
…ive entries at the pinned spec leg, and the § 4.6 CHANGELOG entry (NO TAG) (#13)

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 `9be407bd4d8aa07e712538a609dc08c0bf0f116f`, and the merge keeps the
same two legs, so the tagged commit will name code `ab04453d` and spec
`f088b097` 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. Sibling to opensoft/openDox#11.

## Two files, no third

```
 contracts/CHANGELOG.md  | 139 +++++++++++++++++++++++++++++++++++++++++--
 contracts/manifest.yaml | 152 +++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 282 insertions(+), 9 deletions(-)
```

No pin, no gitlink, no workflow. `make validate` green end to end, with **the
same pin lines as before this commit**:

```
  ok  spec: gitlink == contracts/spec-pin.yaml commit f088b09732e2
  ok  spec: tree digest recomputes (b7dbd5456a1a…)
  ok  code: gitlink == contracts/code-pin.yaml commit ab04453de25b
  ok  code: tree digest recomputes (132eedc11423…)
  ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests
  ok  openDox: pin commit c4c5014d9b39 digest recomputes
pins ok
```

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

`scripts/validate-manifest.py` reads `project.yaml` (`kind: project-manifest`),
**not** this file — its docstring and whole `WHAT IS CHECKED` list say so, 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`.

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

| tree | `kind:` | list key | bundle field |
| --- | --- | --- | --- |
| `opensoft/openXdox`, `opensoft/openDox` | `contract-manifest` (hyphen) | `entries:` | `none` → `xdox-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 —
*"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** — the table that shed three 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**.
That is what a three-repository project's bundle *is*. 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.

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

openxFactory's contract-v4.0 entry: membership is *"catalog-driven from
`contracts/hermes-runtime/contract-index.yaml`, not from `manifest.yaml`"*;
`gate-action-record` *"ARE catalog release members and STAY release members"*,
while *"`ideation-dashboard-snapshot` and `ideation-dashboard-snapshot-index`
were never catalog members and are in no inventory"*. I read that catalog: **51
rows, all `release_member: true`**, and `domain-profile` is not among them
either. Every `release_member:` here is a measurement.

Declared rule: `xdox-vN.M` selects `{ entry | entry.release_member == true }` —
**by declared field, never by a path heuristic**, which would break on *this
very bundle*: one member and four non-members share `contracts/schemas/`.

## What the bundle is

| leg | repository | commit | contract bytes |
|---|---|---|---|
| code | `opensoft/openXdox-code` | `ab04453de25b5c93479a5a6ff3700aec02f6e2b3` | **none** — no `contracts/` path at any commit |
| spec | `opensoft/openXdox-spec` | `f088b09732e236279898b53ab9fb0f5ebc89509a` | the five files below |

| `id` | `type` | `sha256` | `release_member` |
|---|---|---|---|
| `gate-action-record` | release-schema | `6a6cf13c76e3…608e0539189` | **true** |
| `ideation-dashboard-snapshot` | release-schema | `054259fe9668…974aeab3b` | false |
| `ideation-dashboard-snapshot-index` | release-schema | `7fd9b797730e…f9e9a0e296` | false |
| `domain-profile` | release-schema | `51c539171267…61178c685a` | false |
| `domain-profile-example` | example | `83954b27ce75…c49cf4699a8` | false |

**The one release member's bytes have not moved since openxFactory shed it.**
`gate-action-record` is `6a6cf13c…` at `481a07f9` — the leg commit
contract-v4.0's table names — **and** at `f088b097`: byte-identical across the
whole span, recomputed from the pinned leg's object store.

### Two non-members DID move, by a declared edit and not a contract change

This is the finding worth the reviewer's attention, because a reader comparing
today's digests to openxFactory's contract-v4.0 table would otherwise find two
mismatches and no explanation.

| `id` | contract-v4.0 recorded | at `f088b097` | moved by |
|---|---|---|---|
| `ideation-dashboard-snapshot` | `9c44da23…` | `054259fe…` | `openXdox-spec` `ae59dfa` |
| `ideation-dashboard-snapshot-index` | `43acf0bb…` | `7fd9b797…` | the same commit |

`ae59dfa` is *"BUILD § 3.6: correct the 4 stale citations across three arrived
files in place, inside the Q-L1 declared lines"*. **Both matched openxFactory's
recorded values exactly at `481a07f9`** — verified by recomputing at that commit
— so **that table was true when it was written**; this is a citation correction
taken after it, on precisely the pair contract-v4.0 itself calls non-members.
**No release member's bytes moved.**

## What this bundle depends on

`contracts/opendox-pin.yaml` pins openDox at `c4c5014d9b39ac55e5df957db23a56db38847a6b`
— **one openDox root behind** openDox's current `main`. So `xdox-v1.0` composes
over `c4c5014d` and **not** over the openDox root that `dox-v1.0` tags.
Advancing it is a three-repository lockstep (openxFactory's `openDox` gitlink,
openxFactory's `contracts/opendox-pin.yaml`, and this repository's own, read by
`verify-opendox-pin.py` check 5 as a **blob** at whatever commit openxFactory's
`openXdox` gitlink names) — registered on #656, **not taken here**. No pin moves
in this release.

## Four self-checks run before the commit

1. **Every row's `sha256` recomputed** from the pinned leg → **5 of 5 agree**.
2. Every row's `commit:` / `repository:` compared to that leg's own pin file →
   agree.
3. **The CHANGELOG's table cross-checked against the YAML rows** on path,
   `type`, `sha256` and `release_member`, plus both leg commits **and** the
   openDox pin commit it quotes → `ALL CHECKS CLEAN`. Two copies of one number
   is how a figure goes stale.
4. `make validate` green, pin lines unchanged.

```
  ok   gate-action-record                   6a6cf13c…  member=True
  ok   ideation-dashboard-snapshot          054259fe…  member=False
  ok   ideation-dashboard-snapshot-index    7fd9b797…  member=False
  ok   domain-profile                       51c53917…  member=False
  ok   domain-profile-example               83954b27…  member=False
  ok   code leg commit ab04453de25b quoted matches code-pin.yaml
  ok   spec leg commit f088b09732e2 quoted matches spec-pin.yaml
  ok   opendox-pin c4c5014d9b39 quoted in CHANGELOG
ALL CHECKS CLEAN
```

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

Same reasoning as openDox#11: this entry lands **before its tag exists**, on
openxFactory's own lane/operator split (RULED ASK-9a → 1). 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 being *"an annotated
`wallet-v<major>.<minor>` tag"*; **openxFactory's carries `draft`** across
twenty-plus published releases; `docs/document-lifecycle.md` **never mentions a
changelog**. Registered on #656 as a question — one line once the tag exists.

## Also registered, not taken

openxFactory's cut-PR precedent carries a
`contracts/releases/<tag>.digests.yaml`. **I did not create one.** No
`contracts/releases/` directory exists in either root, nothing reads one, and
the `entries:` rows already carry the per-file digests it exists to publish.

## 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:
   `openXdox-code#25` → `ab04453d` (539/533/6), `openDox-code#29` →
   `373b05aa`, 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: `openXdox-code` `3ee8cd31` (comment
   `5736681367`), `openDox-code` `93ccc3dd` (`5738152229`), openxFactory
   `eb1880cb`. § 4.5a's exit evidence is the same reading at this project's leg.
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 —
   `domain-profile` above — reproduces openxFactory's own vocabulary.

Sibling search before authoring: zero open pull requests on `opensoft/openXdox`
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 | **5** (1 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: "9be407bd4d8aa07e712538a609dc08c0bf0f116f"`, 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 `xdox-v1.0` will follow it, over the commit this PR produces
on `main`. Sibling: opensoft/openDox#11.


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