Skip to content

Realize mirror-floor-addition-grace: re-pin, mirror, and import the addition grace - #686

Merged
brettheap merged 6 commits into
mainfrom
realize/mirror-floor-addition-grace
Sep 5, 2026
Merged

brettheap merged 6 commits into
mainfrom
realize/mirror-floor-addition-grace

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: openxfactory-2 (openXfactory-2)

Claim: #675 (comment)

Brett Heap, 2026-09-05 ~08:4xZ, in session, verbatim: "ratify the companion when green, then realize it".

Realizes the RATIFIED packet openspec/changes/mirror-floor-addition-grace/ (ratification record review/ratification-2026-09-05.md; PR #676, squash 568fa370). Do NOT merge — report only.

What lands

Four commits, in the order tasks.md prescribes:

  1. e3ed78b1 — the five-site pin advance to codexFactory e57643a7 (re-measured at realization time, per task 1.1: origin/main had moved past the ratified target 712fc8ca, and past 467cec42, to e57643a7 — verified 712fc8ca an ancestor). The floor document is byte-identical across all three commits (sha256 0eba8e58…7ba4be, 15402 bytes) — the object of this advance is the addition-grace mechanism (evaluate_floor_completeness, paths_added_after_pin), not a spec promotion, so the floor's entry_count does not move: 67 → 67, the first advance in this pin's history whose floor grew by zero paths.
  2. f6185a11 — the required lane's mirrored completeness rule (tests/review_lane_pin/test_floor_snapshot.py): a path is covered-pending when this candidate's own diff creates it or when it landed on the base branch after the floor snapshot's generated_at, mirrored from git alone (authoring decision A), falsified by a new TheVectorReplay class replaying all 16 accepted + 5 refused vectors from the pinned core's own fixture. EXPECT_SKIPPED 21 → 22 in pytest-suite.yml, watched by name.
  3. 01e1fd88 — the advisory lane (merge-master-approval.yml step 8) now imports evaluate_floor_completeness / pin_window_for_document directly, superseding both the hand-rolled completeness set-difference and the separate candidate_floor_drift call (one call now supplies both). Base checkout gets fetch-depth: 0 (decision C) so B1's pin window is measurable. Report/summary/anti-vacuity all extended.
  4. c5b07571 — tasks.md ticked for exactly what this PR completes, each box with an evidence line.

The five re-pin sites, before → after

site before after
contracts/review-lane-pin.yaml core_commit 76fa501cd1c846ca9676d901e41e33ae1e730733 e57643a79132d11a1b2e1c807b0da589befb3f31
merge-master-approval.yml PINNED_CORE_COMMIT 76fa501c… e57643a7…
merge-master-approval.yml core checkout ref: 76fa501c… e57643a7…
pytest-suite.yml core checkout ref: 76fa501c… e57643a7…
contracts/review-lane-floor-snapshot.yaml sha256 c4a386db…e78, entry_count 67 sha256 0eba8e58…7ba4be, entry_count 67 (unchanged)

Witness: entry_count 67 → 67 is the first advance whose floor grew by zero paths — the prior seven advances each moved it by one (a spec promotion). The 40-hex guard holds: exactly one \b[0-9a-f]{40}\b token in contracts/review-lane-pin.yaml (core_commit itself).

LQ-A7 design, as implemented

The required assertion (test_floor_snapshot.py) mirrors the pinned core's evaluate_floor_completeness locally, from git alone — never imports it — because the pinned core checkout in pytest-suite.yml carries continue-on-error: true by design: an importing REQUIRED assertion could only skip on an outage (a CSC-F16 silent-false-green) or fail for a cause no candidate can fix. created_since_merge_base() (git diff --name-status --diff-filter=A <merge-base>..HEAD) and pin_window() (git log --diff-filter=A --name-only --pretty=format: <generated_at>..<base>, byte for byte the core's own paths_added_after_pin invocation) feed graced_uncovered(). The mirror is falsified — not merely exercised — by TheVectorReplay, which replays the pinned core's own 16 accepted + 5 refused vectors read from the checkout, comparing tracked_under_prefix/uncovered/pending (the facts this simplified mirror actually computes; stage/escalated/drift are the advisory lane's, not re-asserted here). TheGraceItself adds 18 more tests, including real disposable-git-repository tests proving the actual invocations exclude modifications/removals/renames and fail-safe on unresolvable/non-ancestor pins.

