Skip to content

Advance the pinned decision core to b21f010013fa51960c77377a8582943435b6db32 - #1122

Merged
openxfactory[bot] merged 1 commit into
mainfrom
bot/review-lane-repin
Sep 19, 2026
Merged

openxfactory[bot] merged 1 commit into
mainfrom
bot/review-lane-repin

Conversation

@openxfactory

@openxfactory openxfactory Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Lane: review-lane-repin-bot

AUTOMATED PIN ADVANCE — proposal only. This lane never merges and never approves.

Advances the pinned decision core from 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe to b21f010013fa51960c77377a8582943435b6db32, moving all five sites in one commit.

witness before after
contracts/review-lane-pin.yaml core_commit 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe b21f010013fa51960c77377a8582943435b6db32
.github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe b21f010013fa51960c77377a8582943435b6db32
.github/workflows/merge-master-approval.yml core checkout ref: 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe b21f010013fa51960c77377a8582943435b6db32
.github/workflows/pytest-suite.yml core checkout ref: 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe b21f010013fa51960c77377a8582943435b6db32
contracts/review-lane-floor-snapshot.yaml sha256 77611b0eef181b2f122e244183a40ef00f20bb5941cb009e1c42067ee0cf53de b77b4e55fdd24a0ca00eb390f396a0ea8829880879b468e98960b86a0fdad763
contracts/review-lane-floor-snapshot.yaml entry_count 70 71
generated block generated_at e32d580aea6bb2ddcfd91231107490b1abd6e43f fc837dffb9be0b8c28823c339e401f97e0e3e28a
generated block entries (counted between the markers) 62 63
floor total (declared never_clearable_paths) 70 71

Covered-pending paths this advance is expected to clear: 1

  • openspec/specs/openxfactory-engineering-adapter/spec.md

How the pinned commit was resolved, and how its landedness was verified

  • Source repository: codeXfactory/codexFactory, default branch main, resolved at run time by this lane — not taken from any event payload.
  • Reachability: GET /repos/codeXfactory/codexFactory/compare/main...b21f010013fa51960c77377a8582943435b6db32 answered status: identical, so b21f010013fa51960c77377a8582943435b6db32 is carried by main.
  • The vendored snapshot is a BYTE COPY of floor/openxfactory-review-authority-floor.yaml at b21f010013fa51960c77377a8582943435b6db32; its sha256 and entry_count above are computed from the bytes written to it, not carried across from codexFactory.

Repeat the verification:

gh api repos/codeXfactory/codexFactory --jq .default_branch
gh api repos/codeXfactory/codexFactory/compare/main...b21f010013fa51960c77377a8582943435b6db32 --jq .status
gh api repos/codeXfactory/codexFactory/contents/floor/openxfactory-review-authority-floor.yaml?ref=b21f010013fa51960c77377a8582943435b6db32 -H 'Accept: application/vnd.github.raw' | sha256sum

Run: https://github.com/opensoft/openxFactory/actions/runs/35405549153

This pull request is judged by the same freshness checks that judge a hand-authored advance, with no exemption of any kind.

Summary by Sourcery

Advance the pinned decision core and synchronized authority snapshot to the verified latest revision.

Enhancements:

  • Advance the pinned decision core and all workflow references to the verified landed commit b21f010013fa51960c77377a8582943435b6db32.
  • Refresh the vendored floor snapshot to include the newly covered openxfactory-engineering-adapter specification.

…5b6db32

All five sites move in this one commit. Opened by the review-lane-repin
lane, which arms the platform auto-merge and neither merges by its own
act nor approves. No candidate class admits this lane today, so the merge
still waits for the same human word a hand-authored advance needs.

Lane: review-lane-repin-bot
@openxfactory
openxfactory Bot enabled auto-merge (squash) September 18, 2026 23:24
@openxfactory
openxfactory Bot requested a review from brettheap as a code owner September 18, 2026 23:24
@sourcery-ai

sourcery-ai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This proposal advances the pinned decision core from 1f131a236ceea9cfc17d88d7ecbfee516d0aabfe to the landed b21f010013fa51960c77377a8582943435b6db32, updates every checkout and pin witness, and refreshes the byte-verified floor snapshot to cover one additional specification path.

File-Level Changes

Change Details Files
Repin all decision-core consumers to the new landed commit.
  • Update the authoritative pin and workflow witness variable.
  • Update decision-core checkout refs in merge approval and pytest workflows.
contracts/review-lane-pin.yaml
.github/workflows/merge-master-approval.yml
.github/workflows/pytest-suite.yml
Refresh the vendored floor snapshot and generated coverage metadata for the advanced core.
  • Replace the snapshot digest and increase its declared entry count.
  • Regenerate the specification block, adding the newly covered pending path and updating its source metadata.
  • Increase the declared floor total.
contracts/review-lane-pin.yaml
contracts/review-lane-floor-snapshot.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="contracts/review-lane-floor-snapshot.yaml" line_range="160-165" />
<code_context>
     # source_repository:  opensoft/openxFactory
-    # generated_at:       e32d580aea6bb2ddcfd91231107490b1abd6e43f
-    # entry_count:        62
+    # generated_at:       fc837dffb9be0b8c28823c339e401f97e0e3e28a
+    # entry_count:        63
     # regenerate with:
     #   python3 scripts/merge_master/generate_specs_floor_block.py \
     #     --repo <opensoft/openxFactory checkout> \
-    #     --ref e32d580aea6bb2ddcfd91231107490b1abd6e43f --write
+    #     --ref fc837dffb9be0b8c28823c339e401f97e0e3e28a --write
     #
     # ONE GROUND FOR THE WHOLE BLOCK, and it is not the ground above it.
</code_context>
<issue_to_address>
**nitpick:** The generated block now declares `generated_at` as `fc837dffb9be0b8c28823c339e401f97e0e3e28a`, but the explanatory provenance comment beside the pin still states that the generated block was derived at `b5eddaa3`. The snapshot therefore gives reviewers and repair tooling two different source revisions for the same generated bytes.

**Suggested fix:** Update the provenance comment in `contracts/review-lane-pin.yaml` to describe `fc837dffb9be0b8c28823c339e401f97e0e3e28a`, or regenerate the block with the revision the comment names.
</issue_to_address>

Sourcery assessment

Needs a human reviewer. The pinned decision-core commit directly determines whether the merge-approval workflow permits changes, so a wrong pin could apply an incorrect authorization policy to every merge from the moment it ships. Reverting stops future decisions but does not undo merges or code already admitted under the wrong decision core.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment on lines +160 to +165
# generated_at: fc837dffb9be0b8c28823c339e401f97e0e3e28a
# entry_count: 63
# regenerate with:
# python3 scripts/merge_master/generate_specs_floor_block.py \
# --repo <opensoft/openxFactory checkout> \
# --ref e32d580aea6bb2ddcfd91231107490b1abd6e43f --write
# --ref fc837dffb9be0b8c28823c339e401f97e0e3e28a --write

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick: The generated block now declares generated_at as fc837dffb9be0b8c28823c339e401f97e0e3e28a, but the explanatory provenance comment beside the pin still states that the generated block was derived at b5eddaa3. The snapshot therefore gives reviewers and repair tooling two different source revisions for the same generated bytes.

Suggested fix: Update the provenance comment in contracts/review-lane-pin.yaml to describe fc837dffb9be0b8c28823c339e401f97e0e3e28a, or regenerate the block with the revision the comment names.

@sonarqubecloud

Copy link
Copy Markdown

@brettheap brettheap left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

APPROVED by the holder under Q-D1 (c) / Q-D3 (a) (openxFactory#656): the routine four-site advance 1f131a23 → b21f0100 after codexFactory #491 (floor regeneration at fc837df, 62 → 63 entries, the openxfactory-engineering-adapter capability added by #1103 → eb1880c). Diff verified as exactly the four WRITABLE_PATHS plus the snapshot digest 77611b0e… → b77b4e55…/71 and generated_at fc837df; checks green. Known residue this PR leaves and the lane corrects next: lockstep.status still reads converged while the three opensoft/xFactory aggregation surfaces read 1f131a23 — the residue-only Phase 0 PR (actor defloor56b) sets it diverged with its test literal and fixes the stale refresh: path.

@openxfactory
openxfactory Bot merged commit 38f826c into main Sep 19, 2026
14 checks passed
brettheap pushed a commit that referenced this pull request Sep 19, 2026
…gence, and the narrative says FIVE sites across four files

Both findings are FACT findings on the landed text, so both are fixed rather
than answered.

1. The docstring of `test_the_pin_records_its_lockstep_state_with_the_aggregation_pin`
ended "CONVERGED AGAIN on 2026-09-10" while the assertion beneath it now reads
`diverged` — this test IS the executable record of the lockstep state, so a
reader was being told the current contract is converged. A fifth paragraph
records the 2026-09-18 re-divergence: the routine advance (not a ceremony), its
cause chain (codexFactory's floor lane regenerated for openxFactory #1103's
addition-only archive; this repository's own repin lane proposed PR #1122), the
measurement that all three `opensoft/xFactory` surfaces still read `1f131a23`,
why `MIGRATION_PIN` cannot move between ceremonies, and that the current
contract IS `diverged`. The docstring now moves with the assertion, which is the
same discipline this diff already applied to `lockstep.reason`.

2. "The four sites" was wrong by this file's own count: `lockstep.obligation`
says "five sites name this one now, up from three", and the four is the number
of FILES (`review_lane_repin.WRITABLE_PATHS`) because one file carries two
sites. Now "the FIVE pin sites … across the four files of WRITABLE_PATHS",
which states both numbers and why they differ.

No value moves: `core_commit`, `floor_snapshot.sha256`, `floor_snapshot.entry_count`
and `lockstep.status` are untouched by this commit.

PROVEN: `pytest -q tests/review_lane_pin` 198 passed / 2 skipped.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 19, 2026
…est literal move together, plus the stale refresh: path (#1123)

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

**The residue of Phase 0** — the two things the repin lane is deliberately too narrow to carry. **No pin value moves in this diff.**

RULED on openxFactory #656 comments **`5735889836`** (Q-D1 (a)+(c): arc F's de-floor waits for the split packet's archive; *this* is the routine additive cycle) and **`5738024711`** (Q-D3 (a)). Taken under the § 5.6 claim — #656 **`5728856032`**, codeXfactory/codexFactory #232 **`5728856293`**.

## What already landed, and what it left behind

codexFactory's hourly floor-regeneration lane acted on #1103's archive of the ratified `repromote-engineering-vocabulary` — an **addition with no removal** (`openspec/specs/openxfactory-engineering-adapter/spec.md`), so the lane regenerated rather than firing its additions-only refusal — opening codeXfactory/codexFactory **#491**, merged **`b21f0100`**. This repository's own repin lane then advanced the five pin sites in **#1122**, merged **`38f826c2`**.

Verified on `main` at `38f826c2` before writing this:

| site | reads |
| --- | --- |
| `contracts/review-lane-pin.yaml` `core_commit` | `b21f010013fa51960c77377a8582943435b6db32` |
| `merge-master-approval.yml` (`PINNED_CORE_COMMIT` + checkout `ref:`) | 2 hits on `b21f0100` |
| `pytest-suite.yml` core checkout `ref:` | 1 hit on `b21f0100` |
| `contracts/review-lane-floor-snapshot.yaml` | sha256 `b77b4e55…`, 71 paths, block `generated_at fc837df…`, `entry_count` 63 |
| `floor_snapshot.sha256` / `.entry_count` | `b77b4e55…` / `71` |

`scripts/review_lane_repin.py` writes `WRITABLE_PATHS` and nothing else, **by design**. So two things are owed by hand.

## 1. `lockstep.status` is now a false statement, and no test catches it

`converged` asserted that this file's `core_commit`, `opensoft/xFactory`'s `merge-master-approval.yml` and `council-convening-lane.yml`, and that repository's `MIGRATION_PIN` test constant all name `1f131a23`. **Measured at this edit on `opensoft/xFactory` `main`: all three still read `1f131a23` verbatim**, while `core_commit` here now reads `b21f0100`.

`MIGRATION_PIN` **does not move on a routine advance** — it advances only at a recorded re-point ceremony, gated on the golden characterization suite, the envelope re-validation and the live lane re-prove — so an advance between ceremonies necessarily re-diverges the pair. Left standing, `converged` is false **and green**: the assertion reads this file's own value, not the cross-repository fact.

So `status` and `tests/review_lane_pin/test_review_lane_caller.py`'s `test_the_pin_records_its_lockstep_state_with_the_aggregation_pin` literal move **in the same commit** — this field's own written convention, and what PR #483 (`d118bc79`), PR #569 (`47f90080`) and the 2026-09-10 flip each did, never the data alone.

`diverged` also **restores agreement with the header comment already standing above `lockstep:`**, which says the divergence is *"FORCED BY THE FEATURE, not chosen for freshness"* and that re-convergence is *"an act in ANOTHER repository"* — the R-5 aggregation re-sync, which still needs Brett Heap's word and is **not** taken here.

## 2. The `refresh:` string named a path that has not existed since 2026-09-09

It told the next operator to re-copy from `scripts/merge_master/openxfactory-review-authority-floor.yaml`. codexFactory's `relocate-review-authority-floor` D-1 moved the document to `floor/`. **#1122 is the first advance since that relocation which actually re-copied the witness**, so an operator following the instruction verbatim would have copied nothing. Corrected to `floor/openxfactory-review-authority-floor.yaml`.

## One tension recorded rather than edited away

`obligation:` reads *"Advance this pin only at such a ceremony"* — written 2026-09-05, when the advance was a hand act. `.github/workflows/review-lane-repin.yml` (`mirror-floor-regeneration-automation`, realized) now sweeps hourly and proposes exactly this advance, **with auto-merge armed**, whenever the pinned core's floor document moves — which a floor regeneration makes routine. Its substance still holds (five sites, one reviewed diff, the tests fail if any disagree); its *"only at a ceremony"* clause describes a world with no repin lane in it. Narrowing it is the ratifier's act, so the contradiction is named in `reason:` for the next reader rather than quietly rewritten.

## Scope and proof

* **Two files.** `contracts/review-lane-pin.yaml` (+47/−3) and one test literal. The vendored snapshot and both workflows are **not in the diff at all**.
* **No pin value moves:** `core_commit`, `floor_snapshot.sha256` and `floor_snapshot.entry_count` have **0 changed lines** between them.
* `pytest -q tests/review_lane_pin` → **198 passed / 2 skipped**, the `origin/main` baseline, with the assertion now reading `diverged` against the file's `diverged`.
* Touches no `openspec/changes/` path and no README OpenSpec Records block — **plain gate**. `contracts/review-lane-pin.yaml` is a floor chokepoint and CODEOWNERS-gated, so a human approves it (CSC-C10).


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 19, 2026
…, § 8.2, § 8.5) and the RULED four-part floor complete (#1124)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #8 — FIVE ticks (§ 3.7, § 4.5a, § 5.4, § 8.2, § 8.5), and the four-part floor complete.**

Branched from the landed `main` at **`fc837dff`** (#1120's squash); `origin/main` merged in at `38f826c2`. **Ledger 59 `[x]` / 12 `[ ]` / 1 `[~]` → 64 / 7 / 1 of 72.** One file. **Exactly five marker changes — § 3.7, § 4.5a, § 5.4, § 8.2 and § 8.5.** Rule 6 applies.

> **THE RULED FOUR-PART FLOOR IS COMPLETE.** § 8.2 carries one evidence line per part, and no part stands in for another.

## § 5.4 — FLOOR PART 2 ticks, and the blocker the box itself named is discharged

Its own STATUS said (a), (b) and (c) had landed at **#1080 → `4b53ea99`**, and that **clause (d)'s LEG half was blocked on the BUILD arc** — both legs running a named file list under `--noconftest` **with no JUnit and no triple**.

Both halves of that blocker are gone. The BUILD arc landed (§ 3.5 on `openDox-code` #25, § 3.6 on #26, both `[x]`), and clause (d)'s **three** pins are in place — *per destination, never as one cross-repository equality*, which is the clause's own rule:

| leg | pin | evidence |
| --- | --- | --- |
| `openDox-code` | `MIN_SELECTED 1076` · `MIN_PASSED 1073` · `EXPECT_SKIPPED 3` | **#29 → `373b05aa`**, run `35398182026` |
| `openXdox-code` | `MIN_SELECTED 539` · `MIN_PASSED 533` · `EXPECT_SKIPPED 6` | **#25 → `ab04453d`**, run `35399041710` |
| `openxFactory` | its own `pytest-suite.yml` | already pinned — the model the clause names |

**Verified in each leg's own workflow rather than taken from the report**: both files carry those pin variables *and quote clause (d) verbatim*, so the shape is the clause's rather than an approximation of it. **Four of four is the clause set, so the box closes.**

> **Residue registered, not resolved**: all three of `openDox-code`'s report-producing commands run **named file lists under `--noconftest`**, so `collect_ignore` never applies there, and **26 of the 61 `test_*.py` on disk are collected by no required command**. That does not touch clause (d), which pins what the required job *does* collect — it is booked because a reader could mistake the pinned triple for a statement about the whole tree, and it is not one.

## § 4.5a — ticks on the exit line the box asked for

**`OK — 17 of 17`, exit 0**, at `openXdox-code` `3ee8cd31` with the runner at `openxFactory` `eb1880cb` (`#656` `5736681367`), over the BUILD at **#23 → `3ee8cd31`** with admissions rows at **#1091 → `eb2d4569`**.

**The bare-checkout precondition is written INTO the evidence line as procedure, not left as a caveat**: the git-pinned `opendox` dependency (`pyproject.toml:106`) must be installed first, or the run exits **2** with `conformance-adapter-unresolvable` before the corpus is reached.

> This is **the box's own standard applied to itself**. Its existing parenthetical already refused an abbreviated form of this very command — ***"a command that cannot be run is not exit evidence"*** — when the missing piece was `--dest-root`. The missing piece is now an install rather than a flag, and **the standard does not change with the shape of what is missing.**

## § 3.7 — FLOOR PART 3 ticks: all three destinations pass at a LANDED head

*"EVERY DESTINATION PASSES IT"* is the box's own word, and all three now do — **`openxFactory`'s own adapter at `eb1880cb`** (*the only mechanical proof the home corpus has no privileged route*, which is why the box names it separately), **`openXdox-code` at `3ee8cd31`** (`5736681367`), and **`openDox-code` at `93ccc3dd`** — `OK — 17 of 17`, exit 0, transposed and faithful, #31 merged 01:11:53Z (`#656` **`5738152229`**, the re-read AT MAIN).

**The pass is quoted at the LANDED commit, not the candidate, on purpose.** `5738117973` recorded the same pass at candidate `776d2a80`, and itself superseded `5736880991` at `474144ef` — **three heads for one destination in a day**. *A pass at a candidate head is a pass at a commit that no longer exists on `main`.* This packet has now had a reader mistaken for a pass, a candidate mistaken for a landing, and a wrong token mistaken for absence, all on this one box.

**The durable figure is the corpus digest, not the transposition's revision**: the revision moved again (a fourth distinct value, as it does on every build) while the **key/sha256 table digest `744c9183…` held for the fourth time**. That is what a later reader recomputes.

> **Residue registered, not resolved** (`5738108117`): the `core.excludesFile` switch, the corpus-mirroring fixture, the enumerated skip diagnostic.

## § 8.2 — the four-part floor ticks, one evidence line per part

**(1) carve manifest** `#865 → 1716748` (454 rows at `carve_commit b075fd9`) · **(2) test mapping** § 5.4 above · **(3) conformance corpus green in every destination** § 3.7 above · **(4) snapshot-equivalence** § 5.5 on the gated runner `#1105 → 0296747` with `#1110` and `#1115`, and per RULED **Q-P4 (a)** that line also says § 4.4's domain profile reproduces `openxFactory`'s own vocabulary.
> Listed with their own artifacts because the box's standing objection is that **"none of these is 'the tests passed'"** and that no part substitutes for another. Two single-instrument alternatives were rejected on the record; **a tick quoting one artifact four times would be the same mistake wearing a different hat.**

## § 8.5 — TICKED on HOLDER RULING `5738064190`

Amendment #7 reported two destination halves missing. **They were missing from the *ledger*, not the corpus.** All four are named now — § 6.1 `openXdox-spec` **#15 → `f088b097`**, § 6.3 `openDox-spec` **#13 → `3b7f80c4`**, § 6.4 **#12 → `edeed08c`**, § 6.5 **#14 → `66d59778`** — plus § 6.2's forward half at `openDox-spec` **#15 → `8fe8c4c7`**.

**Clause (a) is closed**: amendment #7 reported two destination halves missing — **they were missing from the *ledger*, not the corpus**. All four are named (§ 6.1 `openXdox-spec #15 → f088b097`, § 6.3 `openDox-spec #13 → 3b7f80c4`, § 6.4 `#12 → edeed08c`, § 6.5 `#14 → 66d59778`), plus § 6.2's forward half (`#15 → 8fe8c4c7`) and the aggregation side (`xFactory #454 → 0b0c88f4`).

**Clause (b) is RULED — Reading B** (`#656` `5738064190`): *"first"* means **before this packet's own archive (§ 8)**, the only ordering the ratified text states (`specs/ideation-dashboard/spec.md:88-90` orders *this change* against the five, not the five among themselves) and the one § 6.2's own box already names, *"Sequenced BEFORE § 8"*. **Reading A — before the other four — is refuted by the record**: § 6.2's `#1066` merged **20:24:53Z**, LAST of the five (`#1056` 10:50:06Z, `#1057` 13:31:51Z, `#1060` 17:30:27Z, `#1065` 17:54:08Z).

**The box's wording is sharpened** to *"…on its own evidence **before this packet's own archive (§ 8)**"*. The word *"first"* was **the ledger's own** — absent from the ratified source sentence at `proposal.md:476` and from every `specs/` delta — so the ruling settled *which evidence line satisfies a box*, not what a requirement means.
> Both readings are kept on the page with the merge times that decided between them. **A ledger that shows only the reading that won teaches nothing about why the other lost**, and this box will be read again by someone facing the same kind of call.

## Five follow-up landings, none moving a box

* **§ 3.6** — `openDox-code` **#30 → `5c867137`** takes the seven findings #26 registered plus eight cases; **follow-up 2 in flight** (linked-worktree descriptor binding, RULED `5736683962`; `RefusedError` → 409; fallback narrowing; mismatched-DB cases).
* **§ 5.5** — **#1115 → `4101fbe9`** takes the eight hardening items; two residues registered (`:608` wording, `sys.pycache_prefix`, `5736824535`).
* **§ 3.7 openDox side** — `openDox-code` **#31** open at `4b9714d0`.
* **Q-A2** — folded into `openXdox-code` #25; opened and closed in one line, which is the only honest way to record something that never reached the page while it was open.
* **§ 5.6 Phase 0 has landed, and it landed itself** — `codexFactory` **#491 → `b21f0100`** regenerated the floor block (62 → 63) at 22:50:17Z, and the repin **#1122 → `38f826c2`** advanced the pinned decision core to it at **2026-09-19T00:53:37Z**. *Corrected against the report, which had #1122 open with auto-merge armed: it is merged and on `main`. An armed auto-merge can land without anyone watching, so its state is worth reading rather than inferring.*

## Gates

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

**AFTER THIS HEAD — REGISTERED, NOT PUSHED** (comment `5738349034`; all of it folds at amendment #9, because this amendment's head-moving budget is closed and none of it shows a tick is wrong): § 5.6's registered residue is CLOSED and **PHASE 0 IS COMPLETE** — `openxFactory` **#1123 → `8184d74a`** landed **01:27:44Z**, after `codexFactory` #491 → `b21f0100` and `openxFactory` #1122 → `38f826c2`; the `opensoft/xFactory` aggregation re-sync (**R-5**) is registered for Brett's word, and Phase 1 still waits on this packet's own archive (RULED **Q-D1 (a)**). § 3.6 follow-up #2 landed — `openDox-code` **#32 → `d816cf06`**, `mergedAt` **01:30:28Z**. The assembly roots now name every landed leg — `opensoft/openXdox` **#12 → `9be407bd`**, `opensoft/openDox` **#10 → `d05e204e`** — and the `dox-v1.0` / `xdox-v1.0` cuts are **Brett's act** (runbook § 9 Phase 6), which is why **§ 3.8 and § 4.6 stay `[ ]` here**. Copilot's one finding (`r4051734088`, the same discussion at all three heads) is **answered by measurement and resolved**: the install step it asked § 4.5a for is checked in — `openXdox-code` `.github/workflows/validate.yml:58-59`, `python -m pip install -e ".[test]"` against `pyproject.toml:106`'s pinned `opendox` — and it does not falsify the exit line the box ticked on.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 19, 2026
…closes, and § 7.4's clause (iii) is evaluated and refused (#1125)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #9 — NO TICKS: five STATUS records, one text fold, and one evaluation that comes back NO.**

Branched from the landed `main` at **`3e3b4587`** (#1124's squash). **Ledger unchanged at 64 `[x]` / 7 `[ ]` / 1 `[~]` of 72.** One file, **zero marker changes**. Rule 6 applies.

> **The one thing in here that is a DECISION and not a record**: § 7.4's clause (iii) was evaluated against the landed runtime and **refused**. The conservative direction needs no ruling to stand; ticking it would.

## § 7.4 — clause (iii) evaluated, and the box still does not tick

The blocker § 3.5 named — its item (4), the `OPENDOX_SERVED_DATABASE` declaration — **has landed**: `openDox-code` **#30 → `5c867137`** (2026-09-18T22:12:50Z). Measured in that diff, not taken from the report: compose sets `OPENDOX_SERVED_DATABASE: ${OPENDOX_PG_DB:-opendox}` from the same value the bundled server takes (it had shipped as `${OPENDOX_PG_DB:-}` beside a service declared `POSTGRES_DB: ${OPENDOX_PG_DB:-opendox}`, so the guard was a no-op in exactly the shape it was added for); the migration Job compares the declaration against `current_database()` and **refuses** when they differ; the `managed-database` overlay must name the managed database in its own literal.

**That is one instance bound to one declared database. It is not a tenant.**

| the box's word | what exists at `openDox-code` `d816cf06` |
| --- | --- |
| *"The per-tenant install"* | no `config/` path **at all** — none of the `config/clients/<client>/` per-client instance trees `design.md` § D7 names as part of *"the shape openDox copies (Q2)"* |
| (D) *"no second tenant to **describe**"* | no tenant identifier anywhere; the two overlays are `dev` and `managed-database` — an environment and a provider shape |
| Q3's boundary | stated as a **reason**: `migrations/0001…sql`:100-104 invents *"no organization or tenant table"* because the boundary is physical; `:79-82` puts coordination *"in a database every tenant install has"*; `overlays/dev/kustomization.yaml`:1-2 calls itself *"the shape a real one (a QA cluster, a tenant install) takes"* |

**Both readings are written into the box rather than one being quietly chosen.** *Reading A (structural)* — (iii) is satisfied when the realization exhibits the per-tenant shape, and it now does. *Reading B (install)* — (iii) is satisfied by a **committed tenant install**, this packet's own words (`design.md` § D7: *"a committed TENANT INSTALL is a profile artifact, which is what reconciles Q3's commissioned descendants with the standard's own laziness rule"*), and nothing satisfies it today. **This amendment takes B.** Ticking on A is the **holder's** call under the § 8.5 clause (b) precedent — no ratified requirement's meaning moves either way, only which evidence line satisfies a ledger box.

**What remains is not this lane's**, which the ruling narrowed to (E): the `dox` workload set's per-tenant declaration is `opsXfactory-3`'s (claim `5638511222`); the DNS reach widening is `opsXfactory-4`'s ACTIVE `add-governed-dns-administration` (OQ-E word `5649809425`); (A)'s Non-goal contradiction stays recorded for a later act that CLAIMS the delta; and a committed tenant install would be authored in the `[OmI]` `[Opsx]` install repositories, not in `openDox-code`.

**Measured on the way** (`design.md`:708-712): *"in both cases"* means **Case A / Case B** — Opensoft operates it under the operator vault, or the tenant operates it under its own provider — **not** the two products. The box's one-line summary reads either way, so it is written down.

## §§ 3.8 / 4.6 — the roots land; what the boxes ask for is the TAG, and there is none

| root | pin advance | gate |
| --- | --- | --- |
| `opensoft/openDox` **#10 → `d05e204e`** (01:38:50Z) | `code` `0b4e8bbf` → **`d816cf06`**, `spec` `a8f5eb73` → **`8fe8c4c7`** | `validate` pass, SonarCloud pass |
| `opensoft/openXdox` **#12 → `9be407bd`** (01:38:39Z) | `code` `2529c10a` → **`ab04453d`**, `spec` `ae59dfa5` → **`f088b097`** | `validate` pass, SonarCloud pass |

**The green is not vacuous**: a negative control on each root moved the gitlink with the pin left behind and exited **1** with `pin-gitlink-mismatch` AND `pin-digest-mismatch`. **Measured: zero tags in either root.** The cut is **Brett's act** — runbook § 9 Phase 6, *"BRETT'S ACT, ALWAYS"*; no workflow makes these tags and neither root has a `release-tag-gate`. **RULING NEEDED: `#656` comment `5738327369`.** RULED OQ-N still stands — § 3.8 cannot close inside § 3.

**Registered, not taken — a three-repository lockstep**: advancing `openxFactory` to openDox's new root needs `openxFactory`'s `openDox` gitlink, `openxFactory`'s `contracts/opendox-pin.yaml` and the **`opensoft/openXdox` ROOT's** `contracts/opendox-pin.yaml` in ONE landing (`verify-opendox-pin.py` check 5 reads the third as a blob at whatever commit the `openXdox` gitlink names). All three read `c4c5014d` today, measured. *The third file is in the ROOT and not in `openXdox-code`, which carries no `contracts/` directory at all.*

## § 5.6 — the residue closes, and the superseded sentence keeps its clocks

`openxFactory` **#1123 → `8184d74a`** (01:27:44Z) closes the residue, so **Phase 0 is three landings**: `codexFactory` #491 → `b21f0100`, `openxFactory` #1122 → `38f826c2`, and this. **R-5** (the `opensoft/xFactory` re-sync) is registered for Brett's word in the same RULING NEEDED; **Phase 1 still waits on this packet's archive**, RULED Q-D1 (a).

> The old sentence is **kept**, not corrected in place, and its three clocks are the reason: written at #8's head `0cba2113` (**01:15:13Z**), superseded at **01:27:44Z**, landed in #8's squash `3e3b4587` at **01:45:50Z** — *already eighteen minutes stale at the moment it landed*. A ledger that lands slower than the estate moves will do this again.

## § 3.6 and § 4.5a

**§ 3.6** — follow-up 2 landed: `openDox-code` **#32 → `d816cf06`** (01:30:28Z), triple **1099 / 1096 / 3** measured in `validate.yml`:2027-2030 rather than taken from the report; the `#29`/`#31` hygiene PR is registered as residue, not an obligation. *Amendment #8's "open as a DRAFT at head `b7d9d7a9`" stays true of that head — a dated claim, not a stale one.*

**§ 4.5a** — the install command Copilot asked for on #1124 (`r4051734088`, answered at `4051845755`, thread resolved) is folded in: `openXdox-code` `.github/workflows/validate.yml`:58-59, **`python -m pip install -e ".[test]"`**, Python 3.12, against `pyproject.toml`:106's pinned `opendox`. **A named precondition is not yet a procedure** — the box's own standard, applied to the box.

`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)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 21, 2026
…ured from the API (#1127)

Lane: openxfactory-2 (openXfactory-2)

**THE WORD, verbatim: "do 1 and 2, claim 5"** — Brett Heap, 2026-09-21T20:24:51Z, in session to lane `openxfactory-2` (display `openXfactory-2`), recorded on openxFactory [#745](#745 (comment)) (comment 5767008640). **Item 1 is this box**: measure the THIRD consecutive cycle for `extend-merge-master-envelope-to-floor-bot-lanes` § 4.2 and record it.

**THE RESULT: THE THIRD CYCLE EXISTS, IT WAS FULLY UNATTENDED, AND THE BOX TICKS.** The brief allowed for the opposite outcome — that `floor-regeneration` had reported "nothing owed" hourly since 2026-09-10T17:22Z and there had been no third cycle, in which case the box stays open with a dated "still two" annotation. That is not what the API says: the lane owed nothing until **2026-09-18**, and then ran.

## The measurement — codexFactory half, three consecutive cycles

| # | pull request → merge | merged at | merged by | human acts |
|---|---|---|---|---|
| 1 | [#314](codeXfactory/codeXfactory#314) → `b08958ae` | 2026-09-09T23:27:22Z | `openxfactory[bot]` | **ONE** — `brettheap` re-dispatched the approval leg (run `34407492987`, `run_attempt` **2**, `triggering_actor` `brettheap`). The 2026-09-10 note's "one hand dispatch", now verified independently |
| 2 | [#325](codeXfactory/codeXfactory#325) → `df42f803` | 2026-09-10T01:55:14Z | `openxfactory[bot]` | **NONE** |
| 3 | [#491](codeXfactory/codeXfactory#491) → `b21f0100` | 2026-09-18T22:50:17Z | `openxfactory[bot]` | **NONE** |

**Cycle 3 in full.** codexFactory #491, head `floor/bot-regeneration` at `2e45de457b543e14edbfc9188b7f007696ed7c73`, author `openxfactory[bot]`, base `main`, opened 2026-09-18T22:23:53Z, merged 26 min 24 s later, changing exactly one path — `floor/openxfactory-review-authority-floor.yaml` (+4 −3). Auto-merge enabled by `openxfactory[bot]` three seconds after opening. Every timeline actor a bot (`openxfactory[bot]`, `github-actions[bot]`, `sonarqubecloud[bot]`, `codexfactory[bot]`), no human among them. All four head runs at `run_attempt` 1, `triggering_actor` `openxfactory[bot]`, on `pull_request`/`pull_request_target`. Approving evaluation run [`35403220985`](https://github.com/codeXfactory/codexFactory/actions/runs/35403220985) (`check_suite`, `triggering_actor` `openxfactory[bot]`) submitted review `5253277461` as `codexfactory[bot]` at 22:50:04Z.

**The decisive negative: every one of the 128 `floor-regeneration` runs in codexFactory since 2026-09-10 fired on the `schedule` event, and NOT ONE on `workflow_dispatch`.** No approval leg was hand-dispatched anywhere in the window covering cycles two and three. (A scheduled run renders `triggering_actor: brettheap` because GitHub attributes cron to the workflow's last committer; the `event` is `schedule` and it is not a human act. Stated out loud because the field invites the opposite reading.)

**Consecutive, proved rather than assumed.** The only commit on codexFactory `main` touching `floor/openxfactory-review-authority-floor.yaml` since 2026-09-10T02:00Z is `2e45de45` (#491's own). The only other `floor/bot-regeneration` pull request in the eight-day gap is **#382**, box 3.3's constructed negative control — authored by `brettheap`, titled "NEVER MERGE", closed unmerged. No cycle was skipped, parked, or human-merged between #325 and #491.

## The before/after figure

**BEFORE, re-measured the same way rather than quoted forward:** codexFactory #248 (`7f147070`), #254 (`307d38f1`), #265 (`aced582b`), #273 (`4b12ba83`) were each merged by `brettheap`, and so was each paired openxFactory re-pin — #732 (`9ffc6252`), #747 (`d5a549e4`), #764 (`8d92bfaf`). #273 → `4b12ba83` and #764's title *"Advance the pinned decision core to `4b12ba83…`"* are one matched pair, which is what makes the pairing a measurement. **Two human merges per advance of the pinned core, one per repository.**

**AFTER — human MERGES per advance: ZERO**, across all three cycles and, as of cycle three, in both repositories. **Human ACTS per advance: ONE**, and it is the openxFactory re-pin half's **approving review** — the half decision N-1's recommended scope deliberately left under a human word.

Cycle three is the first cycle in which that half ran as a bot pull request at all, so it is the first whose figure is readable end to end: openxFactory [#1122](#1122), head `bot/review-lane-repin` at `7fd34286`, author `openxfactory[bot]`, titled *"Advance the pinned decision core to `b21f010013fa51960c77377a8582943435b6db32`"* — **#491's own merge sha, which is what ties the two halves into ONE cycle rather than two coincidences** — opened 2026-09-18T23:24:43Z with auto-squash enabled by the bot, **APPROVED by `brettheap` at 2026-09-19T00:53:32Z** after waiting 1 h 28 min 49 s, merged by `openxfactory[bot]` **five seconds after that approval** at 2026-09-19T00:53:37Z, merge `38f826c2`. `contracts/review-lane-pin.yaml:60` on `main` now reads `core_commit: "b21f010013fa51960c77377a8582943435b6db32"` — the cycle is closed end to end.

**The cost fell from two human merges to one human approving review, and the button itself is now bot-pressed in both repositories.** Cycles one and two have no re-pin artifact of their own (§ 3.4's standing finding); their pin advance was folded into hand-authored openxFactory #922, authored *and* merged by `brettheap` 2026-09-10T21:55:20Z. That is why the end-to-end figure is measured over one cycle while the **admitted** lane's own half — all this packet changed — is measured over three, which is what the box's text asks for.

## Two things this hands other boxes — named, not performed

1. **#491's approval record renders `Candidate class: openxfactory-floor-regeneration` in full**, with the kill-switch sentence beside it. The `unrecorded` rendering that § 3.1 and the council record's **R-7** stay open on is **FIXED on the live approval path**. § 3.1 is not this box's to tick and is left open for its own author to read the run.
2. The sibling packet `admit-review-lane-repin-to-merge-approval-envelope` was RATIFIED WITH AMENDMENT holding realization until *"the third unattended codexFactory cycle is measured and the unrecorded-class fix is observed on a live approval"*. **Both preconditions are met by the evidence above.** Recorded for that packet's author rather than acted on here. Its enrolment is still absent from openxFactory `.github/merge-approval-envelope.yml` (sole candidate remains `expected_head_ref: intents/rolling`) — which is *why* #1122 needed the human review, so the reading is consistent rather than merely compatible.

Also superseded: `amend-kill-switch-to-declared-test-companion`'s premise that no bot cycle exists to observe ("nothing owed" since 2026-09-10T17:22Z) was true when written and is not any more. Named, not acted on.

## What this pull request changes

**One file, 135 insertions, 1 deletion:** `openspec/changes/extend-merge-master-envelope-to-floor-bot-lanes/tasks.md`.

- § 4.2 ticked `[x]` with a dated **2026-09-21** annotation carrying the whole measurement.
- A dated **2026-09-21** superseding section appended at the end, stating the 2026-09-10 addendum table's row `| § 4.2 human cost after | OPEN | two consecutive cycles measured; the box requires three |` as **history** and giving its current state as **TICKED**.

**A JUDGMENT, STATED RATHER THAN BURIED.** The brief directed the summary table row to be edited. That row exists in exactly one place in the repository — `tasks.md:830` — and it sits inside a table the file's own rule opens with: *"APPENDED, NOT A REWRITE."* Editing a dated record in place would break the discipline every prior act in this file kept. So the row is **superseded by a later dated section** — the same form PR #927's superseding paragraph and the 2026-09-11 sections used, and for the same reason. Nothing dated is rewritten.

**The checklist state after this PR:** open by their own text — 3.1, 3.4, 3.6, 4.1, 4.4 (`grep -n '^- \[ \]'` confirms exactly these five). § 4.2 leaves that list; 29 boxes ticked. **The packet is NOT archived** — § 4.4 is separately open by its own text and this PR does not touch it, and § 4.1's evidence set is not assembled while 3.1, 3.4 and 3.6 stand open.

## Validation, all run in the foreground on this head

| command | result |
|---|---|
| `OPENSPEC_TELEMETRY=0 openspec validate extend-merge-master-envelope-to-floor-bot-lanes --strict` | **valid** |
| `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **106 passed, 1 failed** (107 items). The one failure is `add-chain-attestation` (`signed-execution-chain/spec.md`, a MODIFIED block omitting a scenario) — pre-existing on `origin/main` and untouched by this PR, whose diff is one file in a different change directory. Note for the record: COMMON.md expects *two* pre-existing failures; `add-composed-view-authoring` is no longer among the active changes, so only one remains |
| `python3 scripts/proposal-support.py . verify` | **proposal support verification ok** |
| `python3 scripts/validate-sequenced-after.py . --ledger-diff` | **per-change sweep ledger consistent with the corpus (222 rows)**; 44 active + 178 archived; deepest declared chain 4 hops |
| `python3 scripts/doc-health.py --single-repo . --family modified-block-currency` | **exit 0**, 12 findings, all `severity=info class=contested`, **0 naming this packet** — all pre-existing in other change packets. This PR adds no spec delta, so it cannot move this family |

Lands under Rule 6 on Brett Heap's landing word when the eight required checks are green and Copilot is clean.

refs #745

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

## Summary by Sourcery

Complete the § 4.2 measurement by documenting three consecutive API-verified cycles and the resulting reduction in human intervention.

Enhancements:
- Record the third consecutive post-change cycle and confirm the per-cycle human cost decreased from two human merges to zero, with one approving review remaining in the end-to-end cycle.

Chores:
- Mark checklist item § 4.2 complete while preserving dated historical entries through an appended superseding record.
brettheap added a commit that referenced this pull request Sep 22, 2026
…literal, and the specs/025 row (#1136)

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

**`lockstep.status: diverged → converged`, with its test literal, in one commit — the fourth re-point ceremony discharged the obligation.** Plus the `specs/025` ledger row, which is two transitions stale and is caught up here.

## The act in the other repository

This file's `lockstep` block has said, since it was written, that re-converging is *"an act in ANOTHER repository and this pull request does not take it."* That act has now been taken. **`opensoft/xFactory#475` → merge commit `c88d1fdd`, 2026-09-21T21:55:36Z**, the FOURTH `MIGRATION_PIN` re-point ceremony, advanced `1f131a23 → b21f0100` at its three surfaces in one commit (`96d0b91b`, 3 files / 3 insertions / 3 deletions) on Brett Heap's explicit ceremony word of 2026-09-21 — *"(a) for all four, (i) for the tag, keep going"*, item 2, recorded at [#656 comment 5767804734](#656 (comment)).

**The direction matters and is the reason this convergence is a discharge rather than another advance.** The ceremony's target was not negotiated: `b21f0100` is the commit `core_commit` here has named since PR #1122 (merge `38f826c2`, 2026-09-18). The aggregation moved **to** this file. That is exactly what `obligation:` asks for — *"A future re-point ceremony should converge all three surfaces onto one commit"*.

**And the ORDER is the part that is genuinely first** — stated precisely, because a looser version of this claim was wrong and Copilot caught it (below). Every earlier convergence was a **paired window**: at the third, `opensoft/xFactory` PR #423 merged 2026-09-10T19:15:29Z and this file's `core_commit` followed the same evening at PR #922 (merge `6f95ff57`, 21:55:20Z) — two halves of one ruled pairing (OQ-1 option C, *"paired with openxFactory's five-site advance"*). This time the two moves are **three days apart** and were never a pairing: `core_commit` advanced on 2026-09-18 by an hourly lane that proposes such advances on its own, and the ceremony caught the aggregation up to where this file had been sitting since. That is the first time the aggregation has converged onto a commit this file was **already** pinned to.

## Measured, not assumed

Taken the way every measurement in this field has been taken, and deliberately taken **two commits past the ceremony merge**, at xFactory `main` `cfe27de3`, so the reading survives a routine submodule-pointer sync (PR #476) instead of resting on the merge commit alone:

| site | value |
| --- | --- |
| xFactory `.github/workflows/merge-master-approval.yml:152` | `b21f0100…` |
| xFactory `.github/workflows/council-convening-lane.yml:308` | `b21f0100…` |
| xFactory `tests/test_merge_master_workflows.py:66` `MIGRATION_PIN` | `b21f0100…` |
| openxFactory `contracts/review-lane-pin.yaml:60` `core_commit` (main `6b298a1e`) | `b21f0100…` |

Four sites, one commit. That a **routine** sync ran in between and left all three xFactory surfaces alone is itself the aggregation's working rule 2 holding: `MIGRATION_PIN` moves at a ceremony and at nothing else.

**And the ceremony's after-check passed**, which is what makes `converged` a claim about behaviour rather than only about text. Gates G1–G4 are recorded in `96d0b91b`'s own commit message; **G5** — the live lane re-proved at the NEW pin — is recorded at [xFactory#475 comment 5769610282](opensoft/xFactory#475 (comment)): three post-landing runs (`35660330263`, `35660933433`, `35661430301`) each concluded `success`, each with `b21f0100` read out of its own checkout log and **zero** occurrences of the superseded pin, each judging the **same candidate object** as the pre-act baseline run `35658107765`, and each emitting a decision whose canonical sha256 is identical to that baseline's. The pin moved and the verdict did not.

## What moves here, and why it is one commit

| file | change |
| --- | --- |
| `contracts/review-lane-pin.yaml` | `lockstep.status` `diverged` → `converged`; an appended `reason:` paragraph recording the convergence |
| `tests/review_lane_pin/test_review_lane_caller.py` | `test_the_pin_records_its_lockstep_state_with_the_aggregation_pin`'s asserted literal `diverged` → `converged`; one appended docstring paragraph |
| `specs/025-openxfactory-review-lane-caller/tasks.md` | task 6.5 gains a dated append; **stays unticked** |

The first two move **together, in one commit**, because that is this field's own written convention and what every prior transition did — PR #483 / `d118bc79` (converge), PR #569 / `47f90080` (diverge), the 2026-09-10 flip `d8bdc58a`, the 2026-09-18 re-divergence `7fd8fa5f`. The assertion is a literal `assertEqual`, not a membership test, so flipping the data alone turns a green `pytest-suite` red.

**No pin value moves in this diff.** `core_commit`, `floor_snapshot.sha256` and `floor_snapshot.entry_count` are untouched; the vendored snapshot and both workflows are not in the diff at all. Nothing here touches `MIGRATION_PIN` itself — that is the ceremony's act and it has already landed.

## Four decisions worth naming rather than leaving to be found

**1. `reason:` is APPENDED, not rewritten.** The field's own text states the convention (*"an appended fix, not an edit of it, per this field's own append-only convention"*), and all four prior transitions appended. The appended paragraph ends the field, so `reason:` now reads as the converged narrative — without deleting the dated measurements the ceremony trail is built on.

**2. Every SHA in the contract is written SHORT.** `test_the_pin_carries_exactly_one_commit_shaped_value` permits exactly ONE 40-hex token in the whole file, and that one is `core_commit`. Verified after the edit: the only 40-hex token in the file is `b21f010013fa51960c77377a8582943435b6db32`.

**3. `converged_with:` keeps TWO entries and gains no third.** The test at line 636 asserts `len == 2` with the message *"both xFactory merge-master surfaces must be named"*. Those two are the **judging** surfaces — where a core is actually checked out and run — while `MIGRATION_PIN` is the aggregation's own test holding them identical to each other. It is named in the measurement without being promoted to a member, as through both prior cycles. Adding a third would change a shape no transition has touched since `d118bc79`.

**4. The header comment above `lockstep:` is left exactly as written.** It still narrates the 2026-09-01/09-04 forced divergence and still ends *"written down as diverged"*. It is a **dated measurement**; the 2026-09-10 convergence left it standing for the same reason. Rewriting a dated measurement is how a record stops being one, and `lockstep.status` — not that comment — is where the live state is declared. The appended paragraph names this tension explicitly so the next reader finds it already seen.

## The `specs/025` row, and why it stays unticked

Task 6.5 was last written on **2026-09-02** (`47f90080`). Measured rather than remembered — `git log -- specs/025-openxfactory-review-lane-caller/tasks.md` records no commit after it — so **neither** lockstep transition since wrote there: `d8bdc58a` and `7fd8fa5f` each moved the contract and its test literal and stopped. The row was two transitions stale, and the append says so rather than quietly filling the gap. It now records all three: the 2026-09-10 convergence, the 2026-09-18 **routine** re-divergence, and this ceremony.

**It stays `- [ ]`, and the reason is new.** Its own criterion — *"BOTH halves true at once"* — is satisfied for the first time. What withholds the tick is not a missing act but the **durability** a tick asserts: since `mirror-floor-regeneration-automation` was realized, the hourly `review-lane-repin` lane can advance `core_commit` between ceremonies with auto-merge armed, and the 2026-09-18 re-divergence is precisely that happening. Convergence is therefore falsifiable by this repository's own automation within the hour, while a ticked box claims a standing state. The live state is `lockstep.status`; this row carries history — the same idiom as 6.3's *"STAYS UNTICKED, and the reason has changed"*. Ticking it, or narrowing the `obligation:` clause that still assumes only ceremonies advance this pin, is the ratifier's act.

## Proven

- `python3 -m pytest tests/review_lane_pin -q` → **198 passed, 2 skipped, 54 subtests** — the same counts `d8bdc58a` and `7fd8fa5f` each recorded, with the assertion now reading `converged` against the file's `converged`.
- `python3 openXwallet/scripts/wallet-yaml-syntax-gate.py .` (the pinned gate the required `wallet-validation` check runs) → **exit 0**.
- `scripts/validate-pin-registrations.py`, `scripts/validate-manifest-digests.py`, `scripts/validate-workflow-contracts.py` → **exit 0** each. No validator names this contract; `tests/review_lane_pin/` is what stops it drifting, by its own CODEOWNERS note.
- `yaml.safe_load` of the edited contract: `status: converged`, `len(converged_with) == 2`, exactly one 40-hex token in the file.

## Review round 1 — three findings, all fixed rather than argued

Copilot reviewed at `fe7ca396` and raised three Low findings. **All three were factual errors in text this branch added**, so all three were fixed (`587fdc40`), replied to with the measurement, and resolved — none was argued down.

1. **`contracts/review-lane-pin.yaml` — the "first convergence" claim was false.** The appended paragraph said this was the first convergence closing a re-divergence this repository caused; the 2026-09-10 flip already did that, closing the 2026-09-01 re-divergence the (b′) activation caused here by hand. The paragraph now says it closes the **2026-09-18** re-divergence, explicitly declines the broader claim, and states what is actually first — the unpaired order described above.
2. **`specs/025` — the count was wrong.** *"discharged and re-incurred TWICE MORE"* distributed "twice more" over both verbs. Measured from the paragraph above: **discharged twice more** (2026-09-10, 2026-09-21), **re-incurred once more** (2026-09-18). Fixed, and the ambiguous *"this row missed both"* became *"this row recorded none of the three movements"*.
3. **The test docstring carried an unqualified present tense.** *"THE CURRENT CONTRACT IS `diverged`; … is not taken here"* sat in the same docstring as the new paragraph and directly above the assertion, contradicting both. It moves to the past tense of its own dated measurement. **This is deliberately not done to the contract's header comment** one file over: that header is a dated narrative standing *above* the field, and `lockstep.status` is where the live state is declared, so the appended paragraph records that tension instead. A sentence inside the same docstring as its own contradiction is a different thing from a dated narrative elsewhere in the file.

A fourth correction was **self-caught** on a read-back and is not Copilot's (`ac764dbd`): the parenthetical pointed *"two paragraphs down"* at a paragraph one down.

## Review round 2 — one High finding, answered by measurement and **recorded in the file**

Copilot's review at `ac764dbd` carries exactly one finding, severity High: *routine `review-lane-repin` advances can leave `lockstep.status` and the test literal stale, so the next advance would have the contract reporting `converged` while xFactory sits on the old pin.*

**The premise is correct, and it was already in this diff** — appended `reason:` item (3) says this convergence *"IS FALSIFIABLE BY THIS REPOSITORY'S OWN AUTOMATION WITHIN THE HOUR"*. Measured at the source: `review_lane_repin.WRITABLE_PATHS` is `(PIN_FILE, SNAPSHOT_FILE, MERGE_MASTER_WORKFLOW, PYTEST_SUITE_WORKFLOW)`, within `PIN_FILE` it rewrites only regex-anchored pin sites, and **the string `lockstep` does not occur in that file at all** — so the lane cannot move this field even in principle.

**It does not argue for withholding `converged`, for three measured reasons.**

1. **The hazard is symmetric.** `diverged` is falsifiable by the same lane in the same way, and caught by nothing either — *"the assertion reads this file's own value, not the cross-repository fact"* (`7fd8fa5f`). Picking the value that is false today to guard against tomorrow is strictly worse.
2. **Today `diverged` is the false one.** Four measured sites name `b21f0100`, read at `cfe27de3`, two commits past the ceremony merge.
3. **The estate has already declared `converged` under exactly this regime.** `.github/workflows/review-lane-repin.yml` landed **2026-09-06** (`1897f282`, PR #715); the last `converged` declaration, `d8bdc58a`, is **2026-09-10** — four days later, lane live and auto-merge armed.

**And rather than leave the answer in a review thread, `016d055c` records the REMEDY SHAPE in the field itself**, because this file is where this repository keeps records: (a) widen the lane's writable set to this field and its test literal so an advance leaving the aggregation behind writes `diverged` in the same proposed diff; or **(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, and why 2026-09-18's survived eleven days. **(b) is the better fix**, because (a) still leaves this file's truth depending on a lane remembering to write it. Both are behaviour changes to a realized capability (`mirror-floor-regeneration-automation`) and go through OpenSpec — which is exactly why neither rides here, and is the same disposition `7fd8fa5f` recorded in this same field: *"Narrowing that clause is the ratifier's act, not this diff's."*

## Path class and landing

**No `openspec/changes/` path is touched, and the README "OpenSpec Records" block is not touched** — `specs/` is the Speckit feature tree. Rule 6's landing window therefore does not apply and this is a **plain gate**. `/contracts/review-lane-pin.yaml` is routed to @brettheap by CODEOWNERS and is a never-clearable floor member, so the merge-master lane will park it by design; the human gate is the landing act. **The holder lands this, not this actor.**


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@openxfactory
openxfactory Bot deleted the bot/review-lane-repin branch September 22, 2026 01:36
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.

1 participant