Skip to content

Propose publish-openspec-cli-pin-as-contract-member: the OpenSpec CLI pin becomes a published contract member consumers adopt by pin-sync (#754) - #757

Merged
brettheap merged 14 commits into
mainfrom
change/publish-openspec-cli-pin-as-contract-member
Sep 7, 2026
Merged

brettheap merged 14 commits into
mainfrom
change/publish-openspec-cli-pin-as-contract-member

Conversation

@brettheap

@brettheap brettheap commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)

Half A of the estate-wide OpenSpec CLI pin rollout. Refs #754 — the rollout's governing record, which stays open.

RATIFIED 2026-09-07

RATIFIED 2026-09-07 by Brett Heap (openxFactory operator authority), in session, verbatim:

"merge 72 when green, then ratify the A packet"

recorded on #754 at 2026-09-07T14:27:55Z. The word has two clauses and both are discharged: the FIRST landed xFactory-Hermes-Install #72 as merge commit 06c9083d at 14:42:30Z — the estate's first declared consumption copy, B of #754 — and the SECOND is the encode this pull request now carries.

BOTH VETO POINTS WERE PUT AND NEITHER WAS TAKEN. design.md D1 — A-defer (register the pin in the two editorial files, cut no bundle) against A-cut (register AND cut contract-v3.5 here, with the annotated tag owed after the merge) — is RATIFIED AS DESIGNED, on the measurement release_membership(.) 283 → 283 with the pin absent from both readings; A-defer's cost is ratified with it, namely that the contracts/CHANGELOG.md entry naming this registered contract is OWED AT THE NEXT CUT (tasks.md § 5.7). A-cut was NOT chosen, so this pull request cuts nothing, allocates no version and owes no tag. The third option A-member (283 → 285 by editing scripts/hermes_runtime_validation/release.py) stands recorded as not taken rather than foreclosed. design.md D2 — the manifest row carrying no sha256 — was carried separately so it could be vetoed on its own and was not vetoed either; its residual coupling is ratified as DISCLOSED and owed at tasks.md § 5.4.