The advisory lane (merge-master-approval.yml step 8) takes the opposite path per decision A: it already refuses outright when the pinned core is unreadable, so it imports evaluate_floor_completeness directly and deletes its own hand-rolled classification, including the formerly-separate candidate_floor_drift call (both partitions now come from one call over the same post-merge facts).

Step 8 changes and the fetch-depth change

  • Imports evaluate_floor_completeness (merge_master.repository_floor) and pin_window_for_document (merge_master.specs_floor_block); deletes the hand-rolled sorted(set(tracked) - set(floor.never_clearable_paths)) and the conditional candidate_floor_drift call.
  • generated_at, window = pin_window_for_document(floor_text, Path("."), base_ref="origin/main", prefix=prefix); completeness = evaluate_floor_completeness(floor, prefix=prefix, base_tree_paths=tree, changed_entries=entries, generated_at=generated_at, added_since_pin=window); verdict.update(completeness.report()).
  • Step 3's "Checkout base (this repository)" now carries fetch-depth: 0 (measured cost: this branch's main is 2,025 commits / 29.6 MiB packed) — B1's window is otherwise unmeasurable on the shallow default, which would silently fail-safe the grace off on every advisory run.
  • jq report + rendered verdict table gain a covered-pending count, per-path reasons, tolerance and escalation state, and whether the B1 pin was measured — every new lookup keeps the // [] / // "-" default discipline.
  • Anti-vacuity step gains a positive has("pending_floor_extension") assertion plus a four-field shape check.
  • Updated two pre-existing test_review_lane_caller.py assertions that named the old shape literally (candidate_floor_drift → evaluate_floor_completeness); added test_the_base_checkout_carries_the_history_the_pin_window_needs.

Verified locally (not CI — a pre-merge check, not the archive-gate evidence tasks 5.2/5.3 reserve for a real run) against four hand-constructed scenarios run through the extracted step-8 script with the pinned core on disk: a clean tree (floor_complete); an added off-floor spec path (pending_floor_extension, tolerance 3, pin correctly NOT measured — the live pin 3afd8a8c is not an ancestor of this branch's origin/main, exactly the defect the proposal documents); a removed floored path (floor_drift_caused_by_candidate, unchanged); and both in one candidate (floor_drift_caused_by_candidate still wins, ok: false, while the graced addition is still reported separately under its own stage — task 3.6).

Test counts

  • tests/review_lane_pin (both files): without pinned core — 73 passed, 2 skipped, 22 subtests; with PINNED_CORE_CHECKOUT at codexFactory e57643a7 — 75 passed, 43 subtests.
  • tests/sequenced_after -q: 162 passed.
  • tests/doc-health -k "pin or sentinel or floor": 181 passed.
  • tests/doc-health/test_workflow_contract.py: 18 passed, unaffected.
  • Full python3 -m pytest tests/ -q -m "not postgres" (~9,600 selected): run locally in the background; will report the final count. It surfaces roughly 50 errors in tests/clearing/ that reproduce IDENTICALLY on an unmodified origin/main checkout (verified via git worktree at d0a5f396) — a pre-existing local pytest/environment issue unrelated to this packet's files. pytest-suite in CI is the authoritative judge.

Validators

  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 92 passed, 0 failed (unchanged from pre-realization).
  • python3 scripts/proposal-support.py . verify: proposal support verification ok.
  • python3 scripts/validate-sequenced-after.py .: sequenced_after validation passed (33 active changes, 2 declaring the field).
  • python3 scripts/validate-sequenced-after.py . --ledger-diff: per-change sweep ledger consistent with the corpus (170 rows) — no row moves.

tasks.md

Ticked: 1.1–1.5 (pin advance), 2.1–2.8 (required lane), 3.1–3.6 (advisory lane), 5.4 (vector replay green on this head) — each with an evidence line naming the commit/test. Not ticked, deliberately: 4.1–4.3 (the first LANDED floor regeneration is a separate codexFactory act), 5.1 (the full pytest-suite green is CI's own required check, not yet observed on this head — subset evidence recorded instead), 5.2–5.3 (the pending_floor_extension outcome and a real promoting PR observed NOT RED are reserved for a real run, not this PR's local verification), 6.1–6.3 (the owner's own acts — ratification already happened but this heading is explicitly "not an agent's").

CI

merge-master-approval runs under pull_request_target at the BASE's pin (76fa501c, the OLD core) — it will judge this PR with the old core and cannot exercise this PR's own step-8 changes; pytest-suite (~22 min) is the check that judges the head, including the new mirror and vector replay. Will report both with run ids once green.

@codex review requested once; Copilot review requested. Not merging — reporting back for review.

Refs #675

Co-Authored-By: Claude Fable 5.1 [email protected]

brettheap and others added 4 commits September 5, 2026 12:19
…dition grace

Lane: openxfactory-2 (openXfactory-2)

Realization Commit A of `mirror-floor-addition-grace` (tasks.md task 1): the
five-site lockstep advance the mirror in Commits B/C depends on, per
requirement 6 ("the mirror is inert until the pin carries the rule, and the
pin moves as one act").

codexFactory `origin/main` re-measured at realization time (task 1.1's own
instruction, not the packet's dispatch-time value): it had moved past
`712fc8ca` (PR #206, merge, realizing the ratified `add-floor-addition-grace`)
to `e57643a7` (PR #208 merge) by way of one intervening PR (#207, a vendored
`uv.lock` only). `git merge-base --is-ancestor 712fc8ca e57643a7` holds, and
the floor document at `e57643a7` is byte-identical to the document at
`712fc8ca` and at `467cec42` (sha256 `0eba8e58…7ba4be`, 15402 bytes) — PR #207
and #208 touch unrelated `exercise-gate-footing` files only, never
`repository_floor_drift.py`, `specs_floor_block.py`, the floor document, or
the vectors fixture.

This is the FIRST advance in this pin's history whose floor grew by ZERO
paths: the generated block is unchanged (`generated_at` stays `3afd8a8c`,
`entry_count` stays 59, floor total stays 67); the object of this advance is
the addition-grace mechanism the core shipped alongside it — one new
hand-authored field, `floor.pending_floor_extension_tolerance: 3`, outside the
generated block — not a spec promotion. `floor_snapshot.sha256` moves
(`c4a386db…` -> `0eba8e58…`) because it hashes the whole document;
`floor_snapshot.entry_count` does not (67 -> 67).

Five sites, one commit: `contracts/review-lane-pin.yaml` `core_commit`;
`.github/workflows/merge-master-approval.yml` `PINNED_CORE_COMMIT` and its
core checkout `ref:`; `.github/workflows/pytest-suite.yml`'s core checkout
`ref:`; and `contracts/review-lane-floor-snapshot.yaml`, re-copied byte for
byte from codexFactory `e57643a7` (not hand-edited) and gated by `cmp` against
a codexFactory clone before this commit. `pytest tests/review_lane_pin` is
green both without the core on disk (55 passed, 1 skipped) and with
`PINNED_CORE_CHECKOUT` pointed at a codexFactory checkout of `e57643a7` (56
passed, freshness verifier runs and passes). The 40-hex guard holds: exactly
one `\b[0-9a-f]{40}\b` token in `contracts/review-lane-pin.yaml`
(`core_commit` itself).

`pinned_members` gains two new entries this advance makes load-bearing:
`scripts/merge_master/specs_floor_block.py` (`paths_added_after_pin` /
`pin_window_for_document`, B1's measurement) and
`tests/merge-master/fixtures/floor-addition-grace/` (the replayable vectors
the required lane's mirror is falsified against, Commit B). Neither is a pin
site; both are read out of the pinned tree and are named here so a future
re-point ceremony knows they are now consumed.

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…e assertion

Lane: openxfactory-2 (openXfactory-2)

Realization Commit B of `mirror-floor-addition-grace` (tasks.md task 2). The
required coverage assertion (LQ-A7,
`test_every_tracked_openspec_spec_path_is_on_the_floor`) and its two negative
controls now classify an off-floor tracked path exactly as the pinned core's
`evaluate_floor_completeness` does: covered-pending when the candidate's own
diff creates it, or when it landed on the base branch after the snapshot's
declared `generated_at` (B1); uncovered otherwise; no grace when the base or
the pin is unmeasurable (fail-safe, the default).

Authoring decision A, as ratified: the assertion RE-IMPLEMENTS the rule from
git alone (`resolve_base_branch`, `created_since_merge_base`, `pin_window`,
`graced_uncovered`) rather than importing the pinned core — the core checkout
carries `continue-on-error: true` by design, so an importing required
assertion could only skip on an outage (a CSC-F16 silent-false-green) or fail
for a cause no candidate can fix. It is FALSIFIED instead, by a new
`TheVectorReplay` class that replays the pinned core's own 16 accepted and 5
refused vectors (`tests/merge-master/fixtures/floor-addition-grace/
vectors.json`), read from the checkout, comparing `tracked_under_prefix`,
`uncovered` and `pending` — the facts this mirror actually computes; `stage`/
`escalated`/drift are the advisory lane's concern (Commit C), not this one's.

`test_the_unmutated_surface_is_a_positive_first` and
`test_a_fabricated_off_floor_spec_path_is_refused` move onto the graced
expression, keeping their meaning; the fabricated path is created by no diff
and lies in no window, so it stays refused — asserted explicitly, so the
grace cannot be misread as "additions are free" (decision E). A new
`TheGraceItself` class adds the negative controls the grace itself needs: a
created path is pending; a modification/copy/rename/removal are not,
including real disposable-git-repository tests proving the actual
`git diff --diff-filter=A` / `git log --diff-filter=A` invocations exclude
each; an unmeasurable base or an unmeasurable/non-ancestor pin grants nothing
from that half alone, without disabling the other half's independent grace.

The vector replay's skip is watched BY NAME in `pytest-suite.yml`
(`VECTOR_REPLAY_CLASSNAME`/`VECTOR_REPLAY_TESTNAME`), same discipline as the
freshness verifier's, with `EXPECT_SKIPPED` moving 21 -> 22 and a new
`test_the_required_suite_watches_the_vector_replay_by_name` asserting the pair
against the live class/method objects. The JUnit-parsing python is factored
into one `named_verdict()` helper called for both watched pairs, rather than
duplicated.

`pytest tests/review_lane_pin` is green both without the pinned core (72
passed, 2 skipped, 22 subtests) and with `PINNED_CORE_CHECKOUT` pointed at a
codexFactory checkout of `e57643a7` (74 passed, 43 subtests — the vector
replay's 21 subtests plus the negative-control subtests, all exercised rather
than skipped).

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…step 8

Lane: openxfactory-2 (openXfactory-2)

Realization Commit C of `mirror-floor-addition-grace` (tasks.md task 3).
`.github/workflows/merge-master-approval.yml` step 8 now imports the pinned
core's `evaluate_floor_completeness` and `pin_window_for_document` directly
(authoring decision A: the advisory lane already refuses to run at all when
the pinned core is unreadable, so it has nothing to lose by importing and
everything to lose by keeping a second copy of the classification) and
DELETES both the hand-rolled `sorted(set(tracked) - set(floor.
never_clearable_paths))` completeness set difference and the separate,
conditional `candidate_floor_drift` call: both partitions
(`caused_by_candidate`/`already_unreachable` and `uncovered`/`pending`) now
come from ONE call over the SAME post-merge facts, superseding two callers of
the pinned core's own `_drift_between` with one. `refusals[0].stage` keeps its
documented order (drift, then already-unreachable, then completeness, with
`pending_floor_extension` reported only when nothing refuses) because that
order is the core's own `FloorCompleteness.refusals()`, not re-derived here.

Requirement 5 / decision C: step 3's base checkout ("Checkout base (this
repository)") now carries `fetch-depth: 0` — measured cost 2,025 commits /
29.6 MiB on this branch, 2026-09-05 — because B1's window
(`generated_at..origin/main`) is unmeasurable on the shallow checkout this
step had before, which would fail-safe the pin-relative grace off on every
run of this lane while it worked in the required lane (`pytest-suite`,
already full history). The targeted-fetch alternative is recorded as cheaper
but strictly more fragile (a depth sufficient today silently fails into the
fail-safe as the pin ages).

Task 3.4: the jq report and the rendered advisory-verdict table both gain a
covered-pending count, per-path reasons, the escalation state and whether B1's
pin was measured; every new lookup keeps the `// []` / `// "-"` default
discipline the early refusal stages need. Task 3.5: the anti-vacuity step
gains a POSITIVE assertion that the addition-grace computation produced a
result (`has("pending_floor_extension")` plus its own four-field shape), same
form as the existing three (b′) guards.

Verified against three real, hand-constructed scenarios run through the
extracted step-8 script with the pinned core on disk (not CI — a local
pre-merge check, not the archive-gate evidence tasks 5.2/5.3 require of a real
run): a clean tree (`floor_complete`); a candidate that adds an off-floor spec
path (`pending_floor_extension`, path named, tolerance 3, pin correctly NOT
measured — `3afd8a8c` is not an ancestor of this branch's `origin/main`,
exactly the live-pin defect the packet's own proposal documents); and a
candidate that removes a floored path (`floor_drift_caused_by_candidate`,
unchanged from before this commit).

Updates two pre-existing `test_review_lane_caller.py` assertions that named
the old shape by literal string: `test_the_caller_calls_the_three_amended_core
_functions` now names `evaluate_floor_completeness` in place of
`candidate_floor_drift` (still exercised — the SAME underlying function, one
call rather than two); `test_the_caller_asserts_the_floors_completeness`
(renamed `..._and_grace`) gains assertions for `pin_window_for_document` and
`pending_floor_extension`; a new
`test_the_base_checkout_carries_the_history_the_pin_window_needs` asserts
`fetch-depth: 0` on the named checkout step. `pytest tests/review_lane_pin` is
green both without the pinned core (73 passed, 2 skipped, 22 subtests) and
with `PINNED_CORE_CHECKOUT` pointed at a codexFactory checkout of `e57643a7`
(75 passed, 43 subtests). `tests/doc-health/test_workflow_contract.py` (18
tests) is unaffected.

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-2 (openXfactory-2)

Ticks 1.1-1.5 (the pin advance), 2.1-2.8 (the required lane's mirror and
vector replay) and 3.1-3.6 (the advisory lane's import and reporting), each
with an evidence line naming the commit and the measured test counts; ticks
5.4 (the vector replay green on this head, against the pinned core). Does
NOT tick 4.1-4.3 (the first landed floor regeneration is a separate,
later codexFactory act), 5.1 (the full `pytest-suite` green is CI's own
required check, not yet observed on this head), 5.2-5.3 (the
`pending_floor_extension` outcome and a real promoting pull request observed
NOT RED are reserved for a real run, which this PR's local verification is
not), or 6.1-6.3 (the owner's own acts, per that section's own heading).

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 5, 2026 16:44

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The pytest-suite.yml update bumps EXPECT_SKIPPED even though the newly added vector replay is required to pass on healthy runs (so the normal-run skip pin is likely incorrect and may break the required check).

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

Pull request overview

This PR realizes the mirror-floor-addition-grace change by advancing the pinned codexFactory core commit and aligning both openxFactory “floor lanes” (the required pytest-suite assertion and the advisory merge-master-approval workflow) with the core’s new “addition grace” completeness rule.

Changes:

  • Re-pin the codexFactory decision core across the five lockstep sites and update the vendored floor snapshot metadata.
  • Update the required lane (tests/review_lane_pin/test_floor_snapshot.py + pytest-suite.yml) to mirror the grace rule locally and falsify it by replaying the pinned core’s exported vector fixture.
  • Update the advisory lane (merge-master-approval.yml step 8) to import and use evaluate_floor_completeness + pin_window_for_document, and surface pending_floor_extension in reporting and anti-vacuity checks.
File summaries
File Description
tests/review_lane_pin/test_review_lane_caller.py Updates caller-text assertions to reflect the new single-call completeness+attribution wiring and enforces base checkout history requirements.
tests/review_lane_pin/test_floor_snapshot.py Adds the mirrored grace rule, git-based measurements, negative controls, and vector replay falsifier for the required lane.
openspec/changes/mirror-floor-addition-grace/tasks.md Marks realization tasks complete and records supporting evidence.
contracts/review-lane-pin.yaml Advances the pinned codexFactory commit and updates pin history/prose to document the grace-focused advance.
contracts/review-lane-floor-snapshot.yaml Adds pending_floor_extension_tolerance and explanatory commentary alongside the existing floor declaration.
.github/workflows/pytest-suite.yml Re-pins codexFactory checkout, adds named-verdict enforcement for the new vector replay, and updates skip/verification wiring.
.github/workflows/merge-master-approval.yml Re-pins codexFactory checkout, sets base checkout fetch-depth: 0, and replaces hand-rolled completeness/drift logic with core imports and richer reporting.
Review details
  • Files reviewed: 7/7 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.

Comment thread .github/workflows/pytest-suite.yml Resolved
Lane: openxfactory-2 (openXfactory-2)

`pytest-suite` reds on PR #686's first push (run 33978773175): "skipped 21,
pinned exactly 22", with BOTH named verdicts (freshness verifier, vector
replay) reporting `passed`, not skipped. Commit f6185a1 moved
`EXPECT_SKIPPED` 21 -> 22 on tasks.md task 2.7's literal instruction, on the
assumption that the new vector-replay test always contributes a skip. It does
not: on the normal path (pinned core present, the common case in CI) it RUNS
and PASSES, exactly like `TheFreshnessVerifier` beside it — the two share the
same `locate_pinned_core()` guard and only skip TOGETHER, on a core-checkout
failure, which would report 23 (not 22). The happy-path aggregate is
therefore unchanged at 21, and pinning it at 22 reds every normal run.

Reverts `EXPECT_SKIPPED` to `"21"` with a corrected comment; fixes the two
`test_floor_snapshot.py` docstrings that repeated the wrong assumption
(`test_the_required_suite_watches_the_vector_replay_by_name` and
`TheFreshnessVerifier`'s own class docstring); corrects tasks.md's 2.7
evidence line to record the deviation from that task's own prose, with the
CI run that caught it.

`pytest tests/review_lane_pin -q`: 73 passed, 2 skipped, 22 subtests
(unchanged in shape — the fix is a comment and one string literal, not a
test-count change).

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 5, 2026 17:06
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)

pytest-suite reddened the first push (run 33978773175): "skipped 21, pinned exactly 22", with both named verdicts (TheFreshnessVerifier, TheVectorReplay) reporting passed. That's CI proving f6185a11's EXPECT_SKIPPED bump wrong: I moved it 21 → 22 on tasks.md task 2.7's literal instruction, assuming the new vector-replay test always contributes a skip. It does not — on the normal path (pinned core present) it runs and passes, exactly like the freshness verifier beside it; the two share locate_pinned_core() and only skip together on a core-checkout failure (which would report 23, not 22). Fixed in 8e3910d9: EXPECT_SKIPPED reverted to "21", with corrected commentary and a corrected tasks.md evidence line recording the deviation from that task's own prose plus the CI run that caught it. pytest tests/review_lane_pin -q unaffected in shape (73 passed, 2 skipped, 22 subtests).

New CI run in progress on 8e3910d9.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

It changes core governance pinning plus both required/advisory CI lane semantics (including required-check enforcement logic), so it warrants final human review despite no specific defects found in the diff.

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

…odule gap

Lane: openxfactory-2 (openXfactory-2)

`pytest-suite` passed on CI at head `8e3910d9` (run 33979893935, 22m21s):
selected=9725 passed=9704 skipped=21 failures=0 errors=0, both named verdicts
passed. Ticks task 5.1 with that evidence alongside the already-measured
subset results.

Also records what the ~95 failures / ~50 errors in the FIRST local full-suite
run (noted but not yet explained in the prior commit) turned out to be: this
clone never ran `git submodule update --init openXwallet`, and every one of
them sat in `tests/trust-anchor/`, `tests/openxwallet_pin/`,
`tests/clearing/`, or was the flat-checkout case pytest-suite.yml's own
header already documents (`test_find_validator_locates_pinned_checkout`).
Initializing the submodule and re-running each affected subtree cleanly
(311 passed, 203 passed) confirms this was a local setup gap, not a defect
this PR introduces — CI's own "Init the openXwallet gitlink only" step does
this already, which is why the CI run above needed no such correction.

Refs #675

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 5, 2026 17:30
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)

LANDING — lane openXfactory-2, session a34624b3-b571-4d44-826f-899a7e7bed0a, 2026-09-05T17:30Z, PR #686 into openxFactory main

MERGING THE REALIZATION on Brett Heap's word of 2026-09-05 ~16:1xZ, in session, verbatim "merge the realization when green, then do the regeneration", realizing the packet he ratified ("ratify the companion when green, then realize it"). Final head 8e3910d9.

What lands: the five-site pin advance 76fa501c → codexFactory e57643a7 (the floor's bytes carry the D-3 field and header prose; entry_count 67 → 67 — the first advance whose floor grew by zero paths; sha256 c4a386db… → 0eba8e58…); the required LQ-A7 assertion mirrors the core's completeness rule locally from git alone (a candidate-created path or a path added to main after the block's generated_at is covered-pending; removals, renames and copies never; both halves fail-safe to no grace; the fabricated-off-floor negative control still refuses) and replays the pinned core's vectors, skip watched by name; the advisory lane's step 8 imports evaluate_floor_completeness / pin_window_for_document from the pinned core and its base checkout carries fetch-depth: 0.

Evidence on 8e3910d9: pytest-suite run 33979893935 — skipped==21, both named verdicts present, floors selected≥7090 (margin 2635) / passed≥7070 (margin 2634); all other checks green; one Copilot thread (the EXPECT_SKIPPED 22→21 correction) fixed and resolved with the run's own numbers; Codex quota-refused ×2 (no verdict). Test merge onto main (543c1982) in a separate clone: clean; openspec validate --all --strict 92 / 0; ledger consistent (170 rows); tests/sequenced_after 162 passed; tests/review_lane_pin green on the merged tree without the core on disk.

Disclosed, not a defect of this PR: merge-master-approval runs under pull_request_target, so on this PR it judged with the BASE's pin (76fa501c) and the OLD step 8 definition. The new step 8 and the new core are first exercised for real on the next pull request after this lands — that observation is the packet's task 5.2, deliberately left open here.

Merge = squash with --admin (the flag satisfies only the review-count rule). No other landing window is open. LANDED follows with the squash sha; the regeneration (claimed on codexFactory #203) follows on the same word.

@brettheap
brettheap merged commit f6724f0 into main Sep 5, 2026
10 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)

LANDED — lane openXfactory-2, 2026-09-05T17:31Z, PR #686 → f6724f0416920ac096194c1aa3cd7ae9e094de8b

Squash f6724f04, openxFactory main. The landing window is closed. The grace is now in force in BOTH openxFactory lanes at pin e57643a7. Next: the first post-grace regeneration at this landed commit (codexFactory, claimed on #203), then the re-pin it forces (claimed on #675).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

It changes pinned decision-core wiring and both required/advisory governance gates, so it warrants final human verification of workflow behavior and cross-repo pin assumptions.

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

brettheap added a commit that referenced this pull request Sep 5, 2026
…nd collision)

Main landed again between the first collision merge and the landing wake (#685
archived amend-published-tip-unreadable-scenario and moved its README entry and
ledger row; #686 realized mirror-floor-addition-grace), and the README
records-block entry collided once more. Same resolution: every entry kept, this
change's first. Nothing else conflicted; the ledger and pin suites pass on the
merged tree.

Lane: openxfactory-3 (openXfactory-3)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01L8z77hdwYFusQM7rRCP6uj
brettheap added a commit that referenced this pull request Sep 5, 2026
…ANDED commit (3afd8a8 retired; 67 -> 67) (#689)

Lane: openxfactory-2 (openXfactory-2)
Refs #675

`mirror-floor-addition-grace` tasks 4.1-4.3: the regeneration the packet's
own realization made possible, requested at a LANDED openxFactory commit
rather than at any pull request's own unlanded head, per task 4.1's own
instruction ("the first repair that does not block the pull request that
caused it").

FIVE SITES, advanced e57643a7 -> 67a6ffc9 in this one commit:
`contracts/review-lane-pin.yaml` `core_commit`;
`.github/workflows/merge-master-approval.yml` `PINNED_CORE_COMMIT` and its
core checkout `ref:`; `.github/workflows/pytest-suite.yml`'s core checkout
`ref:`; `contracts/review-lane-floor-snapshot.yaml` (re-copied byte for byte,
never hand-edited).

WITNESS. codexFactory PR #212 (MERGE COMMIT `67a6ffc9`, merged
2026-09-05T18:08:23Z) regenerated
`scripts/merge_master/openxfactory-review-authority-floor.yaml` at
openxFactory `f6724f04` — the merge commit of PR #686, this repository's own
`mirror-floor-addition-grace` realization, and reachable from openxFactory
`main` (`git merge-base --is-ancestor f6724f0 origin/main` holds on THIS
repository's tree, re-measured before this commit). The resulting document:
sha256 `18389a3d…3521a8`, 15402 bytes, blob `fdcd9f7e…5b5a8` — vendored here
byte for byte, `cmp`-identical to `git show 67a6ffc9:scripts/merge_master/
openxfactory-review-authority-floor.yaml`.

THE FLOOR CHANGED BY TWO HEADER LINES. `git diff e57643a7 67a6ffc9 --
scripts/merge_master/openxfactory-review-authority-floor.yaml` in the pinned
core is exactly the generated block's `generated_at` and `--ref` lines
(`3afd8a8c` -> `f6724f04`) and nothing else: `entry_count` stays 59, the
floor's `never_clearable_paths` total stays 67 — the SECOND advance in this
pin's history whose floor grew by zero paths, and this time deliberately: no
`openspec/specs` path exists at `f6724f04` that did not already exist at
`3afd8a8c`.

THIS IS THE ADVANCE THAT RETIRES THE NON-ANCESTOR PIN. `3afd8a8c` was
measured 2026-09-05 (this same packet's task 4.3) as NOT an ancestor of
openxFactory `main`. `f6724f04` IS an ancestor of it. That is the whole
operational content of this advance: `specs_floor_block.
pin_window_for_document` fail-safes to `None` ("not measured") whenever the
declared `generated_at` will not resolve as an ancestor of the base branch
being measured, so the addition grace's B1 pending-extension window could
only ever report `pin_measured: false` on this repository's own `main`
against the eighth advance's `3afd8a8c`. Against `f6724f04` the window is
MEASURABLE for the first time — the addition-grace mechanism the eighth
advance (`e57643a7`) made operative finally has a resolvable pin to measure
from.

NO COLLISION MEASURED. openxFactory PR #687 (`change/repoint-pytest-suite-
at-pin`, a separate lane) also edits `.github/workflows/pytest-suite.yml`,
still OPEN at this commit (`gh pr view 687 --json state,mergeCommit` ->
`OPEN`, no merge commit). Its diff touches only the header comment above the
OpenSpec-CLI install step and the `actions/setup-node` block that follows it
(originally lines ~190-215 and ~393-420); this commit's only change to that
file is the codexFactory core checkout's `ref:` at line 372, a separate step
entirely — no line this commit touches is a line #687 touches, measured by
reading both diffs rather than assumed from file identity alone.

LOCKSTEP RE-MEASURED ON xFactory `main`: unchanged in kind, carried forward
undischarged against the same floor size as before (see this commit's own
addition to `contracts/review-lane-pin.yaml`'s `lockstep.reason`).

VALIDATED. `pytest tests/review_lane_pin -q`: 73 passed / 2 skipped / 22
subtests (no core on disk, matching the prior advance's shape) and 75 passed
/ 0 skipped / 43 subtests with `PINNED_CORE_CHECKOUT` at a codexFactory
checkout of `67a6ffc9`. `OPENSPEC_TELEMETRY=0 openspec validate --all
--strict`: 93 passed / 0 failed. `validate-sequenced-after.py .` and
`--ledger-diff`: consistent with the corpus (172 rows), no row moves. All
four touched YAML files re-parse. `git diff --stat` against origin/main is
exactly the five sites plus `tasks.md`.

Packet boxes ticked in `openspec/changes/mirror-floor-addition-grace/
tasks.md`: 4.1 (the regeneration, cxF #212 -> 67a6ffc9, landed at f6724f0,
the negative control's refusal observed), 4.2 (this advance), 4.3 (the
non-ancestor retirement, measured), 6.1 and 6.2 (Brett Heap's ratification,
verbatim "ratify the companion when green, then realize it", applied at head
ce9a81e, recorded in review/ratification-2026-09-05.md; decisions A-F stand
as recommended). 5.2, 5.3 and 6.3 remain open — they are evidence from a REAL
advisory/required run and a codexFactory-owned value, not this commit's to
claim.

Do NOT merge on this commit alone: STEP (2) of the two-repository act,
opened for review.

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…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]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…6724f0), pinned at a landed regeneration (#689) — the first promotion judged under the grace (#699)

* Archive mirror-floor-addition-grace: ratified (#676), realized (#686 f6724f0), 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]>

* Seed the per-change sweep ledger row for this archive: mirror-floor-addition-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]>

* The live test found the controls: negative controls measure their grace 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]>

---------

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants