Skip to content

The register records the four council seat keys, and the pinned reader adjudicates them (wallet-v1.2) - #475

Merged
brettheap merged 2 commits into
mainfrom
change/register-per-seat-keys-pin-v12
Aug 28, 2026
Merged

brettheap merged 2 commits into
mainfrom
change/register-per-seat-keys-pin-v12

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Deliverable C of the register-successor chain: the four minted council seat
signing keys become recorded facts in openxFactory's review-authority
register, and the pinned reader that gates this repository is the one that
adjudicates them.

Brett Heap ruled in-session 2026-08-28: "ratify #4, then merge #5, tag and
complete C"
. #4 and #5 are merged in openXwallet and wallet-v1.2 is tagged;
this is C.

The two-step, and why it is two commits on one branch

Commit 1 — governance/review-authority/register.yaml gains a seat_keys
surface carrying the four public halves minted 2026-08-28 (copied verbatim from
codexFactory hermes/domain/review-councils/records/2026-08-28-seat-signing-keys-minted.md,
78b8fa2), and the consumer gate's positive-proof step gains an assertion on
the adjudicated seat-key note.

Commit 2 — contracts/openxwallet-pin.yaml commit →
93b0a47fe9086e65f71ef2916f60a82b2ac4cdca and contract_bundle_tag →
wallet-v1.2, with the openXwallet gitlink moved to the same sha.

Commit 1 cannot land alone, and that is the design. Its assertion demands a
note only wallet-v1.2's reader emits, so the required wallet-validation
check is RED until commit 2. The mixed state — four public keys sitting in a
governed file while the pinned reader ignores them, green and unadjudicated —
is structurally impossible rather than merely discouraged.

The no-mixed-state property, in both directions

verify-openxwallet-pin.py reads the gitlink from HEAD and refuses
pin-gitlink-mismatch when the pin and the tree disagree about which
openXwallet revision this repository consumes. So the pin and the gitlink move
together in one commit — a split is caught by a required check rather than
trusted to review. Either ordering of the two halves is green only at the end,
never in between.

The 4 of 4 assertion

The pinned consumer-gate invocation, run locally at this head:

$ python3 openXwallet/scripts/validate-openxwallet.py .
note  nested repositories pruned (not adjudicated): openXwallet
note  intake register read: governance/review-authority/register.yaml (1 row(s))
note  intake register: 4 of 4 per-seat signing key(s) adjudicated and resolved
validate-openxwallet: 0 error(s), 0 warning(s)

The count is over entries that stood behind full adjudication — the reader
excludes refused entries from it — so 4 of 4 can only appear on a run that
read and resolved all four keys. A parsed count would prove parsing; this
proves adjudication, which is precisely the class the assertion exists to
close. Its negation (the reader's absent-surface note) is refused too, so
losing the seat_keys block cannot pass either.

Digests unchanged, 8 of 8

wallet-v1.2 is an additive minor: it touches
scripts/validate-openxwallet.py, which the pin carries in its
pinned_by_commit_only: list, so a reader edit moves the commit and no
digest.

$ python3 scripts/verify-openxwallet-pin.py
OK openxwallet-pin verified: openXwallet@93b0a47fe9086e65f71ef2916f60a82b2ac4cdca
   (tag label wallet-v1.2), gitlink read from HEAD, 8 digest(s) recomputed

revision_kind stays commit and a tag-only pin is refused
(pin-tag-only) — contract_bundle_tag is a label beside the commit,
never the referent. openXwallet's own contracts/manifest.yaml reads
contract_bundle_version: wallet-v1.2 at that sha.

The single-row cap still holds

Untouched at 1, and re-grounded over authority rows rather than raised.
All four seats descend from row-mrc-0001 and share the wallet, the grant, the
target repository, the act, the tier and the expiry. Only the signing key is
per-seat — and a key is not a grant, so the ratified intake requirement's
first shape is completed, not exceeded. Register breadth (a second holder, a
second target repository, per-seat grants) remains a named successor.

Both council spellings are recorded because neither is derivable from the
other: council_ref anchors the authority against the row's holder_ref, and
council_id is carried verbatim into the Hermes projection, whose seat lookup
matches (council_id, seat_id) exactly and spells the council with
underscores.

Human-only surface

governance/review-authority/register.yaml is a permanently human-only
surface
and a never-clearable floor member by name. No council verdict may
clear this candidate
, and the council whose own commission it records is not
eligible to try. The pull request IS the human act.

Local evidence

  • python3 scripts/verify-openxwallet-pin.py — OK, 8 digests recomputed
  • consumer-gate invocation — 4 of 4, 0 errors, 0 warnings
  • tests/openxwallet_consumer_gate/test_gate_invocation.py — 15 passed
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict — 77 passed, 0 failed
  • full python3 -m pytest tests/ -q — running locally; CI's required
    pytest-suite is the authority

Upstream bookkeeping

add-wallet-carried-review-authority task 7.3's finding — the pinned reader
accepting a governed top-level declaration silently, the vacuous-pass class — is
recorded as structurally closed by wallet-v1.2's enumerated top level
(register_version, revocation_staleness_bound, rows, seat_keys; anything
else refused as register-top-level-unknown). 7.3 stays unticked: its own
enforcement half is 7.4's (the runtime refusing a stale projection), and
closing a reader's blind spot is not that.

Realizes openXwallet add-per-seat-register-entries tasks 4.1 / 4.3 / 4.4
(ratified 2026-08-28).

Left for the operator

  • Re-derive and establish the Hermes register projection from the register that
    now carries the keys — content only, no hermes-install code or schema
    change (design.md D11).
  • Confirm review_authority.root_key_mismatch no longer fires for a seat whose
    key the register now records.

🤖 Generated with Claude Code

brettheap and others added 2 commits August 28, 2026 05:44
…it read them

Half of a two-step. THIS COMMIT CANNOT LAND ALONE AND THAT IS DELIBERATE: the
gate assertion added here demands a note only wallet-v1.2's reader emits, so
until the openXwallet gitlink and contracts/openxwallet-pin.yaml move to that
release the required wallet-validation check is RED. The mixed state — four
public keys recorded in a governed file while the pinned reader ignores them,
green and unadjudicated — is structurally impossible rather than merely
discouraged.

governance/review-authority/register.yaml gains a seat_keys surface carrying the
four public halves minted 2026-08-28, copied verbatim from codexFactory
hermes/domain/review-councils/records/2026-08-28-seat-signing-keys-minted.md
(78b8fa2). It is item 2 of that record's numbered successor list. The single-row
cap is untouched and still holds: all four seats descend from row-mrc-0001 and
share the wallet, the grant, the target repository, the act, the tier and the
expiry. Only the signing key is per-seat, and a key is not a grant.

Both council spellings are recorded because neither is derivable from the other:
council_ref anchors the authority against the row's holder_ref, and council_id is
carried verbatim into the Hermes projection, whose seat lookup matches
(council_id, seat_id) exactly and which spells the council with underscores.
Recording one would force the operator to translate at projection time, and a
mistranslation lands as seat_unregistered — the refusal this arc is clearing,
renamed.

The gate's positive proof now asserts `4 of 4 ... adjudicated`, literally. The
pinned reader excludes refused entries from that count, so the number can only
appear on a run that stood behind all four keys; a parsed count would prove
parsing, which is the class the assertion exists to close. Its negation — the
reader's absent-surface note — is refused too, so losing the block cannot pass.

This file is a PERMANENTLY HUMAN-ONLY SURFACE and a never-clearable floor member
by name. No council verdict may clear this candidate, and a council whose own
commission is recorded here is not eligible to try.

Co-Authored-By: Claude Fable 5 <[email protected]>
…r's keys are adjudicated

This completes the two-step the previous commit deliberately left half-done.
That commit added a gate assertion demanding a note only wallet-v1.2's reader
emits, so the required wallet-validation check was RED until this commit
landed. The mixed state -- four public keys recorded in a governed file while
the pinned reader ignores them, green and unadjudicated -- was structurally
impossible, not merely discouraged, and remains so: the assertion and the pin
are one branch and land together.

contracts/openxwallet-pin.yaml: commit -> 93b0a47fe9086e65f71ef2916f60a82b2ac4cdca,
contract_bundle_tag -> wallet-v1.2 (a LABEL beside the commit, never the
referent -- revision_kind stays `commit` and a tag-only pin is refused). The
openXwallet gitlink moves to the SAME sha in this one commit, never a mixed
state: verify-openxwallet-pin.py reads the gitlink from HEAD and refuses
pin-gitlink-mismatch if they disagree, so a split would be caught, but the
rule is that they move together.

THE EIGHT `files:` DIGESTS ARE UNCHANGED, 8 of 8. wallet-v1.2 is an ADDITIVE
MINOR touching scripts/validate-openxwallet.py -- which the pin carries in its
pinned_by_commit_only: list -- so a reader edit moves the COMMIT and no digest.
openXwallet's own contracts/manifest.yaml reads contract_bundle_version:
wallet-v1.2 at this sha.

Evidence at the pinned head: the consumer-gate invocation
`python3 openXwallet/scripts/validate-openxwallet.py .` emits the adjudicated
seat-key note reading 4 of 4 -- a count the reader takes over entries that
stood behind full adjudication, excluding refused ones, so the number can only
appear on a run that read all four keys. A parsed count would prove parsing;
this proves adjudication, which is the class the assertion exists to close.

Upstream bookkeeping in the same commit: add-wallet-carried-review-authority
task 7.3's FINDING -- the pinned reader accepting a governed top-level
declaration silently -- is recorded as CLOSED, structurally, by wallet-v1.2's
enumerated top level. 7.3 stays UNTICKED: its own enforcement half is 7.4's
(the runtime refusing a stale projection), and closing a reader's blind spot is
not that.

governance/review-authority/register.yaml is a PERMANENTLY HUMAN-ONLY SURFACE
and a never-clearable floor member by name. No council verdict may clear this
candidate, and the council whose commission it records is not eligible to try.

Realizes openXwallet add-per-seat-register-entries tasks 4.1/4.3/4.4, ratified
by Brett Heap 2026-08-28 on the in-session ruling "ratify #4, then merge #5,
tag and complete C".

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 28, 2026 09:48

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

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.

Pull request overview

This PR completes “Deliverable C” of the register-successor chain by (1) recording the four minted merge-readiness council seat signing public keys as governed facts in the review-authority intake register, and (2) updating the pinned openXwallet reader (and the consumer gate) to adjudicate and positively assert those keys under the required wallet-validation check.

Changes:

  • Add a top-level seat_keys block to the review-authority intake register with four per-seat public keys and metadata.
  • Pin the consumed opensoft/openXwallet contract bundle to wallet-v1.2 (commit 93b0a47…) and extend the consumer gate assertion to require the “4 of 4 … adjudicated and resolved” note.
  • Record the upstream “blind spot closed” bookkeeping in the relevant OpenSpec tasks, and add a pinned workflow-invocation test for the new seat-key adjudication assertion.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
governance/review-authority/register.yaml Introduces the governed seat_keys surface carrying the four per-seat signing public keys.
contracts/openxwallet-pin.yaml Advances the pinned openXwallet referent and tag label to wallet-v1.2 / 93b0a47….
.github/workflows/openxwallet-consumer-gate.yml Adds a positive-proof assertion requiring “4 of 4 … adjudicated and resolved” and refuses the absent-surface note.
tests/openxwallet_consumer_gate/test_gate_invocation.py Pins the workflow run: script to ensure the gate asserts adjudication of all four seat keys.
openspec/changes/add-wallet-carried-review-authority/tasks.md Updates task evidence text to reflect the now-closed top-level-reader blind spot (still unticked pending 7.4).

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

Comment on lines +217 to +220
assert "no per-seat signing key is recorded" in assertion, (
"the gate does not refuse the reader's ABSENT-surface note; without "
"that half, a register that lost its seat_keys block would pass the "
"positive assertion's negation and confer nothing")
@brettheap
brettheap merged commit 0c0075d into main Aug 28, 2026
4 checks passed
@brettheap
brettheap deleted the change/register-per-seat-keys-pin-v12 branch September 2, 2026 18:56
brettheap added a commit that referenced this pull request Sep 21, 2026
…STATUS, and fold four landings -- both CHANGELOG words, the pin chain's first step, and the FOURTH MIGRATION_PIN ceremony

Section 7.4's earlier STATUS said "the marker does not move here" and "the box is
[ ]" while the marker already read [~] two hundred lines above, and the ruling
paragraph below says in terms that it takes its marker here. A ledger that states
its own marker wrongly is worse than one that states it vaguely, so the finding
is taken rather than registered -- the fourth time in this amendment that the fix
was to bind a sentence to the round that wrote it. The box still does not tick,
which is unchanged.

CHANGELOG draft -> standard landed in both roots on item 3 of Brett's word:
openDox #12 -> 36ded1cd (21:38:52Z) and openXdox #14 -> 6df0a030 (21:39:18Z), one
file each. The tags are not moved, so each reads Status: draft AT THE TAG and
standard at main, with bundle values byte-identical -- a document-header fact and
not a release-content difference. A correction to the report: each tag is main~1
is true of openDox and NOT of openXdox, where #15 landed after #14, so the tag's
target is main~2 there.

The pin chain took its first step: openXdox #15 -> 646f1dc0 (21:51:39Z) advances
the root's own pin of openDox c4c5014d -> dc7aa08f, which is dox-v1.0's commit,
with the digest re-derived and the migration sentinel FILLED rather than left
hollow -- measured in the landed file: range "0001..0002", reversible false, and a
runbook naming openDox-code docs/runtime.md sections 5-6 at the pinned code leg
d816cf06. The holder's own earlier claim that no runbook exists was wrong, found
by a Copilot FACT finding and fixed, and the non-blocking ruling is withdrawn.
"STEP 1" now names two different acts -- #474's pointer advance under the
gitlink-parity order and this pin-chain order -- and each is cited to its own
comment rather than renamed.

The FOURTH MIGRATION_PIN re-point ceremony landed: xFactory #475 -> c88d1fdd, a
merge commit, 1f131a23 -> b21f0100 at exactly the three surfaces and no others,
with its gates recorded because the ceremony IS the gates: G1 golden
characterization 37 passed, G2 envelope re-validation with the vendored golden
envelope now byte-identical to live, G2a the 21-case corpus IDENTICAL=21 at both
pins, the guard plane 212 passed, G3 the live lane re-proved at the OLD pin (run
35658107765 SUCCESS), G4 validate 229 passed, rollback target 1f131a23. So the
ceremony half of the corrected R-5 is DONE and the convergence is NOT:
lockstep.status flips diverged -> converged in a follow-on openxFactory PR, in
flight, recorded as PENDING. The aggregation's own leg pointers still read
c4c5014d and 88a1047e until the chain's STEP 3.

No marker moves; the ledger stays 67 [x] / 3 [ ] / 2 [~] of 72. All four
validators exit 0.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 21, 2026
…he archive forms are named at §§ 5.6/8.4/7.4, and the archive's own new exposure is registered (#1131)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #10 — THREE ticks (§ 6.6, § 3.8, § 4.6), § 7.4 to the reserved `[~]` on Brett's word, and the archive pre-stage correcting this amendment's own framing.**

Branched from the landed `main` at **`80c68da6`**. **Ledger 64 `[x]` / 7 `[ ]` / 1 `[~]` → 67 `[x]` / 3 `[ ]` / 2 `[~]` of 72.** One file, **four marker changes** — §§ 6.6, 3.8 and 4.6 to `[x]`, § 7.4 to `[~]`. The three still open are §§ **5.6, 8.4, 8.9**. Rule 6 applies.

> **The archive is gated by boxes that are gated by the archive.** § 5.6 and § 8.4 cannot tick before it; their form at the archive is named here, and the archive amendment is what flips them.

## § 6.6 ticks — on opening dates, which is the instrument its own STATUS demanded

The condition names changes **opened after ratification**, so the measure is each active change's own `created:` field plus the existence of a `specs/ideation-dashboard/` delta — *the falsifiable form of "a dashboard change"*, because a change that opens against a capability must carry a delta to say anything normative about it.

| measured at `main` `80c68da6` | |
| --- | --- |
| active changes carrying a `created:` date | **44** |
| opened **on or after 2026-09-05** (ratification day) | **20** |
| of those twenty, carrying a `specs/ideation-dashboard/` delta | **0** |
| active changes carrying such a delta at all | **1** — this packet, `created: 2026-09-04` |

All twenty are **named in the box**, so the next reader tests the same set rather than re-deriving it. The STATUS's own 16-of-45 mention count is superseded as **the wrong instrument**, not as a wrong figure: it counted mentions in a corpus, and the condition is about openings.

## §§ 5.6 / 8.4 — the form at the archive, and why a tick is impossible

`scripts/proposal-support.py:4632-4633` refuses any archive whose `tasks.md` still matches `^- \[ \]` at column zero (seven such lines today). Both boxes therefore take the house's reserved **`[~]` DEFERRED** sentence with an `Owner:` line **at the archive, flipped by the archive amendment and not by this one** — the form stated at `openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/tasks.md:254-263`, which also says why the alternative is worse: *"buying that refusal off with a false tick is the one thing an archive must not do."*

R-B's RULED ORDER puts the archive **first**; Q-D1 (a) parks Phase 1 on it. **§ 8.4 additionally cannot tick on its own words at all** — *"de-floored BEFORE the removal"* is the order R-B inverted, on the measured ground that the written order and the machinery are jointly unsatisfiable for a removal.

**Both directions are measured and they agree with R-B's arithmetic**: −1 capability (`ideation-dashboard`, **307,705 B / 104 requirements / 487 scenarios**), +2 (`corpus-adapter-seam` 4/11, `domain-mapping-declaration` 3/9), the § 5.2a successor **already promoted** at #1103 → `eb1880cb` — so 62 → 63 (Phase 0) → **64**, and capability directories go **63 → 64**. *In 178 archived directories this corpus has never removed a capability at an archive; this would be the first.*

## § 7.4 — the form is Brett's, and it is not the same question as the reading

**§ 7.4 IS RULED — option (a), and it takes its marker here.** Brett Heap, 2026-09-21T21:31:25Z, verbatim ***"(a) for all four, (i) for the tag, keep going"*** (`#656` `5767804734`, item 1): the box is reclassified **non-gating** and carries *"DEFERRED 2026-09-21, AT THE ARCHIVE — OPEN, OWNED ELSEWHERE, AND NOT CLAIMED."* with **Owner: lane `opsXfactory-3` (CLAIMED `5638511222`), lane `opsXfactory-4`, and the install repositories.** **Clause (iii) is not satisfied by this and the box says so** — Reading B stands, the per-tenant install is still described nowhere, and `[~]` says exactly that. The box's own *"IN-SCOPE GATING PREREQUISITE"* sentence is superseded **by the ruling**, not by an argument, and is kept above it so the next reader sees which authority moved it.

The three options below are left on the page as the record of what was put: (1) reclassify as open/owned-elsewhere/**non-gating** and take `[~]` — which contradicts the box's own *"IN-SCOPE GATING PREREQUISITE … where `[~]` is the reserved form for open, OWNED, NON-GATING successor work"*, and that is why it is a ruling and not bookkeeping; (2) accept **Reading A** and tick; (3) **hold** the archive until a committed tenant install exists. *A reading decides whether the box is satisfied; the form decides whether the packet may archive with it unsatisfied.*

## §§ 3.8 / 4.6 — release surfaces open as drafts, with no tag in them

**Both surfaces have LANDED under RULED (a)** — Brett's word quoted verbatim, *"(a) for both, cut the tags when the drafts are green"* (`#656` `5767052465`; landing note `5767406030`):

| leg | landing | manifest | release members |
| --- | --- | --- | --- |
| `opensoft/openDox` **#11 → `dc7aa08f`** | 20:55:35Z, squash, plain gate | `none → dox-v1.0`, **3** entries at `8fe8c4c7` | **2** (`:89`, `:98`) |
| `opensoft/openXdox` **#13 → `2073e3a9`** | 20:56:19Z, same form | `none → xdox-v1.0`, **5** entries at `f088b097` | **1** (`:103`) |

Two files each and nothing else. *Five entries with one release member is not a contradiction: `entries:` is the leg's whole declared surface and the tag selects `{ entry | entry.release_member == true }` — one rule applied twice.*

**And both tags are CUT — measured at ~21:05Z rather than awaited**: `refs/tags/dox-v1.0` (**annotated**, `object.type: tag`, object `608236a1`) over `dc7aa08f`, and `refs/tags/xdox-v1.0` (object `2d2e9b85`) over `2073e3a9`.

**BOTH BOXES NOW TICK, each on ITS OWN tag-evidence comment** — § 3.8 on `#656` **`5767450348`** (21:01:13Z) and § 4.6 on **`5767450638`** (21:01:14Z), *not* one on the other's: § 8.5 clause (b) and § 3.7's three candidate heads are this packet's own record of what happens when one leg's proof is allowed to stand for another's.

| tag | annotated tag object | over commit | tagger, UTC |
| --- | --- | --- | --- |
| `dox-v1.0` | `608236a19ccd93fbfccf01b96035ff257b3c4b19` | `dc7aa08fe48c8d17b596b0daa1ce87cdc0472aca` | Brett Heap, **20:59:17Z** |
| `xdox-v1.0` | `2d2e9b854eb97053af905beb0ae8902887935f3a` | `2073e3a92948b266d4e4d8063a6d4522b089cf3c` | Brett Heap, **20:59:28Z** |

Each is **the first tag in its repository**, pushed once, third-clone verified (`cat-file -t` = `tag`; `validate-pins` at the tag ref exits 0), and each object quotes Brett's word whole on one line and carries the Lane trailer. Read from the forge, not from the report.

> **Two readings of `object.type` are both true, and neither corrects the other** — recorded because a reader comparing two API calls will think they disagree. `git/ref/tags/dox-v1.0` reports `object.type: tag`: the **ref** points at a tag **object**, which is exactly what makes the tag annotated. `git/tags/608236a1` reports `object.type: commit`: the **tag object** points at the **commit**. Ref → tag → commit is one chain read at two levels, and the two endpoints agree on the sha at the joint.

**Registered and NOT closed by these ticks**: `contracts/CHANGELOG.md` still reads `Status: draft` in both roots, held for Brett's separate word. The boxes asked for the tag and the bundle entries beside it; a CHANGELOG's lifecycle header is a different act.

## R-5 was mis-framed by amendment #9, and the correction sits at the same box

Holder's correction `5767230200`: the three surfaces reading `1f131a23` are the **MIGRATION_PIN family** — `merge-master-approval.yml:152`, `council-convening-lane.yml:308`, `test_merge_master_workflows.py:66` — which moves **only at the recorded re-point ceremony** (last 2026-09-10, xFactory #423 → `67c0b159`), not on a routine pin-sync. The routine surfaces are different files at `22d44b09` (#455 → `5aa656c9`), and **that half has LANDED**: xFactory **#472 → `8fe054f9`** (20:50:48Z) moved exactly the three pin-sync things in one commit — `review-lane.yml`, `test_review_lane_workflow.py`, the `xFactories/codexFactory` gitlink — MIGRATION_PIN untouched, **by merge commit**, which the commit proves by carrying two parents (`73ab5076`, `598f18d7`). `lockstep.status` stays `diverged`, truthfully, because the family that would converge it is the one that did not move. **The fourth re-point ceremony is back with Brett.**

> The mis-framed sentence is **kept** above its correction. The defect was in a framing both documents shared, and a correction that erases the framing also erases the evidence of how the mistake travelled. Also flagged once: **`R-5` names two different things in this ledger** — the R-1..R-6 ruling (`5690428146`) and the RULING-NEEDED item in `5738327369` — and every mention carries its comment id. Nothing is renamed.

## § 8.9 — two residue rows

**(vi) The box's second command is RED, and the failure is another change's.** `openspec validate --all --strict` exits **1** at `80c68da6` (106 passed, 1 failed): `add-chain-attestation`'s `signed-execution-chain` MODIFIED block *"omits scenario(s) the current spec still has: 'a tranche-two link does not exist yet'"*. **The ask is on record and addressed by name**: lane **`openxfactory-1`**, holder of `add-chain-attestation` per its 2026-09-02 handoff and #755/#760, asked at `#656` comment **`5767267092`** (20:45:36Z) to fold the *"a tranche-two link does not exist yet"* scenario into that MODIFIED block. The box's **first** command is green at the same tree — `pytest tests/doc-health tests/sequenced_after -q` → **2183 passed**, 529.69s.

**(vii) The archive's own new exposure, measured.** 115 authoritative ADDED/MODIFIED writers stand against `ideation-dashboard`; this packet's REMOVED delta supersedes **102** by title (that enumeration is the mechanism, not decoration); 11 are already findings; and **two are orphaned and satisfied today** — `archive/2026-09-16-retire-doxbench-chat-turn-v1/specs/ideation-dashboard/spec.md:5` and `:67`, both ADDED by **this packet's own § 6.2 re-home** at `90bf93c3`, twelve days after the delta was authored. Remedy: a path-keyed disposition row (`requirement:` optional, `promotion_fidelity.py:714-734`) — a helper's PR is in flight. Extending the ratified REMOVED delta is normative text after the word, so that route is Brett's. *Caveat the archive's doc-health record must carry: dispositions live at the aggregation root, so a `--single-repo` run sees none (`:736-740`).*

## Aggregation side — two xFactory landings folded in

**xFactory #474 → `f55149c5`** (merge commit, two parents; `mergedAt` **21:21:07Z**) advances the `openxFactory` pointer `89d7975d → 80c68da` with `.github/clearing/openxfactory/PIN.yaml` **in the same commit** — exactly two files, MIGRATION_PIN and the codexFactory gitlink untouched. It is **step 1 of a forced order**, and the order is a test: `xFactory`'s `tests/test_opendox_openxdox_gitlink_parity.py` requires, per leg, that the aggregation ROOT gitlink, `openxFactory`'s NESTED gitlink and `openxFactory`'s pin-file `commit:` read at the pinned gitlink all name ONE commit. Step 2 is `openxFactory`'s nested leg-advance (`openDox → dc7aa08f`, `openXdox → 2073e3a9`, both pin files' `commit:` and `digests:`), step 3 the aggregation's three-pointer sync. *(Clock correction owed to my own source: the handed figure was 21:21:13Z; the two fields that exist read `mergedAt` 21:21:07Z and the merge commit's date 21:21:06Z.)*

**xFactory #473 → `0675ff56`** (21:22:03Z, one file) lands **§ 8.9 (vii)'s remedy ahead of the archive**: the path-keyed `promotion-fidelity` row at `health/dispositions.yaml:3337-3360`, `severity: error`, not narrowed by `requirement:`, whose `cite` reproduces this packet's arithmetic (115 writers, 102 superseded, 11 pre-existing, 2 this delta's own). The file goes 84 → 85 rows, its promotion-fidelity block 5 → 6, and **the two-scope rule is now written in both places** — the § 8.9 box and `dispositions.yaml:3332-3334`. *A disposition that arrives after a finding has reddened a gate is a repair; one that arrives before it is a declared exception.*

## The archive pre-stage corrected THIS amendment — and the wrong paragraph is kept above the correction

Actor `rehome-lander` pre-staged the archive and ran the pinned CLI over it (`brett-wip` **`46891cfc`**). **`ideation-dashboard` is NOT removed.** The applied delta is `+7 ~4 -102 → 0`, exit 0: the 102 REMOVED requirements all match canon and go, and **two survive** — the two `retire-doxbench-chat-turn-v1` titles this amendment had already identified at § 8.9 (vii). After: **15,457 B, 2 requirements, 12 scenarios, directory present**, CLI plan `ideation-dashboard: update`.

So two figures this amendment wrote are corrected at the box that was wrong: this is **the largest `## REMOVED` block ever applied at an archive here (102 requirements, 215,683 B of delta) and NOT the first capability removal**, and **capability directories go 63 → 65**, not 63 → 64. *Two boxes of one amendment disagreed because each was written from a different measurement.*

**The consequence reaches R-B's own arithmetic** (`entry_count 62 → 64, floor 70 → 72`) and is **registered, not rewritten**: if the `ideation-dashboard` path survives, the regeneration gains two entries and loses none. A ruling's figures are the ruling's, for the de-floor act to re-derive from the landed tree.

**Archive-as-ratified is the default and, measured, the only runnable form today**: amending the delta to drop the survivors is **refused by the CLI** — *"Spec must have at least one requirement … refused while the spec holds content the merge cannot safely account for"* — because 65 blockquote lines including the 2026-09-16 ERRATUM survive with them (`#656` `5767829227`, raw reports `brett-wip` `2e739cd1`). **The surviving-two question is not ruled by word**, and the ledger says so in those words rather than implying a decision nobody made.

**§ 8.9 gains three rows**: **(viii)** the BEFORE vectors *with their scope named* — `--single-repo` canon share **41.4 %** (402,636/972,921 B), **31/28/37/20**, 0 new regressions, 5 families skipped; aggregation mode **16/948/3294/33 → 16/950/3294/33**, the entire movement being two auto-fixable `document-catalog` findings on the two new specs; `--strict-archive-dates` **129 / 129**. **(ix)** the wrapper's dry run — seven column-0 boxes before this amendment's four marker moves; § 7.3's `[~]` is not a blocker. **(x)** **#473's row measured NEVER-LIVE** at the CLI-applied AFTER tree (row present 0/0/0/0, row removed 0/0/0/0, byte-identical finding sets; the titles it disposes are the two survivors, post-archive lines 28 and 156) — written on a simulation that deleted the spec wholesale, the same wrong premise § 8.4 carried. *A disposition that turned out unnecessary is not a mistake to erase; it is the cost of landing a declared exception before its act.*

**Also recorded**: the MIGRATION_PIN **ceremony word is given** (item 2) while `lockstep.status` stays `diverged` until that PR lands; the CHANGELOG **`draft` → `standard` word is given** (item 3, two root PRs in flight); **`xdox-v1.0` stands as cut** (item 5) — a first bundle tag is the one artifact here a later landing cannot correct, so a ruling that leaves it alone is a decision and not a silence; `add-chain-attestation` **waits on lane `openxfactory-1`** (item 4); and archive-day items are registered: real `## Purpose` text into the two new promoted specs, the two-PR aggregation sync, and `README.md:83`'s stale *"so § 3.7 is not ticked"*.

## Four more landings folded, and one Copilot FACT finding taken

| act | landing | what it is |
| --- | --- | --- |
| `openDox` **#12 → `36ded1cd`** · `openXdox` **#14 → `6df0a030`** | 21:38:52Z · 21:39:18Z | CHANGELOG `draft` → `standard`, item 3 of Brett's word; one file each |
| `openXdox` **#15 → `646f1dc0`** | 21:51:39Z | the pin chain's first step: root pin of openDox `c4c5014d → dc7aa08f` (= `dox-v1.0`), digest re-derived, **migration sentinel filled** (`range "0001..0002"`, `reversible: false`, runbook = openDox-code `docs/runtime.md` §§ 5-6 at `d816cf06`) |
| `xFactory` **#475 → `c88d1fdd`** | 21:55:36Z, merge commit | the **FOURTH MIGRATION_PIN re-point ceremony**, `1f131a23 → b21f0100` at exactly three surfaces; G1 37 passed, G2 envelope OK (vendored golden now byte-identical to live), G2a IDENTICAL=21 at both pins, guard plane 212, G3 live lane re-proved at the OLD pin (run `35658107765`), G4 validate 229; rollback target `1f131a23` |

**The tags are not moved**, so each root reads `Status: draft` **at the tag** and `standard` at `main`, bundle values byte-identical — a document-header fact, not a release-content one. *Correction to the report I was given: "each tag is now `main~1`" holds for **openDox** (`main` `36ded1cd`, `main~1` `dc7aa08f`) and **not** for **openXdox**, where #15 landed after #14, so the tag's target `2073e3a9` is `main~2`.*

**So the ceremony half of the corrected R-5 is DONE and the convergence is NOT**: `lockstep.status` flips `diverged → converged` in a follow-on `openxFactory` PR, in flight — recorded as **pending, not landed**. The aggregation's own leg pointers still read `c4c5014d` / `88a1047e` until the chain's STEP 3. *"STEP 1" now names two different acts (#474's parity-order pointer advance and this pin-chain step); each is cited to its own comment rather than renamed.*

**Copilot's FACT-class finding is taken, not registered**: § 7.4's earlier STATUS said *"the marker does not move here"* and *"the box is `[ ]`"* while the marker already read `[~]`. A ledger that states its own marker wrongly is worse than one that states it vaguely — the fourth time in this amendment the fix was to bind a sentence to the round that wrote it.

## § 7.3 — locator corrected, non-normative

`:4609-4610` → **`:4632-4633`**. The rule and its words have not moved; only its line numbers did, which is what a locator into live code does between amendments.

`openspec validate … --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean** (222 rows) · `verify-opendox-pin.py` **OK**.

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

*(§ 7.4's form is now RULED and folded here; what remains open are §§ 5.6, 8.4 and 8.9 — the first two take their `[~]` at the archive amendment, and § 8.9 ticks on the archive's own BEFORE/AFTER record.)*


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 22, 2026
…is qualified, the pin-shape ruling is recorded at the box that owns the direct pins, and STEP 2's openXdox target is corrected (#1135)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #11 — a small pre-archive amendment: one registered citation qualified, one ruling recorded at the box that owns its object, and one figure corrected where two boxes of amendment #10 disagreed.**

Branched from the landed `main` at **`6b298a1e`**. **Ledger 67 `[x]` / 3 `[ ]` / 2 `[~]` of 72 BEFORE and AFTER — ZERO marker changes**, verified rather than asserted: the file's `^- \[.\]` lines are **byte-identical to `main`'s in text and in order** (`diff` empty). One file, **+133 / −2**; the two deletions are the two lines the § 8.4 citation is repaired in. The three still open are §§ **5.6, 8.4, 8.9**; §§ 7.3 and 7.4 hold their `[~]`. Rule 6 applies.

> **Nothing here ticks anything, and that is the shape of the act.** Two of the three items were REGISTERED at amendment #10's head and deliberately not pushed; this is the amendment that carries them, which is the half of "register it" that makes registering honest.

## § 8.4 — the `assert_landed_pin` citation is qualified IN PLACE (`#656` `5768299637`)

Copilot's finding at amendment #10's head `525fe5b2` — LOW, *"Unresolvable citation path for assert_landed_pin"* — **was correct**. § 8.4 cited `specs_floor_block.py::assert_landed_pin` bare, and **no file of that name exists anywhere in `openxFactory`**: the function is codexFactory's, and this same document already qualifies it properly at § 5.6.

Folded **verbatim in the words Brett Heap wrote out for this amendment**: codexFactory's `scripts/merge_master/specs_floor_block.py::assert_landed_pin`.

**It is repaired in place rather than kept-and-superseded, and the rule is the packet's own**: a bookkeeping amendment fixes stale or under-qualified **COORDINATES** — § 7.3's locator took exactly this treatment at amendment #10 — and does not re-word what ratification was over. *The rule's words are unchanged; only the path that finds it is.*

**Why it waited one amendment, written into the box so the delay does not read as neglect**: the finding under-qualifies a citation in a box that **does not tick** — § 8.4 is one of the three still `[ ]` — so it falsified no tick and no evidence line, and this lane moves a reviewed head only for a finding showing that a **tick is wrong**. Six pushes had already re-run that gate. *The cost of that rule is exactly this: a true finding waits one amendment, and it is carried in writing so that waiting cannot become losing.*

## § 5.1 — the PIN SHAPE is ruled, and it lands at the box that owns the direct pins (`#656` `5768144952`)

**RULED 2026-09-21T22:03:33Z by Brett Heap, verbatim *"(b) for the pin shape, keep going"***, answering the RULING NEEDED at `5768088579`.

**`files:` and `pinned_by_commit_only:` stay DEFERRED in BOTH direct pins**, on the ONE-LINK-UP precedent this chain already runs on and which `scripts/verify-openxdox-pin.py` reached first: the whole-tree `sorted-ls-tree-r-v1` digest addresses **every byte** of the pinned root, so no member can be undeclared and none can be added or altered without changing the referent. It discharges the completeness obligation those two lists exist to serve, and discharges it **more strongly** than an enumeration; the legs the digested artifacts sit in are themselves pinned by commit **and** digest by their assembly root. *An enumeration here would add a second, weaker statement of one fact — and a second statement is a thing that can drift.*

**The trigger the header set for itself DID fire, and the ruling answers it rather than avoids it.** The revisit condition is the first commit whose pinned manifest carries a non-empty `entries:` row:

| measured | |
| --- | --- |
| commit | openDox **`dc7aa08f`** (the commit `dox-v1.0` tags), 2026-09-21 |
| manifest | `contract_bundle_version: dox-v1.0`, **3** entries |
| the three | `xfactory-workbench-chat-turn`, `xfactory-workbench-model-catalog`, `ideation-workbench` |
| where they live | `contracts/schemas/…` in `opensoft/openDox-spec` at **`8fe8c4c7`**, digested per file |

So **the revisit is recorded DONE with the digest reading as its resolution**, and the trigger sentence — *"that artifact then moves into a `files:` list here"* — is **amended rather than left standing contradicted**. *Two recorded readings in this family disagreed, and a ruling that leaves both in the tree leaves the next reader to pick one; that is why the amendment is written into the pin FILE, beside the sentence it supersedes, and not only onto the issue.*

**Why § 5.1 and not § 4.2**: the ruling is about the shape of a **DIRECT** pin, and the two direct pins `openxFactory` declares — `contracts/openxdox-pin.yaml` and, since RULED **Q7**, `contracts/opendox-pin.yaml` — are § 5.1's own object, with the two gitlinks they move with. § 4.2 owns openXdox's pin of openDox, one link further down the same chain, and takes its own record.

**The marker does not move.** § 5.1 is `[x]` on `#917` → `edf0e24f`, and a later advance of a pin it already ticked on does not re-open it.

## § 4.2 — the judgment stands and its FIRST REASON does not

The recorded hand-act judgment — that the per-file `sha256` and `pinned_by_commit_only:` lists are both empty — rested on **two** reasons, and the first has expired: openDox's manifest no longer reads `contract_bundle_version: none` with `entries: []`. The same ruling **keeps the judgment on its second reason**, the whole-tree digest.

**What this box now OWES, registered and not discharged**: `openXdox/contracts/opendox-pin.yaml` still carries the **un-amended trigger sentence** at openXdox `main` **`646f1dc0`**. The identical header amendment the `openxFactory` side takes inside STEP 2's own pull request is owed here in a small follow-up by the same actor after STEP 3. *Named at the box that owns the FILE, because an obligation recorded only where it was ruled is an obligation the file's next reader never meets — and the ruling's own words state the gap (the claim posted as `5767868394` was an earlier draft that lacked this finding) rather than closing it quietly.*

**The tick is undisturbed**: § 4.2 ticked on the file's **fields** at openXdox root `eca0b597` — product, source repository, an assembly-root `commit:`, `revision_kind`, the `sorted-ls-tree-r-v1` digest and the RULED ASK-1 migration triple — and a later advance of the `commit:` removes none of them. *A pin that moves is a pin that works.*

## § 8.7 — STEP 2's openXdox target is corrected, `2073e3a9` → `646f1dc0`

Amendment #10's AGGREGATION-SIDE RECORD A2 wrote step 2 as *"`openDox` → `dc7aa08f`, `openXdox` → `2073e3a9`"*, while **§ 4.6 of the same amendment wrote `646f1dc0`**. `646f1dc0` is right, and the gap between the two commits is the whole of STEP 1:

- `2073e3a9` is the commit **`xdox-v1.0`** tags, and its `contracts/opendox-pin.yaml` still pins openDox at `c4c5014d`;
- `openxFactory`'s `scripts/verify-opendox-pin.py` enforces a **LOCKSTEP** — its own direct openDox `commit:` must equal the `commit:` read from `openXdox/contracts/opendox-pin.yaml` at the pinned gitlink — so pinning `dox-v1.0` and `2073e3a9` together is **REFUSED**;
- `openXdox` **`#15` → `646f1dc0`** is the act that makes step 2 possible, and `openxFactory` **#1134** moves the `openXdox` gitlink to `646f1dc0` exactly.

**The sentence above the correction is kept**, because it is the reading the claim was written under. *The forced order at `#656` `5767733963` names its own openXdox target as **X**, a variable step 1 resolves; that record resolved it from the TAG instead of from the LANDING, which is the one substitution the order forbids.*

## STEP 2 and STEP 3 are recorded as POSITIONS, not landings

| step | state, measured at the forge | recorded at |
| --- | --- | --- |
| **2** — `openxFactory`'s nested leg-advance | **#1134**, `change/advance-nested-opendox-openxdox-legs`, head **`ca2c8a82`**, DRAFT, base `main`. **Six files**: both pin files (`commit:` + `digests.tree_sha256`), the `openDox` gitlink `c4c5014d → dc7aa08f`, the `openXdox` gitlink `88a1047e → 646f1dc0`, and both verifiers' tests. It carries the `openxFactory` half of the pin-shape amendment **in the same landing as the pin it amends**. | § 5.1 |
| **3** — the aggregation three-pointer sync (claim `5767572080`) | **has not opened**: `opensoft/xFactory`'s five open pull requests at 00:40Z are #396, #160, #22, #21, #5, none a pointer sync. | § 8.7 |

**Amendment #12 carries both shas.** This amendment records the act, its object and its head, and refuses to record a merge that has not happened — the same standard §§ 3.8/4.6 held to for their tags.

## What is deliberately NOT in this amendment

**The landings of 2026-09-21 that arrived after amendment #10's head are already in the file** — checked against `origin/main` rather than assumed: `openXdox` **#15 → `646f1dc0`** is recorded at § 4.6 (`#656` `5768022822`) and the **fourth MIGRATION_PIN ceremony**, `xFactory` **#475 → `c88d1fdd`**, at § 5.6 with its four gates (`#656` `5768064136`). Amendment #10 carried both; re-recording them would be a duplicate, not a record.

**#1131's own landing is carried by the ledger count alone** — this amendment IS that record.

## Copilot round 1 — TWO FACT findings, both right, both taken as fixes (head `22b9af23`)

**Finding `r4067623184` (MEDIUM) — *"Empty pin resolution omits required per-file hashes"* — is right in the delta, and the amendment's prose was wrong to read as settled.** Measured in this packet's OWN ratified `neutral-product-pin` MODIFIED requirement:

| `specs/neutral-product-pin/spec.md` | what it says |
| --- | --- |
| **`:87-100`** | the **SOURCE-TREE** clause: the pin *"SHALL carry the product's COMMIT, its `revision_kind`, a per-file `sha256` for every artifact the product's own manifest digests per file, and `pinned_by_commit_only:` for every artifact the product content-addresses by commit alone"* |
| **`:102-121`** | the one-digest-addresses-every-byte reasoning **is in the requirement** — and it is scoped to *"WHERE THE PRODUCT IS DISTRIBUTED AS A PUBLISHED, CONTENT-ADDRESSED ARTIFACT RATHER THAN AS A SOURCE TREE"* |
| **`:123-138`** | the runtime clause **this packet itself added**: the deployment declaration *"SHALL NOT be read as permission to skip the digests — commit and per-file `sha256` remain the trusted referent exactly as for a file-read pin"* |

**openDox is pinned as a SOURCE TREE, by commit**, so `dc7aa08f`'s three per-file entries make that obligation **non-vacuous for the first time** — exactly what the pin header's own trigger anticipated.

**SETTLED and NOT SETTLED are now stated separately in the box.** Settled: what the two pin FILES carry today — Brett's word at `5768144952`, already executed. Not settled: whether the source-tree clause is discharged by a whole-tree digest — **normative text**, therefore a spec-delta-class act, on the disposition RULED `5700622683` gave § 7.1's scenario-4 defect and § 7.3 records for its own ratified trigger phrase: registered, owed from an act that CLAIMS the delta, never repaired by a bookkeeping amendment.

> **RULING NEEDED** (registered in the box, not left on a pull request): **(a)** both direct pins carry the three per-file `sha256` entries plus an explicit `pinned_by_commit_only: []`, the deferral narrowing to the SHAPE of the lists rather than their existence; **(b)** the source-tree clause is amended to admit a whole-tree `sorted-ls-tree-r-v1` digest as an EQUIVALENT discharge — the reading the ruling already applies one medium over; **(c)** the ruling stands as a recorded EXCEPTION, named at the box and at the delta. **REC (b)**, because it leaves ONE rule in the corpus instead of a rule and an exception.

§ 4.2 carries a pointer to the same tension, so the actor taking that file's follow-up meets it **before** editing the header rather than after.

**Finding 2 (Copilot's overview — the intervening `6df0a030`) is also right.** § 8.7's correction said the two commits are *"one commit apart"*. **Measured on the root's own history they are two**, and only the second is STEP 1:

`2073e3a9` (#13, release surface, 20:56:18Z) → **`6df0a030`** (#14, CHANGELOG `draft` → `standard`, 21:39:17Z, **touching no pin**) → **`646f1dc0`** (#15, 21:51:39Z, the pin advance that IS step 1).

*A reader counting back one from `646f1dc0` lands on a CHANGELOG edit rather than on the tag — the off-by-one locator class this packet has already spent three amendments on. Fixed rather than tidied away, and the correction-of-a-correction is left on the page.*

**Markers are still untouched after both fixes**: `67 [x] / 3 [ ] / 2 [~] of 72`, and the `^- \[.\]` lines remain byte-identical to `main`'s in text and in order.


### Copilot round 2 — one LOW finding, right, taken as a fix (head `439843f6`)

**`r4067646318` — *"Pin-file trigger amendments remain incomplete"*.** § 5.1 wrote that the trigger sentence *"is AMENDED"*, which reads as a landed fact, while the same box's execution paragraph two below records the `openxFactory` half as **in flight** in `#1134` and the openXdox half as **owed**. One box stated a thing as done and, further down, as pending.

It now reads **"is RULED AMENDED"**, with a paragraph stating the split in terms: **as this amendment is written, NEITHER pin file carries the amended header on a landed commit** — the `openxFactory` side is in flight inside STEP 2's pull request, the openXdox side is not yet authored. *What is DONE is the ruling and the revisit it answers; what is PENDING is the execution, in two pull requests.*

**The finding's reasoning about the archive is why it earned a head**: a ledger that reads *"amended"* where it means *"ruled to be amended"* is how an archive comes to treat outstanding work as closed. This packet has refused that at § 3.7 (three candidate heads), § 4.5a (an abbreviated command) and §§ 3.8/4.6 (a live read of a tag ref), each time by recording nothing but a landed sha as landed — and neither STEP 2 nor STEP 3 is recorded as landed anywhere in this amendment.

**Three findings across two rounds, all three FACT-class on this amendment's own prose, all three taken as fixes; zero registered.** Markers untouched throughout.


## Round 3 — STEP 2 has LANDED, and three of its handed figures are corrected

**`openxFactory` #1134 → `aaddda666165655a60abc1720f271e2e967e3bdc`, `mergedAt` 2026-09-22T01:12:58Z** — the STEP 2 nested leg advance. Six files; both gitlinks at **`dc7aa08f`** and **`646f1dc0`** exactly. **The in-flight sentences are SUPERSEDED and KEPT with their clock** (measured 00:36Z, landed thirty-six minutes later), which is this packet's standing treatment of a position overtaken by an act.

| handed | measured | why it is recorded |
| --- | --- | --- |
| `mergedAt` 01:13:04Z | **`mergedAt` 01:12:58Z**, commit date **01:12:57Z** | the seconds change no gate — **the FIELD does**, which is why this packet names the field beside every clock |
| (unstated) | **a SQUASH**: ONE parent, subject ending `(#1134)` | not the two-parent MERGE COMMIT the two assembly-root pin landings took |
| head `ca2c8a82` (measured 00:36Z) | **`a28d68a6`** is `#1134`'s final PR head — the **source ref** that was squashed; **`aaddda66`** is the commit on `main` | three shas, none of them each other: a head is a MOVING reference until a landing fixes a different sha. *Corrected on Copilot finding `r4067741174`, which caught an earlier round writing "the head that landed" — the one error class this packet is built to catch, since it ticks on landed shas and nothing else.* |

**One narrative defect in `#1134`'s own body is REGISTERED and not fixed** (another actor's text; no sha turns on it): it says the openXdox target is *"one commit past `xdox-v1.0`"*, and **measured it is two**. **That is the identical off-by-one this amendment corrected at § 8.7**, reached independently on the other side of the same landing — the argument for recording defect CLASSES and not only defects.

**§ 8.7 — STEP 3 re-measured at 01:17Z, after step 2 landed: still not opened.** `opensoft/xFactory` now carries six open pull requests; the new one is **#477**, the ceremony-history DOCS follow-up § 5.6 already registered, **not** the sync.

**§ 3.6 — the openDox-code hygiene arc has landed twice, at the box that already carries its register**, and neither landing moves it: **#33 → `1d4ac83c`** (2026-09-19T02:29:06Z) and **#34 → `f8a1eced`** (2026-09-22T01:07:19Z, a squash). The triple is **measured, not reported** — `1114 / 1111 / 3` at `.github/workflows/validate.yml`:2128 with `MIN_SELECTED`/`MIN_PASSED` at :2136-2137, where #33 read `1109/1106/3` and the root-pinned `d816cf06` reads `1099/1096/3`. **And the reason neither touches an obligation is verified rather than asserted**: the `openDox` assembly root still pins `code` at `d816cf06`, and `f8a1eced` is **ahead_by 2, behind_by 0** of it. *(Clock correction owed to the report: #34 was handed as 01:07:26Z; both fields that exist read 01:07:19Z.)*

**`origin/main` `aaddda66` is merged into this branch**, and the markers are re-verified against it: `67 [x] / 3 [ ] / 2 [~] of 72`, `^- \[.\]` lines byte-identical in text and order.


### Round 5 — the last head-moving round: *"direct pins"* named two different pairs

Copilot's round-4 overview reported **Findings: None** with the headline *"the pin-trigger evidence must be attributed to the correct direct and transitive pin files"*. No thread, nothing to register — and the headline is right about the prose: § 5.1 used **"direct pins"** for **two different pairs**, four paragraphs apart, and only ONE file belongs to both.

| the phrase | the pair | |
| --- | --- | --- |
| the **ruling's** — *"both direct pins"* | `openxFactory`'s `contracts/opendox-pin.yaml` + `openXdox`'s file of the same name | each DIRECT from its own consumer's position; the second is TRANSITIVE as seen from `openxFactory` |
| **this box's own** | `contracts/openxdox-pin.yaml` + `contracts/opendox-pin.yaml` | the two pins `openxFactory` DECLARES — what RULED **Q7** made two |

The deferral sentence now **names its two files** instead of saying *"both direct pins"*, and a **PHRASE COLLISION** paragraph flags the ambiguity once — on the same treatment the `R-5` collision gets at § 5.6: every mention names its files and **neither phrase is renamed**, because renaming a ruling's label in a ledger breaks every record that cites it.

**This is the final head-moving round on this amendment.** Anything further is registered for #12.


## Round 6 — a FOLD, not a review round: STEP 3 lands and the forced order is COMPLETE

**`opensoft/xFactory` #478 → `1385f380117f54f1e266e239a9e467e730ce3f29`, `mergedAt` 2026-09-22T01:33:07Z, a MERGE COMMIT (two parents).** The three pointers are read **at that commit**, not from its title: `openxFactory` → **`aaddda66`**, `openDox` → **`dc7aa08f`**, `openXdox` → **`646f1dc0`**. The equality § 8.7's own line checks holds again for **both** legs — STEP 1 broke it by design and STEP 3 restores it, which is what makes the order *forced* rather than preferred.

| the forced order, `#656` `5767733963` | landing | UTC |
| --- | --- | --- |
| **STEP 1** `openXdox` #15 | `646f1dc0` | 2026-09-21T21:51:39Z |
| **STEP 2** `openxFactory` #1134 | `aaddda66` (squash) | 01:12:58Z |
| **STEP 3** `xFactory` #478 | `1385f380` (merge commit) | 01:33:07Z |

**Four files is not a breach of #474's two-file invariant — it is a different sync.** #474 was the openxFactory-**pointer** sync (that gitlink plus `.github/clearing/openxfactory/PIN.yaml`); this is the **three-pointer** sync, so its shape is three gitlinks plus that same clearing PIN, and #474's pair moves here too for #474's own reason: the nightly runs its scripts from the `openxFactory` gitlink.

**§§ 5.1 and 4.2 — both halves of the header amendment have landed**, so round 2's *"NEITHER pin file carries the amended header on a landed commit"* is superseded and kept with its clock. The openXdox half is **`openXdox` #16 → `7194c06ca456d1675e32e890b4acf640b14bfc60`**, `mergedAt` 01:33:20Z, a squash, one file. **Measured in the landed bytes rather than taken from the title**: it cites the ruling `5768144952` **twice**, the trigger sentence *"that artifact then moves into a `files:` list here"* **no longer occurs in it at all**, and `commit:` still reads `dc7aa08f` — the header moved, the referent did not. **§ 4.2's obligation was registered as owed at 00:45Z and discharged at 01:33Z**, inside one amendment, and both are recorded: *a ledger that records only what is still outstanding cannot be used to check what was.*

> **A clock pattern worth more than its four figures.** #1134 handed 01:13:04Z / measured **01:12:58Z**; `openDox-code` #34 handed 01:07:26Z / **01:07:19Z**; #478 handed 01:33:14Z / **01:33:07Z**; `openXdox` #16 handed 01:33:28Z / **01:33:20Z**. **Four reports, every one six to eight seconds fast** — a systematic offset in whatever field the reports read, not four slips. It changes no gate; this packet names the FIELD beside every clock precisely so an offset like that is visible instead of invisible.

**The Copilot finding budget stays closed at round 5.** This round folds landings the holder sent while the amendment was open.


### Round 7 — round 6's fold left its own plan standing as live, and the marker goes in the same round

**`r4067822689` (MEDIUM) is right.** Round 6 recorded `openXdox` #16 as landed and § 4.2's obligation as discharged, and left § 5.1's *"EXECUTION IN TWO HALVES, AND THE SECOND IS OWED"* standing beneath it with no superseded timestamp and no discharge reference — one box saying both halves landed and, four paragraphs down, scheduling the second as future work. **The same defect class round 2 corrected, re-created by a later fold in the same section.**

The plan is **kept** — this packet keeps superseded readings in the present tense of their own act — and it is now **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c` as the discharge and § 4.2 as the other place it is recorded. **The general lesson is written into the marker, not merely applied**: a fold that lands an obligation must mark every plan that schedules it, in the same round as the fold, or the contradiction outlives the round that made it.


### Round 8 — the mirror, found in the review BODY rather than in a thread

Copilot's round-7 review reported **Findings: None** open and **0 unresolved threads**, and carried a **"Previously missed"** finding in its body, in text round 7 did not touch: § 4.2's heading *"WHAT THIS BOX OWES, REGISTERED AND NOT DISCHARGED HERE"* still presented the obligation as live with its own discharge in the very next paragraph.

**It is right, and it is the exact mirror of what round 7 fixed at § 5.1**, so it takes the identical treatment: the reading is **kept** in the present tense of its own act and **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c`. **The marker rule now stands at both boxes rather than only at the one that was reported.**

*Recorded because of where it was visible: a zero-unresolved-threads count is not evidence, and this lane's gate reads the review BODY for exactly this block.*


## Gates

`openspec validate split-opendox-two-layer-product --strict` **valid** · `proposal-support.py . verify` **ok** · `validate-sequenced-after.py . --ledger-diff` **clean (222 rows)**.

`openspec validate --all --strict` → **106 passed, 1 failed** — and **the one is not this branch's**: `add-chain-attestation`'s `signed-execution-chain` MODIFIED block omits *"a tranche-two link does not exist yet"*. **Measured identical at this branch's own base `6b298a1e` AND at `main` `aaddda66` after the merge**, so it is inherited `main`-red; it is asked of lane **`openxfactory-1`** by name at `#656` comment `5767267092`, and it is § 8.9's registered residue (vi).


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 23, 2026
…ggregation, not declared alone (#1145)

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

**The remedy the pin file recorded for itself.** Copilot raised a HIGH finding on #1136 — the lockstep flip at the fourth re-point ceremony, merge `7c49825e` — at [`r4067694104`](#1136 (comment)), review [`5273295522`](#1136 (review)). The lane **verified the premise** and **declined the remedy** as outside that pull request's mandate ([`r4067703286`](#1136 (comment))), and the flip's own appended `reason:` paragraph recorded the remedy's shape as option **(b)**:

> *"make the CROSS-REPOSITORY fact assertable at all — nothing today reads xFactory's three surfaces and compares them to this value, which is why a false `status` survives in EITHER direction until a human notices … **(b) is the better fix, because (a) still leaves this file's truth depending on a lane remembering to write it.** Both are OpenSpec-class acts on a realized capability, which is exactly why neither rides here."*

**This packet is that act.** `Status: draft` — not ratified by the authoring lane.

---

## The hazard, measured on `main` `2e222d98`

| fact | measurement |
| --- | --- |
| the declaring field | `contracts/review-lane-pin.yaml`:714 `status: converged` |
| the value it is about | `core_commit`:60 `b21f0100…` |
| the aggregation's three surfaces | `opensoft/xFactory` `main`: `merge-master-approval.yml`:152, `council-convening-lane.yml`:308, `tests/test_merge_master_workflows.py`'s `MIGRATION_PIN`:72 — all three `b21f0100…` |
| what the repin lane may write | `WRITABLE_PATHS` = four files; within the pin, only regex-anchored `core_commit`, `floor_snapshot.sha256`, `floor_snapshot.entry_count` |
| can it write the field? | **`grep -c lockstep scripts/review_lane_repin.py` → `0`** |
| does anything read the aggregation? | **`grep -nE "opensoft/xFactory\|MIGRATION_PIN\|council-convening" scripts/review_lane_repin.py .github/workflows/review-lane-repin.yml` → no output.** `MIGRATION_PIN` appears in no file under `scripts/` or `.github/workflows/`. |
| the guarding test | `test_the_pin_records_its_lockstep_state_with_the_aggregation_pin` asserts the field against a **literal in the test file** — this repository's value against this repository's own constant |

> **Beware the substring.** A bare `grep -c xFactory` on those two files answers **13** and **32**, and every hit is `openxFactory`. The measurement above is the one that means anything.

So the declaration is **true today and nothing keeps it true.**

## It is not hypothetical, and it is live right now

It last went false on **2026-09-18**, when the hourly lane's advance (#1122 → `38f826c2`, 20:53:37-04:00) moved `core_commit` and left `converged` standing. The hand repair (#1123 → `8184d74a`, 21:27:43-04:00) followed **34 minutes 6 seconds** later, both first-parent on `main`. Thirty-four minutes because a human was watching that evening. **Nothing bounds it.**

**And #1138 is OPEN as this is written** — not a draft, platform auto-merge **armed**, proposing `core_commit` `b21f0100…` → `491fc54d…`:

```
$ git diff main...origin/bot/review-lane-repin --stat
 .github/workflows/merge-master-approval.yml | 4 ++--
 .github/workflows/pytest-suite.yml          | 2 +-
 contracts/review-lane-floor-snapshot.yaml   | 9 ++++++---
 contracts/review-lane-pin.yaml              | 6 +++---
$ git diff main...origin/bot/review-lane-repin | grep -cE "^[-+].*(lockstep|converged|diverged)"
0
```

`tests/review_lane_pin/test_review_lane_caller.py` is not in that diff at all. **The hour it merges, `lockstep.status` becomes false, the test still passes, and nothing reports it.**

## Why shape (b) and not shape (a) — decided by measurement

**The lane cannot write the field honestly, because it has no reading of the aggregation to write from.** Zero hits, in both files. Under (a) it would have exactly one thing it could write — `diverged`, on every advance — by **inference** from *"`MIGRATION_PIN` does not move on a routine advance."*

**That inference is already falsified by this estate's own history.** At the fourth ceremony (`opensoft/xFactory` #475 → `c88d1fdd`, 2026-09-21) the aggregation converged **onto** a commit this file had been pinned to since 2026-09-18 — three days apart, not a pairing at all, which the pin file records as the first time that happened. An advance landing where the aggregation already is leaves the pair **converged**. **So (a) does not remove the false declaration; it changes which direction it is false in.**

**And the capability has already ruled on assertion-versus-measurement, one requirement over.** *An automated pin advance moves every pinned site in one commit or opens nothing* closes: *"what is added here is that an UNATTENDED author must prove the lockstep by measurement rather than assert it."* Shape (a) would install inside that same capability precisely what that sentence forbids. Shape (b) extends its principle to the one lockstep it does not yet reach.

**The capability is also already built for (b).** Its realization's declared split — *"the workflow reads the two repositories with `gh` … and hands this module PURE INPUTS … Every requirement's refusal is then a unit test with a fixture, not a workflow that has to be fired to be believed"* — is exactly what the assertion needs: one more repository read where reads already happen, one more pure comparison where judgments already happen. **No new architecture.**

**(a) is not forbidden by this requirement.** If a later act teaches the lane to read the aggregation, it may then write the field — and it would be writing a measurement, which makes (a) a special case of (b) rather than an alternative to it.

## The requirement

ONE `## ADDED`, **eight scenarios** — an absent or foreign declaration, a stale `converged`, a stale `diverged`, surfaces disagreeing with each other, the check's own access failing, an unreadable aggregation, a candidate unread or its head moved, and the pure-function reproduction. The state is **measured**, not declared; the check runs **at least at every proposed advance and its pull request, whoever opened it** — in practice on every pull request that changes the pin, a fork's included — so the contradiction is reported on the same pull request that creates it rather than whenever a human next reads the field; it observes **this repository's side of the pair**, so a `MIGRATION_PIN` re-point in the aggregation is reported at the next pull request here that changes the pin (`tasks.md` § 6.7); the **read** lives in the workflow and the **comparison** is a pure function; it is **symmetric** (a false `converged` and a false `diverged` alike); and the declaration is **not removed** — it becomes the subject of the measurement rather than its only evidence.

**The aggregation's surfaces are read AS A SET** (`r4075976905`) **at ONE resolved commit of it** — never independently from a moving branch, because a re-point landing between two API calls returns a mixed set the check would report as INCONSISTENT, *a state that never existed in the repository it was reading*. They must agree with each other before either state is concluded; disagreement is its own outcome, INCONSISTENT, with each surface named by a digest and the commit they were read at named with the verdict. **The outcomes are ORDERED and exactly one holds for any input a run judges** (`r4076152698`, `r4076557241`, `r4084891099`, `r4085195340`) — **the candidate unread FIRST** (a read of this repository failing, for any reason but the pin's absence), then **the declaration outside its vocabulary** (a foreign state, a non-commit `core_commit`, an unparseable candidate, the pin absent, or a `converged_with:` other than the read plan's workflow members), before the aggregation is read at all, then the check's own **access failing**, then unreadable (a surface whose value is not a commit counts as unreadable, `r4076989950`), then disagreeing, then the comparison — because giving each outcome a conclusion is exactly the moment overlapping cases become a contradiction, and two of mine did. **One partition classifies every failure to read, of either repository**: a transient failure is UNDETERMINED, a 404 for a branch, a commit or a file is an absence, and every other failure is the check's own access failing, a 404 from the head's lookup (a read of the pull request) among them. **A run that finds its head moved publishes no verdict**. It is the one run that publishes none, because the push that moved the head starts a run of its own.

**Each outcome carries a CONCLUSION and three fail:**

| outcome | conclusion | why |
| --- | --- | --- |
| declaration **absent or outside its vocabulary** — a foreign state, a non-commit `core_commit`, an unparseable candidate, the pin absent at the verified head, a `converged_with:` other than the read plan's workflow members | **FAIL**, naming the value found or the pin's absence | this repository's own file, checked once the candidate is in hand and before the aggregation is read — a defect that makes every later question moot |
| the check's own **access fails** — binding unresolved, mint refused, either repository refusing its request, or any failure to read that is neither transient nor an absence | **FAIL**, naming the failure | this repository's own configuration or code; an UNDETERMINED here would stand on every run |
| declared state **CONTRADICTED** | **FAIL**, naming `core_commit` and the agreed commit's digest | this repository's own file states something false; the remedy is one edit |
| surfaces **disagree** (INCONSISTENT) | **NEUTRAL**, visible | another repository's defect |
| aggregation **unreadable**, or a read of the candidate failing transiently (UNDETERMINED) | **NEUTRAL**, visible | another repository's availability, or the host's |
| declared state agrees | pass | |

That does not contradict the decision not to block a lawful divergence: **what fails is not the divergence but the false declaration about it.** And **UNDETERMINED is forbidden as a STANDING state**: the check's own access failing is its own FAIL, so it cannot stand as a permanent NEUTRAL. **No aggregation value is published as it is**: this repository and its checks are public and the aggregation is private, so a surface is published only by its classification, its relation to `core_commit` and a digest (`design.md` D20).

`## ADDED` and no `## MODIFIED` is a decision (`design.md` D3): three active changes carry deltas on this capability and none names this requirement or is named by it, and the hazard lives in the **gap** between the advance this capability automates and a field no requirement obliges anyone to measure — not in any promoted requirement's text.

## Boundaries this packet holds

- **The disposition mechanism is untouched** — `validate-openspec-cli-pin.py`, `reconcile()` and `contracts/openspec-cli-pin.yaml` are not this packet's subject in any respect.
- **The pin file is not hand-patched.** `lockstep.status`, `converged_with:` and the append-only `reason:` narrative do not move. A packet that edited the value it proposes to start checking would assert the very fact it exists to stop asserting.
- **`WRITABLE_PATHS` and `PINNED_SITES` gain no member.**
- **No act in `opensoft/xFactory` is proposed.** The aggregation is READ. `MIGRATION_PIN` advances only at a recorded ceremony and this packet neither performs nor requires one.
- **The `obligation:` "only at a ceremony" clause is NOT narrowed here** — still the ratifier's act, registered at `tasks.md` § 6.1. This packet makes the state measurable, which is what lets that clause be narrowed on evidence rather than on argument.
- **#1138 is not this packet's to land, hold or amend.** It is cited as the live reproduction.

## Gate

- `OPENSPEC_TELEMETRY=0 openspec validate assert-review-lane-lockstep-against-aggregation --strict` → **valid** — a narrowed claim, about this change alone.
- `validate-code-surface.py` / `validate-target-release.py` / `validate-sequenced-after.py` → **exit 0** each.
- **Corpus-wide, through the adjudicated entrypoint the gate itself runs** — `python3 scripts/validate-openspec-cli-pin.py --all --no-cache` (`.github/workflows/openspec-cli-pin-gate.yml`:101) → **exit 0**: `@fission-ai/[email protected]` verified against its content address, `111 passed, 1 failed (112 items)`, **0 undispositioned**. The one failure is `add-chain-attestation` / `signed-execution-chain/spec.md`, INHERITED from `main` and not this packet's, applied as the disposition `contracts/openspec-cli-pin.yaml` carries for it (Brett Heap, 2026-09-05, *"take exit 2"*). The raw `openspec validate --all --strict` reports that same finding as a blocking error because it cannot read the disposition — which is why, under the now-ratified `require-adjudicated-validation-entrypoint` (landed on `main` as `2e222d98`), a corpus-wide claim names the entrypoint and not the raw tool.
- `code_surface: openxFactory` is **not empty**, so under `release-realization` this archives on merged **plus** green realization evidence — the check landed, **all eight** of its scenarios exercised by fixtures plus the positive cases, the negative control (`review-lane-repin.yml` carries no `pull_request` trigger) and the gate's own trigger test, and one real observation of it **concluding** — `converged`, `diverged` or a named contradiction, and not UNDETERMINED, because an observation of UNDETERMINED proves the access is missing rather than that the check works. Stated here rather than discovered at the archive gate.

## Sequencing with the lane's other open packet

This and #1143 both added a row to the README "OpenSpec Records" block and to `tests/sequenced_after/corpus-ledger.yaml`. **#1143 has landed, as `a151e462`, and this branch still merges cleanly with `main`**: `git merge-tree --write-tree origin/main HEAD` exits 0. The collision was measured and removed before that landing. With both rows at the head of the list, #1145 conflicted in `README.md` once #1143 had landed, so #1145's row was moved after the lane's other 2026-09-22 row; both orders then merged cleanly to the SAME tree, the ledger auto-merging throughout. On that fully merged tree, all of these passed: the three front-matter validators, both packets' strict validation, #1143's carriage proof, and the adjudicated entrypoint (`112 passed, 1 failed (113 items)`, the one failure the dispositioned `add-chain-attestation`). `main`'s required-check rules are not strict (`strict_required_status_checks_policy: false`), so this branch needs no merge from `main`.

## Review record — 35 Copilot reviews at 31 heads; 87 findings (73 as threads, 14 only in *Previously missed* blocks), plus eight summary-line themes; 0 unresolved threads

**82 taken as fixes, 4 answered by measurement, 1 measured and registered. Of the eight summary-line themes, six were taken, one was answered by measurement and one is registered.** The last review, `5294384086` at `d05ce453`, reports **Findings: None**.

- **Answered:** `r4076254100`, raised against a README count that a `gh pr edit --body` had already corrected. The edit and the review carry the SAME timestamp, `20:39:17Z`.
- **Answered:** `r4078998769`, which held that a base-repository check run cannot attach to a fork's head commit. Measured, it can: every pull request's head is published in the base repository as `refs/pull/<n>/head`. On the public fork pull request `cli/cli#14474`, the base repository resolves the fork's head commit and carries 20 check runs on it.
- **Answered:** `r4085195422`, which held that a 404 from the head's lookup had no outcome. The partition already made it the check's own access (*"a 404 for the repository or the pull request itself"*); what it did not say was that the head is looked up by reading the pull request, and `d05ce453` says so and lists the fixture.
- **Answered:** `r4085195461`, a stale count of seven scenarios in this description. The review's run began at `17:08:42Z`, and the description had been corrected to eight by `17:10:30Z`.
- **Registered:** `r4078145216`, the approver race. It needs an approver that admits a pin-changing pull request, and none does today, so `tasks.md` § 6.5 registers the obligation for the two active changes that would admit one.

Every thread carries a reply and is resolved. Every review's **`Previously missed`** block was read rather than trusting a zero-unresolved count: fourteen findings came only from there, and two more appeared there before they appeared as threads.

**The three that changed the packet most, each a defect in my own text:**

1. **`r4076152594` — the check had no way to read the repository it measures.** Measured: `opensoft/xFactory` is **PRIVATE** (`gh api repos/opensoft/xFactory --jq .visibility` → `private`; an unauthenticated raw read of a surface → **404**), and `contracts/review-lane-repin-binding.template.yaml` grants `contents:read` on `codeXfactory/codexFactory` and nothing on the aggregation. **On today's credentials the check could never conclude**: it would have answered UNDETERMINED on every run then, and would end every run in its ACCESS FAIL now — and a check that never concludes looks exactly like one that works. Three consequences are now written down: a declared read-only binding in the same shape as the existing grant (with the same `never_grants:` set, so the family's rule that neither lane reaches into the other's repository holds); the standing-UNDETERMINED prohibition above; and § 5.4's evidence becoming *one observation of the check **concluding***, not merely running.
2. **`r4076152698` — two outcomes overlapped**, so one set of inputs demanded both FAIL and NEUTRAL. A requirement no implementation could satisfy, introduced by my own previous-round fix. Answered by ordering the outcomes rather than by patching one `WHEN`.
3. **`r4076152473` / `r4076152544` — the contract had no workflow representation.** A step exits 0 or non-zero — a green pass or a red failure and nothing else — so *"NEUTRAL, visible, not a pass"* needs the check-run API and a test that asserts the **published conclusion** rather than the exit code, or it degrades silently to green. And a read failure has to be an **input**, never a fatal step, or the UNDETERMINED path is unreachable by the only route that reaches it.

**Rounds 4 and 5 found four more, every one a consequence of an earlier fix of mine rather than of the original text** — which is the honest way to describe them:

- **`r4076254027`** — the binding covered one run of two. The PR-side gate is a separate workflow run: it cannot reuse a minted App token any more than it can reuse step outputs, and `GITHUB_TOKEN` cannot read a private repository. It mints its own from the same App, under a binding of its own (next item).
- **`r4076368784`** — and the binding is *structurally* single-consumer (`consumer.holder_ref` `:100`, `resolution.resolved_by` `:167`, *"never passed to a second workflow"* `:190`), so "names both consumers" needed a representation. It was first answered with a **second consumer entry**, and `r4076990082` found that wrong one level down: the template's `privileges:` and `resolution.scoped_to` are binding-wide and its `floored_repository` grants write, so a seated consumer would mint with the advance lane's write authority. The gate now gets **a binding of its own** — `contents:read` on `xFactory` only, one down-scoped mint — and the never-passed statement is **carried unchanged on both, because nothing is passed.**
- **`r4076368722` then `r4076474882` — and the second REVERSED my answer to the first, on a test this repository already runs.** A fork pull request receives no secrets, so the gate would answer UNDETERMINED on every fork event; my fix was a plain `pull_request` gate scoped by `head.repo.full_name`. `test_the_head_executing_trigger_is_absent` refuses exactly that on the secret-bearing caller — *"a plain `pull_request` trigger would run the head's copy of this file with the App credential that reads a private repository in scope — the exfiltration shape the base-branch rule prevents"* — and a same-repository condition cannot fix it, because under `pull_request` **the head's copy of the workflow runs and can delete the condition**. The gate now takes the estate's worked shape: **`pull_request_target`** (the base's copy runs), **no checkout of the PR head** (costing nothing — this check reads two repositories over the API and needs no candidate code). It first carried an allowlist as well, as defence in depth, and the review at `eb01c3d1` showed that this capability forbids exactly that (below).
- **the neutral publication had no write path** — no workflow here grants `checks: write` (`merge-master-approval.yml`:453 grants `checks: read`), so the publish would 403 and the contract would degrade to the silent green pass by a second route. The gate's own job declares exactly `contents: read`, `pull-requests: read` and `checks: write` — `r4077837498` found that `checks: write` alone would have left it unable to read the candidate pin — and **the aggregation token stays read-only.**

**The three reviews at `918e30e3` found nine, all taken in `c82c8f76`, and a search-based sweep found the same defects standing in places no thread named:**

- **the gate was still called `pull_request`-triggered** after D14 reversed it (`r4076845460`, `r4076990021`, and D7) — now `pull_request_target` throughout, with the reason the two existing pin gates may run on `pull_request`: neither holds a secret;
- **the trigger test binds `merge-master-approval.yml` only** (`r4076845535`) — § 5.1b now asserts the gate's own triggers;
- **D9 still held the superseded order** (`r4076845591`);
- **a published check run does not change the job's own, and a `pull_request_target` job check lands on the PR head** — measured on this very pull request (`r4076902144`, `r4077054569`) — so the verdict run's name matches no job id, and it hangs on the verified candidate `head.sha`, never `github.sha`;
- **agreeing surfaces could carry a non-commit into the comparison** (`r4076989950`) — a surface is now read only as a 40-hex commit, or it is UNREADABLE;
- **the second consumer inherited the advance lane's write grant** (`r4076990082`) — the gate gets a binding of its own;
- **two outcomes fail, not one** (`r4077054636`, and D8, which undercounted one paragraph below its own table).

**The reviews at `c82c8f76` and `4570063f` found four more, all taken in `16fdd730`:**

- **the candidate could have chosen what the gate reads** (`r4077898334`). Its `converged_with:` is head-controlled, and my own D16 rule of naming a non-commit surface by its value would then have printed any private xFactory file into the verdict. The requirement now takes only `core_commit` and the declared state from the candidate, and every aggregation path from the base; head data is judged, never followed.
- **`checks: write` alone would have starved the gate** (`r4077837498`): a declared `permissions:` block sets undeclared scopes to `none`, so the job declares `contents: read`, `pull-requests: read` and `checks: write`.
- **the advance side had no publication path** (`r4077837539`). It now records its verdict in the pull-request body the lane already composes, and the gate carries the conclusion on the same head. A lane push starts the gate, measured on `#1138`.
- **the advance lane's grant had no mint** (`r4077898366`): it gains a third, `xFactory` `contents: read`.

**And the review at `16fdd730` found one, taken in `cb97b7ae`:** the requirement resolved "the aggregation's branch" without saying WHICH (`r4078009970`). It now resolves the aggregation's DEFAULT BRANCH at run time, never a caller-supplied ref. That is the capability's own rule for the source repository, which `review-lane-repin.yml`:433-459 already realizes.

**The reviews at `cb97b7ae`, `62a0945c` and `eb01c3d1` found eight more**, six as threads and two only in *Previously missed* blocks:

- **every outcome needed a published conclusion, not only NEUTRAL** (`r4078058050`, taken in `62a0945c`). `failure`, `neutral` and `success` are now each mapped, and the test asserts each one.
- **the aggregation's constant needed a selector** (review `5285753827`'s *previously missed* item, taken in `eb01c3d1`). Each value is now read at its selector, and a decoy-literal fixture proves it.
- **the third mint needed the tests that fix the binding at two mints to move with it** (`r4078098133`, taken in `eb01c3d1`).
- **the triple named its base but not its author or head ref** (`r4078098160`, taken in `eb01c3d1`, since superseded).
- **the head re-read needed a test that drives it** (`r4078098168`, taken in `eb01c3d1`).
- **the allowlist itself was the defect** (`r4078145229`, and review `5285808064`'s *previously missed* item, taken in `16dc4416`). This capability's promoted *An automated pin advance is judged by the freshness checks that already exist, with no exemption* forbids any check that judges a pin advance to branch on the pull request's author, branch or origin. The gate now judges every pull request that changes the pin, a fork's included. Its safety rests on base code, inert candidate data and a read plan now fixed in its code (`design.md` D17, D19). That is the second defence of mine on this packet that turned out to be the defect.
- **the approver race** (`r4078145216`) is measured absent today and registered at `tasks.md` § 6.5.

**The reviews at `16dc4416` through `d36cb68f` found thirty-one more**, over ten rounds. Each was taken in the round it was raised, and every reply names its fixing commit. By theme:

- **the trigger and the token:** the `paths:` filter is exactly the pin (`r4078252960`). A skip for edits that move no judged value was added (`r4078308120`) and later withdrawn as a bypass of the ordered outcomes (`r4078883755`). The declaration is validated first (`r4078425707`).
- **what is read:** the read plan is fixed in the gate's code, never taken from the pin file (`r4078365046`). It has two workflow members and one additional `MIGRATION_PIN` read (`r4078528181`, `r4078528208`, `r4078528244`).
- **what is published:** no aggregation value is published as it is. A classification, a relation to `core_commit` and a digest are published instead (`r4078468841`, `r4078835190`).
- **untrusted input:** the candidate is parsed strictly under a byte ceiling (`r4078835237`), and nothing derived from it reaches a script except through `env:` (`r4078835258`). A non-commit `core_commit` and an unparseable candidate each FAIL first (`r4078528147`, `r4078425733`).
- **outcomes:** the check's own access failure is its own FAIL (review `5286349291`). Every outcome is data to one always-run publisher (`r4078594297`). The comparison scenarios' WHENs are disjoint on their own text (reviews `5286144492`, `5286193943`).
- **the runs:**
  - overlapping runs are serialized, with the guarantee bounded to what holds without atomicity (`r4078468867`, `r4078883704`);
  - the lane's body record is historical (`r4078594266`);
  - the gate's identity is named once (review `5285930613`);
  - an approver approves only on `success` (`r4078528254`).
- **scope and records:**
  - the check says it observes this repository's side of the pair (`r4078648320`);
  - the live literal test is retired (`r4078883732`);
  - the pure function takes structured read results (review `5286688301`);
  - three inventories I left behind were each found by review: D17's two-value comparison, `target_release`'s six scenarios, and this description's counts (`r4078425764`, `r4078648354`, review `5286688301`).
- **the last round** (`d36cb68f`):
  - the App installation grant on `opensoft` is named as the realization's first prerequisite, since a binding and a mint declare the read without provisioning it (`r4078926291`);
  - the requirement now states the host's 3,000-file path-filter exception itself rather than only registering it (`r4078926263`);
  - seven statements that still said a missing grant would leave the check UNDETERMINED now say it fails on its own access.
- **the reviews at `1c037be6`:**
  - one thread was answered by measurement (`r4078998769`, above);
  - review `5286923179` reported **Findings: None**, but its summary named three themes, and each held on measurement. All three were taken in `d6787530`:
    - the conclusion paragraph now names all six outcomes' conclusions, the one PASS included;
    - D5's rationale is brought onto the fixed plan;
    - the reproduction scenario is given the pure function's whole input.
- **the review at `d6787530`** found one, `r4084891099`, and its summary named three themes. The finding and all three themes were taken in `b0f02bd9` (`design.md` D21):
  - the candidate's own reads had no outcome, so *"exactly one holds for any input"* was false. The order now begins at the candidate unread;
  - one partition now classifies every failure to read, of either repository, with the check's own access as the residual class;
  - a verified head is now defined, a moved head publishes no verdict, and *"is a commit"* means the grammar;
  - an eighth scenario was added and the five inventories moved with it. D8's stale count of two failing outcomes is corrected.
- **the review at `b0f02bd9`** found three. One was taken in `d05ce453`: the one-outcome claim is scoped to the inputs a run judges, since a moved head judges nothing (`r4085195340`). The other two were answered, above (`r4085195422`, `r4085195461`).
- **the review at `d05ce453`** (`5294384086`) reported **Findings: None**. Its summary named two themes. Both classes had already had their two head-moving rounds, so each was answered by measurement in one comment, and the head stays:
  - **access classification** — no defect found. The partition is total and disjoint, and every statement of the class agrees with it;
  - **branch-resolution inputs** — the reproduction scenario's input list names the resolved commit but not the branch that the verdict also names. `tasks.md` § 5.2 already takes both. **Registered for the next act on `spec.md`.**


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants