Repository navigation
Archive mirror-floor-addition-grace: ratified (#676), realized (#686 f6724f04), pinned at a landed regeneration (#689) — the first promotion judged under the grace - #699
Conversation
…6724f0), pinned at a landed regeneration (#689) — the first promotion judged under the grace Brett Heap's word in session on 2026-09-05, verbatim "archive the grace packets" — one word over BOTH halves of a cross-repository pair. This is the SECOND half, and the order is this packet's own declaration rather than a preference: proposal.md carries sequenced_after: [codexFactory:add-floor-addition-grace], so the parent archived first (codexFactory PR #218, merge commit 35c08994, 2026-09-05T19:47:09Z, promoting repository-gate-floor 5 -> 12 requirements and closing codexFactory issue #203). AND THIS ARCHIVE IS THE PACKET'S OWN FALSIFICATION TEST. It CREATES openspec/specs/review-lane-floor-mirror/spec.md, a new tracked path under a floor that is an EXACT ENUMERATION. Under the regime this packet replaced, that path would be reported UNCOVERED in two lanes at once and the REQUIRED pytest-suite would refuse this pull request until a two-repository hand repair had run — the cost measured at five payments in two days. Under the grace now in force in both lanes, THIS pull request's own diff creates the path, so the required lane should stay GREEN with the path covered-pending (created_by_candidate) and the advisory lane should print pending_floor_extension naming it. Tasks 5.2 and 5.3 are observations of THIS pull request's checks and are ticked in a later commit here, with run ids and the verbatim lines, or not at all. EVERY SHA RE-READ FROM THE GITHUB API FOR THIS ACT, not remembered. RATIFIED 2026-09-05 "ratify the companion when green, then realize it", applied at head ce9a81e; record review/ratification-2026-09-05.md, archived with the packet; decisions A-F stand as recommended, none separately ruled. PROPOSED by PR #676 (568fa37). REALIZED by PR #686 (f6724f0, 2026-09-05T17:30:54Z). REGENERATED AT A LANDED COMMIT by codexFactory PR #212 (67a6ffc9, generated_at 3afd8a8 -> f6724f0, 59 entries unchanged) — the first floor repair in this programme that did NOT block the pull request that caused it. RE-PINNED onto it by PR #689 (b680499), five sites in lockstep, which is what makes the live test measurable: f6724f0 IS an ancestor of this repository's main (checked with git merge-base --is-ancestor on this tree), where the retired 3afd8a8 was not, so B1's pin window resolves rather than fail-safing to None. No contract bundle, no digest set, no contract_bundle_version spent, no release tag owed. THE ESCAPE IS DISCLOSED. python3 scripts/proposal-support.py . archive mirror-floor-addition-grace was run FIRST and REFUSED — exit 1, "change has incomplete tasks", working tree untouched; its gate is scripts/proposal-support.py:1079-1081, read off those three lines in this tree and UNCONDITIONAL on WHICH box. OPENSPEC_TELEMETRY=0 openspec archive mirror-floor-addition-grace --yes was used instead: "Task status: 26/29 tasks", "Warning: 3 incomplete task(s) found. Continuing due to --yes flag.", "review-lane-floor-mirror: create", "+ 7 added", "Totals: + 7, ~ 0, - 0, -> 0". Precedents: govern-sibling-added-modified-deltas (#571 3bcde7e), declare-spent-bundle-state (#611 7af2725), add-subject-establishment (#647 e4ff4fb), add-chain-anchoring (#669 66d11a2), amend-chain-anchoring-readiness-and-durability (#670 3d7b8f3), and one hour earlier this packet's own parent (codexFactory #218, 35c08994). THREE BOXES STAY OPEN, none of them undone realization. 5.2 and 5.3 are this pull request's own observations (above). 6.3 says in its own first words that it is NOT OWED HERE: the D-3 escalation-tolerance NUMBER is codexFactory's to set in its own CODEOWNERS-routed document — it stands PROPOSED at 3, offered for veto, no veto exercised, UNRULED — and option (b) of codexFactory issue #203 remains unruled and undesigned. An openxFactory archive cannot close a codexFactory owner's box and none is attempted. BYTE-CHECKED PROMOTION, one way because the capability is NEW: the archived delta's requirement region (16 744 bytes) against the created specification's (16 745), extracted from the first "### Requirement:" line on both sides — diff reports exactly one difference, 182a183, a single appended blank line at end-of-file, the same one-byte archiver signature #669 and #670 each recorded. SEVEN requirements / 28 SCENARIOS on both sides, counted rather than added. git status --porcelain -uall openspec/specs/ names that one file and no other. THE ## Purpose WAS WRITTEN BY THIS ACT and is the one thing in the promoted file the archiver did not author. Leaving the tool's "TBD - created by archiving change ... Update Purpose after archive." would have made this the ONLY promoted specification in the corpus still carrying it — 552a3a7 repaired all 39 others on 2026-09-05 — so it was replaced in the promoted specification directly, which is the only surface where such an edit lands. It carries no SHALL and lies outside the byte-checked region. REPOINTS, listed rather than summarized. README.md: the entry MOVED from "Active changes" to the head of "Archived changes", relinked to the archive path, with the word, the evidence chain, the escape, the open box and the live test stated. tests/review_lane_pin/test_floor_snapshot.py: the packet citation in the mirror's own header comment repointed to the archive directory and the promoted capability named beside it (comment only; no assertion, name or watched string moved). LEFT ALONE ON THE #669/#670 PRECEDENT: contracts/review-lane-pin.yaml's history paragraphs and every archived record that cites the old path — records are frozen, and contracts/ carries provenance rather than navigation. GATES ON THIS HEAD: openspec validate --all --strict 94 passed / 0 failed; proposal-support.py . verify ok; validate-sequenced-after.py . passed. The per-change sweep ledger is STALE by design at this commit (row mirror-floor-addition-grace state active -> archived, plus the three derived totals) and is re-seeded in the NEXT commit with this pull request's real number, never by hand. Lane: openxfactory-2 (openXfactory-2) Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…ddition-grace active -> archived, moved by #699 The row is MOVED BY THE TOOL, never by hand, which is the substrate's own rule: python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#699' --moved-on 2026-09-05 — "wrote tests/sequenced_after/corpus-ledger.yaml (173 rows, 1 moved by #699)". Exactly ONE row moved and the diff is one line: mirror-floor-addition-grace: {state: archived, class: sole, declares: [codexFactory:add-floor-addition-grace], depth: 0, prose: false, moved_by: "#699", moved_on: "2026-09-05"} class stays `sole`, the CROSS-REPOSITORY parent declaration is carried unchanged, and `depth: 0` is carried unchanged too — the known oddity this packet's own design.md § 7 recorded when it filed the corpus's first cross-repository `sequenced_after:` (a foreign parent resolves for well-formedness but contributes no hop to a depth this repository can measure). It is NOT hand-corrected here. The pull request number could not be known before the pull request existed, which is why this is a second commit rather than part of the archive: the archive commit deliberately left the ledger STALE and said so. AFTER, on this head: validate-sequenced-after.py . --ledger-diff reports "per-change sweep ledger consistent with the corpus (173 rows)" over 34 active + 139 archived (was 35 + 138); python3 -m pytest tests/sequenced_after -q is 162 passed, where the archive commit alone had the three expected sweep failures (test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row, test_the_totals_DERIVED_FROM_THE_LEDGER_equal_the_MEASURED_sweep, test_the_live_ledger_reports_the_SAME_totals_the_sweep_MEASURES). Lane: openxfactory-2 (openXfactory-2) Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The archived record currently contains verified internal inconsistencies (README task tick status, and proposal/design claims about EXPECT_SKIPPED) that should be corrected before landing.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Archives the ratified-and-realized OpenSpec change mirror-floor-addition-grace by moving it into openspec/changes/archive/… and promoting its new canonical capability spec into openspec/specs/, while updating repository navigation to treat it as archived.
Changes:
- Move
mirror-floor-addition-gracefrom the README “Active changes” list into “Archived changes”, linking to the archived packet and promoted capability. - Promote the new canonical capability file
openspec/specs/review-lane-floor-mirror/spec.md. - Repoint the
tests/review_lane_pin/test_floor_snapshot.pyheader comment to the archived packet location.
File summaries
| File | Description |
|---|---|
tests/review_lane_pin/test_floor_snapshot.py |
Updates header comment to reference the archived packet/capability. |
README.md |
Moves the change entry from Active → Archived and expands the archived record. |
openspec/specs/review-lane-floor-mirror/spec.md |
Creates the promoted canonical capability specification. |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/tasks.md |
Appends archive record and escape disclosure. |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/specs/review-lane-floor-mirror/spec.md |
Carries the archived spec delta used for promotion fidelity checking. |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/review/ratification-2026-09-05.md |
Archives the ratification record alongside the packet. |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/proposal.md |
Archives the proposal document (needs correction re: EXPECT_SKIPPED statements). |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/design.md |
Archives the design doc (needs correction re: EXPECT_SKIPPED statements). |
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/.openspec.yaml |
Archives origin metadata with the packet. |
Review details
- Files reviewed: 5/10 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🟡 Changes recommended
It introduces a new off-floor tracked spec path that (with the current negative-control wiring) will make the required pytest-suite fail, and the archive tasks record currently asserts missing “recorded below” evidence.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/tasks.md:398
- This archive record says “The observation is recorded below and the boxes are ticked…”, but the file ends shortly after and tasks 5.2/5.3 remain unchecked above. This reads as missing evidence (or stale text) and is confusing for anyone verifying why the archive proceeded with those boxes open.
- Files reviewed: 5/10 changed files
- Comments generated: 1
- Review effort level: Lite
…ce sets like the shipped assertion; 5.2/5.3 ticked with the observed outputs Lane: openxfactory-2 (openXfactory-2) This is the live test task 5.2/5.3 exist for. PR #699 (this pull request) is the programme's first real promotion: it creates openspec/specs/review-lane-floor-mirror/spec.md, a new tracked path under the exactly-enumerated floor. On head 1fde704: - merge-master-approval run 33989488802 printed the advisory lane's pending_floor_extension outcome for the first time ever (the parent's own archive record, codexFactory PR #218, could only report the report SHAPE with nothing pending): stage pending_floor_extension, covered-pending 1 (tolerance 3, pin measured), PENDING (created_by_candidate): openspec/specs/review-lane-floor-mirror/spec.md, floor evaluated 0 never-clearable path(s) touched. - pytest-suite run 33989489654 held the required lane's own shipped assertion, TheRealFiles::test_every_tracked_openspec_spec_path_is_on_the_ floor, GREEN with the same path covered-pending — but the SAME run found two negative controls red: NegativeControls::test_the_unmutated_surface_ is_a_positive_first and NegativeControls::test_a_fabricated_off_floor_ spec_path_is_refused (2 failed, 9631 passed, 21 skipped). Cause: both controls called graced_uncovered(self.surface, self.entries, (), ()) with hard-coded EMPTY grace sets, while the shipped assertion beside them measures created/window from resolve_base_branch(), created_since_merge_base() and pin_window(). On a branch that legitimately creates a spec path, the controls saw it as uncovered where the shipped assertion correctly saw it covered-pending. This is a defect in the companion realization (PR #686, authoring decision E: the controls were moved onto the graced expression but not onto the graced measurement), predicted by Copilot review (thread PRRT_kwDOTAvnrs6fmnH4) and caught here by the first real promotion — exactly what this live test was for. Fix, in tests/review_lane_pin/test_floor_snapshot.py only: NegativeControls.setUpClass now derives generated_at/created/window the same way TheRealFiles.setUpClass and the shipped assertion do. test_the_unmutated_surface_is_a_positive_first now asserts missing == () and that every covered-pending path carries a measured reason, instead of asserting ((), ()) against a live surface that legitimately has a pending path. test_a_fabricated_off_floor_spec_path_is_refused now takes a baseline before adding the fabrication and asserts the fabricated path alone is refused while pending is unchanged from that baseline. Re-run after the fix: tests/review_lane_pin -q -> 73 passed / 2 skipped (both controls pass on this branch); with PINNED_CORE_CHECKOUT at codexFactory 67a6ffc9 -> 75 passed / 43 subtests, no skips. tests/sequenced_after -q -> 162 passed. openspec validate --all --strict -> 94 passed / 0 failed. validate-sequenced-after.py . --ledger-diff -> consistent (173 rows, no row moves). tasks.md: ticks 5.2 and 5.3 in the archived 2026-09-05-mirror-floor-addition-grace change with the verbatim run output above. README.md: the mirror-floor-addition-grace archive entry pointed at "tasks.md § Archive" for the observed result, but the evidence lives in tasks.md's own 5.2/5.3 items — corrected the pointer, and added one sentence naming the negative-controls defect this live test found and fixed, so the archive narrative does not read as a clean first pass. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-2 (openXfactory-2) Live test complete. On head
But the same required-lane run found a real defect — exactly what a live test is for. Two negative controls, Fix, commit Re-run after the fix:
Tasks 5.2 and 5.3 in the archived New head: |
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟢 Approval recommended
The changes consistently complete the archive/promotion bookkeeping and the updated negative controls now measure the same grace inputs as the shipped assertion, addressing the previously observed required-lane failure mode.
Review details
- Files reviewed: 5/10 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-2 (openXfactory-2) MERGING on Brett Heap's words of 2026-09-05, in session, verbatim "archive the grace packets" and "land the companion archive when green, then do the regeneration". Final head The archive: THE LIVE TEST, observed on this PR's own checks: this is the first pull request to promote a new spec path under the grace. The REQUIRED lane's coverage assertion passed with the path covered-pending; the ADVISORY lane printed Checks on |
|
Lane: openxfactory-2 (openXfactory-2) Squash |
…or joins the floor (67 -> 68), the first advance that lands with no red before it (#702) * Re-pin the decision core at codexFactory #226: review-lane-floor-mirror joins the floor (67 -> 68), the first advance that lands with no red before it STEP (2) of the two-repository act. codexFactory issue #203, ruled option (c) by Brett Heap ("rule c, this lane authors it"). Brett Heap's word in session 2026-09-05 ~20:0xZ, verbatim "land the companion archive when green, then do the regeneration". The companion archive landed as openxFactory PR #699 (merge b5eddaa) — the openxFactory half of archiving `mirror-floor-addition-grace` itself, promoting `openspec/specs/review-lane-floor-mirror/spec.md` under a floor that is an exact enumeration. PR #699 landed GREEN under the grace: the required lane held the surface `covered-pending` (`created_by_candidate`, tolerance 3) and the advisory lane printed `pending_floor_extension` naming the path — the first promotion in this programme's history that did not block the pull request that caused it. codexFactory PR #226 (MERGE COMMIT `ad15a8988490bf19c659254a92354987ec3a4028`, merged 2026-09-05T21:52:00Z) then ran `generate_specs_floor_block.py --write` at openxFactory `b5eddaa3` — PR #699's own merge commit, a commit reachable from openxFactory `main` (`git merge-base --is-ancestor` holds) — closing the deferral: `generated_at` / `--ref` move `f6724f04` -> `b5eddaa3`; `entry_count` moves 59 -> 60; the floor total moves 67 -> 68. This commit is the five-site advance that regeneration makes owed. ## Five sites, before -> after | Site | Before (`67a6ffc9`) | After (`ad15a898`) | |---|---|---| | `contracts/review-lane-pin.yaml` `core_commit` | `67a6ffc932da44ebe1529d8cc25ab222b60a4ca1` | `ad15a8988490bf19c659254a92354987ec3a4028` | | `.github/workflows/merge-master-approval.yml` `PINNED_CORE_COMMIT` | `67a6ffc9…` | `ad15a898…` | | `.github/workflows/merge-master-approval.yml` core checkout `ref:` | `67a6ffc9…` | `ad15a898…` | | `.github/workflows/pytest-suite.yml` core checkout `ref:` | `67a6ffc9…` | `ad15a898…` | | `contracts/review-lane-floor-snapshot.yaml` (byte copy) | sha256 `18389a3d…3521a8`, 15402 bytes, blob `fdcd9f7e834a487d96cb87b8cc0c3ef5d6a4d771`, entry_count 67 | sha256 `b4dcf676…45bf241`, 15456 bytes, blob `3912c660649f0258f85fccbf14a1c1c4ce465296`, entry_count 68 | Exactly ONE 40-hex commit-shaped token remains in `review-lane-pin.yaml` (`core_commit`), verified with `\b[0-9a-f]{40}\b` — the sha256 digest is 64 hex characters and matches no 40-char word-bounded substring of itself. ## Witnesses At codexFactory `ad15a898`, `scripts/merge_master/openxfactory-review-authority-floor.yaml`: sha256 `b4dcf676e388e7984da90a8e71b135cc06f2d740b34a41a86de663bc145bf241`, 15456 bytes, blob `3912c660649f0258f85fccbf14a1c1c4ce465296` — three-way identity confirmed: `git show ad15a898:…floor.yaml | sha256sum` == the vendored copy's `sha256` == `cmp` byte-for-byte against the vendored file on disk == `git hash-object` on the vendored file matches the blob `git rev-parse ad15a898:…floor.yaml` names. **THE FLOOR GREW BY ONE AND IT IS THE SPEC promoted by #699.** `git diff 67a6ffc9 ad15a898 -- scripts/merge_master/openxfactory-review-authority-floor.yaml` in the pinned core, read in full rather than summarized: the block's `generated_at` / `--ref` header lines move `f6724f04` -> `b5eddaa3`, `entry_count` moves 59 -> 60, and ONE entry line is added — `openspec/specs/review-lane-floor-mirror/spec.md` — inserted in sorted order among the other `openspec/specs/**` paths. The EIGHT hand-reasoned chokepoints are untouched and nothing is removed, so no dead entry arrives with it. ## No collision measured openxFactory PR #687 (`change/repoint-pytest-suite-at-pin`), the lane noted as a collision risk in the prior re-pin, is **MERGED** (`gh pr view 687 --json state` -> `MERGED`) and already part of `origin/main` before this branch was cut, so its edits to `.github/workflows/pytest-suite.yml` are already in this tree; this commit's only change to that file is the codexFactory core checkout's `ref:`, a separate line from anything #687 touched. No other open pull request was found editing any of the four touched files. ## Lockstep re-measured on xFactory main xFactory's own two merge-master surfaces still pin codexFactory `f4702f647c285012c15717043332f68f1edefc29` (the 2026-08-28 ceremony), read from the local aggregation checkout without fetching or writing to it (never touch `~/projects/xFactory`). At that commit, `scripts/merge_master/openxfactory-review-authority-floor.yaml` still carries exactly FOUR never-clearable paths, not the sixty-eight this pin now names — the divergence this file's own comment history already records stands unchanged by this advance, and is re-stated (SIXTY-SEVEN -> SIXTY-EIGHT) where it is a live claim; the dated historical paragraphs describing each prior advance are left untouched. ## Validated - `pytest tests/review_lane_pin -q` (no core on disk): **73 passed, 2 skipped, 22 subtests passed.** - `PINNED_CORE_CHECKOUT=<codexFactory clone at ad15a898> pytest tests/review_lane_pin -q`: **75 passed, 43 subtests passed, no skips** — the freshness verifier and the vector replay both ran. - `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`: **95 passed, 0 failed.** - `python3 scripts/validate-sequenced-after.py . --ledger-diff`: **consistent with the corpus (174 rows), no row moves** — this re-pin is not an OpenSpec change and touches no ledger row. - All four touched YAML files (`review-lane-pin.yaml`, `review-lane-floor-snapshot.yaml`, and the two workflow YAMLs) re-parse clean under `yaml.safe_load`. - `git diff --stat` against `origin/main` is exactly the five sites, four files, no more. ## Frozen records untouched Both governing packets are ARCHIVED: openxFactory `openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/` and codexFactory `2026-09-05-add-floor-addition-grace/`. Neither `tasks.md` is edited — they are frozen records, and this advance's own obligation is not a box either packet declares (the second post-grace regeneration is the grace mechanism operating as designed, not a packet task). Only the five pin sites move. Lane: openxfactory-2 (openXfactory-2) Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Copilot round 1: the live counts read 68 and 60 everywhere the pin speaks in the present tense Copilot thread PRRT_kwDOTAvnrs6fnUaW on `contracts/review-lane-pin.yaml:521` (PR #702) found a genuine miss: the pinned_members `why:` for `openxfactory-review-authority-floor.yaml` says "SIXTY-EIGHT never-clearable paths as of this advance" two lines above, then still read "8 + 1 rather than 67 equally-reasoned chokepoints" a few lines later — the SAME live sentence describing the document's own self-description, left at the old count. Fixed: 67 -> 68. Swept the whole file for every other live-tense count claim (`SIXTY-SEVEN|67-entry|\b67\b|FIFTY-NINE|\b59\b`) and classified each hit: - Every `59`/`67` inside the dated "ADVANCED ... TIME" / "UNCHANGED IN KIND BY THE Nth ADVANCE" paragraphs (declared_from's comment history and the pinned_members `why:` narrative) is HISTORICAL — each paragraph is a frozen record of what was true at ITS OWN advance, and later paragraphs already supersede them without editing them in place, exactly as the eighth's paragraph was left alone when the ninth's was added. Left untouched. - The `FIFTY-NINE` at "the same FIFTY-NINE the `67a6ffc9` advance carried, plus ONE" is a correct backward reference to the PRIOR pin's count, not a stale current-count claim. Left as written. - `lockstep.reason`'s last paragraph, "UNCHANGED IN KIND BY THE NINTH ADVANCE ... this file now names `67a6ffc9`, carrying the SAME 67-entry floor as `e57643a7`", was the field's live endpoint before this advance and is now itself historical — same treatment as every earlier "now names" paragraph in that field once superseded. Left it exactly as it reads (it was true when the ninth advance made it true) and APPENDED a new paragraph, "THE GAP WIDENS AGAIN, THE TENTH ADVANCE, 2026-09-05", which is now the field's live endpoint: names `ad15a898`, a SIXTY-EIGHT-entry floor, ONE MORE than `67a6ffc9`'s sixty-seven (the added entry being `openspec/specs/review-lane-floor-mirror/spec.md`), and records that this advance — unlike the eighth and ninth — actually grows the floor, so the gap against xFactory's still-unmoved `f4702f64` (re-read from the local aggregation checkout without fetching or writing to it; both its surfaces still name `f4702f64` verbatim) widens again rather than holding. Validated on this head: `\b[0-9a-f]{40}\b` still matches exactly ONE token (`core_commit`); `pytest tests/review_lane_pin -q` (no core) 73 passed / 2 skipped / 22 subtests; the same with `PINNED_CORE_CHECKOUT` at codexFactory `ad15a898`, 75 passed / 43 subtests, no skips; all four pin-site files re-parse clean under `yaml.safe_load`; `git diff --stat` against the prior commit on this branch touches only `contracts/review-lane-pin.yaml`. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…4.5) 47 tests, 0 skips. Every test names its scenario in its docstring, and test_every_ratified_scenario_has_a_test READS the ratified delta and fails on any scenario no docstring claims -- so the mapping is measured, not declared. The negative controls build a COPY OF THE REAL FIVE SITES and break them the way a real drift would (a renamed key in the shipped bytes), because #699's lesson was that a control which hard-codes its inputs measures nothing. Each one is paired with a positive that passes the same assertion (task 4.5). Also here: the stale-sha sweep the module's docstring promises -- every tracked file is swept for a pin-shaped VALUE line naming the core commit and the files found must be exactly the declared sites, so a sixth site fails a test instead of silently going stale. VALUE lines only: the pin file and merge-master-approval.yml carry the commit many times in advance-history comments, and a sweep that flagged those would be unusable. No conditional skips, so EXPECT_SKIPPED: "21" does not move. Lane: openxfactory-2
… (mirror-floor-regeneration-automation) (#715) * Add the re-pin lane decision module (mirror-floor-regeneration-automation task 3) WIP. Pure functions only: plan_advance, apply_advance, verify_advance (the post-write RE-READ decision M-2 asks for), witnesses_of (computed from the bytes written, decision M-3), decide_idempotent_action and render_pr_body. No network, no gh, no merge. Lane: openxfactory-2 * Add the re-pin lane workflow and its credential binding template (tasks 3.1-3.9) WIP alongside the decision module. The workflow holds only what a workflow can do -- triggers (hourly sweep as the MECHANISM, floor-regenerated dispatch as an accelerator whose payload is never read), the App identity, the two `gh api` reads, and the pull request. Every refusal lives in scripts/review_lane_repin.py where a test can drive it. The binding is a TEMPLATE with placeholder provider/vault and secret NAMES only -- no value. degraded_mode_permitted: false is decision M-6 in machine-readable form: no `|| github.token` fallback anywhere in this lane. Lane: openxfactory-2 * Measure the re-pin lane against all 24 ratified scenarios (tasks 4.1-4.5) 47 tests, 0 skips. Every test names its scenario in its docstring, and test_every_ratified_scenario_has_a_test READS the ratified delta and fails on any scenario no docstring claims -- so the mapping is measured, not declared. The negative controls build a COPY OF THE REAL FIVE SITES and break them the way a real drift would (a renamed key in the shipped bytes), because #699's lesson was that a control which hard-codes its inputs measures nothing. Each one is paired with a positive that passes the same assertion (task 4.5). Also here: the stale-sha sweep the module's docstring promises -- every tracked file is swept for a pin-shaped VALUE line naming the core commit and the files found must be exactly the declared sites, so a sixth site fails a test instead of silently going stale. VALUE lines only: the pin file and merge-master-approval.yml carry the commit many times in advance-history comments, and a sweep that flagged those would be unusable. No conditional skips, so EXPECT_SKIPPED: "21" does not move. Lane: openxfactory-2 * Submit the advance to the judge before proposing it (task 4.7) The lane runs the EXISTING tests/review_lane_pin suite -- unmodified, no -k, no --deselect, no skip -- against the tree it just wrote, with codexFactory checked out at the CANDIDATE commit. Checking out the old pinned core would compare the new snapshot against the old document and red every honest advance, which is why the ref is the candidate and a test holds it there. This asks for no exemption and grants none (requirement 5 / M-4): it is the same judge, run early, so a bad advance arrives as a failed run instead of a red pull request somebody has to triage. The pull request's own run stays the authority. Lane: openxfactory-2 * Write the re-pin runbook -- the hand cycle and the lane that replaces it (task 3/5) There was no re-pin runbook in this repository to extend: the procedure lived in `contracts/review-lane-pin.yaml`'s own `refresh:` field and its comment history. So this creates one, linked into the README doc index per working rule 4. It documents BOTH cycles deliberately. The lane replaces the transcription, not the operator: the hand cycle stays, with its commands, because it is what runs when the lane refuses or the credential is unavailable. Status: draft, and the reason is in the document: tasks.md section 5 (the first unattended cycle) is open by design and no refusal has been observed on a real run. The "What is not yet proven" section says so rather than leaving it to be discovered -- including that this is the first `schedule:` in any workflow here and should be watched. Lane: openxfactory-2 * Tick the realization boxes with evidence, and say what stays open and why 22 boxes ticked, each with the measurement behind it rather than a claim. Groups 1, 3 and 4 are done; 2.3 is done and measurable. UNTICKED, deliberately, each with its reason written in: * 2.1/2.2 -- codexFactory's half is a sibling lane's realization, in flight; until it lands the cycle is HALVED, not closed. * Group 5 -- no unattended cycle has been observed, and none can be right now: the floor at codexFactory main is byte-identical to the vendored snapshot, so the lane's correct behaviour today is the named no-op. 5.7 already refuses a tick on a test-only observation. * Group 6 -- owner's acts; an agent may not tick one. 6.4 now names the exact App permissions Brett's act needs, in both vocabularies. Also recorded under section 3: the OUTBOUND dispatcher leg the realization brief asked for is NOT taken, on three measured grounds -- it is outside the ratified code_surface; it would need `contents: write` on codexFactory, which requirement 8's third scenario forbids this binding; and its premise does not hold, because merge-master-approval.yml (which computes the pending report) runs on pull_request_target only, while pytest-suite.yml (which runs on main) computes no report at all. The packet wins over the brief and the difference is written down, with the exact next step if the leg is wanted. 3.1 records that the lane ships as `review-lane-repin`, not the task's `floor-repin`, and why. Lane: openxfactory-2 * Scope the minted token to the binding's two repositories, and hold them equal `owner:` alone -- the shape pytest-suite.yml uses -- yields a token good for every repository this App is installed on in the organization. That is right there: it is a read for a continue-on-error step. It is too wide HERE, because this token can push a branch and open a pull request. A binding that declares least privilege and then mints an org-wide token is declaring one thing and doing another, so the mint now names exactly the two repositories `privileges:` names, the binding records the same list as `scoped_to:`, and a test requires the two to be EQUAL rather than merely both present -- so the declaration cannot drift from the mint. An App not installed on both makes the mint fail, which is the loud refusal the binding asks for rather than a degradation. Lane: openxfactory-2 * Stop pinning EXPECT_SKIPPED's VALUE, and measure the judge coupling properly Two of my own assertions were wrong in ways a reviewer would rightly flag. 1. `test_the_bots_pull_request_meets_the_same_bar` asserted `EXPECT_SKIPPED: "21"` literally. That number legitimately moves whenever a conditional skip is added or removed anywhere in the suite, WITH its reason -- the required workflow says so itself. Pinning it here would red an unrelated lane's honest pull request and teach everyone to edit this file, which is the opposite of a guard. What must not happen is the pin DISAPPEARING or the named watch being dropped, so that is what is measured now: `EXPECT_SKIPPED: "<digits>"` present, verifier still watched by name. 2. `test_the_lane_asks_for_no_exemption_of_its_own` carried a nonsense assertion (a path with an "x" appended). Replaced with the distinction that actually matters: the lane may write NO test at all, and while the required WORKFLOW is writable -- it is pinned site 4 -- its pattern is proven to reach exactly one line, that line is the core checkout `ref:`, and it is not EXPECT_SKIPPED. Lane: openxfactory-2 * Correct the tasks header, which the ticks had made self-contradictory The opening paragraph said group 1's boxes "are still unticked" and gave the reason: a box that moved on authorship would be a false completion "the moment a ratification did not follow". A ratification DID follow, and I then ticked them -- leaving the file asserting something its own checkboxes contradicted. The paragraph is kept unchanged as the record of this file at authoring, per the packet's own habit, and a dated note states the position now: which groups are ticked, that 5 and 6 stay open, and that NOTHING is archived because release-realization wants one complete unattended cycle first. Lane: openxfactory-2 * Take Copilot round 1: pin the installs to the hashed lockfile, and assert the true writable-set property Both findings are real. 1. UNPINNED INSTALLS (:211 and :341). `pip install pyyaml` and `pip install pytest` resolved whatever PyPI served at run time -- no version, no hash -- and this lane advances THE PIN THAT CHOOSES THIS REPOSITORY'S JUDGE, so it is the last place to take an unpinned dependency. Replaced with the repository's existing pattern, copied from pytest-suite.yml:450: `pip install --require-hashes -r requirements/hermes-runtime-contracts.lock`. ONE install now covers both sites: the lock already carries pyyaml==6.0.3 (the module's only import) and pytest==9.1.1 (the freshness run), so the second install is gone rather than pinned. New `test_the_lane_installs_only_from_the_hashed_lockfile` enumerates every pip install in the lane and requires the hashed form, and separately checks the lock really carries both -- so a single install cannot be a pin that omits the dependency. Proven capable of failing: adding `pip install requests` reds it; removing it greens. 2. THE FALSE DOCSTRING. The `+ "x"` no-op assertion was already gone (5db2bae), but its docstring still claimed "neither judge file is among them" -- and that is false, deliberately: `.github/workflows/pytest-suite.yml` IS the required suite and IS writable, because it is pinned site 4 carrying the core checkout `ref:`. Rewritten to assert the property that is actually true, in three measured parts: the writable set EQUALS the paths PINNED_SITES names (an equality, so a fifth cannot be added quietly); test_floor_snapshot.py and every other test are ABSENT from it; and inside the judge file it may write, its pattern reaches exactly one line, that line is the `ref:`, and it is not EXPECT_SKIPPED. The docstring now says exactly that. No pin moved: core ad15a898, snapshot b4dcf676, entry_count 68. Lane: openxfactory-2 --------- Co-authored-by: Brett Heap <[email protected]> Co-authored-by: Brett Heap <[email protected]>
Lane: openxfactory-2 (openXfactory-2)
Claim: #675 (comment) — posted before authoring, for THE ARCHIVE of
mirror-floor-addition-grace.Brett Heap, in session 2026-09-05, verbatim "archive the grace packets" — one word over BOTH halves of a cross-repository pair. This is the SECOND half, and the order is this packet's own declaration rather than a preference:
proposal.mdcarriessequenced_after: [codexFactory:add-floor-addition-grace], so the parent archived FIRST — codexFactory PR #218, merge commit35c089948a55bd8cf34293394e3b2621b6b0c8c5, merged 2026-09-05T19:47:09Z, promotingrepository-gate-floor5 → 12 requirements / 13 → 38 scenarios and closing codexFactory issue #203 ascompleted.Do NOT merge. Rule 6 LANDING and the squash are the orchestrator's.
THE LIVE TEST — stated up front, because that is what this pull request IS
This archive CREATES
openspec/specs/review-lane-floor-mirror/spec.md, a new tracked path under a floor that is an EXACT ENUMERATION (59 generated spec paths inside a 67-entry floor,generated_atf6724f04). Under the regime this packet replaced, that path would be reported UNCOVERED in two lanes at once and the REQUIREDpytest-suitewould refuse this pull request until a two-repository hand repair had run — the costproposal.mdmeasured at five payments in two days. Under the grace now in force in both lanes, this pull request's own diff creates the path, so it is the first candidate in the programme that can falsify or confirm the packet.Tasks 5.2 and 5.3 are observations of THIS pull request's own checks. No earlier act could close them, and codexFactory PR #218 recorded its own equivalent box as PARTIAL for exactly that reason (openxFactory run
33983590725printedcovered-pending: 0 (tolerance 3, pin NOT measured (fail-safe))— the report SHAPE and the B1 fail-safe were seen, but no path was ever covered-pending). They are ticked in a later commit here with the run ids and the verbatim lines, or they are not ticked at all.RESULT SO FAR — the grace WORKS; the required lane is RED for a reason confined to two negative controls
MEASURED LOCALLY ON THIS HEAD, BEFORE PUSHING, and reported rather than worked around.
PASSED — the shipped assertion, which is the grace itself:
FAILED — the two negative controls beside it, both inside the REQUIRED
pytest-suite:ONE CAUSE, AND IT IS STRUCTURAL. Both controls take the LIVE tracked surface (
cls.surface = tracked_paths_under(FLOORED_PREFIX)) and drive the graced expression with the grace inputs hard-coded empty —graced_uncovered(self.surface, self.entries, (), ())— which means "measured, and no grace applies". That was a true statement about the live surface for as long as the floor covered all of it. It stops being true the moment a candidate promotes a capability, which is the one case the grace exists for. Task 2.4 moved both controls onto the graced expression and kept each control's meaning, but kept them measuring the LIVE surface, so the coupling the proposal itself named — "together with the two negative controls that fail with it by construction" — survived the repair in the controls even though it was removed from the assertion.So
5.3is FALSIFIED AS REALIZED: a real promoting pull request IS red in the required lane for the path it creates — not through the coverage assertion, which is green and correct, but through the two controls that guard it.NOTHING HAS BEEN WORKED AROUND. No control was edited, no box was ticked, no assertion was relaxed. The act is halted here for the repository owner's word. The repair is small and belongs in a successor packet against
review-lane-floor-mirror(the controls should either fabricate their own surface rather than read the live one, or receive the same measuredcreated/windowthe shipped assertion receives), but it is a change to a RATIFIED capability's realized surface and is not this archive's to make unbidden.Evidence chain — every sha re-read from the GitHub API for this act
ce9a81ed; recordreview/ratification-2026-09-05.md; decisions A–F stand as recommended, none separately ruled568fa370evaluate_floor_completenesswithfetch-depth: 0f6724f04generated_at3afd8a8c→f6724f04, 59 entries unchanged; the first floor repair in this programme that did NOT block the pull request that caused it67a6ffc9f6724f04IS an ancestor ofmain, where the retired3afd8a8cwas notb6804991sequenced_afterit)35c08994No contract bundle and no release tag: no registered row, no digest set, no
contract_bundle_versionspent, no tag owed —proposal.md'starget_release:says so in its own words.The escape, disclosed
python3 scripts/proposal-support.py . archive mirror-floor-addition-gracewas run FIRST and REFUSED — exit 1,change has incomplete tasks, working tree untouched. Its gate isscripts/proposal-support.py:1079-1081, read off those three lines in this tree, and unconditional on WHICH box.OPENSPEC_TELEMETRY=0 openspec archive mirror-floor-addition-grace --yeswas used instead:Precedents:
govern-sibling-added-modified-deltas(#5713bcde7e2),declare-spent-bundle-state(#6117af2725c),add-subject-establishment(#647e4ff4fb3),add-chain-anchoring(#66966d11a24),amend-chain-anchoring-readiness-and-durability(#6703d7b8f3b), and one hour earlier this packet's own parent (codexFactory #21835c08994).THREE BOXES STAY OPEN, none of them undone realization: 5.2 and 5.3 (this pull request's own observations, above); 6.3, which says in its own first words that it is NOT OWED HERE — the D-3 escalation-tolerance NUMBER is codexFactory's to set in its own CODEOWNERS-routed document (it stands PROPOSED at
3, offered for veto, no veto exercised, UNRULED), and option (b) of codexFactory issue #203 remains unruled and undesigned.Byte-checked promotion
One way, because the capability is NEW. The archived delta's requirement region against the created specification's, extracted from the first
### Requirement:line on both sides: 16 744 bytes against 16 745,diffreporting exactly one difference —182a183, a single appended blank line at end-of-file, the same one-byte archiver signature #669 and #670 each recorded. SEVEN requirements / 28 SCENARIOS on both sides, counted rather than added.git status --porcelain -uall openspec/specs/names that one file and no other.The
## Purposewas written by this act — the one thing in the promoted file the archiver did not author. Leaving the tool'sTBD - created by archiving change … Update Purpose after archive.would have made this the ONLY promoted specification in the corpus still carrying it (552a3a76repaired all 39 others on 2026-09-05). It carries no SHALL and lies outside the byte-checked region.Repoints, listed
README.md— the entry MOVED from Active changes to the head of Archived changes and relinked to the archive path.tests/review_lane_pin/test_floor_snapshot.py— the packet citation in the mirror's own header comment repointed to the archive directory, with the promoted capability named beside it. Comment only: no assertion, no name, no watched string moved.contracts/review-lane-pin.yaml's history paragraphs (provenance, not navigation) and every archived record that cites the old path (records are frozen).Gates on this head
openspec validate --all --strictproposal-support.py . verifyvalidate-sequenced-after.py .validate-sequenced-after.py . --ledger-diffpytest tests/review_lane_pin -qpytest tests/sequenced_after -qpytest tests/doc-health -qtest_pin_reachability.py::test_this_repository_can_consult_the_retention_namespace, which passes in isolation (59 passed) and is a network-timing flake, not a regressionRefs #675