THE ENCODE IS COMMIT 05a9db8b, the ratifying commit — verified to be the FIRST commit on this branch whose proposal.md declares Status: ratified, which is exactly what the origin-retention gate resolves at archive time; both --archive-gate arms run against it report RETAINED. Status: ratified on proposal.md, design.md and tasks.md, with ONE citation line each (Ratified: in proposal.md's front matter, Ratified by: in the other two, which is what ratified-provenance counts); .openspec.yaml gains approved_by + approved_on BESIDE the drafting provenance, kind, id and reason unmoved; tasks.md § 1 retitled Ratification — GIVEN 2026-09-07 with 1.1 and 1.2 ticked and every § 5 box left OPEN; the README OpenSpec Records row flipped; and two records added — review/ratification-2026-09-07.md and review/verification-2026-09-07.md. THE STATUS FLIP AND THE APPROVAL PAIR MOVE IN ONE COMMIT, because the origin-retention gate resolves the ratifying commit as the FIRST commit declaring Status: ratified.

THE WORD RATIFIES; IT DOES NOT ARCHIVE. code_surface is non-empty, so under release-realization this packet archives on merged-plus-green realization evidence rather than on landing, and on a separate word. #754 governs B and every sibling lane as well as this packet and stays OPEN, which is why this says Refs #754.

The rulings this packet was authored under, verbatim

From openxFactory issue #754, which records Brett Heap's two rulings of 2026-09-07 by multiple choice, labels verbatim:

rollout = "Hybrid A+B"

lane scope = "openxFactory only; siblings via their lanes"

They admit the work and fix its scope. They ratify no text, decide no requirement wording and take no design decision — an ORIGIN, not an approval. The ratification is the SEPARATE act of 2026-09-07T14:27:55Z recorded above; every document in this packet now carries Status: ratified with one citation line, and .openspec.yaml carries the approval pair BESIDE the drafting provenance it was authored with.

The survey's gap, in two lines

Of 26 repositories carrying openspec/, exactly TWO gate on contracts/openspec-cli-pin.yaml (openxFactory; codexFactory, required since its #227), one more consumes it with a shadow-only gate (OpsxFactory), and twenty have zero pin awareness — three of them archiving this week on whatever openspec is on PATH.

And the pin itself is registered in neither contracts/manifest.yaml nor contracts/README.md: the one file that says which tool decides what canon is, is absent from the register scripts/validate-manifest-digests.py's own docstring calls "what cross-repo consumers read to verify the bytes they pin".

The shape, and WHY — what the capability says today

This is an OpenSpec change, because the governing capability does not carry the claim. The pin's capability is neutral-product-pin. Its promoted text governs how a pin is written, refused and read. add-openspec-cli-pin (ACTIVE, ratified 2026-09-04) adds four requirements on top, and its requirement 2 already states the consumer's obligation — a consuming repository "invokes the pinned entrypoint from the pinned openxFactory checkout rather than copying the entrypoint or installing the CLI itself" and "names in its stack.yaml the openxFactory version whose pin it is consuming".

Nothing anywhere says the pin is PUBLISHED, and the packet that landed it says the opposite. add-openspec-cli-pin's own front matter names four new artifacts, "none of them a registered contract row", and its target_release: none records that "neither of those appears in contracts/manifest.yaml nor in any contracts/releases/*.digests.yaml inventory". The reason is in the pin's header: openxFactory does not OWN the OpenSpec CLI, it CONSUMES it — so it was never modelled as publishable.

That reason is sound and it does not reach this conclusion. openxFactory does not publish the CLI. It publishes ITS OWN CLAIM about which artifact adjudicates its corpus — a file it authors, versions and disposes exceptions in. Registering that claim transfers no ownership of the product, and the delta says so in canon rather than leaving it to be inferred.

TWO ADDED requirements on neutral-product-pin, no ## MODIFIED, no ## REMOVED:

  • R1 — A consumption pin that another repository reads is a PUBLISHED contract member, adopted by pin-sync. Registration in both registers; adoption riding the consumer's ordinary pin-sync; publishing the pin is not publishing the pinned product; read-from-the-pinned-checkout and never copy; and ONE admitted fallback for a repository with no stack pin, which must declare the openxFactory commit it copied from, the digest of what it copied and the divergence it accepts, and retire the copy on adopting a stack pin. That fallback is B of Estate-wide OpenSpec CLI pin rollout (hybrid A+B, ruled 2026-09-07): publish openspec-cli-pin as a contract member for stack-pin consumers, and copy the gate into the three actively-archiving repos with no stack pin #754, and its FIRST realized instance landed today: xFactory-Hermes-Install PR #72, merged 06c9083d (two of R1's three fields; the digest is owed there). It is NOT OpsxFactory — an earlier draft said so and was wrong; see the fix round below. R1 now also carries the PRECONDITION on the normal case (the consumer's contract_ref must reach the entrypoint) and the clause pricing the fallback against the promoted requirement A required check runs the pinned tool, at the pinned digest.
  • R1 also carries the archive-command clause added in bench round 2 (Codex P1, taken): where two governed acts are reached by two different commands, the register names both and never presents one command as accepting a verb it rejects — validate-openspec-cli-pin.py validates and has no archive verb; scripts/proposal-support.py <root> archive <change> is the archive route, and it resolves and verifies the pin the same way.
  • R2 — Registering a pin in the consumption register is not a bundle cut unless it moves the release membership. D1 written into canon so the next author need not re-derive it, with an obligation on the registering author to RECORD the derived membership before and after.

Why ADDED and not MODIFIED: the requirement a modification would land on — An external neutral product is pinned by commit and digest, never by tag — is already under an ACTIVE ## MODIFIED block held by add-openspec-cli-pin, which has not archived. A second block over that title would have to restate either the promoted text (contradicting the pending block a reader compares it to) or the pending text (restating canon this repository does not yet hold).

REALIZED IN THIS PULL REQUEST, per release-realization's decomposition rule, in two editorial files and nothing else: one contracts/manifest.yaml row (id: openspec-cli-pin, type: pin, no sha256, a never-copy consumption_rule written on domain-factory-conformance-validator's precedent at contracts/manifest.yaml:184-199), and contracts/README.md's matching index row plus the new consumer-facing section. contracts/openspec-cli-pin.yaml is NOT edited — no version, no digest, no disposition — and nothing here may be read as approving a bump.

D1 — the veto point: A-defer (RATIFIED AS DESIGNED) against A-cut (NOT CHOSEN)

A-defer is designed on a measurement rather than on a reading, and it is what the word of 2026-09-07 ratified.

release_membership(.)                              before: 283   after: 283
contracts/openspec-cli-pin.yaml    in membership   False (both readings)
scripts/validate-openspec-cli-pin.py in membership False
contracts/manifest.yaml            in membership   True  (editorial)
contracts/README.md                in membership   True  (editorial)
contracts/releases/contract-v3.4.digests.yaml      283 entries

Release membership is a CLOSED set computed by scripts/hermes_runtime_validation/release.py::_collect_members (:532-745) from the hermes-runtime contract index, the fixture index, scripts/hermes_runtime_validation/**, four NAMED_VALIDATORS, seven AUXILIARY_MEMBERS and three NORMATIVE_DOCS (:38-103). It never walks contracts/manifest.yaml's contracts: list — the manifest is read only for contract_bundle_version (:587) and the six intent-compliance registrations (:601-616). So a row added there moves no member.

And both edited files are EDITORIAL members (scripts/doc_health/release_inventory.py:57-67), of which release-surface-integrity says drift confined to them "is an EXPECTED, BOUNDED state that the next cut re-baselines, and it SHALL NOT be reported as a defect."

So: no bundle is spent, no digest set moves, no tag is owed, and release-inventory-drift gains no error.

A-cut, written out so a veto has somewhere to land — register AND cut contract-v3.5 here (CHANGELOG entry, contracts/releases/contract-v3.5.digests.yaml, contract_bundle_version advanced, annotated tag OWED after the merge). Its costs:

  1. It buys nothing this packet needs. The pin does not become an inventory member by being registered; consumer adoption is by COMMIT — codexFactory and OpsxFactory both resolve stack.yaml['xfactory']['contract_ref'] and check openxFactory out AT THAT COMMIT — so a bundle number is not on the path from this row to a consumer.
  2. It spends a version number that cannot be unspent. contract-v2.6 is the standing record of what that costs: cut, never published, superseded, permanently reported.
  3. It creates a tag obligation this lane cannot discharge, and until it is met release-tag-gate refuses the next pull request that touches the release surface — the estate-wide red PR Realize add-clearing-dispatch-boundary's neutral contracts: contracts/clearing at contract-v3.3 #628 caused on 2026-09-03.
  4. It is not this lane's act to take. A cut is a contract act on Brett Heap's word. This pull request cuts nothing and must not be read as authorising a cut. A-cut WAS NOT CHOSEN, so its conditional — that a cut, if chosen, becomes a realization task of this packet — does not arise; a cut remains an act on a word that has not been given.

A third option, recorded as not taken rather than foreclosed — A-member: add the pin to AUXILIARY_MEMBERS (and its entrypoint to NAMED_VALIDATORS) in release.py, moving the membership 283 → 285. That WOULD require the bundle realization order, and it is a change to the release machinery rather than to a register — a different packet.

A second, smaller veto point is design.md D2: the row carries no sha256, on domain-factory-conformance-validator's precedent, because the pin file legitimately moves on THREE events — a bump, a disposition added, and a disposition RETIRED (which the verifier forces when a dispositioned finding stops occurring, including when the raising change archives in ANOTHER repository) — and a digest would make each a two-file edit whose omission reds the required suite on main. The digest-bearing alternative is written out with its cost.

What a consumer does — three lines

  1. Resolve your own pin: read stack.yaml's xfactory.contract_ref.
  2. Check openxFactory out at that ref into a scratch path (.openxfactory-pin/) — nothing is copied into your tree.
  3. Invoke the entrypoint from that checkout, with your repository as the scan target: python3 "$OPENXFACTORY_ROOT/scripts/validate-openspec-cli-pin.py" --repo . --all --strict — and archive with the OTHER command in the same checkout, python3 "$OPENXFACTORY_ROOT/scripts/proposal-support.py" . archive <change-id>, because the entrypoint validates and has no archive verb (Codex P1, taken).

0. Before any of that, check your pin can reach the entrypoint. scripts/validate-openspec-cli-pin.py first exists at openxFactory 1d8cd54e (2026-09-04). MedxFactory and AdxFactory pin 6c03d783 (2026-08-06); LedgerxFactory pins af7ac0fa (2026-08-27); the entrypoint is absent from all three, so the recipe below is not executable for them — advance the pin first, and until then refuse rather than skip (codexFactory's scripts/validate-docs.sh:162 is the shape).

Never copy the pin or the entrypoint. A repository with NO stack pin may carry a DECLARED consumption copy — a file naming the openxFactory commit it was taken from, the digest of what it copied, and the divergence it accepts — retired when it adopts a stack pin. B of #754. The worked example is xFactory-Hermes-Install PR #72 (merged 06c9083d, 2026-09-07), not OpsxFactory: OpsxFactory has a stack pin, copies nothing, and belongs to the NORMAL case in hardened form.

Verification

Every command below was re-run at the RATIFIED head in a fresh clone, on the merge tree against origin/main 421b52d8 (this branch's fourth and last catch-up merge, a864ef69; the third, ee657e30, took main's ratification of amend-absent-changelog-is-an-answer, PR #753, and the fourth took the ideation-dashboard cli.py column split, PR #742). Every figure was taken twice — in the encode commit at f756a91f, and again on the merged tree — and not one of them moved, and every number is quoted from its output. Numbers that moved since the fix-round head moved because main moved, not because this branch did, and each is marked. The same figures are captured, with the probes, at review/verification-2026-09-07.md.

1. Strict OpenSpec validation, through the pinned entrypoint, whole corpus:

python3 scripts/validate-openspec-cli-pin.py --all --no-cache
Totals: 98 passed, 2 failed (100 items)                                 exit 0
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content
address; every target validated --strict with 0 UNDISPOSITIONED failures.
THIS IS NOT A CLEAN TREE: 2 finding(s) are ACCEPTED EXCEPTIONS, named above.

The two failures are the repository's TWO EXISTING RATIFIED DISPOSITIONS (add-chain-attestation, add-composed-view-authoring; Brett Heap, 2026-09-05, "take exit 2"), unchanged by this packet. --no-cache forces the fetch-and-recompute path rather than reusing a previous run's install. The item count moved 99 → 100 because main landed #753; the passed/failed split is unchanged in kind, and this delta writes no ## MODIFIED block at all, so it has none to fail on.

2. This change, strictly, through the same route:

python3 scripts/validate-openspec-cli-pin.py --change publish-openspec-cli-pin-as-contract-member
-> openspec validate publish-openspec-cli-pin-as-contract-member --strict --json
Totals: 1 passed, 0 failed (1 items)                                    exit 0

3. Release membership, before and after the diff (scripts/hermes_runtime_validation/release.py::release_membership): 283 → 283, contracts/openspec-cli-pin.yaml absent from both. This is R2's own obligation discharged in the packet that writes it.

4. Manifest digests:

python3 scripts/validate-manifest-digests.py
OK contracts/manifest.yaml: 188 per-file digest(s) verify                exit 0

Unchanged in count: the new row carries no sha256 (D2), so the digest-bearing set is the same set it was.

5. sequenced_after:

python3 scripts/validate-sequenced-after.py .
sequenced_after validation passed (40 active changes, 5 declaring the field)  exit 0

RE-VERIFIED AFTER EACH CATCH-UP MERGE FROM main, most recently ee657e30
taking f756a91f. 39 → 40 active changes and 180 → 181 ledger rows because
main landed #753
, not because this branch moved a row: ratification moves
no ledger row at all
, a row's derived keys (state, class, declares,
depth, prose) reading no lifecycle status.

python3 scripts/validate-sequenced-after.py . --ledger-diff
per-change sweep ledger consistent with the corpus (181 rows).            exit 0

python3 -m pytest tests/sequenced_after tests/scope_globs -q
262 passed                                                               exit 0

A FINDING FOUND BY WRITING THE DECLARATION AND READING THE REFUSAL. This packet would also stand behind bump-openspec-cli-pin-to-1.12, and that entry is UNWRITEABLE:

sequenced_after of publish-openspec-cli-pin-as-contract-member entry
'bump-openspec-cli-pin-to-1.12' has change-id half 'bump-openspec-cli-pin-to-1.12',
which does not match ^[a-z0-9][a-z0-9-]*$

That sibling's own directory name carries a ., so no change in this repository can order itself behind it by any spelling. Recorded as an owed successor at tasks.md § 5.6 with its three honest exits — widen the grammar, rename the change, or accept that the ordering is prose no machine reads — and none of them taken here.

6. Release-tag gate (the local equivalent of the required check):

python3 scripts/validate-release-tag-gate.py . --head HEAD --base origin/main \
                                            --repo-name openxFactory

## release-tag-gate
release surface touched by this pull request (1 path(s)):
  - contracts/manifest.yaml
declared bundle: contract-v3.4 at the base 421b52d8d -> contract-v3.4 at the head a864ef695
  [info] contract-v2.6 is declared SPENT: it was cut, has no published annotated
  tag, and contract-v3.0 — itself cut, itself published and strictly later —
  superseded it. … RULED BY Brett Heap, 2026-09-02
the release-tag obligation holds over the merge tree a864ef695: no error, no warning
GATE exit=0

The one [info] is the repository's PRE-EXISTING contract-v2.6 SPENT record, untouched by this packet and reported identically on origin/main. contract-v3.4 is published — an annotated tag object peeling to commit 807a4f47 — and this packet does not touch contract_bundle_version, so neither gate-findings nor gate-version-reuse has a condition to fire on. The required release-tag-gate check on this pull request reports pass, which is the authoritative reading; the local run above is the same tool over the same merge tree.

6b. The origin-retention gate, against the ratifying commit 05a9db8b:

python3 scripts/proposal-support.py . verify publish-openspec-cli-pin-as-contract-member
proposal support verification ok                                         exit 0

python3 scripts/validate-sequenced-after.py . \
  --archive-gate openspec/changes/publish-openspec-cli-pin-as-contract-member \
  --ratified-ref 05a9db8b
sequenced_after retention gate passed (declaration unchanged since ratification).  exit 0

python3 scripts/validate-scope-globs.py . \
  --archive-gate openspec/changes/publish-openspec-cli-pin-as-contract-member \
  --ratified-ref 05a9db8b
scope_globs scope-retention gate passed (scope unchanged since ratification).      exit 0

BOTH ARMS: RETAINED, run the moment 05a9db8b existed and RETAINED again on the merged tree after a864ef69. The status flip and the approval pair move in ONE commit precisely because the gate resolves the ratifying commit as the FIRST commit declaring Status: ratified; the record re-derivation is a SEPARATE commit touching review/ files only, so it never becomes that commit.

6c. The published recipe, REPRODUCED rather than asserted — the entrypoint invoked FROM this checkout against a FOREIGN repository root, nothing copied into it: Totals: 1 passed, 0 failed (1 items), exit 0. And the first attempt, before that scratch repository declared a remote.origin.url, REFUSED with REFUSE pin-repo-unidentified: … cannot say WHICH repository's tree it is validating — the fail-closed behaviour R1's precondition clause requires of a gate that meets an absence.

7. Test suites:

python3 -m pytest tests/doc-health tests/sequenced_after tests/scope_globs tests/proposal-support -q
1923 passed, 7 warnings, 2 subtests passed                              exit 0

python3 -m pytest tests/manifest_digests tests/hermes_runtime_contracts/test_release_inventory.py \
                 tests/doc-health/test_release_tag_gate.py tests/doc-health/test_release_inventory.py -q
131 passed                                                              exit 0

python3 -m pytest tests/sequenced_after tests/scope_globs -q
262 passed                                                              exit 0

python3 -m pytest tests/sequenced_after -q          -> 177 passed       exit 0
python3 -m pytest tests/intent-compliance -q        -> 288 passed       exit 0
python3 -m pytest tests/intent-compliance/test_release_boundary.py tests/credential_contracts -q
261 passed                                                              exit 0

THE HEADLINE NUMBER MOVED AND THE BRANCH DID NOT MOVE IT. The first round
quoted 1903 and the fix-round head 1917; the count at this head is
1923, and the origin/main control reports 1923 passed, 7 warnings, 2 subtests passed from a worktree outside this clone — the SAME number, so
this branch adds ZERO tests, which is what a packet realizing in two
editorial files should do. A status flip adds none either: the count is
identical before the encode, after the encode and after the fourth catch-up
merge, and the control reports 1923 at f756a91f and again at 421b52d8.

AND ONE MEASUREMENT ARTIFACT, RECORDED SO NOBODY RE-DERIVES IT AS A MAIN
REGRESSION.
Running that suite in an origin/main worktree placed INSIDE this
clone reports 1 failed, 1916 passed —
test_modified_block_currency_self_gate.py::test_the_resolver_fails_on_a_checkout_it_cannot_confirm_and_never_walks_up,
DID NOT RAISE UnresolvedRepository. It is the nesting, not main: the test
asserts the resolver REFUSES ROOT.parent, and when the worktree sits inside the
clone, ROOT.parent IS a real openxFactory checkout, so the resolver correctly
resolves it. Re-run from a worktree OUTSIDE the clone, the same test passes.
Do the branch-vs-main comparison from a worktree outside the clone.

8. doc-health, branch against origin/main:

origin/main   (temporary worktree at 421b52d8, OUTSIDE this clone, removed after):
  Findings: 9 critical, 8 error, 58 warning, 13 info
this branch, BEFORE the ratification was encoded:
  Findings: 9 critical, 8 error, 58 warning, 15 info
this branch, AFTER it was encoded:
  Findings: 9 critical, 8 error, 58 warning, 15 info

The two branch reports are BYTE-IDENTICAL (md5sum equal once the
checkout's own directory-name token is normalized): the status flip, the three
citation lines, the approval pair, the README row and BOTH new record files
together add not one finding and move not one number. All three report New regressions vs previous report: 0.

ZERO new critical, ZERO new error, ZERO new warning. The info delta
is +2/-1 and every one of the three is named, with why it is expected:

new finding severity why it is expected
release-inventory-drift on contracts/manifest.yaml — "bytes differ from the digest contract-v3.4 records (editorial member — expected between cuts)" info THIS IS THE A-DEFER READING, CONFIRMED BY THE FAMILY ITSELF. The manifest is one of the three editorial members; release-surface-integrity declares its movement between cuts an expected bounded state, and the family grades it info rather than error for exactly that reason.
release-inventory-drift on contracts/README.md — same words info the second editorial member this packet edits, same reason.
staged-candidate-aging — "draft age distribution days: min=0 max=61 n=75" (was min=1) info, class contested a trend datum whose own action string is "trend data — no action required": the minimum moved to 0 because this packet's own draft documents are zero days old. The line it replaces is the same line with min=1.

Nothing else moved. A line-by-line diff of the two normalized reports
returns those two additions and that one changed line and nothing more — no
family gained an error or a warning, and no existing finding changed.

AND THE RATIFICATION IS INSIDE THAT READING, MADE TO FIRE AND THEN CLEARED
RATHER THAN ASSUMED AWAY.
doc-health names this packet ZERO times in the
whole report, on either side, so both zeroes were PROBED:

--family proposal-origin      : 0/0/0/0   — with the approval pair REMOVED and
                                Status: ratified standing: 1 error, exactly the
                                class-7 finding, and nothing else; restored
                                byte-identically, back to 0
--family ratified-provenance  : 5 critical (the five origin/main already carries,
                                none this packet's) — with a SECOND citation line
                                added to proposal.md's header window: 6, the extra
                                being "carries 2 ratification citation lines, not
                                one"; removed again, back to 5
--family duplicate-packet     : 0/0/0/0
--family modified-block-currency: identical both sides (this delta writes no block)

A NOTE ON AN EARLIER READING, so nobody re-derives it and is confused. A
first branch run reported 12 info and appeared to LOSE the pre-existing
contract-v2.6 SPENT record. It did not: release-tag-publication was SKIPPED
in that run — "the published refs for contract-v1.10 could not be consulted", a
transient network condition doc-health prints rather than swallows. Re-run
family-scoped, the branch reports that record identically to origin/main
(0 critical, 0 error, 0 warning, 1 info).

9. Two further suites, run because they read the manifest:

python3 -m pytest tests/intent-compliance/test_release_boundary.py tests/credential_contracts -q
261 passed in 5.66s                                                     exit 0

10. Two further checks the fix round added to the standing set:

python3 scripts/doc-health.py --single-repo . --family modified-block-currency
  -> 0 findings naming this packet (it writes no `## MODIFIED` block — design.md D4).
     The 8 `info` carriage-ledger rows in the ranked plan all name OTHER active
     changes and are identical on `origin/main`.

python3 scripts/validate-scope-globs.py
scope_globs validation passed (all active changes conform).              exit 0

AND ONE STANDING error NAMED SO IT IS NOT MISREAD AS THIS PACKET'S.
release-inventory-drift reports severity=error on
docs/contract-versioning-policy.md — "bytes differ from the digest
contract-v3.4 records"
. That file is a NORMATIVE member (release.py
NORMATIVE_DOCS), not one of the three editorial members, so its drift grades
error rather than info. It is pre-existing and identical on origin/main;
this packet does not touch that file, and A-defer neither creates nor discharges
it. design.md D1's expected-verdict table now names it.

Fix round (three-lens adversarial review)

Three adversarial lenses re-measured every citation in this packet against the
tree. Two majors and eight smaller corrections, all taken; one refusal
re-measured and upheld.
Landed in 2d195187 (merge tree 85adc0f3) and 8eb5dc8f (bench round 3).
Nothing in the round ratifies anything: no Status: moved, no Ratified line
was added, .openspec.yaml is untouched, and contracts/openspec-cli-pin.yaml,
contracts/releases/**, contracts/CHANGELOG.md, openspec/specs/ and
openspec/changes/archive/ were not edited.

MAJOR — the fallback's worked example was the wrong repository

The packet cited OpsxFactory's contracts/openspec-cli-pin-consumption.yaml as
R1's fallback realized — "a repository with NO xfactory: stack pin … a
DECLARED consumption copy naming the commit copied from, the digest, and the
divergence accepted"
— in contracts/README.md, proposal.md, tasks.md § 2.5,
the root README.md OpenSpec Records row and this body. Measured, it is none of
those things:

R1's fallback says OpsxFactory, measured 2026-09-07
NO xfactory: stack pin HAS one — contract_ref: 724a2a4f, declared 2026-09-06
a COPY of the pin / the entrypoint copies nothing — contracts/openspec-cli-pin.yaml and scripts/validate-openspec-cli-pin.py both 404 in that tree
names the commit it copied FROM records commit_source: stack.yaml xfactory.contract_ref — a POINTER, and scripts/opsx_validation_gate.py asserts STATICALLY that the file declares no commit of its own
states the divergence it accepts its "DECLARED DIVERGENCE" (opsx-validation.yml:41) is a divergence from OpsxFactory's OWN ratified design.md § 4/§ 6 — an npm ci install of @fission-ai/[email protected] — TOWARD this pin

Its governing change, advance-openxfactory-pin-and-fold-cli-pin (2026-09-06),
went in the retire-the-copy direction, folding away the second openxFactory
checkout the old apparatus needed. The citation is struck from all five
carriers
, and OpsxFactory is re-cited under R1's NORMAL case, where it is a
genuinely useful hardened precedent: per-file SHA-256 digests recomputed against
the pinned checkout before the entrypoint is executed, so the entrypoint that
RAN is provably the entrypoint that was REVIEWED.

The fallback's first realized instance is named instead, with its shortfall
stated rather than smoothed.
xFactory-Hermes-Install
PR #72, merged
06c9083d on 2026-09-07 as B of #754, carries two of R1's three fields — the
openxFactory commit copied from (44d8fbaf7d977668973dcd116040c9405416c2ea, in a
vendoring header on each of three copied files) and the divergence accepted
(three uses: commit-SHA pins in the adapted workflow; governed archive routing
deferred, scripts/proposal-support.py not being vendored). The third — the
digest of what it copied — is NOT recorded
: it asserts byte-identity below the
header and ships a diff recipe against the named commit in place of a per-file
sha256. That is a real check and it is not the field R1 names, so the digest is
OWED on xFactory-Hermes-Install, named as owed at tasks.md § 5.1 rather than
counted as met. R1's delta text names no repository, so no delta wording
changed for this item.

MAJOR — the normal-case recipe was not executable for three consumers

scripts/validate-openspec-cli-pin.py first exists at openxFactory 1d8cd54e
(2026-09-04). Measured with git cat-file -e <ref>:scripts/validate-openspec-cli-pin.py:

consumer stack.yaml xfactory.contract_ref entrypoint at that ref
MedxFactory 6c03d783 (2026-08-06) ABSENT
AdxFactory 6c03d783 (2026-08-06) ABSENT
LedgerxFactory af7ac0fa (2026-08-27) ABSENT
OpsxFactory 724a2a4f (2026-09-05) present
codexFactory current present

A literal reader of the recipe in those three repositories gets
No such file or directory and falls back to the ambient openspec — the
Codex-P1 failure class in a second guise, and the recipe said nothing about
it. codexFactory already guards it (scripts/validate-docs.sh:162, "the
stack.yaml contract_ref predates add-openspec-cli-pin, so strict OpenSpec
validation cannot run in CI"
). Step 1 now carries the precondition, the three
named consumers, the advance-your-pin remedy and that guard as the shape of a
lawful refusal, and R1 gains the matching clause plus the scenario The
consumer's pinned ref predates the entrypoint
, so canon says what the recipe
requires rather than leaving it in a README.

CANON — R1's fallback is reconciled with the promoted required-check requirement

neutral-product-pin § A required check runs the pinned tool, at the pinned
digest
holds that a REQUIRED check "SHALL NOT invoke an in-tree copy, a vendored
duplicate or an unpinned installation"
. R1's fallback admits exactly such a
check. R1 now says so: declaring the copy makes it AUDITABLE and not LAWFUL —
the enforcement claim of that promoted requirement stays UNMET for as long as
the copy stands, and is discharged only when the copy is retired for a stack pin.
One clause plus the scenario A required check is wired off a declared consumption
copy
; contracts/README.md is aligned to the delta's wording ("a DECLARED
consumption copy — a file"
, not "the pin, the entrypoint and the installer" as
a lawful steady state). R1 now carries seven scenarios, not the four
tasks.md § 3.1 still claimed.

The eight smaller corrections, each re-measured

where said measured taken
design.md D0(a), proposal.md ~36, tasks.md 2.1 openspec-cli-pin appears in contracts/manifest.yaml "only inside prose comments of the openxwallet-pin rows (lines 2076-2685)" ZERO occurrences — that prose carries openxwallet-pin.yaml corrected; the gap is TOTAL in all three registers, a stronger reading than the one it replaces
design.md D5 the only files naming the string outside openspec/ and scripts/ are the root README and two workflows TEN (add contracts/openspec-cli-pin.yaml, specs/021-…/contracts/self-gate-contract.md, five under tests/) narrowed to the load-bearing half, which is true: docs/ has zero
design.md D3 five singletons among 14 distinct type: values SEVEN — fixture_index and sql_schema were missed all seven named, with the full distribution
tasks.md 3.1 "Four scenarios" SEVEN (the box was not re-counted after bench round 2) re-counted against the file
contracts/README.md step 2 "both live consumers use exactly this name: OPENXFACTORY_ROOT" OpsxFactory uses OPSX_PINNED_OPENXFACTORY_CHECKOUT / OPSX_OPENSPEC_CLI_PIN_ENTRYPOINT "codexFactory uses this name; OpsxFactory its own — the name is yours, the seam is the checkout"
proposal.md § Ratification named D1 only D2 and A-member are veto points named in design.md, tasks.md and .openspec.yaml but not here § Ratification now names all three
design.md D1 did not engage docs/contract-versioning-policy.md § Change Classes grades "new contracts" Additive (minor); § Version Identity item 5 requires the release entry to list "every contract added", and the changelog carries no Unreleased block by practice D1 answers both: the class is a statement about the NEXT CUT, not that a register edit is a cut; the CHANGELOG entry is OWED AT THE NEXT CUT, recorded as new tasks.md § 5.7; the atomicity clause is unbreached because this diff adds no contract FILE (the pin file already exists and is untouched, D7)
design.md D2 gave the digest's cost the row's consumption_rule QUOTES scripts/validate-openspec-cli-pin.py and nothing compares it against the pin's own consumer_entrypoint: the residual coupling is named in D2 and folded into § 5.4's owed checker

Two NOTEs also taken. target_release: none is house practice and not an
enumerated value of release-realization § Realization axis declaration
(implemented, or a named aggregation-repo release) — the front matter now says
so, citing the eleven active changes that spell it that way. And
neutral-product-pin's Purpose frames the capability as consumer-only
("the direction in which it is the consumer rather than the publisher"), which
R1 outgrows — the widening is owed AT ARCHIVE, where the spec file is
rewritten, recorded as new tasks.md § 5.8.

The one refusal, re-measured and upheld

Copilot's "licence" → "license" nit was refused with counts. Those counts
reproduce exactly, with a case-SENSITIVE lowercase-only count
(git grep -oE 'licence' <ref> [-- <path>] | wc -l) — the prose spelling. A
case-INSENSITIVE count folds in the machine keys (License:, LICENSE, SPDX
identifiers), which cannot change spelling and are not comparable prose:

measure at b13f6157, case-sensitive at 85adc0f3, case-sensitive at 85adc0f3, case-insensitive
repo-wide licence : license 203 : 526 (as posted) 204 : 535 237 : 631
contracts/ 45 : 75 (as posted) 45 : 75 61 : 87
root README.md licence 9 9 9

The repo-wide pair moved by +1 / +9 only because origin/main landed the
Apache-2.0 LICENSE (PR #762) between the rounds. One correction to the
refusal's own text:
it said the root README uses licence "eight times" — it
is nine. The refusal stands: 2.6:1 and 1.7:1 are not "overwhelming", both
spellings are established in this corpus's prose, and one word in one comment is
not worth a churned line.

Bench round 3 — Copilot found the SAME defect in the two carriers the first taking did not reach

Reviewing the fix-round head, Copilot raised two inline findings, both correct
and both TAKEN
(8eb5dc8f). They are violations of this packet's own new R1
clause — where two governed acts are reached by two different commands, the
register names both and never presents one command as accepting a verb it
rejects
— which is the strongest possible reason to take them:

thread said taken as
contracts/README.md:57 (the native-contract index row) consumer_entrypoint: "names the one entrypoint through which strict validation and archive run" — contradicting the four-step recipe eight lines below the row now says the entrypoint is the route for STRICT VALIDATION, that it has no archive verb, and that the archive act runs through scripts/proposal-support.py <root> archive <change-id> in the same pinned checkout, which resolves and content-address-verifies the same binary
contracts/manifest.yaml:3715 (consumption_rule) the row tells consumers to invoke the validate entrypoint "for every strict OpenSpec validation and every archive" the rule now names both commands and says which act each performs, with the reason the second exists (archive <id> is rejected as an unrecognized argument)

AND THE SAME CLAIM STANDS IN A FILE THIS PACKET MAY NOT EDIT.
contracts/openspec-cli-pin.yaml's own header, above consumer_entrypoint:,
reads "Every repository in the estate runs STRICT OpenSpec validation and every
OpenSpec ARCHIVE through this entrypoint and through nothing else."
That file is
not this packet's surface — design.md D7 refuses to edit it and nothing here
may be read as approving an edit to it — so the defect is OWED on the pin, in
its own change family (add-openspec-cli-pin / bump-openspec-cli-pin-to-1.12),
and is filed as tasks.md § 5.9 with the tick-on-the-recording shape the
other § 5 boxes use. Recording it beats silently fixing four carriers while the
source of the claim keeps saying it.

What the fix round did NOT do

No merge, no ratification, no Status: change, no Ratified/Ratified by line,
no approved_by/approved_on, no edit to .openspec.yaml, no cut, no tag, no
edit to contracts/openspec-cli-pin.yaml, contracts/releases/**,
contracts/CHANGELOG.md, openspec/specs/** or another change's directory. The
xFactory-Hermes-Install digest and the three sibling pin-syncs are named as owed
in the repositories that own them, and none is performed from this lane.

What the RATIFICATION ENCODE did not do either

No merge, no approval click, no archive, no cut, no tag, no force-push, no
LANDING/LANDED post, and no edit to contracts/openspec-cli-pin.yaml,
contracts/releases/**, contracts/CHANGELOG.md, openspec/specs/**,
openspec/changes/archive/** or any other change's directory. The delta, the
manifest row, the contracts/README.md section and .openspec.yaml's origin
block (kind, id, reason) are byte-unmoved from the head the word was given
over; the only additions are the status flips, the three citation lines, the
approval pair, the § 1 ticks, the README row and the two records. Every § 5
box stays OPEN.

Governance

Refs #754 — the estate-wide rollout's governing record, which governs B and
every sibling lane as well as this packet and therefore stays open; it is
not closed by this landing, and this packet's own archive is a separate act on a
separate word (tasks.md § 5.5).

RATIFIED 2026-09-07 by Brett Heap (openxFactory operator authority), in
session, verbatim "merge 72 when green, then ratify the A packet" (recorded on
#754 at 2026-09-07T14:27:55Z). Records:
openspec/changes/publish-openspec-cli-pin-as-contract-member/review/ratification-2026-09-07.md
and review/verification-2026-09-07.md. D1 and D2 were both put and neither
was vetoed.

Rule 6: touches openspec/changes/. Lane openxfactory-1 posts the LANDING and
LANDED lines; the merge is an admin merge under the B2 provenance pattern on the
recorded word.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

Half A of the estate-wide OpenSpec CLI pin rollout governed by issue #754.
The gate is already ratified and running; what is missing is PUBLICATION.
`contracts/openspec-cli-pin.yaml` is registered in neither
`contracts/manifest.yaml` nor `contracts/README.md`, so the one file that says
which tool decides what canon is, is absent from the register cross-repository
consumers read. Two ADDED requirements on `neutral-product-pin` and the
registration itself, in two editorial files.

Nothing here is ratified. Status: draft throughout.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Copilot AI lite review requested due to automatic review settings September 7, 2026 14:15

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

One row moved and no other: class `sole`, `declares: [add-openspec-cli-pin]`,
depth 1. Seeded with `--seed-ledger --moved-by '#757'` after the pull request
existed, and the diff read to confirm the row is this change's alone.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

@codex review

#757)

Two editorial corrections, no meaning moved. (1) R1's opening line is rewrapped
so `SHALL` stands on the FIRST line of the requirement body, which is the only
line the parser reads when checking for it — the clause and its scope are
unchanged, and 1.12.0 accepted both readings. (2) The new consumer section's
heading is spelled exactly as the manifest row and the index row cite it, so
the two cross-references resolve to the heading's own bytes.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are scoped to editorial/register publication and supporting OpenSpec documentation, with only minor documentation consistency tweaks suggested.

Pull request overview

This PR proposes and realizes (within openxFactory) publication of the existing OpenSpec CLI consumption pin as a discoverable, consumer-adopted contract register member—so stack-pin consumers pick it up via normal pin-sync—without changing the pin itself or cutting a new contract bundle.

Changes:

  • Add a published contract register entry for contracts/openspec-cli-pin.yaml in contracts/manifest.yaml (as type: pin) and index it + add consumer wiring guidance in contracts/README.md.
  • Introduce a new draft OpenSpec change packet documenting the new “published consumption pin” requirements for neutral-product-pin and the measured “no bundle cut owed” rationale.
  • Update the root OpenSpec Records index and the sequenced_after corpus ledger to include the new active change.
File summaries
File Description
tests/sequenced_after/corpus-ledger.yaml Adds the new change to the sequenced-after sweep ledger.
README.md Adds the new draft change to the OpenSpec Records “Active changes” index.
openspec/changes/publish-openspec-cli-pin-as-contract-member/tasks.md Draft task plan capturing ratification + realization/owed follow-ups.
openspec/changes/publish-openspec-cli-pin-as-contract-member/specs/neutral-product-pin/spec.md Adds two new requirements defining published consumption-pin registration + bundle-cut decision rule.
openspec/changes/publish-openspec-cli-pin-as-contract-member/proposal.md Draft proposal describing scope (register-only), measured release-membership impact, and adoption guidance.
openspec/changes/publish-openspec-cli-pin-as-contract-member/design.md Draft design documenting A-defer vs A-cut decision and rationale, plus manifest row decisions.
openspec/changes/publish-openspec-cli-pin-as-contract-member/.openspec.yaml Drafting provenance and related-change links for the new OpenSpec packet.
contracts/README.md Adds the pin to the native contract index and adds consumer-facing “checkout, never copy” wiring instructions.
contracts/manifest.yaml Registers openspec-cli-pin as a published contract member with a never-copy consumption rule (no sha256 by design).
Review details

Suppressed comments (1)

contracts/README.md:246

  • The consumer wiring recipe uses $OPENXFACTORY_ROOT in the command example, but the preceding steps never say to set it (they only mention a scratch checkout path). Adding an explicit export OPENXFACTORY_ROOT=... step avoids ambiguity for first-time consumers copying this snippet.
1. **Resolve your pin.** Read `stack.yaml`'s `xfactory.contract_ref` — the exact
   openxFactory commit your repository consumes.
2. **Check openxFactory out at that ref**, into a scratch path
   (`.openxfactory-pin/`, `scratchpad/openxfactory-pin-<sha12>/`, whatever your
   CI convention is). Nothing is copied into your tree; the checkout is
  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • 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 thread contracts/README.md Resolved
Comment thread contracts/manifest.yaml Resolved
Copilot AI review requested due to automatic review settings September 7, 2026 14:19
…757)

TAKEN, from Copilot's suppressed comment on `contracts/README.md`: step 3's
command reads `$OPENXFACTORY_ROOT` and no step said to set it, so a consumer
copying the snippet had a variable with no origin. Step 2 now exports it beside
the checkout it names, and says why that name and not another: it is the exact
variable both live consumers already use — codexFactory's `validate.yml` passes
`OPENXFACTORY_ROOT` to `scripts/validate-docs.sh`, and OpsxFactory writes the
same seam into its job environment.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 36cd4fb646

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread contracts/README.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

There are a couple of concrete documentation/spelling issues in the newly added contract register text that should be corrected before approval.

Review details

Suppressed comments (2)

Previously missed (2) — in code that hasn't changed since the last review.

contracts/README.md:247

  • The example command uses $OPENXFACTORY_ROOT, but the preceding steps never define what it should be set to, so a reader copy/pasting the snippet will likely fail. Please explicitly state that OPENXFACTORY_ROOT must point at the scratch checkout root from step 2.
    contracts/manifest.yaml:3687
  • Typo/inconsistency: the repo overwhelmingly uses “license” (not “licence”) elsewhere in manifest prose; this should be “license” for consistency and searchability.
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 7, 2026 14:23
…mber (#757)

Catch-up so this branch's `sequenced_after` row is validated by the tooling
main now carries (#752's archive-gate parity round 2 rewrote
`scripts/sequenced_after.py` and `scripts/validate-sequenced-after.py`).

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are consistent with the stated scope (register/index + documentation only) and do not introduce behavioral code changes, with only a minor documentation clarity nit.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

contracts/manifest.yaml:3681

  • The comment (#754) is ambiguous in this file (it’s the only (#<num>) reference in contracts/manifest.yaml) and can be misread as a PR number rather than the governing issue. Make the reference explicit (e.g., “openxFactory issue #754”) to avoid confusion for consumers reading the register.
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 7, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are editorial/register-focused, align with existing manifest conventions (including digest-optional rows), and I did not find any correctness issues in the modified regions.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…757)

TAKEN, Codex P1. The first draft told a consumer to "route `openspec archive`
through the same entrypoint". It is not executable and the tools say so:
`validate-openspec-cli-pin.py --help` offers `--all` and `--change` only, and
`archive <id>` is rejected as an unrecognized argument. The archive act runs
through `scripts/proposal-support.py <root> archive <change>` in the same
pinned checkout, which imports that entrypoint's own resolver, verifies the
artifact's content address and invokes the resolved binary — and whose first
positional is the CONSUMING repository root, exactly as `--repo` is for
validation, so one pinned checkout serves both acts over a foreign tree.

The recipe becomes four steps and names both commands. R1 gains the clause and
a scenario that make it CANON rather than a local repair: instructions covering
a governed act name the actual command for it and never present one command as
accepting a verb it rejects, because a consumer following an unexecutable
instruction falls back to the ambient tool — the state the pin exists to end.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Copilot AI review requested due to automatic review settings September 7, 2026 14:32
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

Bench round 2 — disposition

Codex — 1 finding, P1, TAKEN. "Add a supported pinned archive route." Correct, and verified against the tools before acting: validate-openspec-cli-pin.py --help offers --all/--change and rejects archive <id>; the archive act runs through scripts/proposal-support.py <root> archive <change>, which imports the entrypoint's own resolver and invokes the resolved binary. The recipe is now four steps naming both commands, and R1 gains a clause plus the scenario The published instructions name a verb the entrypoint rejects so the rule is canon rather than a local repair. Landed b13f6157; full disposition on the thread.

Copilot — 3 reviews, all "🟢 Approval recommended", 2 inline + 3 suppressed.

finding disposition
heading capitalization vs the two cross-references (×2 inline) TAKEN — already landed in 4c2ce523 before the review reached that head; both threads answered and resolved.
$OPENXFACTORY_ROOT used but never set (suppressed, raised twice) TAKEN — b13f6157's predecessor 67556f3c adds export OPENXFACTORY_ROOT="$PWD/.openxfactory-pin" to step 2, and says why that name: it is the variable both live consumers already use.
"licence" → "license" in the manifest comment REFUSED, with the measurement. The claim is that the repo "overwhelmingly uses license". Measured on this tree: 203 licence against 526 license repo-wide, and 45 against 75 inside contracts/ — 2.6:1 and 1.7:1, not overwhelming; and most license hits are MACHINE KEYS (license: schema fields, SPDX identifiers), which are not comparable prose and cannot change spelling. Both spellings are established in this corpus's prose (the root README uses licence eight times). One word in one comment is not worth a churned line.

Bench state: Codex ran once and gave a real review, dispositioned above. Copilot took 3 rounds (its cap here is 3) and recommends approval. Two review threads resolved; the Codex thread is answered and left open for its author.

Nothing here is ratified.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are limited to well-formed registry/documentation updates (plus the new OpenSpec packet) and do not introduce verified tooling/schema breakage in the existing manifest consumers.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

Checks — all nine green at b13f6157

check conclusion
pytest-suite pass (run 34133555164)
release-tag-gate pass — the one that judges a diff touching contracts/manifest.yaml; the local run of the same tool over the same merge tree is quoted verbatim in the body
openspec-cli-pin pass
merge-master-approval pass
clearing-dispatch-gate pass
signed-execution-chain-gate pass
openreposhape-pin pass
wallet-validation pass
lane-line pass

mergeable: MERGEABLE, mergeStateStatus: BLOCKED (review required — expected; this packet seeks no merge). closingIssuesReferences is [] — the body says Refs #754, never Closes/Fixes/Resolves, so landing this closes no issue.

All three review threads are resolved. Nothing here is ratified; the packet awaits Brett Heap's word, and design.md D1 — A-defer against A-cut — is the veto point.

brettheap added a commit that referenced this pull request Sep 7, 2026
…try, the withheld verdict, and the amendment that must not be written

Still PROPOSAL ONLY. No schema byte moves, no version is cut, every box
unticked. One BLOCKER and four MAJOR findings landed; each correction
says what the first draft got wrong rather than reading as though it had
always said this.

B1 (BLOCKER) — THE CHAIN RULE PRESUMED A PATH THE CONTRACT NEVER DEFINES.
Measured, not argued: all four OpsxFactory locators carry an
`opsx:opensoft/` scheme prefix, and THREE of the four targets exist at no
ref under their literal path because they moved when their packets
archived (add-tenant-reader-grant-pipeline -> archive/2026-08-21-…;
add-managed-service-inventory -> archive/2026-08-22-…;
add-managed-service-mapping -> archive/2026-08-26-…); only the live
add-managed-node-inventory target resolves literally. So
`reason: archive_move` was UNADMITTABLE BY CONSTRUCTION — at an archive
commit the target is absent at `commit` under the old path and absent at
`commit^` under the new one, both named refusals. A member no conforming
record can ever use is a mistake, not a member.

Fixed four ways: (1) a normative clause — a repository holding
instruments SHALL DECLARE a custody store mapping resolving a locator to
a retrievable target; an unresolvable locator is a refusal and a checker
that INFERS an undefined path is nonconformant, because an inferred
rewrite manufactures agreement with a file nobody pinned; (2) each entry
gains `previous_locator` / `observed_locator` (closed, required, equal
when the target did not move), the `commit^` leg evaluated at the former
and the `commit` leg at the latter, so a move re-derives AT BOTH PATHS —
C-3's table renumbered 8 -> 10, new decision C-6a; (3) scenarios for a
path move re-derived at both paths and for a pair that resolves at
neither; (4) the worked example is corrected — it had used a resolved
archive-form locator for an instrument whose real locator is
scheme-prefixed and whose target is LIVE, contradicting this packet's own
finding. Two examples now, both quoted verbatim from the records: A (bytes
moved, path did not) and B (path moved, bytes did not).

M1 — `diff_class: content` bought currency by omission; design said the
class was in no leg, which admitted exactly what C-5 locks out. New C-9:
a `content` entry WITHHOLDS the verdict — a third outcome beside current
and refused, because "the evidence re-derived and shows the referent
moved" is a different fact from "the evidence could not be re-derived"
and goes to a different owner. Grounds for re-execution, not recording.
Brett's F.1 record-and-accept was for a content-UNCHANGED edit only.

M2 — the instructed "one `amendments` entry" would have transitioned
three EXECUTED instruments to `amended` under the promoted requirement
"Amendments Are Transitions, Never New Instruments" (D7), asserting the
parties' terms changed to record that a repository moved a file under an
unchanged pin. New C-10: the structured entry IS the record, no
`amendments` entry, status stays `executed`; carve-out stated in the
MODIFIED requirement, in § Impact, and removed from tasks/design. THIS
SUPERSEDES ONE CLAUSE OF THE F.1 RULING (PR #248 comment 5571629298) and
says so at the point of supersession — that clause predates the choice
announced in the same sentence, since the amendment was the prose half of
the form being replaced. Flagged as an operator veto point (task 1.3).

M3 — no ancestry leg: `at` is author-supplied recording time, so a
reachable non-ancestor commit passed every leg with HEAD matching by
coincidence. Added: each entry's commit is an ancestor of the next, and
the last is an ancestor of HEAD, plus a refusal scenario.

M4 — C-1's second leg was inverted. Being under `check_custody`'s
blob-shape walk is the PROTECTION, not the hazard, and the sibling siting
left `ruling_ref` and `recorded_by` — the two unbounded free strings —
outside the only "wherever it hides" guard. C-1 restated to stand on its
first leg, and task 3.5 extends `walk_strings` over both fields with a
negative fixture (4.8b).

MINORS: scenarios for a HEAD digest matching no terminus and for entries
out of recorded-time order, with a matching negative fixture (4.3c) so
§4's "one per named refusal" is true; "Depth 0" -> "Depth 1"; the
57fd9fd2 edit was one `+Ratified:` line per target, NOT a `Status:`
header (verified in the commit message and the per-target diff — the enum
members it grounds are unchanged); `ruling_ref` stated in requirement text
as a declared pointer no checker resolves; forward-dated archive citations
marked "(archive in flight; the live path until then is …)"; and the C-7
obligation made explicit — a repository whose instruments declare
`custody_rederivations` SHALL OPERATE a custody-digest check, which is the
line between a contract and a convention.

Gates at this head: pinned openspec CLI 1.12.0 --change 1 passed / 0
failed and --all --strict 97 passed / 0 undispositioned (2 pre-existing
accepted exceptions); modified-block currency 0 uncarried against canon;
sequenced-after 39 active + --ledger-diff consistent (180 rows);
scope-globs pass; consent-instruments 0 errors; manifest-digests 188
verify; pytest sequenced_after + proposal-support + scope_globs 330
passed, 2 subtests.

The ledger row's moved_by "#757" is now known WRONG — that number was
taken by another lane — so task 0.1's re-stamp is mandatory, not tidy-up.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 7, 2026
…ure path move, and a WITHHELD outcome that exists

Still PROPOSAL ONLY. 46 boxes, none ticked. Three new MAJORs, every one a
CONSEQUENCE of the previous round's fixes rather than an old defect.

N1 — THE REPAIRED CONSUMER PRESCRIPTION WAS STILL UNIFORM, AND IT IS TRUE
OF ONE CASE IN THREE. It said one entry per broken instrument with
previous_locator == observed_locator == custody.locator. Measured: two of
the three targets had ALREADY MOVED before 57fd9fd2 —
add-tenant-reader-grant-pipeline archived at a98fca5b (2026-08-21),
add-managed-service-inventory at 0ebb1191 (2026-08-22), both ancestors of
57fd9fd2 — so their custody.locator is a pre-archive path ABSENT at
57fd9fd2^ AND at 57fd9fd2. A single entry is refused whichever locator it
names: neither-path if the old one, anchor mismatch if the new one. The
three prescriptions are now written out with measured commits and digests:
two-entry chains for both archived instruments (e1 archive_move at the
archive commit, digests identical; e2 lifecycle_header_edit at 57fd9fd2 at
the archive path), one entry for opsx-opensoft-node-inventory, which was
never archived and is the only case the uniform rule ever fitted. Each
chain anchors to its pin and terminates at HEAD: bb8f89ea -> 5c87d547,
b5d4ab55 -> d9eecee3, 31e4f889 -> 7fc4bb21.

N2 — A PURE PATH MOVE HAD NO TRUTHFUL CLASS. C-4 defined header_only as a
header line moving and content as anything else; an archive move changes
ZERO bytes, so it fell to content, which C-9 had just made WITHHOLD
forever — on a target nobody edited. Example B was carrying
`header_only # no byte changed`, contradicting C-4 outright. Added a third
closed member `path_only` rather than widening header_only, which would
have made that class mean "bytes may or may not have changed" — the one
thing a reviewer reads it to find out. The estate's measurement is the
argument: both archive moves have previous_sha256 == observed_sha256
exactly. Class definitions and the per-class currency consequence now live
in REQUIREMENT text, not design alone: path_only and header_only may reach
CURRENT, content WITHHOLDS.

N3 — WITHHELD WAS MANDATED AND REPRESENTED BY NOTHING. No task minted the
outcome, the validator's finding API is error/warning/note only, no
fixture existed, and the neutral-legs enumeration omitted it — so a
content-class entry with sound legs would have silently PASSED, which is
the defect C-9 was written to close. diff_class is a field of the record,
so the withholding is neutral-computable: task 3.4b mints
`custody-content-class-withheld` as a distinct named outcome in the report
line (not an error — the record is correct and the INSTRUMENT needs
attention, so an error routes it to the wrong owner), task 3.4c adds the
path_only digest-equality leg, fixture 4.8c asserts WITHHELD as a third
expectation bucket, and the requirement now names which checker represents
withholding and obliges the consumer gate to PROPAGATE it and never
upgrade it to a pass. Task 3.3's no-git assertion is untouched.

Leftovers: fixture 4.7's "ninth property" -> ELEVENTH (the entry has ten
required fields since C-6a, so a ninth tested nothing); C-4's load-bearing
sentence still said 57fd9fd2 "prepended a Status: header" — it inserted one
`+Ratified:` line per target, measured in the commit message and the
per-target diff; C-7's Decision paragraph now enumerates the locator
halves, the path_only leg and the withheld outcome, aligned with tasks 3.1
and the requirement.

Gates at this head: pinned openspec CLI 1.12.0 --change 1 passed / 0 failed
and --all --strict 97 passed / 0 undispositioned (2 pre-existing accepted
exceptions); MODIFIED carry 0 uncarried; 22 scenarios, SHALL on the first
line of both requirement bodies; sequenced-after 39 active + --ledger-diff
consistent (180 rows); scope-globs pass; consent-instruments 0 errors;
manifest-digests 188 verify; pytest sequenced_after + proposal-support +
scope_globs 330 passed, 2 subtests.

Ledger moved_by "#757" still provisional and still wrong; task 0.1's
re-stamp at PR time remains mandatory.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
…d the recipe was unexecutable for three consumers (#757)

Three adversarial lenses re-measured this packet's citations against the tree.
Two majors and eight smaller corrections; nothing here ratifies anything, no
`Status:` moves, and `.openspec.yaml` is untouched.

MAJOR — THE FALLBACK'S WORKED EXAMPLE WAS THE WRONG REPOSITORY. The packet cited
OpsxFactory's `contracts/openspec-cli-pin-consumption.yaml` as R1's fallback
realized ("a repository with NO `xfactory:` stack pin ... a DECLARED consumption
copy"). Measured: OpsxFactory HAS a stack pin (`contract_ref: 724a2a4`), copies
NOTHING (the pin and the entrypoint both 404 in that tree), records
`commit_source: stack.yaml xfactory.contract_ref` — a POINTER, asserted
statically by `scripts/opsx_validation_gate.py` — and states no divergence from
openxFactory; its "DECLARED DIVERGENCE" is a divergence from OPSXFACTORY'S OWN
ratified `design.md` § 4/§ 6 (an `npm ci` install of 1.2.0) TOWARD this pin, and
its governing change `advance-openxfactory-pin-and-fold-cli-pin` went in the
retire-the-copy direction. The citation is struck from all four carriers and
OpsxFactory is re-cited under R1's NORMAL case, where it is a useful hardened
precedent: per-file SHA-256 digests recomputed against the pinned checkout before
the entrypoint runs, so the entrypoint that RAN is the entrypoint that was
REVIEWED. The fallback's first realized instance is named instead —
xFactory-Hermes-Install PR #72, merged `06c9083d` today — with its shortfall
stated rather than smoothed: it carries two of R1's three fields (the commit
copied from, `44d8fbaf`, in three vendoring headers; the divergence accepted) and
NOT the third, the digest of what it copied, which is owed on that repository.
R1's delta text names no repository, so no delta wording changed for this item.

MAJOR — THE NORMAL-CASE RECIPE WAS NOT EXECUTABLE FOR THREE CONSUMERS.
`scripts/validate-openspec-cli-pin.py` first exists at openxFactory `1d8cd54e`
(2026-09-04). MedxFactory and AdxFactory pin `6c03d783` (2026-08-06) and
LedgerxFactory pins `af7ac0fa` (2026-08-27); the entrypoint is absent from all
three checkouts, so a literal reader gets a missing-file error and falls back to
the ambient `openspec` — the Codex-P1 failure class in a second guise. Step 1
now carries the precondition, the three named consumers, the advance-your-pin
remedy and codexFactory's `scripts/validate-docs.sh:162` guard as the shape of a
lawful refusal; R1 gains the matching clause and the scenario *The consumer's
pinned ref predates the entrypoint*, so canon says what the recipe requires.

CANON — R1's fallback is reconciled with this capability's promoted requirement
*A required check runs the pinned tool, at the pinned digest*, which forbids
invoking "an in-tree copy, a vendored duplicate or an unpinned installation": a
required check wired off a declared copy leaves that enforcement claim UNMET
until the copy is retired, so declaring makes the copy auditable and not lawful.
One clause plus the scenario *A required check is wired off a declared
consumption copy*; `contracts/README.md`'s wording is aligned to the delta's
("a DECLARED consumption copy — a file", not the pin, the entrypoint and the
installer as a lawful steady state).

CORRECTIONS, each re-measured against `origin/main`:
* D0(a) / proposal ~36 / tasks 2.1 said `openspec-cli-pin` appears in
  `contracts/manifest.yaml` "only inside prose comments of the `openxwallet-pin`
  rows (lines 2076-2685)" — ZERO occurrences; that prose carries
  `openxwallet-pin.yaml`. The gap is total in all three registers.
* D5 said the only files naming the string outside `openspec/` and `scripts/`
  were the root README and two workflows — TEN. The load-bearing half (`docs/`
  has zero) is true and is what the clause now claims.
* D3 said five singletons among 14 `type:` values — SEVEN, all seven named
  (`fixture_index` and `sql_schema` were missed).
* tasks 3.1 said "four scenarios" and had not been re-counted after bench round
  2 — SEVEN.
* `contracts/README.md` step 2 said "both live consumers use exactly this name:
  OPENXFACTORY_ROOT" — OpsxFactory uses `OPSX_PINNED_OPENXFACTORY_CHECKOUT` /
  `OPSX_OPENSPEC_CLI_PIN_ENTRYPOINT`. The name is the consumer's; the seam is
  the checkout.
* D2 and A-member were named as veto points everywhere except `proposal.md`;
  § Ratification now names all three.
* D1 did not engage `docs/contract-versioning-policy.md`. It now answers both
  texts: § Change Classes grades "new contracts" Additive (minor) — a statement
  about the class of the next cut, not that a register edit is a cut; and
  § Version Identity's changelog obligation is OWED AT THE NEXT CUT, recorded as
  a new `tasks.md` § 5.7 box, the atomicity clause being unbreached because this
  diff adds no contract FILE. D1's expected-verdict table also names the STANDING
  pre-existing `release-inventory-drift` **error** on
  `docs/contract-versioning-policy.md` (a NORMATIVE, not editorial, member), so
  it is not mistaken for this packet's.
* D2's real residual coupling is named: the row's `consumption_rule` QUOTES
  `scripts/validate-openspec-cli-pin.py` and nothing compares it against the
  pin's own `consumer_entrypoint:`. Folded into § 5.4's owed checker.
* NOTES taken: `target_release: none` is house practice and not an enumerated
  value of `release-realization` — said so in the front matter; and
  `neutral-product-pin`'s Purpose, which frames the capability as consumer-only,
  will need widening AT ARCHIVE now that R1 makes openxFactory a publisher —
  new `tasks.md` § 5.8 box.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Copilot AI review requested due to automatic review settings September 7, 2026 16:26

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

The root README entry references the verification record ambiguously (missing the change’s review/ path), which should be corrected for accurate documentation/linking.

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

Review details
  • Files reviewed: 11/11 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread README.md Resolved
…lot, #757)

TAKEN. Copilot's reading on `README.md:520` is right and measured: the row named
the ratification record by its full path and the verification record beside it as
a bare `verification-2026-09-07.md`, which does not resolve from the repository
root. Nine other OpenSpec Records rows in this file name both records the same
way as each other — full paths, or both under a `review/` prefix — and only this
row (and the `amend-absent-changelog-is-an-answer` row it was modelled on, two
entries below) mixed the two forms.

The row now names both records by their full path under this change's `review/`
directory. NOTHING ELSE MOVES: this touches `README.md` and no packet document,
so the ratifying commit — 05a9db8, still the FIRST commit on this branch whose
proposal.md declares Status: ratified — does not move, both `--archive-gate`
arms still resolve it, and no ratified byte is edited. doc-health re-run at this
tree: 9 critical, 8 error, 58 warning, 15 info, unchanged.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Copilot AI review requested due to automatic review settings September 7, 2026 18:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are internally consistent and primarily register/document an existing pin without altering execution logic or release membership, and no concrete correctness issues were found in the changed hunks.

Review details
  • Files reviewed: 11/11 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDING — lane openxfactory-1 (openXfactory-1), session b61273ce (harness session_01JZqmqSDBCmY4cfhPbxN9Xb), 2026-09-07T19:22:19Z, PR #757 into openxFactory main. Rule 6 window OPEN: other lanes hold merges into openxFactory main until LANDED or 30 minutes.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FROZEN at d2ba6742 — all nine required checks green, no further commits from this lane. Review threads: 7 total, 0 unresolved (Codex P1 taken into canon; Copilot rounds by head; the last round's § 5 preface nit REFUSED as ratified bytes, its README citation nit taken). Records re-derived on the merged tree (421b52d8); both origin gates RETAINED against the ratifying commit 05a9db8b; the delta and the manifest row are byte-identical between the re-verified head 8eb5dc8f and this head. Body scanned for closing keywords: none; closingIssuesReferences empty — #754 stays open as the rollout's governing record.

Provenance for the admin merge of #757 — RATIFICATION of publish-openspec-cli-pin-as-contract-member (Origin: #754, the A half of the estate-wide OpenSpec CLI pin rollout). Word: Brett Heap, 2026-09-07 ~14:4xZ, in session, verbatim "merge 72 when green, then ratify the A packet" — recorded on #754; first clause discharged by xFactory-Hermes-Install #72 → 06c9083d. Presented veto points design.md D1 (A-defer designed: register the member, membership 283 → 283, no cut, CHANGELOG entry owed at the next cut; A-cut and A-member written beside with costs) and D2 (the manifest row carries no sha256) — none vetoed; ratified as designed. TWO ADDED requirements on neutral-product-pin (R1 seven scenarios incl. the two clauses from the fix round: a pin behind the entrypoint 1d8cd54e is a pin-sync owed and never a licence for the fallback; a required check off a declared copy leaves the enforcement claim UNMET). Ratifying commit 05a9db8b (Status flip + approval pair in one commit); records review/ratification-2026-09-07.md + review/verification-2026-09-07.md. Three-lens adversarial review → 2 MAJOR + MINORs → fix round → re-verify READY_TO_ENCODE. Residue named in the record, not taken (§ 5.1–5.9): sibling pin-syncs are their lanes'; the Hermes copy's per-file digest owed on that repo; CHANGELOG entry at the next cut; Purpose widening at archive; the pin file's own header defect. No new openspec/specs file → no codexFactory floor advance. Self-authored PR (brettheap) → REVIEW_REQUIRED structural → admin merge (B2). Archive is a separate act on Brett's word.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

@brettheap
brettheap merged commit a594081 into main Sep 7, 2026
10 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-07T19:22:33Z, PR #757 → merge a5940811. Rule 6 window closed. publish-openspec-cli-pin-as-contract-member is RATIFIED on main; the pin is a registered contract member; archive owed on a separate word.

brettheap added a commit that referenced this pull request Sep 8, 2026
Refresh onto bd263dc, which carries #757
(publish-openspec-cli-pin-as-contract-member). The README "Active
changes:" block CONFLICTED — both packets inserted a row at the head —
and is re-derived at the union: BOTH rows kept, ours newest-first, then
#757's. No row is removed.

Our row is also brought current with the packet: it still described the
round-one EIGHT-field entry and is now ten, with the locator pair, the
three-member diff_class and its per-class currency consequence, the
declared custody store mapping, the ancestry leg, the WITHHELD outcome,
the split prescriptions and the no-amendments carve-out. A README row
that misdescribes its own packet is a stale claim, not a formatting
detail.

Also in this commit, from the third review round:

N5 — code_surface was byte-identical to round one and UNDERSTATED the
realization: it listed only the round-one internal-linkage legs.
Rewritten to the current surface — the locator halves of anchor and
linkage, the path_only digest-equality leg, the walk_strings extension
over ruling_ref/recorded_by, and the new named outcome
custody-content-class-withheld with its own exit-status class, which is a
CI-VISIBLE behaviour change for every consumer of
validate-consent-instruments.py. Item (3) now names the THIRD FIXTURE
BUCKET and the self-test harness change (its corpus contract can express
only valid / invalid-for-its-finding today). One line added to § Impact
naming the validator's grown obligations and the new outcome. This
matters because release-realization's archive gate holds a change to the
surface it DECLARES — an undeclared surface is one the gate does not
hold. target_release re-measured at the current merge-base rather than
carried forward: contracts/manifest.yaml:3 still reads contract-v3.4 and
contract-v3.4.digests.yaml is still the highest inventory, so the next
additive minor remains contract-v3.5, unreserved.

N7 — fixture 4.8b ordered before 4.8c/4.8d.

The ledger row is NOT re-stamped here. #757 has MERGED carrying its own
truthful row, so a re-seed now would put two rows on #757; the re-stamp
waits for this packet's real PR number, at which point exactly one row
must move.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 8, 2026
One field on one row: `add-consent-custody-rederivation-record`'s
`moved_by` moves "#757" -> "#774". The row's DERIVED keys are untouched
(state, class, declares, depth, prose all unchanged) and no other row
moves — `publish-openspec-cli-pin-as-contract-member` keeps the "#757"
it earned truthfully when that packet landed.

WHY THIS IS A ONE-FIELD EDIT AND NOT A RE-SEED, stated because the
prescribed command does not do it. `--seed-ledger --moved-by '#774'` is a
NO-OP here and reports "182 rows, 0 moved by #774": `render_ledger`
PRESERVES the provenance of unmoved rows by design, and `moved_rows` calls
a row moved only when it is new, when a derived key differs, or when it
carries a key the grammar does not know. This row's derived keys were
already correct at the earlier seed, so the tool correctly declines to
re-stamp it and the stale pointer survives every re-seed.

The stale pointer was mine. The row was first seeded with "#757" as a
GUESS at the number this packet's pull request would take, because the
authoring session opened none; #757 then went to
`publish-openspec-cli-pin-as-contract-member`, which merged carrying its
own truthful row, and the ledger ended with TWO rows citing one pull
request. `moved_by` is documented as author-supplied and unverified with
only its shape checked, so correcting it in place is within its own
contract — and it is the minimal act that makes the record true.

Verified: `--ledger-diff` consistent with the corpus (182 rows);
sequenced_after validation passed (40 active, 6 declaring); exactly one
`#774` in the file and exactly one `#757`; `git diff` is a single line
pair; `pytest tests/sequenced_after` 177 passed.

Nothing is ticked. This remains a proposal awaiting Brett Heap's
ratification.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 8, 2026
…mber (moved by #780)

ONE ROW MOVES, and the seeded file differs from its predecessor by EXACTLY ONE
LINE, verified with diff:

  before:  publish-openspec-cli-pin-as-contract-member: {state: active,   class: sole, declares: [add-openspec-cli-pin], depth: 1, prose: false, moved_by: "#757", moved_on: "2026-09-07"}
  after:   publish-openspec-cli-pin-as-contract-member: {state: archived, class: sole, declares: [add-openspec-cli-pin], depth: 1, prose: false, moved_by: "#780", moved_on: "2026-09-08"}

class: sole is HELD and declares: [add-openspec-cli-pin] is unchanged, so NO
PARTNER FLIPS. Under the MOVEMENT LOG rule restated 2026-09-03 in
tests/sequenced_after/test_sweep.py, "NO ENTRY IS OWED for a move the row diff
already states — a row added, a row's `state` flipping on archive" — so NO
MOVEMENT LOG ENTRY IS OWED and none is written.

Seeded with TZ=UTC so moved_on reads 2026-09-08, the same UTC date the pinned
CLI stamped on the archived directory. The seeder's default is the machine's
LOCAL date, which at the time of the act read 2026-09-07 and would have put the
row a day behind the directory it records.

Taken AFTER the pull request existed, because the real number does not exist
until it does, and on the tree that already carries the merge from origin/main,
so main's own new row (adopt-codexfactory-repository-identity, #763) is carried
and only this change's row moves.

  before the seed: per-change sweep ledger STALE (4 findings) — this change's
                   row plus its three derived totals (active, archived,
                   active_sole)
  after the seed:  per-change sweep ledger consistent with the corpus (182 rows)
  pytest tests/sequenced_after tests/scope_globs -q: 262 passed

Refs #754

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
brettheap added a commit that referenced this pull request Sep 8, 2026
…e rule from freezing the estate

G1 (MAJOR) — "a family that declares no re-derivation rule has not earned a
pin: the edit MUST be refused" would have refused EVERY pinned-target edit in
the estate on the day this change archives. Measured: NO family anywhere has a
declared rule. The consent family's is PROPOSED only — the schema still reads
contract_schema_version: 2, carries no custody_rederivations property,
contracts/manifest.yaml still declares contract-v3.4, and all 46 boxes of
add-consent-custody-rederivation-record are unticked. The register home
models/content-address-families.yaml exists neither on OpsxFactory main nor on
the branch that proposes it, where authoring it is task 2.1. And
code_surface: none means this change archives ON LANDING with nothing to
sequence behind. So the requirement now REPORTS an edit whose family has
declared no rule — naming the family, the target and the home that owes it —
and becomes a REFUSAL for that family the day it declares. The measurement is
in § Impact, the clause and a new scenario pair are in the delta, and the
refuse-outright reading is recorded in design D-7 as Brett Heap's veto point at
task 1.2, with its cost stated: it stops the corrective work this rule exists
to govern, the routine lifecycle-header discharge and the F.1/F.2 repairs
included.

G2 — proposal.md cited the OpsxFactory register at its ARCHIVE path as fact.
That archive is in flight (#273 still OPEN), so both paths are now named: the
live path at that repository's main today, and the archive path it files at on
merge. A citation of an archive path written before the archive lands is a
claim about a file that does not yet exist, which is the class of defect the
citing repository's own gate exists to refuse.

G3 — moved_by "#785" is now ideation/remove-moved-domain-files, another lane's
OPEN pull request; the second time this trap has sprung on this lane after
#757. Task 0.1 says so and is mandatory: re-stamp AT PR-OPEN, exactly one row
moves, the seeder is otherwise a no-op.

G4 — trailers. The earlier merge commit 5e69fa0 carried none; it is pushed and
is not rewritten, because the branch does not force-push. Every commit from
here, merge commits included, carries the three trailers.

G5 — "7,139 characters" labelled the DELTA block as though it were the size of
the change. Canon's block is 5,815. Re-measured after G7 and the line-one hoist
below: delta 7,150, inserted 1,335, canon lines removed 0. Relabelled in the
proposal, design, tasks and the README row, with the slice method stated so the
number is checkable.

G6 — a family's rule may be declared in the declaring repository's
content-address register OR in the neutral contract that owns the family. Not a
hedge: the consent family's rule is a property of the instrument schema and
belongs in the contract wherever the instrument is held, while a
repository-local family has no contract to live in. Naming only the register
made the estate's one nearly-ready rule homeless.

G7 — "needing nothing further from it" overstated the discharge; a header
backfill is within the bookkeeping class AND still takes the route's recorded
ruling.

G8 — "the same day" is true in UTC only. Both timestamps are now named with
their clock: govern-openspec-corpus-membership's archive commit 01ff343 at
2026-08-23T23:06:12-04:00 = 2026-08-24T03:06:12Z, against 57fd9fd2 at
2026-08-24T04:08:48-04:00 = 2026-08-24T08:08:48Z — five hours apart, same UTC
date, one calendar day apart in the authoring clock.

AND ONE FIND OF MY OWN, from running the twin's F1 check over this delta rather
than assuming it was local: this half's second ADDED requirement had the SAME
line-one defect — SHALL sat on line two, and the parser reads only line one.
Hoisted here as it was there. Recorded in design, because a finding against one
half of a matched pair is a hypothesis about the other half until measured.

Box count 23 -> 24 (new task 1.2; 1.2-1.4 renumbered to 1.3-1.5).

Gates at this head: pinned 1.12.0 --change strict 1 passed / 0 failed and
--all --strict 99 passed / 2 failed with 0 UNDISPOSITIONED (main's two standing
dispositions); validate-sequenced-after clean, --ledger-diff consistent (184
rows), validate-scope-globs clean, validate-manifest-digests 188 verify; pytest
tests/sequenced_after tests/proposal-support tests/scope_globs 330 passed.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 9, 2026
…` to the real pull request `#845`

THE ACT TASK 0.1 DESCRIBES, PERFORMED AT PULL-REQUEST-OPEN. openxFactory PR
[#845](#845) was opened by
`openxfactory[bot]` on head `f7ed5956`, so the number this row's provenance
pointer needs now exists. The number was RESOLVED BEFORE IT WAS WRITTEN rather
than assumed: `gh api repos/opensoft/openxFactory/pulls/845` returns
`state=open`, `head_sha=f7ed5956afb126fb520271794cb6ba67789396db` — this branch's
exact head — `head_ref=change/archive-govern-archived-record-edits-2` and
`base=main`. That check is the whole point of the box: `moved_by` is
AUTHOR-SUPPLIED AND UNVERIFIED under the ledger's doctrine, only its `#<digits>`
shape ever checked, so nothing downstream will catch a wrong number and a reader
following the pointer is the only one who ever will.

A DIRECT ONE-FIELD EDIT, AND THE SEEDER IS DELIBERATELY NOT RUN. `--seed-ledger`
stamps provenance only on rows whose DERIVED keys moved; this row's derived keys
were made correct by the archive commit and have not moved since, so the
documented recipe would report a re-seed and change nothing — task 0.1 measured
exactly that ("`184 rows, 0 moved by #999`", a ZERO-LINE diff) and concluded that
a provenance-only correction is a hand edit. This is that hand edit: ONE field on
ONE line, `moved_by: "#0"` -> `"#845"`. `git diff --numstat` reports `1 1` and
nothing else in the file moves.

`moved_on` IS NOT RE-STAMPED, and that is the same distinction task 0.1 drew when
this row was last corrected. It records the date the row's DERIVED keys moved —
`state` active -> archived, which happened today at the archive commit — not the
date its provenance pointer was fixed. Both are 2026-09-09 here, so the field
would not visibly change; it is left alone on the principle rather than on the
coincidence.

THE ARCHIVED `tasks.md` CANNOT RECORD THIS AND IS NOT ASKED TO. Task 0.1's own
text anticipates the re-stamp and says the landing lane performs it, but that
file is now at
`openspec/changes/archive/2026-09-09-govern-archived-record-edits/tasks.md` and
the requirement this very packet promoted — *An archived record is edited only as
a bookkeeping correction under a recorded ruling* — refuses an edit to "a task
record or its tick state" there. Ticking or annotating 0.1 to note the re-stamp
would be precisely the edit the rule forbids, on the first packet it binds. SO
THE RECORD LIVES HERE, in the commit that makes the change, which is where a
`git log -- tests/sequenced_after/corpus-ledger.yaml` reader looks anyway. The
packet is frozen as captured; the ledger is a live file and carries its own
history.

`#0` WAS CHOSEN SO THAT THIS MOMENT WOULD BE SAFE. GitHub numbers pull requests
from 1, so the placeholder could never be mistaken for a real pointer in the
window between the archive commit and this one — unlike the `#785` and `#757`
guesses task 0.1 records, each of which became another lane's open pull request
while its packet was in review.

GATES. `scripts/validate-sequenced-after.py .` rc 0 — `archive-date agreement
passed (no archived row's moved_on predates its directory)` and
`archive-date-vs-commit agreement passed`. `--ledger-diff` rc 0 — `per-change
sweep ledger consistent with the corpus (189 rows)`.

Refs #845

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
brettheap added a commit that referenced this pull request Sep 9, 2026
…two findings recorded rather than closed

Phase H of specs/033-add-consent-custody-rederivation-record. Bookkeeping only —
this commit touches no path under contracts/, and that premise is VERIFIED
rather than assumed (git diff --name-only d54d89c -- contracts/ is empty), which
is what lets the final sweep omit the two release gates and leave the candidate
the certified tree.

THE LAST FIVE TICKS, each with its evidence in this same commit. Box 0.1: the
ledger re-stamp landed at 6cfe9ba and the row reads moved_by "#774" — the real
pull request, after #757 was taken by another lane — with --ledger-diff
consistent at 189 rows. Boxes 1.1-1.3: ratified 2026-09-08, and the citation
STATES WHAT IS MEASURED ABSENT — there is no approving GitHub review on #774, so
the ratification rests on the in-repo record, Brett Heap's own merge and his
LANDING/LANDED comments. The eleven veto points stand as recommended, quoted
exactly and never more. Box 5.4: all five gates against the exact unchanged
candidate.

ELEVEN BOXES ARE NAMED AS OWED ELSEWHERE AND PERFORMED NOWHERE HERE, each with a
dated line: the lane's version claim and landing bookkeeping and the operator's
tag (three), and the consumer's five plus the three deliberately-not-taken
scopes (eight). 35 + 3 + 8 = 46, and the arithmetic is asserted in the file
rather than left to a reader.

TWO THINGS ARE RECORDED AND DELIBERATELY NOT DONE. Landing this DECLARES the
consent family's re-derivation rule, so under govern-archived-record-edits'
transition clause an edit of a consent pinned target converts from REPORTED to
REFUSED for that family — once F.2's gate exists, and that gate is OpsxFactory's.
Nothing here builds it, schedules it or arms it; it is written down so the
conversion is a known consequence of landing rather than a discovery afterwards.
And the identical-locators path_only gap is an OWED FINDING with all three of its
parts — the defect, the neutral leg it would need and why C-7's placement test
puts that leg on this side of the line, and its home in F.2 or a successor.
NO REFUSAL LEG WAS ADDED: no ratified task names it, and this packet's rule is
realize-what-was-ratified.

The proposal takes ONE additive dated note correcting the one ratified
enumeration realization falsifies. design.md, .openspec.yaml and the spec delta
stay frozen; tasks.md and that note are the only post-ratification edits.

doc-health ran as a TWO-REPORT PAIR with identical report and checkout basenames
and one pinned --as-of, so a filename or a clock rollover could not masquerade as
a finding: ZERO findings added at any severity in any family, and THREE
release-inventory-drift findings REMOVED — the same three registered rows the
cut's own measurement found had moved, two families agreeing without being told
to. The new withheld/ bucket, the seventeen fixtures and the new test package
trip nothing.

Final sweep: pinned CLI --change --strict clean and --all --strict with 0
undispositioned failures (2 pre-existing accepted exceptions, not this feature's
and NOT the pin-disposition-stale third outcome); consent validator, both
sequenced-after legs, scope-globs and manifest digests all rc=0; the full suite
10662 passed / 36 skipped / 1 failed, identical counts to the candidate's run, so
Phase H moved no test, and that one failure is the baselined pre-existing one.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FS1bRYzgo6qkkB61CzmLDi
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