Skip to content

Carve floor: the retired: row form (RULED 5656343213) — grammar, three tools, tests, runbook § 5.8 - #1032

Merged
brettheap merged 18 commits into
mainfrom
chore/carve-floor-retired-row-form
Sep 16, 2026
Merged

brettheap merged 18 commits into
mainfrom
chore/carve-floor-retired-row-form

Conversation

@brettheap

@brettheap brettheap commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Refs #656 (stays OPEN). RULED 5656343213 — Brett Heap, 2026-09-13, by interactive multi-choice, on the question slice S8's author put in #656 comment 5650335573 § 2. CLAIM: #656 comment 5656690570. Precedent: PR #1011 (re_destined:, RULED Q6) → 880c821c.

What this is

The FOURTH grammar extension to the carve manifest and the SECOND about PLACEMENT. Q6 moves an arrival BETWEEN two legs; what slice S8 measured has no leg to move it to. Three suites arrived at their legs driving views/intent-feed.js — RULED OQ-F not_moved, so it stayed at openxFactory and arrived at NEITHER leg — and slice S2 replaced the surface openDox does have with views/intent-binding.js. The suites test a surface that is not there.

re_destined: cannot say so: to is held to the closed destinations: keys, openxFactory is the SOURCE and not one of them, and re_destined: on a not_moved row refuses carve-re-destined-not-moved. Deleting the arrived file with no form at all is the one thing this floor exists to refuse — a file at no leg, in a row that says it arrived there, is RULING OQ-1's UNDECLARED MOVEMENT read backwards.

    retired:
      at: opendox_code                        # the row's EFFECTIVE arrival
      at_path: tests/test_intent_tray_dom.py  # destination_path, or re_destined.to_path
      ruling: "`#656` comment 5656343213"
      surface: scripts/ideation_dashboard/web/views/intent-feed.js
      note: "..."                             # the one optional key

ZERO ROWS USE THE FORM HERE

Deliberately, and it is pinned by a test. RULED Q6 landed at #1011 with the grammar, the gates and no re-destined row; its first use (slice S5's four rows) came later, under its own claim and its own pull request. The three intent-feed suites arrive the same way, stacked on this. test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere asserts the landed manifest's retired count is 0 and fails the day a row carries the block, so whoever lands the first use has to come back and record which act did it — exactly as …_the_q6_form_and_the_four_rows_s5_re_destines records S5's four.

The three tools

scripts/validate-carve-manifest.py — RETIRED_KEYS closed to five, four required. Three own codes, on Q6's reasoning that a caller branching on the code must be told WHICH form it is reading (the remedies differ: a re-destination is amended in place, a retirement is withdrawn):

code check what it refuses
carve-retired-not-moved 1 a not_moved row retiring an arrival it never made
carve-retired-unruled 1 the citation the ruling's scope answer requires, absent
carve-retired-surface-live 6 a surface: that is a MOVED row (live at a leg) or in no row at all (this document cannot say, and "cannot say" is not "gone")

at outside destinations: falls to check 5's carve-vocabulary-unknown; at/at_path disagreeing with the row's EFFECTIVE arrival falls to check 6's carve-disposition-inconsistent — so a row re-destined by Q6 and retired afterwards must be retired at the leg the file actually reached, and the two acts compose in one order only. Check 4 stops RESERVING a retired row's arrival (that path is empty; another row may lawfully refill it, and two retired rows at one path do not collide). The summary counts retired apart from re_destined and from the dispositions, and the human line prints it unconditionally, zero included — written that way from the start because #1011's re_destined clause had to be repaired in review for suppressing its own zero state.

scripts/verify-carve-arrival.py — a seventh finding, arrival-not-retired. rows_for() drops a retired row (not asked for, not digested, not diffed) and check_retired requires retired.at_path ABSENT by lexists before the walk. That ordering is load-bearing, not cosmetic: with the row dropped, nothing else in this file would ever mention the file again — and where the retired row was the last row under a declared root, the walk does not even look there. A lawful refill (another row's effective arrival, or a --replica-at replica) is excluded from the first line of the function rather than after two review rounds, which is what check_vacated cost at #1011. The summary LISTS the retirements with surface and citation, because a re-destination's evidence can be read off the other leg and a retirement's can be read off nothing at all.

scripts/carved_reach.py — CarveRowRetired, a subclass of ShedModuleHasNoDestination so existing except clauses keep working, raised by source(), module() and shed_relpath(); sources_under() OMITS the row the way it omits deleted_at_carve. Without this the module would hand a caller a well-formed Path to a file the arrival verifier has just finished proving absent.

The three-line retired_at() predicate is duplicated across all three (none can import either of the others) and held equal by test_all_three_tools_read_the_retirement_identically, which puts the MIS-SHAPED rows in the table deliberately: this guard fails closed in the other direction from effective_arrival's — half a retirement must read as NO retirement, because reading it as one would SILENCE a leg's arrival check for that row.

Documentation

Manifest header (A FOURTH GRAMMAR EXTENSION, beside Q6's), runbook § 2 paragraph, § 2.1 findings table (six findings → seven), new runbook § 5.8 with the five-step procedure, and the README doc index for both the manifest and the runbook.

What the form cannot express

§ 5.8 says it in the document rather than only here, because the first act to use the form hits it. retired: retires a ROW, and a row is a FILE. A leg that must lose only PART of an arrived file — one replay block at the end of a suite driving a retired surface, in a file whose other tests drive live surfaces — has no retirement to declare, because the row's bytes do not stop arriving. The minimal reading, and the one this floor already has a form for, is an ORDINARY declared edit: a moved_with_declared_edit row whose edits[] names the removed lines under an existing class, verified by arrival-undeclared-edit. Widening retired: to a line range would put a second line-bearing grammar beside edits[] and give one row two readings of what its bytes are; that is a ruling's act. This is exactly the openXdox-code tests/test_staging_workbench.py case in the stacked retirement act.

Three more limits, stated so the evidence is not read wider than it is: the surface: check does not prove the arrived test was the surface's only reader, or that no other file should follow it; one destination is verified per run, so a retirement at one leg says nothing about another; and nothing at the destination reads the surface the block cites.

Eleven Copilot rounds, every finding read, every repair proven by reverting it or by tampering with the document it reads

round finding repair
2 the guard took TWO keys where a placement needs four — retired: {at, at_path} is half a block the validator refuses, and it would have silenced a required arrival at a leg that had not run the validator all four required keys are the guard; test_a_half_written_retirement_leaves_the_arrival_owed says the absence is not licensed in the meantime
3 rows_for() dropped a row on READABILITY alone while retired_rows(), keyed on retired.at deliberately, selected it only at the leg the BLOCK named — a block whose at/at_path disagreed with its own row was checked as NEITHER an arrival nor a retirement retired_arrival() asks the PLACEMENT question before the row is dropped; retired_at() itself untouched, so the three-tool equality still holds
4 a block SELECTED at a leg is not yet a block that leg has READ the two unguarded shed_relpath() call sites in doxbench_contracts.py
5 check_retired excludes a retired path a lawful refill occupies — right, and built in from its first line — but the summary reported EVERY retirement as "verified absent", including the one case where a file really IS at the retired path a RETURN VALUE, not a second reading: _retired_record gains absence: verified|refilled and refilled_by
6 three suppressed, all real: the predicate did not enforce the CLOSED key set its own docstring claimed; sources_under() omitted a not_moved row carrying a malformed retirement, disagreeing with source() and silently dropping a RETAINED file; declared_roots(rows) lost a directory whose LAST arrival was retired closed-set check in all three; the sweep tests the disposition; declared_roots(rows + retired), with placed still excluding the retired path
7 the optional note: was read as a TYPE while the grammar writes it as PROSE — _check_retired_shape refuses a PRESENT blank note and the three predicates accepted note: "", the fail-OPEN direction arriving through the one key the form makes optional all three carry the grammar's own rule, ABSENT OR PROSE; test_the_note_is_prose_or_absent_in_the_grammar_and_in_all_three_readers holds the readers to the GRAMMAR rather than only to each other
8 sync-notebooklm-books.py::_dashboard_module() calls module() and translates nothing, and fifteen of its sixteen call sites sit under no try — measured with ast; the sixteenth, the one the review named, is the one that IS inside except Exception the refusal is UNREACHABLE there (three names, all MOVED rows, none retired), and unreachable is a claim about the MANIFEST — so test_no_module_the_notebook_sync_asks_for_is_retired derives the names with ast and fails the day one is retired, naming the file and the remedy
9 retired_rows() selected on a destination KEY as a string, the last selector in the file still comparing labels — so a run naming the other spelling of one real leg skipped the retirement, and the file left behind drew arrival-undeclared-file, whose remedy is DECLARE IT, for a file a ruling ordered DELETED retired_rows resolves both sides, exactly as its Q6 sibling vacated_rows already did; two tests pin the CODE and the absence: refilled report under both spellings
10 two suppressed, both fail-OPEN: this act's seat test was written assert True; return — a sixth copy of the idiom #1030's review had just removed from five tests in this same module, arriving in an act authored beside that cleanup rather than after it, so a checkout without the manifest turned the "used nowhere" pin into a green no-op; and check_retired's lexists paragraph argued for lexists by describing exists ("a dangling symlink reads as absent"), a standing invitation to simplify the guard away the seat reads through the_landed_manifest(), where absence is a FAILURE, and the module docstring's census moves five → six; the paragraph is rewritten in the right direction — lexists answers about the ENTRY, exists about its TARGET. Both proven by tampering, the manifest restored byte-identical
11 retired_rows() "silently drops a readable retirement when retired.at is not a key of destinations:", so a document the validator refuses as carve-vocabulary-unknown could pass both leg runs ANSWERED, not fixed, on a measurement. _resolved_destination degrades an undeclared key to a 1-tuple of the key itself — never equal to a resolved 2-tuple, but equal to itself — so the row is selected at exactly the leg the block names; where the block names a placement the row does NOT make (what a typo in at actually produces) retired_arrival() returns (None, None), rows_for() keeps the row and the deleted file refuses arrival-missing; and a row whose own destination is undeclared is owed at no declared leg with or without a retired: block (measured against its own control). No run can be invoked at an undeclared leg at all — --destination refuses arrival-unreadable first — so the refusal is the document-holder's, by name, in a sentence this act wrote for it. A preflight here would make retired.at the one closed vocabulary this file re-decides, of seven it membership-tests none of

Measured and deliberately NOT swept. effective_arrival (RULED Q6, landed at #1011) reads re_destined.note not at all and does not close its key set. That is looser and deliberate, in the other direction — half a re-destination leaves the row owed at its original leg, so exactly one leg still asks for the file, where half a retirement read as one asks nowhere. Registered for a later declared act rather than moved here.

Evidence (local, at 39bb1dc1)

  • python3 scripts/validate-carve-manifest.py → OK, 456 rows at b075fd91 (opendox-carve-0), 143 moved_verbatim / 175 moved_with_declared_edit / 138 not_moved, 318 digests recomputed, 456 files none undeclared, 319 shed rows absent, 4 RE-DESTINED (Q6), 0 RETIRED (RULED 5656343213) — the zero this act is pinned to.
  • python3 scripts/verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code@0b4e8bbf> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py → OK: 119 row(s) arrived, 35 digest(s) verified, 84 declared-edit row(s) within their lines, 1 unapplied; 1 of 1 declared replica verified; 149 file(s) under src/opendox, tests with none undeclared (1 scaffold, 7 replica, 21 created); 0 re-destined HERE and 4 AWAY verified vacated; 21 declared admission(s) used. No retirement clause printed — the leg is silent at zero by design.
  • python3 -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin → 481 passed.
  • The carve aggregate is re-derived from the merged document, never transcribed: (2454, 176).

Merged forward

Merged onto main at a499061e — the pre-existing openxdox_code annotation (#1031), and behind it slice S8 (#1025) and pin lockstep #2. Three conflicts, rehearsed against #1031's branch at three successive heads before the merge and the same three every time; each resolved by RULE rather than by taking a side. README.md: main's doc-index sentence, with this branch's § 5.7/§ 5.8 clause re-inserted and the figures re-derived. scripts/validate-carve-manifest.py: main's alias-aware refusal and its _check_re_destined_consistency(where, row, destinations) third argument, then this branch's _check_retired_consistency(where, row) kept beneath it — the two are siblings, not alternatives. scripts/verify-carve-arrival.py's rows_for: both sides — this branch's retired_arrival(row)[1] is None drops a row a ruling retired before the placement question is asked, and main's _resolved_destination(...) == here decides WHICH leg is asking by resolved identity rather than by label. A row must pass both.

The submodule trap, avoided deliberately. The merge stages main's gitlinks — pin lockstep #2, openDox 3819625e and openXdox a6500141 — while this branch's working tree still held the older 7cf6c14/76df74c. The fix is git submodule update --init --recursive openDox openXdox; git add openDox openXdox would stage the stale shas and silently revert that pin. Verified afterwards with git ls-files -s.

🤖 Generated with Claude Code

Summary by Sourcery

Add and validate a ruled retirement form for moved carve rows whose destination arrivals have been deleted because their driven surfaces exist at neither destination leg.

New Features:

  • Add the retired: manifest form for recording ruled deletion of a moved file’s destination arrival, including effective placement, ruling, surface, and optional note metadata.
  • Add arrival verification for retired files and retirement-aware path handling in carve reachability utilities.

Bug Fixes:

  • Prevent retired arrivals from being silently treated as missing or undeclared files by requiring their destination paths to be absent and reporting dedicated findings.

Enhancements:

  • Add fail-closed validation for retirement shape, rulings, destinations, effective arrivals, cited surfaces, duplicate-path handling, and retirement counts.
  • Preserve source-side digest, disposition, edit, and shedding checks while excluding retired rows from destination resolution and sweeps.
  • Report retirement details in validator and arrival-verifier summaries, including the manifest’s zero-retirement state.

Documentation:

  • Document the retirement grammar, validation rules, limitations, and operating procedure in the manifest header, cutover runbook § 5.8, and README index.

Tests:

  • Add comprehensive manifest, arrival-verification, effective-arrival composition, refill, malformed-input, reporting, and carved-reach tests for the retirement form.

brettheap and others added 3 commits September 14, 2026 00:04
…+ tests unverified: the authoring actor died at the usage reset)

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…e tools, tests, runbook § 5.8

Lane: openxfactory-4

The FOURTH grammar extension and the SECOND about PLACEMENT: an optional
`retired: {at, at_path, ruling, surface, note}` on a MOVED row, saying that a
RULING has DELETED an arrival the carve made. `at`/`at_path` are the row's
EFFECTIVE arrival (so a row may be re-destined by Q6 and THEN retired),
`surface:` is held to a `not_moved` row of this manifest, `ruling:` is
REQUIRED. Zero rows use the form here, exactly as RULED Q6 landed at #1011.

validate-carve-manifest.py: three own codes — carve-retired-not-moved,
carve-retired-unruled, carve-retired-surface-live — plus the existing
vocabulary/consistency arms for `at` and for at/at_path vs the effective
arrival; check 4 stops RESERVING a retired row's arrival; the summary counts
`retired` separately and the human line prints it UNCONDITIONALLY, zero
included. verify-carve-arrival.py: rows_for() drops a retired row and
check_retired requires at_path ABSENT before the walk (arrival-not-retired),
excluding a lawful refill from the first line; the summary LISTS the
retirements with surface and citation. carved_reach.py: CarveRowRetired (a
subclass of ShedModuleHasNoDestination) from source()/module()/shed_relpath(),
omitted from sources_under().

Manifest header, runbook § 2 + § 2.1 + new § 5.8 and the README doc index
carry the form; § 5.8 also records what it CANNOT express (a PARTIAL
retirement — part of an arrived file — which is an ordinary declared edit, not
this block). 37 new tests; 303 carve-suite tests pass.

Refs #656 (stays OPEN). RULED 5656343213 — Brett Heap, 2026-09-13, by
interactive multi-choice, on the question slice S8's author put in #656
comment 5650335573 § 2. CLAIM: #656 comment 5656690570.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 14, 2026 00:28
@sourcery-ai

sourcery-ai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Reviewer's Guide

Introduces and thoroughly tests a ruled retired: grammar extension for destination-side deletion of moved file arrivals, adds validator and arrival-verifier enforcement plus runtime lookup safeguards, and documents the procedure while deliberately landing the form with zero current uses.

Sequence diagram for validating and retiring a carved arrival

sequenceDiagram
    participant Operator
    participant ManifestValidator as ManifestValidator
    participant ArrivalVerifier as ArrivalVerifier
    participant DestinationLeg as DestinationLeg

    Operator->>ManifestValidator: validate(manifest_path, repo)
    ManifestValidator->>ManifestValidator: retired_at(row)
    ManifestValidator->>ManifestValidator: _check_retired_consistency(where, row)
    ManifestValidator->>ManifestValidator: _check_retired_surfaces(doc)
    ManifestValidator-->>Operator: retired count and validation result

    Operator->>DestinationLeg: delete retired.at_path
    Operator->>ArrivalVerifier: verify(doc, destination, dest_root, source_repo, phase, ...)
    ArrivalVerifier->>ArrivalVerifier: retired_rows(doc, destination)
    ArrivalVerifier->>ArrivalVerifier: check_retired(rows, dest_root, arriving_rows, declared_replica_paths)
    alt retired.at_path still exists
        ArrivalVerifier-->>Operator: arrival-not-retired
    else path absent or lawfully refilled
        ArrivalVerifier-->>Operator: retirement verified absent
    end
Loading

Flow diagram for retired-row runtime lookup safeguards

flowchart LR
    Caller["Caller requests carved source path"] --> Lookup["source() / module() / shed_relpath()"]
    Lookup --> Retired{"retired_at(row) finds usable retirement?"}
    Retired -->|Yes| Refuse["Raise CarveRowRetired"]
    Retired -->|No| Resolve["Resolve effective arrival path"]
    Sweep["sources_under()"] --> Omit["Omit retired rows"]
    Refuse --> Parent["ShedModuleHasNoDestination handling remains compatible"]
Loading

File-Level Changes

Change Details Files
Adds the ruled retired: placement form to carve manifests without changing source-side carve facts or dispositions.
  • Defines a closed five-key retirement block on moved rows, requiring effective arrival, ruling citation, and a not_moved surface reference.
  • Validates moved-row scope, ruling presence, destination vocabulary, effective-arrival consistency, and surface eligibility with dedicated refusal codes.
  • Tracks retired rows separately in JSON and unconditional human manifest summaries, while allowing retired arrivals to be refilled without duplicate-path conflicts.
docs/opendox-carve-manifest.yaml
scripts/validate-carve-manifest.py
README.md
Enforces destination-side absence for retired arrivals with a dedicated arrival finding and preserves lawful refill behavior.
  • Excludes retired rows from normal arrival, digest, edit, root, and walk accounting, then checks their at_path with lexists before walking the destination.
  • Adds arrival-not-retired, retirement records in JSON, and leg output when retirements are verified absent.
  • Supports effective-arrival composition with re_destined, declared replicas, and other rows legitimately occupying the vacated path.
scripts/verify-carve-arrival.py
tests/carve_arrival/test_verify_carve_arrival.py
Prevents runtime consumers from resolving files that a ruling retired while retaining compatibility with existing no-destination handling.
  • Adds CarveRowRetired as a ShedModuleHasNoDestination subclass.
  • Makes named lookups raise for retired rows and omits them from source sweeps.
  • Keeps the retirement predicate aligned across all three tools through cross-tool tests.
scripts/carved_reach.py
tests/carve_arrival/test_verify_carve_arrival.py
tests/carve_manifest/test_carve_manifest.py
Documents the retirement procedure, its governance boundaries, and the fact that this landing intentionally has no retired manifest rows.
  • Adds runbook § 5.8 with the ruling, manifest amendment, validation, deletion, and destination verification workflow.
  • Documents limitations including whole-file scope, one-destination verification, and no claim that the cited surface has no other readers.
  • Adds regression coverage for malformed forms, effective-arrival composition, absence/refill cases, tool behavior, zero counts, and the landed manifest's zero retirement count.
docs/opendox-cutover-runbook.md
README.md
tests/carve_manifest/test_carve_manifest.py

Tips and commands

Interacting with Sourcery

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

Customizing Your Experience

Access your dashboard to:

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

Getting Help

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

Unresolved moderate findings remain in retirement validation and reachability handling.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR adds the ruled retired: carve-manifest form, destination verification, reachability handling, tests, and documentation.

Changes:

  • Adds retirement grammar, validation, reporting, and arrival checks.
  • Adds CarveRowRetired handling and comprehensive tests.
  • Documents the form and operating procedure.
File summaries
File Summary
tests/carve_manifest/test_carve_manifest.py Adds retirement manifest and validation tests.
tests/carve_arrival/test_verify_carve_arrival.py Adds retirement, refill, and arrival-verification tests.
scripts/verify-carve-arrival.py Verifies retired paths are absent. Nit (1 vote): clarify replica scope in refusal text.
scripts/validate-carve-manifest.py Validates retirement metadata. Moderate (3 votes): exclude replicated rows from the surface check. Nit (1 vote): correct the refusal count.
scripts/carved_reach.py Adds retirement-aware resolution. Moderate (1 vote): guard exact-commit resolution; Moderate (1 vote): translate the new exception in callers; Nit (1 vote): clarify replica scope.
README.md Updates documentation indexes.
docs/opendox-cutover-runbook.md Adds the retirement procedure. Nit (1 vote): clarify that retired rows are not digest- or diff-checked.
docs/opendox-carve-manifest.yaml Documents the retirement grammar.
Review details

Suppressed comments (6)

docs/opendox-cutover-runbook.md:180

  • These lines say the arrival verifier continues digest and declared-line checks for a retired row, but rows_for() explicitly removes retired rows before check_arrivals and phase-B diffing (scripts/verify-carve-arrival.py:1148-1152). The remaining guarantees are the manifest validator's source-side metadata checks and this verifier's retirement-path absence check; please state that instead so operators do not expect a deleted file to be diffed.
moves — a retirement is a fact about a DESTINATION, so the digest passes, the
declared lines and the whole source side go on asking of a retired row exactly

scripts/carved_reach.py:830

  • The new retirement handling only filters sources_under(), but shed_commit_object() is another exact-commit resolver and still returns (repo, commit, row["destination_path"]) for a retired row. scripts/doc_health/release_inventory.py calls that API, so a retired release member bypasses CarveRowRetired and remains advertised at a path the arrival verifier requires absent. Apply the retirement guard to that resolver as well and cover the exact-commit path.
        if retired_at(row)[1] is not None:
            continue

scripts/carved_reach.py:564

  • This exception message says the file is at no destination now, but a moved row may also declare also_replicated_to copies that still exist at other legs. source() is refusing the retired primary arrival, not proving that no replica exists; clarify the scope so callers are not told something the manifest explicitly allows.
            "what the manifest is for — but the file is at NO destination "
            "now, and a path computed from the row would name a file the "
            "arrival verifier has just finished proving absent. Ask for "

scripts/carved_reach.py:565

  • Because shed_destination() delegates to source(), this new CarveRowRetired also propagates into callers such as scripts/validate-manifest-digests.py and the Hermes schema/release resolvers. Those callers only catch ImportError around the optional import, not around the resolver call, so retiring a moved path they inspect produces an uncaught traceback instead of their normal validation error. Update those call sites to translate this exception (or define a resolver result they already handle) before allowing the form on arbitrary moved rows.
    at, at_path = retired_at(row)
    if at_path is not None:
        retired = row["retired"]
        raise CarveRowRetired(
            f"{key} was RETIRED at {at}:{at_path} by ruling "
            f"{retired.get('ruling')!r} (RULED 5656343213), because the "
            f"surface it drove ({retired.get('surface')!r}) arrived at no "
            "leg. The row still records the move the carve made — that is "
            "what the manifest is for — but the file is at NO destination "
            "now, and a path computed from the row would name a file the "
            "arrival verifier has just finished proving absent. Ask for "
            "whatever replaced the surface, or for nothing.")

scripts/validate-carve-manifest.py:319

  • This heading says “FOUR REFUSALS”, but the paragraph enumerates five retirement-related failure modes: carve-retired-not-moved, carve-retired-unruled, unknown at, inconsistent effective arrival, and carve-retired-surface-live. The count should match the gates described below.
  THE FOUR REFUSALS, AND WHICH CHECK OWNS EACH. `retired:` on a `not_moved`

scripts/verify-carve-arrival.py:1549

  • This refusal text says the bytes went to no other leg, but a moved row may also carry also_replicated_to copies that remain at other destinations and are governed separately. The retirement only deletes the primary arrival at retired.at_path; distinguish that from replicas so the operator message does not contradict the verifier's documented scope.
            "a DELETION: unlike a re-destination there is no other leg the "
            "bytes went to, so a file left here is an arrival the floor no "
            "longer stands behind and no row declares. Delete it in the "
  • Files reviewed: 8/8 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 scripts/validate-carve-manifest.py Resolved
brettheap and others added 2 commits September 14, 2026 05:00
…ired-row-form

Lane: openxfactory-4

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…e check, and five readings the form got wrong

Lane: openxfactory-4

The POSTED thread, accepted and fixed. `_check_retired_surfaces` tested
`disposition == "not_moved"` and nothing else, so a surface cited against a
`replicated_at_destination` row satisfied `carve-retired-surface-live` — and
that is the ONE `not_moved` reason that does not mean ABSENT AT THE LEGS.
RULED OQ-C makes a replica a file every destination places its own copy of,
`verify-carve-arrival.py` admits those copies with `--replica-at`, and RULED
Q-L7 (a) even lets the row declare the `edits:` they carry. A retirement citing
such a surface would have rested its whole claim — "the surface this arrived
file drove is at no leg" — on a row that says the surface is at every leg. The
check now excludes that reason by name; the message says WHICH of the three
arms was hit; and `test_a_replicated_surface_is_not_a_surface_this_manifest_
says_is_gone` fails against the old predicate and passes against this one, with
a second half proving the SAME row under any other reason still validates, so
the exclusion is one reason and not a retreat from the form.

FIVE OF THE SIX SUPPRESSED COMMENTS, taken here rather than waiting for the
re-post (the lesson of #1030's round 2):

1. The runbook § 2 paragraph said the digest and the declared lines "go on
   asking of a retired row exactly what they ask of any other moved row" in a
   sentence about the DESTINATION, where `rows_for()` has already dropped the
   row — so it is neither digested nor diffed at the leg. Rewritten to name the
   two tools: the arrival verifier stops asking (there is no file left to
   digest or diff), and it is `validate-carve-manifest.py`'s check 3 and check
   4 that go on asking the SOURCE side unchanged.

2. `carved_reach.source()`'s refusal said "the file is at NO destination now",
   which a row with `also_replicated_to:` copies contradicts. It now refuses the
   ARRIVAL by name and, where the row declares replicas, says so and names them:
   RULED OQ-C makes those the legs' own placements and no retirement touches
   them.

3. `verify-carve-arrival.py`'s `arrival-not-retired` said "there is no other leg
   the bytes went to" — true of the PLACEMENT, not of the row. Same correction,
   in the operator's voice.

4. The validator header's "THE FOUR REFUSALS" heading enumerated five failure
   modes. It is "THE FIVE REFUSALS … three of them this form's OWN codes",
   because the count is failure modes and not vocabulary.

5. `CarveRowRetired` reaching its callers as a traceback. It is an `ImportError`
   subclass and every retained-consumer call site guards only the lazy IMPORT
   with `except ImportError`, never the CALL. All three now translate it into
   their own vocabulary — `RetiredMember` → a `FAIL` line in
   `validate-manifest-digests.py`, `CatalogError` (HRC-CATALOG-INVALID) in
   `hermes_runtime_validation/catalog.py`, and a named `RuntimeError` in
   `validate-ideation-cross-reference.py`, whose `main()` would otherwise have
   labelled it `harness failure`, the one thing it is not.
   `scripts/sync-notebooklm-books.py` is deliberately NOT in that list: it asks
   `module()` for a dotted name and its own docstring says a shed module meets
   "the named shed refusal" there — `CarveRowRetired` is that refusal one
   subclass down.

THE SIXTH IS ANSWERED AND NOT TAKEN, with a test rather than a comment.
`shed_commit_object()` is asked to guard retired rows like `source()` does. It
is the one resolver whose question is TIME-INDEXED: it answers where a row's
bytes are AT THE COMMIT THE CALLER NAMES, through the leg that commit pins,
while the `retired:` block is read from the WORKING TREE's manifest and says
nothing about when the deletion landed. A guard would apply today's retirement
to every commit ever asked about and would break the property
`hermes_runtime_validation/release.py` is built on — verifying an OLDER commit
reads the leg THAT commit pinned, where the member is present and the read is
correct. At a commit whose pinned leg no longer carries the file the answer is
a path with no blob and the caller's own absence finding stands (the release
inventory reports the member VANISHED; `resolve_git_object` raises). The
divergence is now a documented decision plus
`test_the_exact_commit_resolver_answers_for_a_retired_row_on_purpose`, which
also asserts `source()` refusing the same row at the same moment.

Evidence at this commit: `validate-carve-manifest.py` OK — 456 rows, 160/158/138,
4 RE-DESTINED, 0 RETIRED printed; `verify-carve-arrival.py --destination
opendox_code --dest-root <openDox-code main 8efb3cf5> --phase B --replica-at …`
OK — 119 arrived / 52 digests / 67 declared-edit rows / 4 re-destined AWAY
vacated; `pytest -q tests/carve_manifest tests/carve_arrival` → 306 passed
(303 + 3).

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 14, 2026 05:12
…he deleted file is a SECOND one

Lane: openxfactory-4

MEASURED ON THE FIRST ACT TO USE THE FORM. Verifying openDox-code's
`chore/retire-intent-feed-suites` found three sentences at that leg which the
deletion falsifies: `.github/workflows/validate.yml`'s comment calling the two
suites "narrowed out" of its pytest selection — after the act they are not
narrowed, they are ABSENT — and `tests/test_intent_binding_dom.py` and
`tests/test_account_menu_dom.py` citing them as an EXISTING precedent for the
node-driven DOM-probe pattern.

§ 5.8 said "that deletion is the whole content of the commit", which is right
about the COMMIT and was silent about the pull request, so the plain reading
left the false sentences standing. It now says both halves: the deletion is one
commit of its own — so a reviewer reads it alone, in its own diff, for the
reason § 5.7 keeps its two halves at two legs in two commits — and a SECOND
commit in the SAME pull request repairs the prose the deletion falsified.
Historical prose ("this instrument came from X") may stay, and is worth a word
saying the file is RETIRED rather than missing.

A comment naming a file the same pull request deletes is a reference to
nothing, and the next reader greps for it and finds a hole. That is the floor's
own refusal — a placement nothing declares — one scale down.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

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

Copilot round 1 answered — head ddaeec45 → 2e93000a (main e6e1c968 merged at 48b002ec first).

The one POSTED thread (scripts/validate-carve-manifest.py:2363) — accepted, fixed, replied, resolved. The surface check tested disposition == "not_moved" and nothing else, so a surface cited against a replicated_at_destination row passed — the one not_moved reason that does not mean ABSENT at the legs.

Five of the six SUPPRESSED comments taken here rather than waiting for the re-post (the lesson of #1030 round 2):

  1. runbook § 2 said the digest and declared lines "go on asking … exactly what they ask of any other moved row" inside a sentence about the DESTINATION, where rows_for() has already dropped the row. Rewritten to name the two tools: the arrival verifier stops asking (nothing left to digest or diff); validate-carve-manifest.py's check 3 + check 4 go on asking the SOURCE side unchanged.
  2. carved_reach.source()'s refusal said the file is "at NO destination now" — a row with also_replicated_to: copies contradicts that. It now refuses the ARRIVAL and names the replicas where the row declares any (RULED OQ-C: those are the legs' own placements).
  3. arrival-not-retired said "there is no other leg the bytes went to" — true of the PLACEMENT, not the row. Same correction in the operator's voice.
  4. "THE FOUR REFUSALS" over five failure modes → "THE FIVE REFUSALS … three of them this form's OWN codes".
  5. CarveRowRetired reaching callers as a traceback: it is an ImportError subclass and every retained-consumer site guards only the lazy IMPORT. All three now translate — RetiredMember → a FAIL line (validate-manifest-digests.py), CatalogError/HRC-CATALOG-INVALID (hermes_runtime_validation/catalog.py), a named RuntimeError (validate-ideation-cross-reference.py, whose main() would otherwise have labelled it harness failure). sync-notebooklm-books.py is deliberately NOT in that list: it asks module() for a dotted name and its own docstring says a shed module meets "the named shed refusal" there.

The sixth is ANSWERED AND NOT TAKEN — the shed_commit_object() guard. That is the one resolver whose question is TIME-INDEXED: it answers where a row's bytes are AT THE COMMIT THE CALLER NAMES, through the leg that commit pins, while retired: is read from the WORKING TREE's manifest and says nothing about when the deletion landed. A guard would apply today's retirement to every commit ever asked about and would break the property hermes_runtime_validation/release.py is built on — verifying an OLDER commit reads the leg THAT commit pinned, where the member is present and the read is correct. At a commit whose pinned leg no longer carries the file the answer is a path with no blob and the caller's own absence finding stands (release_inventory reports the member VANISHED; resolve_git_object raises). Now a documented decision plus test_the_exact_commit_resolver_answers_for_a_retired_row_on_purpose, which also asserts source() refusing the same row at the same moment.

And one amendment this PR owes to its own first use (2e93000a): § 5.8 step 4 said the deletion is "the whole content of the commit", which was right about the commit and silent about the pull request — so three sentences at openDox-code that the deletion falsifies were left standing (validate.yml's "narrowed out" comment, and two sibling suites citing the retired files as an EXISTING precedent). It now says the deletion is one commit OF ITS OWN and the prose it falsifies is repaired in a SECOND commit of the same pull request.

Evidence at 2e93000a: validate-carve-manifest.py → OK, 456 rows, 160/158/138, 4 RE-DESTINED, 0 RETIRED printed unconditionally; verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code main 8efb3cf5> --phase B --replica-at … → OK, 119 arrived / 52 digests / 67 declared-edit rows / 4 re-destined AWAY vacated; pytest -q tests/carve_manifest tests/carve_arrival → 306 passed (303 + 3 new).

Refs #656 (stays OPEN).

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

Five unresolved moderate findings and one documentation nit remain.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (4)

scripts/carved_reach.py:502

  • This third copy has the same fail-open gap: {at, at_path} is treated as a usable retirement even when required ruling/surface metadata is absent. source()/sources_under() can therefore refuse or omit a malformed row that the validator would reject; require all four required non-empty strings here as well and extend the cross-tool table.
    retired = row.get("retired")
    if isinstance(retired, dict):
        at = retired.get("at")
        at_path = retired.get("at_path")
        if isinstance(at, str) and isinstance(at_path, str):

scripts/hermes_runtime_validation/catalog.py:132

  • The new docstring sentence is ungrammatical (A ROW A RULING HAS RETIRED ARRIVES). Rewrite it so the new error-path contract is readable.
    A ROW A RULING HAS RETIRED ARRIVES AS A `CatalogError`, NOT AS AN
    `ImportError` (RULED 5656343213; Copilot review of PR #1032). The resolver

scripts/validate-carve-manifest.py:1581

  • This duplicate predicate has the same fail-open gap: {at, at_path} is treated as a retirement even without the required ruling/surface. That disagrees with the closed manifest form and with the documented fail-closed behavior, so a malformed block can be counted/skipped as retired by this tool; require all four required non-empty strings here too and cover it in the shared table.
    retired = row.get("retired")
    if isinstance(retired, dict):
        at = retired.get("at")
        at_path = retired.get("at_path")
        if isinstance(at, str) and isinstance(at_path, str):

scripts/verify-carve-arrival.py:1105

  • This predicate treats any dict with string at and at_path as a usable retirement, even when required ruling or surface is missing/empty. The other consumers then drop the row from arrival checks or omit it from sources_under, so a half-written block can silence a required arrival; require all four required non-empty strings before returning a retirement, and add that malformed shape to the cross-tool table.
    retired = row.get("retired")
    if isinstance(retired, dict):
        at = retired.get("at")
        at_path = retired.get("at_path")
        if isinstance(at, str) and isinstance(at_path, str):
  • Files reviewed: 11/11 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread scripts/carved_reach.py Resolved
Copilot AI review requested due to automatic review settings September 14, 2026 05:20

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

Two moderate unresolved findings affect exception handling and validation reporting.

Review details

Suppressed comments (2)

scripts/carved_reach.py:560

  • source() now raises CarveRowRetired, and shed_destination() returns that exception through this path, but existing callers in scripts/ideation_dashboard/doxbench_contracts.py::_shed_aware and scripts/hermes_runtime_validation/release.py::_shed_aware only catch ImportError around the lazy import; their calls to shed_destination() are outside that handler. If a retired row is one of those schema/release members, both consumers will leak an uncaught traceback instead of their normal validation/dependency error. Update all existing shed_destination() callers (or provide a shared translation) before exposing this new exception.
    at, at_path = retired_at(row)
    if at_path is not None:
        retired = row["retired"]
        replicas = row.get("also_replicated_to") or []
        raise CarveRowRetired(

scripts/validate-ideation-cross-reference.py:198

  • This re-raises RuntimeError even though main() catches every Exception at lines 581–587 and labels it ERROR harness failure. Therefore a retired schema still produces the harness-failure result this change says it avoids, rather than a normal validator finding/report. Route the retirement through Findings/report, or add a dedicated exception path that main() handles as a validation error.
        raise RuntimeError(
            f"a RULING has RETIRED the schema {target.name} at its leg, so "
            f"this validator has no document to read — {exc}") from exc
  • Files reviewed: 11/11 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

brettheap and others added 2 commits September 14, 2026 10:05
Lane: openxfactory-4

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… two more callers translate the refusal, and the repair stops at a carved file

Lane: openxfactory-4

SIX ANSWERS, five taken and one already the answer. Copilot's review at
`b2bea3b4` posted two threads and suppressed four more; the review at
`2e93000a` generated nothing new and re-listed the two. All six are here.

1. THE PREDICATE FAILED OPEN ON HALF A BLOCK, in all three copies
(`carved_reach.py`, `verify-carve-arrival.py`, `validate-carve-manifest.py`).
`retired: {at, at_path}` with no `ruling:` and no `surface:` read as a
RETIREMENT, so a row the manifest validator refuses twice over would already
have SILENCED that row's arrival check at the leg. The predicate's own
docstring said it failed closed; it checked two of the four required keys.
It now requires all four as non-empty strings.

MEASURED, not argued: with the landed two-key predicate, over a tree where the
file is absent under a half-written block, `verify-carve-arrival.py` prints
`{"result": "ok"}` and exits 0. With this commit it refuses `arrival-missing`
and the row stays owed. That pair is
`test_a_half_written_retirement_leaves_the_arrival_owed`, and it fails against
the previous commit — run both ways before this message was written.

2. TWO MORE RETAINED-CONSUMER CALL SITES translate `CarveRowRetired` instead
of leaking it as a traceback. Round 1 found the three that resolve a path BY
NAME; these two resolve one through a ROOT, and their `except ImportError`
guards the lazy import, not the call:
`scripts/ideation_dashboard/doxbench_contracts.py::_shed_aware` now raises
`ContractPinError` — the refusal `_pinned_schema_bytes` already raises for a
pinned schema the checkout does not have — and
`scripts/hermes_runtime_validation/release.py::_shed_aware` raises
`ReleaseDependencyError`. The second matters twice over: `exists()` would
otherwise answer a plain FALSE for a file that is not absent but DELETED BY
RULING, and "not here yet" and "never again" are the two answers a membership
test must not merge.

3. THE CROSS-REFERENCE VALIDATOR'S RETIREMENT IS A FINDING, not a harness
failure. Round 1 gave the refusal a name so it would stop being an
`ImportError` at the caller; it was still a bare `RuntimeError`, and `main()`
catches every `Exception` and prints `ERROR harness failure: …` with exit 2 —
which says the tool broke. It did not: it read the manifest, found that a
ruling had deleted the schema it validates against, and said so. Named
`RetiredSchema`, caught in `run_default`/`run_path` (which have a `Findings`
to put it in, where `main()` has none), reported as `ERROR [schema-retired]`
with the validator's own exit 1.

4. ONE DOCSTRING SENTENCE made readable (`catalog.py:131`).

5. THE MANIFEST HEADER now says the four keys are the READING guard and not
only the validator's requirement, because the tools that act on the field run
without the validator.

6. AND THE RUNBOOK § 5.8 STEP 4 TAKES ITS SECOND AMENDMENT FROM ITS OWN FIRST
USE. The step says the leg prose a deletion falsifies is repaired in a second
commit. Two of those sentences turned out to sit inside CARVED files, where
every line differing from the carve blob must be declared under one of RULING
OQ-1's three closed classes — and a comment naming a retired sibling is none
of them. `verify-carve-arrival.py --phase B` refuses
`arrival-undeclared-edit … line(s) [4] … declares [30]` and
`… [18, 19, 20] … declares [34]`. So the repair stops at the files the leg
OWNS, and the stale sentence inside a carved file stays as a named cost. The
withdrawal at openDox-code PR #24 (`ebf1425`) is that rule being obeyed one
act after the form that tested it.

Evidence: `validate-carve-manifest.py` → OK, 456 rows, 160/158/138, 4
RE-DESTINED, 0 RETIRED; `verify-carve-arrival.py --destination opendox_code
--dest-root <openDox-code main 8efb3cf5> --phase B` with the runbook § 5.5
flag set → OK, 119 arrived / 52 digests / 67 declared-edit rows / 7 of 7
replicas / 4 vacated; `pytest -q tests/carve_manifest tests/carve_arrival` →
308 passed (306 + 2).

Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment
5656690570.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 14, 2026 10:22

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

Four unresolved findings remain, including one critical and three moderate issues.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (3)

scripts/carved_reach.py:814

  • This new composition contract says a retirement follows Q6's effective arrival, but shed_commit_object() below still walks MOUNTS[row["destination"]] and returns row["destination_path"] instead of effective_arrival(row). For a row carrying both re_destined and retired, release validation of an exact commit will therefore query the original/losing leg and path rather than the leg the row actually reached, producing a false missing-member result or reading the wrong bytes. Make the exact-commit resolver use the effective placement too, and cover the composed case.
    A RETIRED ROW IS NOT GUARDED HERE, AND THE DIVERGENCE FROM `source()` IS
    DELIBERATE (Copilot review of PR #1032, which asked for the guard). This
    is the one resolver whose question is TIME-INDEXED. `source()` answers
    about the working tree — one tree, the one that exists now — so a row a
    ruling has deleted has no answer and refusing is the only honest one. This

scripts/ideation_dashboard/doxbench_contracts.py:453

  • This translation only wraps shed_destination(), but this module also calls shed_relpath() directly from _validator_in_checkout() during import (and again in _composed_validator()). If a future ruled retirement targets the moved validator itself, shed_relpath() raises CarveRowRetired before VALIDATOR_IN_CHECKOUT is initialized, so importing doxbench_contracts ends in an uncaught traceback instead of the module's ContractPinError refusal. Handle the direct resolver calls as well (including the import-time path) or otherwise define the retired-marker behavior.
        from carved_reach import CarveRowRetired, shed_destination
    except ImportError:  # pragma: no cover - no manifest, nothing to resolve
        return target
    try:
        moved = shed_destination(target)
    except CarveRowRetired as exc:

scripts/verify-carve-arrival.py:2670

  • When a lawful refill or --replica-at claims the same retired.at_path, check_retired() intentionally skips the lexists check, but _print_ok still includes that retirement in this clause and reports it as “verified absent”. In that supported case the path is occupied by the other row/replica, so the success line is false and the leg evidence is misleading. Track the refill case in the summary or use wording that does not claim the path was absent, and add a human-output regression test.
    retired_here = summary.get("retired") or []
    if retired_here:
        line += (f"; {len(retired_here)} row(s) RETIRED here by ruling and "
                 "verified absent (RULED 5656343213)")
  • Files reviewed: 13/13 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread scripts/verify-carve-arrival.py Resolved
…t yet a block that retires THIS row's placement

Lane: openxfactory-4

ONE THREAD, and it names a hole between two selections that are each correct
on their own. `rows_for()` dropped a row the moment `retired_at()` saw four
non-empty strings; `retired_rows()` — keyed on `retired.at`, deliberately, so
this file does not re-decide the manifest validator's finding — then selected
it only at the leg the BLOCK named. A block whose `at`/`at_path` disagreed
with its own row therefore fell between them: not asked for as an arrival at
the leg the file really goes to, not required absent as a retirement there
either. The deleted file passed silently, which is the one outcome this whole
form exists to refuse.

MEASURED, not argued, the way round 2's repair was. Against the previous
commit, a manifest whose `beta.py` row arrives at `scratch_code` and carries a
retirement naming `scratch_spec:examples/beta.py`, verified at `scratch_code`
over a tree with the file deleted, prints `{"result": "ok"}` and exits 0. With
this commit it refuses `arrival-missing` and the row stays owed. Both new
end-to-end cases and the direct one were run against the reverted filter
before this message was written; all three fail there and pass here.

THE REPAIR IS A FOURTH QUESTION, NOT A CHANGE TO THE SHARED PREDICATE.
`retired_at` answers "is this a readable retirement" and is the predicate
`test_all_three_tools_read_the_retirement_identically` holds equal across
`validate-carve-manifest.py`, this file and `carved_reach.py` — it cannot
answer "of WHAT", because `carved_reach` holds no destination and the manifest
validator asks its version of the question of the DOCUMENT (check 6's
`carve-disposition-inconsistent`) rather than of a leg. So the placement
question is split out as `retired_arrival()`, which lives only here: it is
`retired_at` plus "and the block names this row's own effective arrival", and
it is what `rows_for()` now filters on. `carved_reach`'s fail-closed direction
is the other one — it RAISES `CarveRowRetired` rather than answering — so a
mis-placed block costs a caller there a refusal, never a silent path to a
deleted file, and its copy of the predicate is deliberately untouched.

WHY THAT IS THE FAIL-CLOSED READING AND NOT A SECOND OPINION. Check 6 would
refuse such a document, but this file is run AT A LEG against a `--dest-root`
on a manifest `read_manifest()` deliberately does not revalidate, so "the
validator would have caught it" is not true at the moment of reading — the
same reasoning `effective_arrival`, `retired_at` and `_also_replicated_labels`
each already carry. Where the block does not name the placement the row makes,
it retires nothing HERE and the arrival stays owed. `retired_rows()` is
unchanged, so the mis-placed row is now read TWICE — as a live arrival at its
own leg, and as a (vacuous) retirement at the named one — and it is the first
of the two that refuses.

THE THREE CASES, and the comment block above them says why they are end-to-end
runs of the shipped script rather than unit calls ("passes silently" is a
property of the exit code):

- `test_a_retirement_naming_another_leg_leaves_this_one_owed_the_file` — and
  the second half of it proves the doctrine survives the repair: the block is
  still read at the leg it names, and that run still reports the retirement.
- `test_a_retirement_naming_another_path_here_leaves_the_arrival_owed` — the
  narrower half, the one a leg is likeliest to hand-write: right `at`, wrong
  `at_path`.
- `test_the_placement_question_is_this_files_own_and_the_shared_one_is_not` —
  the pairing as arithmetic, including the composed Q6-then-retirement case,
  so a reader can see that every row lands in exactly one of the two lists.

Prose: the file header's retirement section, `rows_for`'s docstring and
`retired_rows`' docstring each say which of the two questions they ask, because
the asymmetry is the thing that was easy to get wrong.

Evidence at this commit: `tests/carve_manifest tests/carve_arrival
tests/carve_conformance tests/opendox_pin tests/openxdox_pin` -> 454 passed
(carve_arrival alone 141, was 138). `scripts/validate-carve-manifest.py` -> OK,
456 rows, 0 RETIRED. `scripts/verify-carve-arrival.py --destination
opendox_code --dest-root <openDox-code@8efb3cf5> --phase B --replica-at
tests/ideation-dashboard/conftest.py=tests/conftest.py` -> OK, 119 rows
arrived, 4 re-destined away verified vacated.

Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment
5656690570.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 15, 2026 19:18
…ired-row-form

Lane: openxfactory-4

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

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

Correct, and fixed at 1737e7b2 — the hole is exactly where you put it, between two selections that are each right on their own.

rows_for() dropped the row on READABILITY (four non-empty strings); retired_rows() is keyed on retired.at deliberately, so that this file does not re-decide validate-carve-manifest.py's check 6. A block whose at/at_path disagreed with its own row therefore fell between them — not asked for as an arrival at the leg the file really goes to, not required absent as a retirement there either — and the deleted file passed silently.

Measured rather than argued, the way round 2's repair was. Against the previous commit, a manifest whose beta.py row arrives at scratch_code carrying a retirement that names scratch_spec:examples/beta.py, verified at scratch_code over a tree with the file deleted, prints {"result": "ok"} and exits 0. At this commit it refuses arrival-missing.

The repair is a FOURTH question, not a change to the shared predicate. retired_at answers "is this a readable retirement" and is what test_all_three_tools_read_the_retirement_identically holds equal across the three tools; it cannot answer "of WHAT", because carved_reach holds no destination and the manifest validator asks its version of that question of the DOCUMENT rather than of a leg. So the placement question is split out as retired_arrival(), which lives only here — retired_at plus "and the block names this row's own effective arrival" — and rows_for() filters on that. retired_at and retired_rows are both untouched, so the mis-placed row is now read TWICE (a live arrival at its own leg, a vacuous retirement at the named one) and refused by the first of the two. carved_reach's copy stays as it is on purpose: its fail-closed direction is the other one — it RAISES CarveRowRetired rather than answering — so a mis-placed block costs a caller there a refusal, never a silent path to a deleted file.

Your parenthetical "(or leave the row in normal arrival checks)" is what this does, narrowed to the case that needs it: the row is left in the normal checks unless the block names the placement the row makes.

Three tests, and the comment block above them says why two of them are end-to-end runs of the shipped script rather than unit calls — "passes silently" is a property of the exit code, not of a predicate. All three were run against the reverted one-line filter before the commit message was written; all three fail there and pass here.

  • test_a_retirement_naming_another_leg_leaves_this_one_owed_the_file — the at case. Its second half proves the doctrine survives the repair: the block is still read at the leg it names, and that run still reports the retirement.
  • test_a_retirement_naming_another_path_here_leaves_the_arrival_owed — right at, wrong at_path; the one a leg is likeliest to hand-write.
  • test_the_placement_question_is_this_files_own_and_the_shared_one_is_not — the direct calls, including the composed Q6-then-retirement case, so the pairing reads as arithmetic: every row lands in exactly one of the two lists.

Prose followed the code: the file header's retirement section, rows_for's docstring and retired_rows' docstring each now say which of the two questions they ask, because the asymmetry is the thing that was easy to get wrong.

Evidence at b8e07cee: five carve suites 454 passed (tests/carve_arrival alone 141, was 138); scripts/validate-carve-manifest.py OK, 456 rows, 0 RETIRED; scripts/verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code@8efb3cf5> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py OK, 119 rows arrived, 4 re-destined away verified vacated.

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

Critical retirement-path validation and moderate doxbench exception-handling issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

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

scripts/carved_reach.py:672

  • This new exception path also affects doxbench_contracts: _validator_in_checkout() and _composed_validator() call shed_relpath() outside the ImportError-guarded import. Retiring either of those rows will therefore escape as CarveRowRetired during module import or contract composition instead of producing the doxbench family's established refusal/fallback, so handle this subclass at those call sites (and cover the import-time resolver) rather than changing only the resolver.

scripts/ideation_dashboard/doxbench_contracts.py:452

  • This only translates the shed_destination() call. doxbench_contracts._validator_in_checkout() (executed at import time) and _composed_validator() still call shed_relpath() directly, so if the moved validator row is retired, importing this module or composing the validator raises an uncaught CarveRowRetired/ImportError instead of the module's ContractPinError/publisher handling. Add explicit handling for both shed_relpath() callers.
        from carved_reach import CarveRowRetired, shed_destination
    except ImportError:  # pragma: no cover - no manifest, nothing to resolve
        return target
    try:
        moved = shed_destination(target)
  • Files reviewed: 13/13 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread scripts/verify-carve-arrival.py Resolved
Comment thread scripts/verify-carve-arrival.py Resolved
Copilot AI review requested due to automatic review settings September 15, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The committed-manifest regression test can become a no-op when the manifest is missing, and the lexists explanation needs correction.

Review details

Suppressed comments (2)

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

tests/carve_manifest/test_carve_manifest.py:4501

  • This branch makes the regression test pass when the committed manifest is missing: assert True; return skips every assertion, even though the test is specifically meant to pin the landed header and zero-retirement count. Once this manifest is part of the repository, absence should fail so a broken checkout cannot turn this seat into a no-op.

scripts/verify-carve-arrival.py:1838

  • The explanation reverses os.path.lexists semantics: lexists returns true for a dangling symlink, so a dangling symlink is still a present directory entry and must fail the retirement absence check just like a symlink pointing elsewhere. Please correct the comment so it does not encourage replacing this deliberate lexists guard with exists.
    `os.path.lexists`, NOT `exists`, on `check_vacated`'s reasoning verbatim:
    a dangling symlink reads as absent and one pointing elsewhere reads as a
    live file, and either way the leg carries an entry at a path the ruling
    emptied and git would commit it.
  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…d backwards

Both findings are real and both are fail-OPEN.

(a) tests/carve_manifest/test_carve_manifest.py -- this act's seat test was
    written `if not manifest.is_file(): assert True; return`. That is a SIXTH
    copy of an idiom #1030's review had just removed from five tests in this
    same module, reintroduced by an act authored BESIDE that cleanup rather
    than after it. `assert True` REPORTS A PASS, so a checkout that lost
    docs/opendox-carve-manifest.yaml turned this pin -- whose whole job is to
    fail the day a row carries `retired:` -- into a green no-op, which is the
    one thing the module docstring says this floor exists to refuse.

    It now reads the document through `the_landed_manifest()`, where the
    absence is a FAILURE naming the ceremony that authored the file, exactly
    as the other five do. `test_the_real_repository_answers_at_the_ruled_path`
    keeps its branch and must: there the absence IS the subject. The module
    docstring's census of the idiom moves from five to six and records that
    the sixth arrived with this act.

    PROVEN BY TAMPERING: with the manifest moved aside the test now FAILS
    naming the file; before the fix it passed. Manifest restored
    byte-identical (`git status` clean).

(b) scripts/verify-carve-arrival.py -- the paragraph explaining why this check
    uses `os.path.lexists` and not `exists` stated the semantics BACKWARDS. It
    read "a dangling symlink reads as absent", which is `exists`'s behaviour,
    inside a paragraph arguing for `lexists` -- so the sentence could be read
    as a reason to simplify the deliberate spelling away.

    Rewritten in the right direction: `lexists` answers about the ENTRY and
    `exists` about its TARGET. Under `exists` a dangling symlink reads as
    absent and the check passes over it; under `lexists` it reads as present,
    which is the answer that matters, because the leg still carries a
    directory entry at a path the ruling emptied and git would commit it. A
    symlink pointing ELSEWHERE is present under both. So `lexists` refuses
    both cases and `exists` refuses only one.

Green at this head: the five carve suites -> 481 passed; validator OK, 456
rows, 0 RETIRED.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 16, 2026 13:52
@brettheap

Copy link
Copy Markdown
Contributor Author

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

Copilot round 10 at e1fe43ba — two suppressed comments, no thread, both REAL, both FAIL-OPEN, both fixed at 39bb1dc1.

(a) A sixth no-op seat, in the module that had just removed five

tests/carve_manifest/test_carve_manifest.py:4501 — This branch makes the regression test pass when the committed manifest is missing: assert True; return skips every assertion…

Correct, and the sharp part is the provenance. This module's docstring already says, in this pull request's own tree:

"THE FIVE TESTS THAT READ THE LANDED DOCUMENT NO LONGER BRANCH AT ALL (amended on a Copilot finding, #1030) … assert True REPORTS A PASS … so a checkout that lost the file turned five pins on the landed document into five no-ops."

This act's seat test was written beside that cleanup rather than after it, and arrived carrying a sixth copy of the very idiom. Its whole job is to fail the day a row carries retired: — and a checkout without docs/opendox-carve-manifest.yaml would have turned it into a green bar meaning "the check did not run", which the docstring above calls the one thing this floor exists to refuse.

It now reads the document through the_landed_manifest(), where the absence is a FAILURE naming the § 6 ceremony that authored the file — the same route the other five take. test_the_real_repository_answers_at_the_ruled_path keeps its branch and must: there the absence IS the subject. The census in the module docstring moves from five to six and records where the sixth came from.

Proven by tampering:

$ mv docs/opendox-carve-manifest.yaml /tmp/ ; pytest -q ...::test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere
FAILED - AssertionError: docs/opendox-carve-manifest.yaml is not in this checkout. I...
1 failed

Before the fix the same tamper reported 1 passed. Manifest restored byte-identical (git status clean).

(b) The lexists paragraph argued for lexists by describing exists

scripts/verify-carve-arrival.py:1838 — The explanation reverses os.path.lexists semantics… Please correct the comment so it does not encourage replacing this deliberate lexists guard with exists.

Also correct. The paragraph read "a dangling symlink reads as absent and one pointing elsewhere reads as a live file" — the first half is exists's behaviour, stated inside the paragraph that exists to justify NOT using exists. A later reader following that sentence would have had a reason to simplify the spelling away.

Rewritten in the right direction: lexists answers about the ENTRY, exists about its TARGET. Under exists a dangling symlink reads as absent and the check passes over it; under lexists it reads as present, which is the answer that matters here, because the leg still carries a directory entry at a path the ruling emptied and git would commit it. A symlink pointing elsewhere is present under both. So lexists refuses both cases and exists refuses only one — which is why this is deliberate.

Green at 39bb1dc1: five carve suites (carve_manifest carve_arrival carve_conformance opendox_pin openxdox_pin) → 481 passed; validate-carve-manifest.py → OK, 456 rows, 0 RETIRED — the zero this act is pinned to.

Copilot re-requested.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570.

brettheap pushed a commit that referenced this pull request Sep 16, 2026
…de them

The stack takes its base's review rounds WHILE THE BASE IS STILL A BRANCH. If
#1032 squash-landed first and this branch then merged `main`, git's merge base
would fall back past both and deliver the same change by two routes -- the
trap this pull request's own merge-forward section describes. So every round
#1032 takes lands here as a branch merge, one round at a time.

ONE CONFLICT, in the seat test both acts edit for opposite reasons. #1032's
round 10 replaced `if not manifest.is_file(): assert True; return` with
`text, doc = the_landed_manifest()`, where the absence is a FAILURE. This act
had rewritten the same test into its FIRST-USE form -- two retired rows
instead of zero -- and its body binds `rows` for the pin. Resolution: take
#1032's `the_landed_manifest()` and keep this act's `rows` binding beside it.

AND THE FIRST RESOLUTION WAS WRONG, WHICH THE TEST CAUGHT. Dropping the `rows`
binding looked safe -- a scan for `rows` after the conflict found nothing --
and running the test said `NameError: name 'rows' is not defined`. A scan that
stops at the wrong boundary is not a measurement. Restored, and both
directions re-proven at this head: the test PASSES normally, and with
docs/opendox-carve-manifest.yaml moved aside it FAILS naming the file, which is
exactly what #1032's round 10 was for. Manifest restored byte-identical.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

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

retired_rows() can silently skip retirements with unknown destinations during direct arrival verification.

Review details

Suppressed comments (1)

scripts/verify-carve-arrival.py:1495

  • retired_rows() silently drops a readable retirement when retired.at is not a key (or resolved identity) in destinations. In a direct arrival-verifier run, rows_for() keeps the row because the retirement does not match its effective arrival, while no check_retired() call validates the block; if the real arrival is present, both destination runs can pass despite the unknown destination that the manifest validator would reject as carve-vocabulary-unknown. Please fail closed for an unknown retirement destination before selecting the per-leg absence check (or add an equivalent document-level preflight).
        at, _at_path = retired_at(row)
        if _resolved_destination(at, destinations) != here:
            continue
  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

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

Copilot round 11 at 39bb1dc1 — one suppressed comment, no thread, ANSWERED and not fixed: the premise is false as measured, and the residual case is the refusal this act already wrote.

scripts/verify-carve-arrival.py:1495 — retired_rows() silently drops a readable retirement when retired.at is not a key (or resolved identity) in destinations. … if the real arrival is present, both destination runs can pass despite the unknown destination that the manifest validator would reject as carve-vocabulary-unknown. Please fail closed for an unknown retirement destination before selecting the per-leg absence check (or add an equivalent document-level preflight).

The round-6 rule holds and this was read as a finding, not as noise: it names a real hole shape — a readable retirement asked at no leg — which is exactly what rounds 3 and 4 of this review had to close twice. So it was measured at this head rather than argued about, with the module loaded by path (the route this suite's constant assertions already take) and a three-key destinations: map carrying one declared row.

case retired_arrival rows_for at the real leg retired_rows at the leg the BLOCK names
no retired: at all (baseline) (None, None) owed —
A. at: opendox_kode (undeclared), block names a placement the row does NOT make (None, None) STILL OWED selected
B. at: opendox_kode == the row's own (also undeclared) arrival ('opendox_kode', …) not owed at any declared leg selected
B′. control for B: same undeclared destination:, NO retired: block (None, None) not owed at any declared leg —

retired_rows() does not drop the row. _resolved_destination('opendox_kode', …) is ('opendox_kode',) — the 1-tuple degradation whose documented purpose is that an undeclared key "can never equal a resolved 2-tuple". It is nevertheless equal to itself, so a run invoked at that key selects the row and check_retired() reads the block through retired_placement(). The row is declined only at legs the block does not name, which is the function's whole contract.

Case A is fail-closed already, and it is round 3's repair holding. Where the block names a placement the row does not make — the shape a typo in at actually produces — retired_arrival() returns (None, None), rows_for() keeps the row at its real leg, the arrival stays owed, and the deleted file refuses arrival-missing. Read twice, never nowhere.

Case B is not this form's doing, and B′ is the control that shows it: a row whose own destination: is undeclared is owed at no declared leg with or without a retired: block. That invisibility belongs to the undeclared destination, identically for every row in the file.

What is left of the finding is true and is the division of labour, not a gap. No run can be invoked at an undeclared leg at all — the CLI refuses first:

$ python3 scripts/verify-carve-arrival.py --destination opendox_kode --dest-root /tmp
FAIL /tmp: arrival-unreadable — --destination 'opendox_kode' is not a key of the manifest's
`destinations:` map (opendox_code, opendox_root, opendox_spec, openxdox_code, openxdox_spec).
… a typo must not be indistinguishable from `not yet carved`

So an undeclared retired.at is a retirement with no leg to ask it at, and the only tool in a position to say so is the one holding the document. It does, by name, in a sentence this act wrote for this exact failure mode — proven by tampering a copy of the real manifest (row 165, a moved_verbatim row to opendox_code, given retired.at: opendox_kode):

$ python3 scripts/validate-carve-manifest.py --manifest docs/TAMPER-round11.yaml
FAIL … carve-vocabulary-unknown — rows[165] (scripts/ideation_dashboard/__init__.py).retired.at
declares 'opendox_kode', which is not a key of `destinations:` ([...]). A retirement DELETES an
arrival at a DECLARED destination; one typo otherwise asks for an absence at a repository nobody
declared, which every leg satisfies by never having existed

(Tamper file removed; git status clean.)

Why not the preflight, and this is the part worth stating rather than assuming. verify-carve-arrival.py membership-tests no closed vocabulary — not destination, not also_replicated_to[], not re_destined.from/to, not edits[].class, not reason. A preflight for retired.at alone would make the retirement the single field on which this tool re-decides the other tool's finding, which retired_rows()' own docstring refuses in terms ("This file READS the manifest and does not revalidate it") and which read_manifest() is built around.

The fail-closed principle rounds 3 and 4 established is narrower than "revalidate", and it is already met here: refuse the answer this run would print about a leg. retired_placement() refuses an unjoinable path and a mis-placed block because in both the run would print absence: verified about a path it never really asked. An unselected row prints nothing — it is not counted, it is not reported absence: verified, and no arrival-not-retired sentence orders anyone to delete a file.

No code owed; head unchanged at 39bb1dc1. Green there: five carve suites (carve_manifest carve_arrival carve_conformance opendox_pin openxdox_pin) → 481 passed; validate-carve-manifest.py → OK, 456 rows, 0 RETIRED — the zero this act is pinned to. All ten required checks SUCCESS (pytest-suite run 35104732206, 20m16s).

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570.

@brettheap
brettheap marked this pull request as ready for review September 16, 2026 14:24

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

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

@brettheap
brettheap merged commit d5dd1ca into main Sep 16, 2026
14 checks passed
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…, resolved by rule

#1032 landed at `d5dd1ca5` (squash) and #1044 at `b1df95ee`. This branch already
carried #1032's every commit -- merged in one round at a time while it was still
a branch, which is why the rounds landed here at all -- so git's merge base fell
back to `a499061e` and the squash arrived as a SECOND copy of a change this tree
already has. FIVE conflicted files, FOURTEEN hunks, and every one of them the
same shape: OURS is THEIRS plus this act's own edit on top.

Resolved by that rule, and VERIFIED rather than assumed. Every removed line in
`git diff origin/main` was read: each is a line #1032 landed and this act
deliberately rewrites -- the zero-use pin
(`test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere`'s
`using == []`) into its FIRST-USE form, `retired 0` into `retired 2`, "NO ROW
BELOW CARRIES THE FIELD" into the paragraph naming the two that do, and the
aggregate `2454` into `2621` at each of its mirrors. Nothing of `main`'s
survives only on `main`.

#1044's two files auto-merged and are carried unchanged
(`.github/workflows/doc-health-reusable.yml`,
`tests/doc-health/test_workflow_contract.py`) -- lane openxfactory-5's act,
which touches nothing this one does.

The gitlinks needed no repair this time and that was CHECKED, not presumed:
`git ls-files -s openDox openXdox` and `git ls-tree origin/main` agree at
`openDox 3819625e` / `openXdox a6500141` -- pin lockstep #2, already on both
sides. `git submodule update --init --recursive openDox openXdox` ran anyway,
because the trap is a stale WORKING TREE staged by `git add openDox openXdox`,
and the cheap guard is to never be in a position to make it.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: `#656` comment 5656690570.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…hree figures given one answer

NINE findings across two reviews (`72f1f202` six suppressed, `e1f29401` four
suppressed and one thread). Every one real; every one fixed here.

A SEVENTH `assert True; return` SEAT, on the worst test it could have been on.
`#1030`'s review took that idiom out of five landed-document tests; `#1032`'s
round 10 took it out of a sixth, authored beside that cleanup; this act --
authored beside BOTH -- arrived carrying it a seventh time, on
`test_carved_reach_refuses_the_two_landed_retired_rows`, the test that reads
the FIRST USE of the whole form. `assert True` reports a pass, so a checkout
without the manifest turned that pin into a green bar meaning "the check did
not run". It reads through `the_landed_manifest()` now. The old lines bound
nothing else, and that was CHECKED before deleting them -- dropping a binding
after a scan that stopped at the wrong boundary is what cost a `NameError` at
the round-10 merge. Proven by tampering: with the manifest moved aside the test
FAILS naming the file where it used to report `1 passed`; restored
byte-identical. The module docstring's census runs five -> six -> seven and
says WHY it keeps happening: the idiom is read off the neighbouring test that
still legitimately branches, so every act adding a landed-document pin re-makes
the cleanup until the seat test is the only branch left to copy.

A SEVENTH AGGREGATE MIRROR, AND THE TOOL THAT MISSED IT.
`tests/carve_arrival/test_verify_carve_arrival.py:3329` states what the manifest
pin IS rather than what it once was, and still said `(2454, 176)`. Corrected to
`(2621, 176)` -- and `rederive-absolutes.py` gained the site, because a tool
that checks six of seven places leaves the seventh stale in the next act exactly
as it did in this one. Seven sites now; ALL MIRRORS AGREE.

177, 167 AND 196 ARE THREE ANSWERS TO THREE QUESTIONS. The manifest header and
runbook § 2 both called this act's declaration "`adapter calls`, 177 lines".
Measured from the landed row: four entries, 196 line entries over 196 DISTINCT
lines, zero repeats -- 12 `import rewrites`, 7 `path constants`, slice S5's 10
and this act's 167. The block SPANS 177; the ENTRY declares 167; the ROW
declares 196. Both documents now carry all three and say which is which, and
the patch asserts the four numbers off the document before editing a byte.

AND THE SAME CONFLATION HAD SURVIVED INTO § 5.8's TRANSITION WINDOW, which is
pre-dedupe text that outlived the repair: when the entry still carried all 177
the row DID have 206 entries over 196 lines and the overlap was deliberate.
The dedupe removed the divergence and left the explanation of it standing. The
paragraph now states the rule that replaced it -- a line is declared once per
row, and the block's extent lives in the two entries' notes rather than in ten
numbers written twice.

TWO "TODAY"s THAT WERE NOT TODAY. The ASK-7 provenance comment called
`(1761, 159)` the current aggregate and the shared line-number docstring called
1761 "today", three lines from an assertion enforcing 2621. A dated figure kept
beside the current one is the point of both comments, so the repair names the
chain: `(1422, 158)` at RULED Q-L8 (c), `(1761, 159)` at RULED Q-L7 (a),
`(2621, 176)` today.

Green: five carve suites 482 passed; `validate-carve-manifest.py` OK, 456 rows,
4 RE-DESTINED (RULED Q6), 2 RETIRED (RULED 5656343213); `rederive-absolutes.py`
(2621, 176) with all seven mirrors agreeing; both legs re-measured at their own
current heads -- `opendox_code` @ openDox-code#24 `e2d5ac4` OK, 117 arrived, 2
RETIRED here and verified absent; `openxdox_code` @ openXdox-code#20 `15e8115`
OK, 96 arrived, 85 declared-edit rows within their lines.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: `#656` comment 5656690570.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…ile DROVE, and its first use is false of it

The sharpest finding this act has taken, and it is about the grammar rather
than about an arithmetic. `surface:` landed at PR #1032 glossed as "the
openxFactory path of the SURFACE the arrived file DROVE", with no row using
the form. THE FIRST USE RETIRES TWO ROWS THAT DO NOT STAND IN THE SAME
RELATION TO THE SURFACE THEY BOTH CITE. The TRAY suite drove
`views/intent-feed.js`. The WHEEL suite did not, and this act's own `note:` on
that row says so in the suite's own words -- the module "rides along because
dispose.js imports it", and the probe "drives the LOCAL path only, no
`opts.intent` is ever passed". So the wheel row's `surface:` recorded a
relationship its own note denies, which in a retirement's record is the one
thing that must not happen: after the deletion the note is the only account
left, and no test can catch it being generous.

WIDENED, NOT RE-POINTED, and the value does not move. `surface:` is now the
path of the SURFACE THE ARRIVED FILE NEEDED AND CANNOT OBTAIN AT ITS LEG. The
wheel suite NEEDS `views/intent-feed.js` -- its copy loop lifts it out of the
bundle and the import fails without it -- and does not drive it; the tray suite
does both. NEEDED is exact for both rows where DROVE was exact for one. THE
GATE IS UNCHANGED: `carve-retired-surface-live` asks whether the cited row is
`not_moved`, which is how this document answers "gone from BOTH legs", and it
never asked how the arrived file used it.

RE-POINTING WAS THE OTHER OPTION AND IT IS WRONG. The module the wheel suite
really drives is `views/dispose.js`, which § 3.4 slice S5 moved to
`openxdox_code`: absent at openDox-code, but AT A LEG, so a `surface:` naming
it would refuse `carve-retired-surface-live` -- correctly, because "gone from
both legs" is false of it.

SO THE FORM NAMES ONE ABSENCE WHERE A RETIREMENT MAY REST ON TWO, and that is
now stated where a reader meets it: in the manifest header beside the widened
gloss, and in cutover-runbook § 5.8 under "What the form CANNOT express",
beside the partial-retirement case the same act already hit. A `surface:` list,
or a second field for "moved to another leg", is a ruling's act and not an
author's -- the same line § 5.8 already draws for widening `retired:` to a line
range.

ELEVEN CARRIERS, SWEPT TOGETHER, because six rounds on this act have been one
lesson: the gloss was restated in `validate-carve-manifest.py` three times, in
`verify-carve-arrival.py`, in `carved_reach.py`, in the runbook twice, in the
manifest header twice and in two test docstrings. Every site asserted before it
was edited; the only surviving "drove" is the manifest header quoting what the
gloss USED to say.

AND TWO STALE LEG HEADS with them: § 5.8's residue list said it was measured at
openDox-code `4813b375` and openXdox-code `9dfd7bee`; it now names the heads
that actually carry the deletion, `e2d5ac46` and `15e8115d`.

Green: five carve suites 482 passed; `validate-carve-manifest.py` OK, 456 rows,
4 RE-DESTINED (RULED Q6), 2 RETIRED (RULED 5656343213); `rederive-absolutes.py`
(2621, 176), ALL MIRRORS AGREE.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: `#656` comment 5656690570.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…1032 left

WHY THE MERGE WAS NOT OPTIONAL AND WHY IT WAS FOUND BY MEASUREMENT. This branch
reported `mergeable=CONFLICTING`, and GitHub does not run `pull_request`
workflows on a pull request whose merge commit it cannot compute — so `validate`,
`lane-line`, `pytest-suite` and the rest never fired at all, while
`merge-master-approval` (a `pull_request_target` workflow, which needs no merge
commit) did. A required check that is ABSENT reads like a required check that
has not finished, which is why this was diagnosed off `gh pr view --json
mergeable` rather than off the check list.

WHAT MAIN BROUGHT, and it is exactly the two acts this window overlaps:
openxFactory **#1031** (the pre-existing `openxdox_code` rows: +48 declared
lines, four rows, and the conftest replica's second line) and **#1032** (the
`retired:` row form, runbook § 5.8). Both edit § 2's totals, the per-destination
table, the three scripts' docstrings and README's runbook entry — every
document this act also touches.

EVERY CONFLICT RESOLVED THE SAME WAY: TAKE MAIN'S PROSE, RE-DERIVE THE NUMBER.
None of the six conflicting files was resolved by choosing a side and moving on.
For each, main's text is the base — it carries #1031's and #1032's sentences,
which are theirs and newer — and this act's +89 was re-applied on top of the
figure main states, then checked against the merged manifest rather than
arithmetic:

  `measure_totals.py` over the MERGED document -> 456 rows, 143/175/138,
  **2543** declared lines, 176 carriers, `import rewrites` 726 / `path
  constants` 246 / `adapter calls` **1571**, `opendox_code` **1756**,
  `openxdox_code` 750, 20 replicas.

So 2454 + 89 = 2543 is a check on the re-derivation, not its source. Re-derived
at every site: § 2's totals sentence, the two-replica-line paragraph
(2452 -> 2541), the per-destination table's `opendox_code` cell
(1667 -> 1756) with its own sentence saying what moved and what did not, the
Q-L8 (c) paragraph, `carve_lines.py`, `validate-carve-manifest.py`,
`verify-carve-arrival.py` and README's runbook entry.

THE TEST FILE KEEPS BOTH PARAGRAPHS. `test_the_real_manifest_carries_the_ruled_
q_l7_amendment`'s running narrative is the record of how the aggregate got where
it is, so #1031's paragraph and this act's both stand, in landing order, with
one assertion at the end: `(2543, 176)`.

`scripts/validate-carve-manifest.py` -> `OK ... 456 row(s) ... 143
moved_verbatim, 175 moved_with_declared_edit, 138 not_moved; 318 digest(s)
recomputed`. `pytest -q tests/carve_manifest tests/carve_arrival
tests/carve_conformance tests/opendox_pin tests/openxdox_pin` -> **482 passed**
(main's 481 plus this act's own window test).

No declared line, no digest, no disposition and no admission moves in this
commit — only the figures that count them.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…own (task 5.3, RULING R-4) (#1059)

`split-opendox-two-layer-product` task 5.3, authored under RULING R-4 (Brett
Heap, `#656` comment `5690428146`, 2026-09-16, by
interactive multi-choice): "the box means a NEW `openxdox-consumer-gate.yml` in
openxFactory on the `openxwallet-consumer-gate` shape; 'retaining the job id'
is discharged by leaving `pytest-suite` untouched (no dashboard-named workflow
ever existed here)." CLAIM `5690508527`. `pytest-suite.yml` is byte-untouched;
`tasks.md` is not touched either — amendment #4 owns the tick.

THE HOLE THIS FILLS WAS NAMED IN THE TREE, BY THE TREE, IN THREE PLACES:
`pytest-suite.yml`'s own comment ("THIS IS NOT THE TASK 5.3 CONSUMER GATE …
that gate is Phase 5's, is unwritten, and stays named as owed") and both pin
files' `verify_pin:` comments. Measured at `cb2d3a2c`, before this branch:
`grep -rn 'verify-opendox-pin\|verify-openxdox-pin' .github/` returned exactly
one line — that comment. NEITHER VERIFIER WAS INVOKED BY ANY WORKFLOW.

WHAT THE GATE RUNS, in this order: `scripts/verify-openxdox-pin.py` (the elder
pin, RULING F), then `scripts/verify-opendox-pin.py` (the second direct
upstream, RULED Q7, whose check 5 reads openXdox's OWN derived
`contracts/opendox-pin.yaml` as a git blob at the gitlinked commit and refuses
`opendox-pin-lockstep-mismatch`), then the verifiers' own suites
(`tests/opendox_pin` + `tests/openxdox_pin`), then the consumer suite
(`tests/ideation-dashboard`) — the surface the § 5.2 shed left reaching INTO
both pinned legs through `scripts/carved_reach.py`, measured here at 42 files
and 207 helper sites (on this branch's tree, before #1032 moved that surface).
A pin whose bytes verify while the code that consumes them cannot import is a
green check that proved half its claim. The gate fails closed: if either
gitlink cannot be read the init errors and the verifiers never run.

TWO DEPARTURES FROM THE WALLET SHAPE, both forced and both stated. (a) The
init is `--recursive`, because `carved_reach.install()` needs `openDox/code/
src` AND `openXdox/code/src` on disk and refuses rather than degrading; the
SCOPING the wallet gate asserts is kept exactly (two gitlinks, no
`submodules: true`, `openXwallet` and `installs/omnigent-install` left alone).
(b) The checkout lands at `openxFactory/`: `human_seen.find_cross_reference_
validator` walks for an `openxFactory/`-shaped ancestor and answers None at the
workspace root, turning thirteen assertions into skips. Measured both ways at
`cb2d3a2c` — `tests=1137 skipped=13` root-shaped against `tests=1137 skipped=0`
aggregation-shaped, IDENTICAL SELECTION either way, because `skipif` marks a
collected test rather than uncollecting it. A floor on selected cannot see
that, which is why every pin here is an EXACT skipped count as well.

EVERY SUITE IS FOLLOWED BY A POSITIVE ASSERTION OVER ITS OWN JUNIT REPORT,
because every step here can go green having adjudicated nothing: floors that
may only rise (105/105 and 1137/1137), an exact skipped count (0 and 0), zero
failures, zero errors, and FIVE NAMED VERDICTS for the cases that cannot pass
unless the pinned trees are really on disk — a count is a sum, and a sum cannot
tell a case that stopped running from one that started. The two assertion
bodies are byte-identical by test, GitHub Actions having no YAML anchor: the
RULE is written once, the PINS twice.

AND THE ADJUDICATOR IS EXECUTED BY THE REQUIRED SUITE, NOT MERELY READ.
`tests/openxdox_consumer_gate/` carries 74 tests in two modules — the
invocation pins (shape, order, literal `MEASURED_PINS`, watched names that must
resolve to real tests, no minted credential, a hash-pinned sdist-refusing
install) and an adjudicator suite that EXTRACTS the shipped assertion body from
the workflow and runs it over synthesized JUnit reports: absent, skipped and
failing watched cases refused while the aggregates still read perfect; the
root-shaped 13 refused; floors, failures and errors refused; multi-suite and
single-suite roots summed; unparseable and missing reports failing the step.
Proved both ways against doctored copies of the body. That module reads the
workflow LAZILY and parametrizes over report NAMES: a module-level read that
raised would be a collection error, and a collection error interrupts the whole
required run rather than failing one file — the same class the invocation suite
documents, which this directory must not re-ship.

THE GATE IS ADVISORY ON THE DAY IT LANDS AND SAYS SO IN ITS HEADER. No ruleset
pins its token; a check is not selectable until a workflow has reported under
it once, so this gate had to run green on a pull request BEFORE an operator
can make it required — and that is a human act on a human-only surface. The
job carries no display name because the job id is the token that operator will
select. Three comments go stale the moment this lands and are registered rather
than edited: `pytest-suite.yml`'s "that gate is Phase 5's, is unwritten, and
stays named as owed" (R-4 discharges the job-id clause BY leaving that file
untouched; the test here pins the TOKEN — still declared there, not declared
here — while the byte-untouchedness is a property of this act's diff), and the
two
`verify_pin:` comments, which stay literally true until the operator pins the
token. All three retire together, in that act.

GREEN ON THE PULL REQUEST'S OWN HEAD, run 35118678267 at `49b79d01`: both pins
verified (`openXdox@a6500141…`, `openDox@3819625e…`, lockstep confirmed), the
two legs and their four nested gitlinks materialized under an anonymous HTTPS
rewrite with `persist-credentials: false`, `pin-suites-report.xml: selected=105
passed=105 skipped=0 failures=0 errors=0`, `consumer-suite-report.xml:
selected=1137 passed=1137 skipped=0 failures=0 errors=0`, and all five named
verdicts `passed`. CI's numbers equal the locally measured aggregation-shaped
ones exactly, and that run tested the CURRENT base rather than a stale one:
every run here checks out `refs/pull/1059/merge`, so the gate adjudicated this
branch merged with the tip of main after #1064, #1031 and #1032 landed —
the last two editing `docs/opendox-carve-manifest.yaml` and
`scripts/carved_reach.py`, which this consumer suite reads through. Four
distinct bases across the review (`cb2d3a2c`, `a499061e`, `b1df95ee`,
`d5dd1ca5`), the pinned counts unchanged on every one.

Nineteen Copilot reviews taken and answered — one per head it saw,
`557cae4c` through `72bdac7f`, measured from the reviews API WITH
pagination; the round numbers below are the finding-bearing ones. Every
thread resolved. Fixed: the
bearer written into the runner's global git config before
pull-request-controlled tests run (now an anonymous rewrite plus
`persist-credentials: false`); a basename collision with the wallet suite that
INTERRUPTED the required run at 2 collected (renamed, and the class pinned by
a scan that reads `python_files` so `*_test.py` counts too); an adjudicator
checked only as YAML text (now executed); floors pinned as shapes rather than
values; the 13 skips misattributed to both validator locators when only the
cross-reference one moves; `verify-opendox-pin.py`'s check 5 called a sixth
check; a stale filename in the header; and — found by re-reading rather than
by review — an inherited "41 test files" node claim true of neither side of
the pin, now measured three ways at FOURTEEN cases in ONE file and pinned by
the watched case's actual dependency rather than by a count; an adjudicator
that treated every unexpected report root as a container of test suites; an
unrefused `continue-on-error`, which marks a non-zero exit successful; a
credential guard that rejected only `secrets.` while `${{ github.token }}`
could come back; a VERDICT walk that read the whole document while the counts
came from the direct `<testsuite>` children alone, so a report could take its
floors from a real suite and its named verdicts from cases that suite never
ran (measured: the previous body exited 0 on such a report with `105/105/0`
and four verdicts `passed`; the scoped body still accepts both REAL CI
reports, pytest writing every case as a direct child of the one `<testsuite>`
it declares); and a credential scan that began at `jobs:`, blind to a
workflow-level `env:` block that Actions hands to every step of every job
; a bearer guard that
matched SUBSTRINGS when an Actions expression spells one value several ways, so
`${{ github['token'] }}`, `${{ secrets['X'] }}` and `${{ github . token }}` all
read as clean (now labelled patterns in both readings, with four parametrized
cases that each assert the previous reading's blindness in their own body); a
watch-presence guard that grepped `def <name>(`, which a docstring or a nested
helper satisfies while pytest collects nothing (now a parsed top-level
`FunctionDef`, proved on a real module); a premise guard that globbed
`*.yml` when Actions loads `.yaml` too (proved by dropping a real
`ideation-dashboard.yaml` in); `next(...)` for "the checkout", which is
the first of however many there are, so a second path-less checkout would have
left every such guard green over a root-shaped tree (now a count asserted
before the path is read, proved by adding that second step); a bearer guard
that enumerated SPELLINGS in a language with syntax — case-sensitive for
`secrets`, and blind to `${{ toJSON(github) }}`, which serializes the whole
context, token included, without naming it (now a structural reading of the
expression: the `secrets` context in any case, the `github` context used as a
value rather than dereferenced, `github.token` however spelled — measured
across eleven forms, and proved not to refuse `${{ github.ref }}` or its
non-secret neighbours); and the adjudicator suite EXECUTING that
pull-request-controlled body with `{**os.environ, **env}` inside the required
job, which `pytest-suite.yml:355-360` has already given a global git config
carrying `${{ github.token }}` — now a minimal environment with an isolated
HOME and `GIT_CONFIG_GLOBAL` at `os.devnull`, with a case that plants the
runner's exact shape and finds none of it in the child — an audit which
then also measured the carve reach here rather than borrowing the shed's
accounting, and stopped the collision docstring quoting a module count that
moves. Answered with the measurement rather
than a change: `tests/ideation-dashboard` IS a zero-skip suite here, because
`is_publisher_checkout(REPO_ROOT)` is true — and its third marker lives inside
the openXdox leg, which is exactly why the exact zero is worth pinning.
SonarCloud's one security finding on new code is fixed: `--only-binary :all:`
beside the hashes, measured at 17 packages, 17 wheels, zero sdists, and the
quality gate green at the landing head. The sixth round independently found
the import-time read this file had already made lazy one commit earlier, which
is the kind of agreement worth recording.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…verifier resolves identities, and another act's +48 attributed to this one

TWO FINDINGS, BOTH MEASURED, and the first is round 25's own fix falling one
step short of the claim it made for itself.

1. **§ 5.3's generator compared LABELS; `rows_for()` compares resolved
   `(repository, leg)` identities.** A `destinations:` key is a label and never
   a referent — `check_shape` deliberately admits two keys sharing one body —
   so `$DEST` given as the other spelling of a leg matched no row at all and
   produced an EMPTY path file, while the verifier, resolving both spellings to
   one identity, goes on expecting every row. That is the defect RULED Q-L8 (c)
   repaired in the tools and `#1032`'s round 9 found in the last selector still
   making it; round 25 wrote a generator that made it again while claiming to
   ask "the question the verifier asks". It resolves the key now, by the same
   three lines `_resolved_destination` uses, including its 1-tuple degradation
   for a key `destinations:` does not carry.

   THE RETIREMENT HALF STILL COMPARES LABELS, deliberately and like
   `retired_arrival()`: the block names the placement ITS OWN ROW makes, and a
   block naming another one is refused by `validate-carve-manifest.py`'s check
   6, which is the tool that owns that question.

   PINNED ON A DOCUMENT THE TEST MAKES, because the landed manifest declares
   five keys and no alias, so no run of it can show the case:
   `test_the_runbook_path_file_generator_is_the_verifiers_own_predicate` now
   also writes a copy of the manifest with a second key sharing
   `opendox_code`'s body and asserts both spellings give the same lines, each
   against `rows_for()`. Mutation-checked: restore the label comparison and it
   reds with `0 lines where rows_for() is owed 234`.

2. **§ 2's historical paragraph credited THIS act with the pre-existing
   `openxdox_code` annotation's work** — "This act MOVES … 703 -> 750 … 47 of
   this act's 48 lines" — one paragraph above the one that states this act's
   own 167 declared lines and `750 -> 917`. Measured on the landed manifest:
   `openxdox_code`'s cell is 917 today, the +48 (47 rows' lines plus the `:271`
   replica line) is the pre-existing annotation's, and this act's +167 starts
   where that left off. Both sentences now name the act that did the work. It
   is the same defect round 24 found in the neighbouring narrative, one
   paragraph up.

Round 25's own two over-long lines and one ragged wrap are repaired with them.

Green at this tree: five carve suites 483 passed (340 + 143);
`validate-carve-manifest.py` OK; `rederive-absolutes.py` (2621, 176), ALL
MIRRORS AGREE.

Refs #656 (stays OPEN). RULED 5656343213. CLAIM: `#656` comment 5656690570.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…a39141)

RULED 2026-09-16 by Brett Heap, in session (multichoice round), on the
governance note that put the register's 7→8 growth to him (PR #1029
issuecomment-5662333218): verbatim **"Keep the eighth entry"** — recorded at
issuecomment-5702650701. The growth is D3's disposition applied at the landing
head and not a count D3's ruling fixed; the baseline is the entries the
register holds WHEN the gate lands. The eighth entry
(`encode-wallet-authority-rulings-r6-r12`, class list-runs-into-prose) STANDS,
and the register lands at EIGHT on Brett Heap's word rather than on this lane's
reading alone. NOTHING THE RULING KEEPS IS EDITED: not `CLOSED_REGISTER`, not
the entry's declaration text, not its sha256 — a byte moved there would move
the digest, which is the one thing the closure pins.

Recorded in the three records the packet keeps this in, in the same words:
the entry's own `why:` in `scripts/code-surface-register.yaml`,
`CLOSED_REGISTER`'s provenance comment in `scripts/code_surface.py`, and
`tasks.md` § 3.4's eighth-carrier paragraph.

TENTH RE-MEASUREMENT, taken WITH the merge of `origin/main` `fa39141c`
(merged at `49007dc4`) rather than left for a later round:

  $ python3 scripts/validate-code-surface.py .     # exit 0
  code_surface: 47 active proposals, 47 declaring — 5 `none`, 34 a repository
  list, 8 named by the register, 0 outside the grammar.
    archive (read, never judged): 169 proposals, 123 declaring, 3 of them
    outside the grammar.
  $ python3 scripts/validate-scope-globs.py .      # exit 0

THE FIRST RE-MEASUREMENT SINCE THE SECOND AT WHICH THE ACTIVE CORPUS GREW, and
a measurement rather than an inference: `git diff --name-status
b1df95e..fa39141 -- 'openspec/changes/*/proposal.md'` is exactly two `A`
lines and nothing else — no `M`, no `D`, no `R`. `adopt-entry-grain-dispositions-form`
(#1050) declares a repository list (33 → 34) and `scope-pinned-arm-root-naming`
(#1052) declares `none` (4 → 5), the archive is UNMOVED at 169/123/3, BOTH
CONFORM and NEITHER is one of the eight — so no carrier arrived, NO ENTRY WENT
STALE (`scan().stale` is `()`) and the register stands at EIGHT untouched
(8 entries, `CLOSED_REGISTER` length 8, equal). Of the 6 commits `main` gained,
not one touches `gate-code-surface-declarations/`, `code_surface.py` or
`code-surface-register.yaml` — the two filings above, an openDox walked-root
admission (#1067), another packet's tasks § 3.4 amendment (#1035), the
openDox/openXdox consumer gate (#1059) and the `retired:` row-form carve
(#1032) — and the merge resolved ZERO conflicts. THE SCENARIO FIRED A NINTH
TIME AND AGAIN COST NOTHING; the ninth's "as this transcript/file stands" is
demoted to "at that re-measurement" in the same edit, since a clause that means
"latest" has to move every time the latest does.

tests/code_surface 153, tests/scope_globs 99, tests/target_release 96, 348 for
the three suites, all unchanged by the merge and by this edit. `OPENSPEC_TELEMETRY=0
openspec validate gate-code-surface-declarations --strict` — valid.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…ed suites and declare the ending replay's removal (RULED 5656343213) (#1043)

Lane: openxfactory-4

**The FIRST USE of the `retired:` form, landed after the form itself** — PR #1032 at `d5dd1ca5`, the ruling's own order — and merged forward onto `main` before landing.

Refs #656 (stays OPEN). RULED **5656343213** — Brett Heap, 2026-09-13, by interactive multi-choice, on the question slice S8's author put in `#656` comment 5650335573 § 2. CLAIM: #656 comment 5656690570. **PR #1032 (the form) LANDED FIRST at `d5dd1ca5`** — the ruling's own order: the form, then its first use — and this branch was merged forward onto it before being retargeted onto `main`.

## What this is

The **FIRST USE** of the `retired:` form PR #1032 adds, and the openxFactory half of a three-repository act. RULED 5656343213 retires three intent-feed suites at their legs; `views/intent-feed.js` is RULED **OQ-F** `not_moved` — it STAYED at openxFactory and arrived at **neither** leg — so all three test a surface that is not there.

| what | where | form | leg half |
| --- | --- | --- | --- |
| `tests/test_intent_tray_dom.py` (23 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 |
| `tests/test_wheel_verbs_dom.py` (8 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 |
| the ENDING REPLAY inside `tests/test_staging_workbench.py` | `openxdox_code` | **declared edit**, not a retirement | opensoft/openXdox-code#20 |

## The third one is not a retirement, and could not be

**`retired:` retires a ROW, and a row is a FILE.** `tests/test_staging_workbench.py`'s other hundred-odd tests drive surfaces that leg HAS, so the row goes on arriving and there is nothing to retire. Widening the form to a line range would put a second line-bearing grammar beside `edits[]` and give one row two readings of what its bytes are — a ruling's act, not an author's.

The minimal reading, and the one this floor already has a form for, is an **ordinary declared edit**: carve lines 1833-2006 (`_DOM_SHIM`, `_ENDING_REPLAY_HARNESS`, `_run_ending_replay()` and `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`) plus 2028-2030 (the docstring tail that named the removed probe as the behaviour's owner), declared under `adapter calls` — the class the S5 entry already gave those exact lines, because RULED OQ-1's vocabulary is closed and has no class for a removal. **A line is declared once per row**, so the ten lines S5 names — which sit inside the new range — are NOT repeated here: the block's **177** carve lines are the UNION of S5's ten and this act's **167**, the row declares **196 distinct** lines, and the extent is stated in both entries' notes in prose rather than by writing ten numbers twice. (An earlier draft of this act did declare them twice, deliberately, so the extent was readable in one place; `#1030`'s review landed a pin refusing any line declared twice on one row while this was open, and the merge went red on it — see the merge-forward record below.) S5's own note is AMENDED rather than rewritten, so the history stays readable.

**The extent is exact, and measured with the verifier's own line machinery** rather than argued: at openXdox-code `15e8115d` the arrived `tests/test_staging_workbench.py` differs from its carve blob on **196 carve lines — 0 undeclared and 0 declared-but-untouched**. The declared set and the touched set are the same set.

## What is on the branch

* `docs/opendox-carve-manifest.yaml` — the two `retired:` blocks, the new `adapter calls` entry for the ending replay, the amendment to slice S5's note on the lines the removal swallowed, **and the header paragraph that said no row carried the field**, which now names this act, its claim, its two leg pull requests and `retired 2`, plus a second paragraph on why the ruling's third suite carries no block.
* `tests/carve_manifest/test_carve_manifest.py` — **the pin MOVES rather than being deleted.** `test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere` was PR #1032's own guard that the grammar and its first use would be reviewed apart ("the day a row carries `retired:`, this assertion fails and the author must come here and say which act did it"). It is now `…_and_the_two_rows_it_retires`, asserting the two rows by `source_path` and, for each, the effective arrival, the ruling by comment id, `views/intent-feed.js` as the surface, `re_destined` absent and each row's existing declaration by exact `(class, lines)` — `path constants [30]` and `[26]`, the lines the LEG rewrote while the file was there, which a retirement does not reach — plus the claim the whole form rests on, read out of the document rather than trusted: the surface row is `not_moved` and NOT `replicated_at_destination`. `--json`'s `retired` moves 0 → 2 in the same test. **It bites, proven by tampering**: flip the wheel row's `[26]` to `[27]` and this test fails; restore it and it passes. Its Q6 sibling `…_and_the_four_rows_s5_re_destines` is the shape copied, deliberately.
* **The pair, re-derived at the merged head and TWICE moved on the way there:** `(lines, carrying)` **`(2454, 176)` → `(2621, 176)`**. The bullet first said `1584 → (1761, 159)` and then `+177 lines`; slice S7, slice S8 and #1031 each moved the base under it, and the de-duplication moved the delta — **+167**, not +177, because slice S5's own entry on this row already declares ten of the removed block's lines and a line is declared once per row. The carrier count does not move (the row has carried `edits:` since S5) and the two RETIRED rows move neither figure, because `retired:` touches no `edits[]`. The act's own entry is pinned by row, class and exact lines beside the ASK-7/S3/S4/S5/S6 pins — and now asserts all three of its 167, slice S5's ten and their 177-line union, because the aggregate alone would pass just as well if those lines had landed on another row or under another class.
* `docs/opendox-cutover-runbook.md` — § 2's "NO ROW CARRIES IT TODAY" → "TWO ROWS CARRY IT TODAY" and the aggregate paragraph re-derived; § 5.8 gains the **residue list** and the **two-merge window**, both measured.
* `docs/opendox-carve-admissions.yaml` — the prose THIS repository owns and this act falsifies: the `tests/test_intent_binding_dom.py` entry called the two retired suites its "narrowed out of validate.yml" siblings. They are not narrowed, they are gone.
* `README.md` + three tool docstrings — the four other places that publish the declared-line total (Copilot round 2).

## What this act does NOT move, said rather than left silent

* ~~**The per-destination table in § 2.**~~ **WITHDRAWN — this act DOES move it, and one cell only.** That bullet was written when the table was stale and the redistribution was reserved for "one later act". **Slice S7 IS that act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`, so the cells are a MEASUREMENT again and an act that moves the aggregate must move them with it. Every one of this act's 167 declared lines falls on ONE `openxdox_code` row, so exactly one cell moves — `openxdox_code` **750 → 917** — and neither replica line is touched, because a retirement declares no line at all.
* **Five `(DRAFT PR …)` markers in the manifest that belong to OTHER acts** — slices S3, S5 and S8 named `openDox-code#16`, `openXdox-code#17`, `openDox-code#17`, `openDox-code#23` and `openXdox-code#19` as drafts, and every one has since merged. This act found that defect in its own two notes and corrected them to name the landing ORDER instead of the draft STATE; it did not sweep the other five, because an act does not rewrite another act's record in passing and five notes edited under a retirement's claim is the undeclared edit this floor exists to refuse.
* **`views/intent-feed.js`.** A retirement deletes an ARRIVAL, never a surface. This act asks nothing of that row but that it still read `not_moved` — which is the `carve-retired-surface-live` gate.
* **Two stale sentences inside CARVED files at openDox-code**, `tests/test_account_menu_dom.py:4` and `tests/test_doxbench_tile_verbs.py:19`, both naming `test_wheel_verbs_dom.py`. The rows declare `[30]` and `[34]` under `path constants`; a comment naming a retired sibling is in none of OQ-1's three closed classes, so the repair is refused by name and the sentences stay. They are now listed in § 5.8 and in openDox-code#24's own `validate.yml` comment, so the cost is declared on both sides of the boundary.

## Evidence, at `338308c8` (the merged, retargeted head)

* Five carve suites — `tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin` → **483 passed** at the merged head (482 + Copilot round 25's pin), and `tests/doc-health` → **1826 passed** (the two suites that read anything this act changes).
* `python3 scripts/validate-carve-manifest.py` → `OK … 456 row(s) … 4 row(s) RE-DESTINED by ruling (RULED Q6); **2 row(s) RETIRED by ruling (RULED 5656343213)**`.
* **Leg B** — `verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code#24 @e2d5ac46> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py` → `OK … 117 row(s) arrived, 35 digest(s) verified, 82 declared-edit row(s) within their lines, 1 unapplied; 1 of 1 declared replica verified; 147 file(s) with none undeclared; 0 re-destined HERE and 4 AWAY verified vacated; 2 row(s) RETIRED here by ruling and verified absent (RULED 5656343213); 21 declared admission(s) used`. Run against the leg's OWN merged head, not a scratch tree: the deletion and this manifest are one act and this is the pair being asserted.
* **The gate, measured in the other direction too**: the same run against openDox-code `8efb3cf5`, where the two files are still present, refuses `arrival-not-retired` and names the ruling rather than the filename.
* **The landed-rows refusal needs no materialized leg, measured with a control**: in a worktree whose `openDox` and `openXdox` directories are EMPTY, `test_carved_reach_refuses_the_two_landed_retired_rows` passes while `test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival` — RULED Q6's companion, which legitimately requires both legs — fails there, and a NON-retired moved row's `source()` raises `CarveReachUnavailable` in that same checkout. **The ORDER is not the same in the three callers the case drives** (Copilot round 25): `source()` refuses the retirement before it resolves a mount at all and `shed_relpath()` reads the row and stops, but `module()` calls `install()` FIRST and `install()` DOES probe both legs — it records a missing one on `sys.meta_path` rather than raising, deferring that error to an import. What all three share is the OUTCOME this evidence rests on: the refusal holds where the submodules were never initialized, which is the state a retained consumer is most likely to be read in.
* **Leg A** — `verify-carve-arrival.py --destination openxdox_code --dest-root <openXdox-code#20 @15e8115d> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py` → `OK … 96 row(s) arrived, 9 digest(s) verified, 85 declared-edit row(s) within their lines, 4 unapplied; 2 of 2 declared replicas verified; 124 file(s) with none undeclared; 4 row(s) re-destined HERE and 0 AWAY; 23 declared admission(s) used`. **PR #1031 has LANDED**, so this is no longer measured in a scratch tree that carries it: before that merge the run stopped on this leg's PRE-EXISTING undeclared `src/openxdox/gate_console.py` lines, which were #1031's subject and never this act's.

## Landing order, and the window it opens

PR #1032 (the form) → **this** → the two legs. Between this and openDox-code#24 the leg's own arrival run REFUSES (`arrival-not-retired`), which is § 5.7's window in its other form and closes by merging the deletion, never by touching the manifest. The partial case is gentler: a declared edit not yet applied is no refusal, so until openXdox-code#20 lands the ending replay's lines simply read as not-yet-applied inside a row still within its declared lines (measured at openXdox-code `c1ad341a`: 29 of that row's 196 declared carve lines differ, none undeclared).

**The gates run now, and they did not before.** Every openxFactory required check except `lane-line` and `merge-master-approval` is declared `on: pull_request: branches: [main]`, so while this targeted #1032's branch only two of them existed. #1032 landed, this was retargeted with `gh pr edit 1043 --base main` BEFORE that branch was deleted, and the full set ran. **TEN of the eleven PASS at `338308c8`** — `openxdox-consumer-gate` among them, required on `main` since ruleset 23554310 landed on 2026-09-16. **`pytest-suite` (run 35136981617) is RED, and not on this act**: `main` itself fails the same single test at `fa39141c` (run 35135352984, 18:35Z) and the failure reproduces in a clean checkout of `origin/main` with nothing of this act in it — `test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree`, on two ACTIVE RATIFIED writers of one `document-lifecycle` requirement that landed at 18:33-18:35Z (`scope-pinned-arm-root-naming` and `adopt-entry-grain-dispositions-form`, neither naming the other). This pull request HOLDS until `main` is green; the figures below are measured at this head either way.

## Merged forward, and what the merge FALSIFIED

This branch was merged onto PR #1032's head after #1032 itself had merged `main` — one merge, not two, and deliberately so: #1043 already carried #1032's branch commits, so letting #1032 SQUASH into `main` first and then merging `main` would have given git a merge base older than both and delivered the same change by two routes. That is the stacked-squash trap, and it manufactures conflicts in exactly the files that publish one absolute.

**Six conflicts and TWO RED TESTS, every conflict a place the same figure or the same narrative is published, and `docs/opendox-carve-manifest.yaml` was NOT among them** — the document this act actually changes auto-merged clean. The rule for all six was one rule: **take the incoming side and APPEND this act's link**, never replace a narrative and never take a side on a number.

| file | what collided | resolution |
| --- | --- | --- |
| `README.md` | the doc-index runbook line | incoming, figure re-derived |
| `scripts/carve_lines.py`, `validate-carve-manifest.py`, `verify-carve-arrival.py` | one bare aggregate in a docstring, three times | incoming, figure re-derived |
| `docs/opendox-cutover-runbook.md` | **seven** hunks | see below |
| `tests/carve_manifest/test_carve_manifest.py` | the aggregate test's narrative chain + its pin | incoming chain, this act appended, pin re-derived |

The seven runbook hunks: § 2's aggregate line (re-derived); the ACT-NARRATIVE chain (**union in landing order** — S7 +782, S8 +40, the pre-existing annotation +48, and only then this act's **+167**, which is the figure the de-duplication below left it at and the figure the runbook states); the replica-line paragraph (incoming whole, plus one sentence saying this act moves one cell and neither replica line); the "CURRENT TO" clause (extended by one link, with this act at its head); the enumerated history's tail (this act added to the movers, **not** re-narrated — the paragraph's own warning is that two acts restating one set of absolutes is how a count becomes wrong in a merge); the per-destination lead sentence; and the `794 … N now` mirror.

**THE MERGE FALSIFIED THREE OF THIS BRANCH'S OWN CLAIMS, and that is the substantive half.**

1. **The staleness registration is gone.** This branch said the per-destination table's cells "still sum to 1421", registered the table as history and deferred the redistribution to "one later act". **Slice S7 IS that later act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`. So the table is a MEASUREMENT again and this act must move its own cell rather than register the table as stale — `openxdox_code` **750 → 917**, one cell, because every declared line of this act falls on one row of that leg. The pin would have caught it; the point is that it did not have to.
2. **"The table is not moved by this act either"** went with it, in § 2's narrative chain.
3. **THE ROW DECLARED TEN LINES TWICE, AND THE AGGREGATE COUNTS ENTRIES.** This act's `adapter calls` entry carried the removed block's full **177** carve lines, ten of which slice S5's own entry on the same row already declares — *"declared twice on purpose"*, the note said, *"so the removed block's extent is readable in one place"*. Between that authoring and this merge, `#1030`'s Copilot review added a pin to `test_the_real_manifest_carries_the_ruled_q_l7_amendment` refusing ANY line declared twice on one row, and its reason governs: the published aggregate SUMS LINE ENTRIES, so a repeat states ten lines this act does not add while the row's declared SET is unchanged. **The merge went red on it, which is the pin working.** The repair is the minimal one — this entry carries the other **167** lines and the note says in prose where the ten are — so the row declares **196 entries over 196 distinct lines**, `verify-carve-arrival.py` (which reads a row's declarations as a SET) asks the leg for exactly what it asked before, slice S5's landed record is untouched, and this act's honest contribution to the aggregate is **+167**, not +177. The block still spans 177 carve lines and both entries' notes still say so.

**The first-use pin failed at the merge, exactly as this body predicted, and the failure is the pin working.** `#1030` (slice S7) added an `adapter calls` entry at carve line **310** to the `tests/ideation-dashboard/test_wheel_verbs_dom.py` row — a row this act RETIRES — so the pin's `[("path constants", [26])]` became `[("path constants", [26]), ("adapter calls", [310])]`, written here with the act that added the second entry named. A declaration carried on a retired row is lawful and is what the form is for: `verify-carve-arrival.py` drops a retired row before it asks the destination anything, so the entry is CARRIED, not applied, and the row goes on recording what the carve moved and what each ruling did to it.

**§ 5.5's TWO PHASE EXAMPLES MOVED TOO, and a pin that did not exist when this branch was cut is what said so.** `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` arrived on `main` with slice S8 (`#1025`): it re-derives both of § 5.5's expected lines from the LANDED manifest and composes them with the verifier's own summary, elision by elision, because the runbook states what an operator compares their own run against — so a figure it states and the tool cannot print is an expectation no run can meet. Retiring two `opendox_code` rows takes that leg's EFFECTIVE arrival from **119 to 117**; both are `moved_with_declared_edit`, so the verbatim count stands at 35 and the declared-edit count falls 84 → 82, and phase B's printed figure is that plus the one line-declaring replica the example places (**85 → 83**). Both comments are re-derived, and § 5.5's "EFFECTIVE arrival" paragraph now names BOTH subtractions — RULED Q6's four re-aimed rows and this ruling's two retired ones — as the one point they are: § 2 records what the CARVE moved, a run reports what this leg PLACES.

**Figures, RE-DERIVED from the merged document and not carried from either side** (`rederive-absolutes.py`, which measures the manifest and then checks all **seven** mirror sites — the seventh added in round 14, after it turned out to be the one left stale): the pair is **`(2621, 176)`**, by class `adapter calls 1649, import rewrites 726, path constants 246`, per destination `opendox_code 1667 / opendox_spec 26 / openxdox_code 917 / openxdox_spec 9` summing to `2619` plus the `2` replica lines that belong to no destination column, `retired` 2, `re_destined` 4. **ALL MIRRORS AGREE.**

## And then `main` itself, after #1032 squash-landed

#1032 merged at `d5dd1ca5` and #1044 at `b1df95ee`, and this branch then took `git merge origin/main` — **the second half of the same trap, arriving from the other side.** Because this branch already carried every one of #1032's commits, git's merge base fell back to `a499061e` and #1032's SQUASH arrived as a second copy of a change this tree already had: **five files, fourteen hunks, and every hunk the same shape — OURS is THEIRS plus this act's own edit on top.**

Resolved by that one rule and VERIFIED rather than asserted: every removed line in `git diff origin/main` was read, and each is a line #1032 landed and this act deliberately rewrites — the zero-use pin into its first-use form, `retired 0` into `retired 2`, "NO ROW BELOW CARRIES THE FIELD" into the paragraph naming the two that do, and `2454` into `2621` at each mirror. Nothing of `main`'s survives only on `main`. #1044's two files (lane `openxfactory-5`) auto-merged and are carried unchanged. The gitlinks needed no repair and that was CHECKED: `git ls-files -s openDox openXdox` and `git ls-tree origin/main` agree at `openDox 3819625e` / `openXdox a6500141`.

## Copilot round 14 — three merge-forward reviews (this PR's 17th, 18th and 19th), two open threads and ten findings, ALL REAL, all fixed

**A SEVENTH `assert True; return` NO-OP SEAT**, in this act's own `test_carved_reach_refuses_the_two_landed_retired_rows`. `#1030`'s review took that idiom out of five landed-document tests; `#1032`'s round 10 took it out of a sixth; this act — authored beside BOTH — arrived carrying it a seventh time, on the test that reads the FIRST USE of the entire form. It now reads through `the_landed_manifest()`, where the absence is a failure. **Proven by tampering**: with the manifest moved aside the test FAILS naming the file, where before it reported `1 passed`; restored byte-identical. Three acts in a row is not three accidents, and the module docstring now says why: the idiom is read off the neighbouring test that still legitimately branches, so every act that adds a landed-document pin re-makes the cleanup until the seat test is the only branch left to copy.

**A SEVENTH AGGREGATE MIRROR the re-derivation did not know about.** `tests/carve_arrival/test_verify_carve_arrival.py:3329` states what the manifest pin IS — not dated history — and still said `(2454, 176)`. Corrected to `(2621, 176)`, **and the site was added to `rederive-absolutes.py`'s `MIRRORS`**, because a tool that checks six of seven places will leave the seventh stale again in the next act exactly as it did in this one.

**177, 167 AND 196 ARE THREE ANSWERS TO THREE QUESTIONS, and two documents were giving one of them to all three.** The manifest header and runbook § 2 both called this act's declaration "`adapter calls`, 177 lines". **Measured from the landed row**: its four entries carry **196 line entries over 196 distinct lines** — 12 `import rewrites`, 7 `path constants`, slice S5's 10 `adapter calls` and this act's **167** — with **zero repeats**. The removed block SPANS **177** carve lines; the entry declares **167** of them; the row declares **196**. Both documents now name all three and say which is which. The same conflation had also survived into § 5.8's transition-window paragraph, which still described the pre-dedupe design — "206 line entries … declared twice on purpose" — and now states the rule that replaced it: a line is declared once per row, and the block's extent lives in the two entries' notes rather than in ten numbers written twice.

**TWO "TODAY"s THAT WERE NOT TODAY.** `test_carve_manifest.py`'s ASK-7 provenance comment called `(1761, 159)` the current aggregate and the shared line-number docstring called 1761 "today", while the assertion three lines above enforces 2621. Both now read as the chain they are — `(1422, 158)` at RULED Q-L8 (c), `(1761, 159)` at RULED Q-L7 (a), `(2621, 176)` today — because a dated figure kept beside a current one is the point of those comments and a stale one impersonating the current one is the opposite.

## Copilot round 15 — the paragraphs that explain ONE subtraction, where this act makes a second

Three sentences, one defect, and it is this act's own. **RULED Q6 took four rows off `opendox_code`'s EFFECTIVE arrival and gave them to `openxdox_code`; this act takes two more off `opendox_code` and gives them to nobody**, because a retired row is owed at no leg at all. Everything that explained the Q6 subtraction was explaining one subtraction where there are now two. Measured from the landed manifest:

```
opendox_code : TABLE 123 (35 verbatim / 88 edited) -> EFFECTIVE 117 (35 / 82)   [-4 re-destined, -2 retired]
openxdox_code: TABLE  92 ( 9 verbatim / 83 edited) -> EFFECTIVE  96 ( 9 / 87)   [+4 re-destined]
```

§ 2's per-destination explanation said *"FOUR FEWER … 119 against 123 … the EFFECTIVE edited counts are 84 and 87"* and now says **SIX FEWER, 117 against 123, and 82 and 87**, with both rulings named and the difference between them stated — a re-destination MOVES a placement and its declared lines travel with it; a retirement DELETES one and its lines leave every leg's reckoning while the row goes on recording them. § 5.5's *"the `85` is `84` moved rows plus the Q-L7 replica"* is now **`83` is `82` plus the replica**, with the old pair kept as what it was until this ruling. The arrival test's marker comment and its replica-arithmetic docstring went with them.

**And the reason § 5.5's EXAMPLES were already right while the sentences explaining them were not** is the finding worth keeping: `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` DERIVES both figures from the invocation and the manifest instead of carrying them, so they moved with this act on their own. A derivation is what lets a figure survive an act nobody was thinking about when the example was written; the prose about the derivation has no such protection.

## Copilot round 16 — § 2's disposition table is a LEDGER, and the column beside it is an OBLIGATION

The table's `moved_with_declared_edit` row says what a destination owes for a row of that kind — commit A byte-identical, commit B's diff touching only that row's declared lines — and until this act every row of a kind owed the same thing. **Two of the 175 are now RETIRED and owe neither half of it.** `rows_for()` drops a retired row before the destination is asked anything; § 5.8 requires the OPPOSITE, that `retired.at_path` be ABSENT, and `arrival-not-retired`'s remedy is the deletion and not a diff.

**And the count must not move**, which is why the qualification is prose and not arithmetic: the row keeps its disposition, its digest and its `edits[]` — the whole reason the ruling made a retirement a FIELD rather than a re-cut — so 175 stays 175 and the table stays the carve's ledger. RULED Q6's four re-destined rows are named beside them as the milder case: their proof is owed at the leg `re_destined.to` names. **Appended to the totals paragraph, never inserted as a third one** — `test_the_runbook_disposition_table_and_totals_are_the_manifests_own` bounds that block between two fixed sentences and fails on a third paragraph.

## Copilot round 17 — `surface:` was glossed as the surface the arrived file DROVE, and the first use is false of it

The sharpest finding this act took, and the only one about the GRAMMAR. `surface:` landed at #1032 glossed *"the openxFactory path of the SURFACE the arrived file DROVE"* — with **no row using the form**, which is exactly the condition under which a gloss can be narrower than the thing it describes and nobody finds out. The first use retires two rows that do **not** stand in the same relation to the surface they both cite: the TRAY suite drove `views/intent-feed.js`; the WHEEL suite does not, and this act's own `note:` says so in the suite's words — it *"rides along because dispose.js imports it"* and *"drives the LOCAL path only"*.

**Widened, not re-pointed, and the value does not move.** `surface:` is now *the SURFACE THE ARRIVED FILE NEEDED AND CANNOT OBTAIN AT ITS LEG* — exact for both rows where DROVE was exact for one — and **the gate is unchanged**, because `carve-retired-surface-live` asks whether the cited row is `not_moved` and never how the arrived file used it. **Re-pointing would be worse:** the module the wheel suite really drives is `views/dispose.js`, which slice S5 moved to `openxdox_code` — at a leg, so "gone from BOTH legs" is false of it and the gate would refuse it, correctly.

**The finding underneath the finding: the form names ONE absence where a retirement may rest on TWO**, and this act is the first to produce such a row. Now stated in the manifest header beside the widened gloss and in runbook § 5.8's *"What the form CANNOT express"*. A `surface:` **list**, or a second field for *"moved to another leg"*, is **a ruling's act and not an author's** — the line § 5.8 already draws for widening `retired:` to a line range. **Eleven carriers swept together**, every site asserted before it was edited; the only surviving *"drove"* quotes what the gloss used to say.

## Two `(DRAFT)` words this act found in itself

Not a review round. Both `retired:` notes called the leg pull request carrying the deletion `(DRAFT)` — true on a branch, **false within minutes of the landing**. A `retired:` note is the only account of the deleted coverage that survives the deletion, so the durable record is the last place that should carry a word with a shelf life. Both now name the **order** the ruling fixes instead of the **state** of an afternoon. The five other `(DRAFT PR …)` markers in this manifest belong to slices S3, S5 and S8 and are registered as residue rather than swept — an act does not rewrite another act's record in passing.

## Copilot round 18 — round 17 corrected the PROSE and left the DIAGNOSTICS

Five suppressed comments and one thread, all one finding. Round 17 widened `surface:` and swept **eleven** carriers — every one of them reading matter. **It did not go to the strings the program prints**, which is the half an operator meets. Seven more sites, three of them live messages: `carved_reach.py`'s `CarveRowRetired`, which **the newly landed wheel row is the first row that can raise**, and which said *"the surface it drove"* of a suite whose own note says it did not; `verify-carve-arrival.py`'s remediation, printed on **every** refusal including `arrival-not-retired`, the one whose remedy is a deletion; and `validate-carve-manifest.py`'s `carve-retired-surface-live` refusal, explaining the rule to an author with the word the first use disproved. Four more state the contract rather than raise it: the `--json` record's account of the field, two test comments (one sits over the assertion covering BOTH retired rows and now names the difference in place), and **`README.md`'s public index**, which published a condition the first use already disproves.

**Eight rounds running, and the lesson is sharper each time.** A correction is finished only when every CARRIER is found, and a carrier is not only the figure (round 14's seventh mirror), the sentence explaining where the figure comes from (15), the column saying what the figure obliges (16), or the gloss defining the field (17) — it is also **the string the program prints** (18).

## And the same defect one grammar earlier, found by sweeping for this act's own

Not a review round. The **RULED Q6 section header** in `tests/carve_manifest/test_carve_manifest.py` said, in the present tense, that *"the landed manifest — which carries the form and uses it nowhere"* is asserted separately in the § 8.2 seat. True the day PR #1011 landed Q6 with the grammar and no user; **false since slice S5 (PR #1023) re-destined four rows**. It is fixed in the same shape as the `retired:` section header below it — which this act already had to rewrite for exactly this reason, one grammar later: name the state the form LANDED in *and* the state the document is in now. **A grammar that lands ahead of its first use plants a present-tense sentence with a fuse in it**, and both of this floor's placement grammars have now proved it.

## Copilot round 19 — the verb survived in the PROCEDURE, and in the check's own docstring

Two threads, three sites, the same verb rounds 17 and 18 swept from the prose and the diagnostics — this time where it does the most work. § 5.8's **opening account** said the three suites *"reached their legs DRIVING `views/intent-feed.js`"*, the first sentence a reader meets in the section and the one the wheel row's own note contradicts. **§ 5.8 step 1 is the sharper half and is worse than a stale sentence: a FALSE REQUIREMENT put to the person whose word the whole form rests on** — a ruling asked for *"the surface they drive"* is asked a **narrower question than the grammar answers**, and the first act to use this form had one row of two that could not have answered it. And `_check_retired_surfaces`'s docstring, with a second finding inside it: **three and two are both true of different things** — the ruling retires three suites, one drove the module, one only loads it, and **the third is not a `retired:` row at all**, so exactly two rows reach that check.

**Three rounds on one verb, and the order they were found in is the lesson:** 17 corrected the definition and its prose, 18 the strings the program prints, 19 the procedure and the check. **A vocabulary change is not finished when the definition is right; it is finished when nothing still asks the old question.**

## The last copy, found by enumerating the verb instead of grepping for it

After rounds 17, 18 and 19 each found *"drove"* somewhere the previous sweep had not looked, the last one was done by **enumeration**: every `drove | drives | driving | drive` in the eight files this act touches, read in context — **32 occurrences, 31 correct**, and one wrong (`validate-carve-manifest.py`'s *"WHAT S8 NEEDS IT FOR"* paragraph, carrying the same sentence § 5.8 had just shed). **And the first wording of that fix made a claim this act never measured** — *"one DROVE it and two only load it"*, an assertion about the ruling's third suite, whose relation to the module this act never measured because nothing in it depends on that. Reworded to say only what was measured. **A sweep that tidies a verb is not a licence to answer a question nobody asked.**

## Copilot round 20 — the per-destination table's own qualifier named ONE ruling where there are now two

Three suppressed comments, **two of them already fixed before the review landed** (§ 5.8's opening at `8cf33395`, the validator's *"WHAT S8 NEEDS IT FOR"* at `4eddf3b0`), and one new and real. The table's lead sentence — *"counted at the `destination:` each row names, which is what each leg's arrival run reports, **save where RULED Q6 re-destined a row**"* — is the sentence that tells an operator **when the table and a run disagree**. This act adds the second reason they disagree and had already written it into the paragraph BELOW the table while the qualifier ABOVE still named only Q6.

**Moved in lockstep with its pin.** `test_the_runbook_per_destination_table_is_the_manifests_own_sum` bounds the table by that exact sentence, held as a string constant whose own comment says *"a re-wrap of the sentence breaks this anchor LOUDLY … rather than quietly moving the block's boundary"* — so the sentence and the constant move together, and the constant's neighbouring comment now records **why** the qualifier grew.

## Copilot round 21 — § 5.5's phase-B example is the COMPLETE commit B, and it did not say so

The example promises `83 declared-edit row(s) … 0 unapplied`; a real run of that exact command today prints `82 … 1 unapplied`. **The finding is the last clause of the review: the pin cannot catch it** — it composes both expected lines from the MANIFEST and holds no destination checkout, so the runbook and its pin can be consistently wrong together.

Measured by running the documented command verbatim against openDox-code#24 at `e2d5ac46`, then taking the arithmetic apart rather than assuming it. `82` is this leg's EFFECTIVE edited count; **one** of those 82 is byte-identical to its carve blob, so it counts as `unapplied` and not as `diffed` — leaving 81. The line-declaring replica **really does differ**: `tests/conftest.py` against the carve blob of `tests/ideation-dashboard/conftest.py` at **line 25** (`REPO_ROOT = HERE.parent.parent` → `HERE.parent`), that row's own declared `path constants` line, and `check_replicas` adds it to the same counter. So **`81 + 1 = 82` today and `82 + 1 = 83` the day that last edit lands**.

**So the example is right and INCOMPLETE, not wrong** — it is the complete commit B's line, which is exactly what `0 unapplied` already declares itself to be one sentence earlier, and the `83` is that standard's other half, which nothing said. Both say it now, with today's real figures beside them, so an operator reads the gap as **the leg's remaining work**. Neither the expected line nor its pin is changed: the pin composes from the manifest deliberately, because documentation that moved every time a leg committed would pin nothing.

## And round 21's own insertion broke the sentence it interrupted

Found by reading the edit back in place rather than trusting that it applied. The measured paragraph went in mid-sentence, leaving the original continuation hanging off a colon whose subject was three sentences away — **a correction that makes the document harder to read is not finished either**. Restructured into three paragraphs. **And the interrupted sentence carried a real error that only re-reading exposed**: it said the phase-B figure is *"one above the `verbatim / edited` column § 2's per-destination table states"*. That column reads **88**; the phase-B figure is one above the **EFFECTIVE** edited count, **82**. The six-row gap is this floor's two placement rulings — the distinction § 2's own paragraph was amended to make two rounds earlier, which this sentence one section down had never been told.

## Copilot round 22 — "retired one" read as a COUNT

Round 20's own wording. The qualifier read *"save where RULED Q6 re-destined a row or RULED 5656343213 **retired one**"*; the `one` was **anaphoric** — "a row" — and a careful reader took it for the **number** one, which is wrong either way (four re-destined, **two** retired). **The reading matters more than the ambiguity**: this is the sentence that tells an operator when the table and a run disagree, and it is pinned as a string constant precisely so it cannot drift — a sentence that has to be parsed twice is not doing that job. Both clauses are plural now and the sentence states a KIND of exception rather than a count, moved in lockstep with the marker constant, with the misreading recorded beside it.

## Copilot round 23 — two sentences that would have landed FALSE

*"TWO FIGURES, AND THEY ARE NOT THE SAME ONE"* in the manifest header, where the same sentence names **three** (the block SPANS 177, the ENTRY declares 167, the ROW declares 196) — round 14's own comment called them *"three answers to three questions"*. And **this description itself**, which is the landed commit message, still said the ten lines S5 declares are *"declared twice"*: true of an earlier draft, false since `#1030`'s pin landed mid-flight and the merge went red on it. Corrected above. The third was the remediation printed on **every** `arrival-not-retired`: it ended *"the deletion and the block land together or not at all"* — worse than stale, because **the two cannot land in one commit at all**, being in different repositories with § 5.8 landing the block FIRST on purpose. An operator meeting that refusal is in the **expected state of the window**, and the string now says so and names the remedy: the leg's own pull request, never an edit to the manifest.

## Copilot round 24 — a chronology that ended one act too late, and a PHASE CONTRACT this act made false

§ 2's act-narrative said slice S8's forty lines gave *"the `1667` and `703` the table carried **until this act**"* — and the very next sentence says the pre-existing `openxdox_code` annotation moved that cell to `750`, which is where this act's own `750 → 917` starts. Corrected.

**And this act made the verifier's phase contract false**, which is the more interesting half. The module docstring said *"`--phase A` can prove EVERY moved row of a destination at its strongest"* and `--phase`'s `--help` said the same. Both were exactly true until RULED 5656343213: `rows_for()` now drops a row retired at its own effective arrival **before either phase asks anything**, so it is not placed, not digested and not diffed — and what is required instead is that `retired.at_path` be ABSENT. Both now read *"every moved row NOT RETIRED by ruling"*. **The `--phase` help is the second diagnostic this act has had to repair after changing what the tool does**, and a `--help` line is the carrier a person reads *before running anything*.

## Copilot round 25 — a path file the documented procedure then REFUSES, and one control-flow claim true of one caller in three

**§ 5.3 generated a tree § 5.5 refuses.** The path-file generator keyed on `destination:` — the field a RULED re-destination (§ 5.7) and a RULED retirement (§ 5.8) both leave exactly as the carve wrote it, because it is the record of what MOVED. Measured on the landed manifest:

```
opendox_code : `destination:` key -> 123 rows / 246 lines     rows_for() -> 117 / 234   [-4 re-destined, -2 retired]
openxdox_code: `destination:` key ->  92 rows / 184 lines     rows_for() ->  96 / 192   [+4 re-destined]
opendox_spec / openxdox_spec: 56 and 47, unchanged — no ruling has touched either leg
```

Commit A would place the four rows RULED Q6 sent away and the two RULED 5656343213 retired, for the phase-A run one section down to refuse **before printing the line § 5.5 promises** — one refusal per run, both checks raising on the first row they find, so six leftovers cost six runs with the losing half asked first. **The same key fails the other half in SILENCE:** the gaining leg's path file is four rows SHORT, so the files that ruling moved there would be missing from the carve ref meant to place them. The generator now asks the question the verifier asks, and § 5.3 records what the gap means for history — the two `-code` legs were carved BEFORE both rulings, which is why their real history carries those six removals as later commits (§ 5.7 step 4's LOSING half, § 5.8 step 4) rather than as an arrival that never placed them.

**Pinned by RUNNING the documented program**, because a generator and a verifier that disagree about which rows a leg is owed cannot be caught by reading either alone: `test_the_runbook_path_file_generator_is_the_verifiers_own_predicate` lifts the heredoc out of the document, feeds it to `python3 -` with § 5.3's own arguments, and compares its two lines per row with `rows_for()` and `effective_arrival()` for every destination the manifest declares — `opendox_root` among them, whose whole answer is no lines at all. **Its boundary was found by its own fail-closed assertion on the first run**: this runbook quotes TWO `<<'PY'` heredocs (§ 8's shed `def test_` count is the other), so it is bounded on § 5.3's COMMAND LINE, which is also the invocation it reproduces. Mutation-checked both ways — 238 lines against 234 without the retirement filter, 242 without the re-destination branch — and the paragraph's own six figures are derived here too.

**And the suppressed comment was the same shape one level down:** the retirement case's docstring stated ONE order for THREE callers. § "Evidence" above carries the corrected account; the short form is that the OUTCOME holds for all three and the ORDER does not.

## Copilot round 26 — a generator comparing destination LABELS, and another act's `+48` attributed to this one

**Round 25's fix fell one step short of the claim it made for itself.** § 5.3 said it asked *"the question the verifier asks"* and compared **labels**, where `rows_for()` compares resolved `(repository, leg)` identities. A `destinations:` key is a LABEL and never a referent — `check_shape` deliberately admits two keys sharing one `{repository, leg}` body — so `$DEST` given as the other spelling of a leg matched no row at all and produced an **EMPTY path file**, while the verifier, resolving both spellings to one identity, went on expecting every row. It resolves the key now with the same three lines `_resolved_destination` uses, **including its 1-tuple degradation** for a key `destinations:` does not carry. **The RETIREMENT half still compares labels, deliberately**, and the prose says why: `retired_arrival()` asks whether the block names the placement ITS OWN ROW makes, and a block naming another one is `validate-carve-manifest.py`'s check 6 — resolving here would quietly re-decide the other tool's finding.

**Pinned on a document the test MAKES**, because the landed manifest declares five keys and no alias: the pin writes a copy of the manifest with a second key sharing `opendox_code`'s body and asserts both spellings give the same path file, each against `rows_for()` under that document. Mutation-checked — restore the label comparison and it reds with *"answers `'opendox_code_other_spelling'` with 0 lines where `rows_for()` is owed 234"*. **This is the third time the estate has met this defect**: RULED Q-L8 (c) repaired it in the tools, `#1032`'s round 9 found the last selector still making it, and round 25 wrote a new program that made it again beside both fixes.

**And § 2's historical paragraph credited THIS act with the pre-existing `openxdox_code` annotation's work** — *"This act MOVES … 703 -> 750 … 47 of this act's 48 lines"*, one paragraph above the one stating this act's own **167** declared lines and **750 -> 917**. Measured on the landed manifest: that cell is **917** today, the `+48` (47 rows' lines plus the `:271` replica line) is the pre-existing annotation's, and this act's `+167` starts where it left off. **The same defect round 24 found one paragraph up**: a merge-forward brings another act's sentences in with its commits, and *"this act"* is the phrase that survives the move and changes meaning.

## Copilot round 27 — a placement contract this act made false, a refusal that told an operator to do the impossible, and three where there are two

Four suppressed comments, no threads, and every one a sentence this act would have LANDED as TRUE.

**§ 5.5's Commit A rule still promised "every row"** — *every row's blob*, so the verifier can prove *every moved row of that destination at phase A* — three bullets above a phase-A example that expects **117** of this leg's 123. **This act is what made it false**: `rows_for()` drops a row retired at its own effective arrival before either phase asks anything, and round 25's fix stopped § 5.3's path file from placing them. Round 24 repaired that contract in the verifier's module docstring and in `--phase`'s `--help`; the runbook said it too, one document over, and was not told. It now reads *"every moved row NOT RETIRED BY RULING"* and states what is required of a retired row instead — its path ABSENT.

**`check_retired`'s own refusal detail told an operator to do something impossible**: *"Delete it in the commit that lands the `retired:` block — the block and the deletion are one act."* The block is at openxFactory and the deletion at the leg: two repositories, never one commit. Round 23 moved `REMEDIATION` to the two-merge window for exactly that reason and the per-refusal detail under it kept the old sentence, so **every `arrival-not-retired` printed two contradictory landing instructions**. It now names the leg's own pull request and § 5.8 step 4, keeps "one act" with the qualification that makes it true — one act in TWO REPOSITORIES, therefore two merges — and says the refusal is the window's expected state.

**THREE SUITES, TWO RETIREMENTS.** § 5.8's opening and the manifest validator's `_check_retired_surfaces` docstring both introduce the ruling with three suites and then say *"the suites"*. The third is the ending replay inside `tests/test_staging_workbench.py`, whose row goes on arriving and whose other tests drive surfaces that leg HAS — a partial removal taken as an ordinary declared edit, which is what *"What the form CANNOT express"* says further down each file. Both now say it where the reader meets the claim.

Plain gate: pytest-suite run 35223659115 SUCCESS at `212095d5`, with clearing-dispatch-gate, former-id-arrival-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, release-tag-gate, signed-execution-chain-gate and wallet-validation all
SUCCESS (SonarCloud advisory); 13 threads / 0 unresolved. Rule 6 does not apply: ten files, none under `openspec/changes/`, and the README hunk is the doc-index runbook
line rather than the OpenSpec Records block.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…oor retired: row form; carve-manifest fixture reconciled)

The only reconciliation this merge needed is a SEMANTIC one, in a file
neither side conflicted on textually: `#1032`'s carve floor added
`tests/carve_manifest/test_carve_manifest.py::
test_the_exact_commit_resolver_answers_for_a_retired_row_on_purpose`
against the PRE-`#1048` `shed_commit_object`, and this branch added the
store-completeness probe that test's bare `.git` directories cannot pass —
`cat-file -e <gitlink>^{commit}` answers no in a directory that is not a
repository, so the walk refused `CarveReachUnavailable` for an INCOMPLETE
STORE at `openDox` before it ever reached the disposition the case measures.
`_git_ok` is stubbed for exactly the reason `_git_object_id` beside it
already was, and the case's own census of the refusals it must not be
mistaken for is updated from one to three.

Everything else resolved as one side or the other with nothing lost:
`scripts/carved_reach.py` carries main's `CarveRowRetired`/`retired_at` and
this branch's `INCOMPLETE_STORE_REMEDY`, `_tree_entry_absent`
(`--full-tree` + `:(literal)`), `_leg_object_store` and the commit probe;
`scripts/hermes_runtime_validation/release.py` carries main's
`CarveRowRetired` translation in `_shed_aware` and this branch's
`CarveReachUnavailable` -> `ReleaseDependencyError` in `_shed_aware_commit`.

Verified on the merged tree: tests/carve_manifest 180 passed;
tests/carve_arrival 158 passed; tests/doc-health 1842 passed (including
test_release_inventory.py 53 and the four carve/pin files, 163);
tests/hermes_runtime_contracts top level 619 passed with the one known
pre-existing failure, test_validator_cli.py::
test_release_mode_field_is_preserved_on_the_real_repository
[--require-realization-realization] (a 30-second subprocess cap on a real-
repository validator run, failing the same way on this branch before the
merge); postgres subdirectory 71 of 354 run so far, all passed.

Lane: openxfactory-2
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…ox § 6.4, RULING Q6) (#1056)

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

**`split-opendox-two-layer-product` § 6.4 — `add-composed-view-authoring` is CLOSED AS RE-HOMED to `opensoft/openDox`.** The first of the five frozen changes RULING Q6 disposes of (Brett Heap, 2026-09-04T17:49Z, [#656](#656)), and the cheapest: one `## MODIFIED` requirement, *"`target_release: none`, no contract bytes"* in § 6.4's words — **the packet's own retained front matter declares `target_release: implemented`** (`proposal.md:3`), § 6.4's phrase being the split box's shorthand for *no named release to wait on*, and the two are reconciled in the record rather than run together. Receiving half: **[openDox-spec #12](opensoft/openDox-spec#12.

**Rule 6** — this PR touches `openspec/changes/`. It is brought to READY and **NOT landed**; the lane orchestrator sequences the landing window against the other lanes' `openspec/changes/` PRs.

## What a § 6 closure is, and why this one is not an ordinary archive

The packet's own delta states the two admissible dispositions and the obligation that orders them (`openspec/changes/split-opendox-two-layer-product/specs/ideation-dashboard/spec.md`, § THE SIBLING COLLISION):

> this change SHALL NOT archive until each of the five is dispositioned — archived, or **closed as re-homed with its successor destination named in the receiving repository** (`tasks.md` § 6).

This takes the second form, and **NO DELTA IS PROMOTED HERE**. That is the packet's instruction, twice: *"under RULING Q6 those four changes stop where they stand, so their `## ADDED` blocks never promote HERE and their content is re-authored in the receiving repository"*, and — in this requirement's own per-requirement successor row — *"the requirement is re-promoted in `opensoft/openDox`'s own OpenSpec instance"*. `tasks.md` § 8.5 is the gate it feeds.

So the relocation is `git mv` and nothing else. **The governed wrapper REFUSES this packet outright**, which is a stronger reason than the one an earlier draft of this body gave: `archive_change` raises `change has incomplete tasks` for any packet whose `tasks.md` still carries a `- [ ]` line, before the CLI is even resolved — and RULING Q6 freezes all five WITH open boxes, this one at § 3.2. If it ran it would promote, exposing no skip mode (`proposal-support.py . archive --help` lists `--date`, `--final-import-complete`, `--yes`, `--path-mode` and nothing else). **The pinned CLI underneath it is different and this body no longer says otherwise:** `openspec archive` at `1.12.0` DOES take `--skip-specs` — measured on the pinned artifact's own `--help`, and enumerated in the wrapper's docstring at `scripts/proposal-support.py:4133-4135`. A non-promoting archive mode exists; it is reachable only by running the CLI around the wrapper, which that wrapper's own comment records as the failure it was extended to prevent. Running the wrapper and hand-reverting the promotion hunk would have produced this tree through an act whose record said the opposite.

**What the wrapper guards is satisfied by hand and checked, not waived.** The packet DOES carry `.openspec.yaml` with an `origin:` block — `origin_errors` and `origin_retention_errors` read exactly that file at the archive gate — and the rename carries it byte-for-byte with no content hunk, so the declaration this closure retains is the one ORIGIN RETENTION would have compared. The directory name is the one the wrapper computes: `<today in UTC>-<id>`.

Every byte of `proposal.md`, `tasks.md` and `specs/ideation-dashboard/spec.md` is the byte it carried at `cb2d3a2c` — the diff shows four pure renames — **including `Status: ratified`**. A closure is not a licence to restate what Brett ratified on 2026-08-08.

## The destination, named and measured

| | |
| --- | --- |
| receiving repository | `opensoft/openDox-spec` (the spec leg; **its first OpenSpec change ever** — `openspec/changes/` held only `.gitkeep`) |
| receiving change | `openspec/changes/add-composed-view-authoring`, PR [#12](opensoft/openDox-spec#12) @ `ee942e8` |
| the delta | 3,557 B, `sha256 1754e5d3f9803ea80b4e8a177fda8359a96d6c4b1024fce69893ee3cb3d716e1` — **the same digest on both sides**, `diff` reports no difference |

`tasks.md` § 3.2 — *"Brett creates the first real document from a project view"* — was this packet's one unticked box and **travels OPEN** as § 3.2 of the receiving change.

## THE STALE PIN DISPOSITION, RETIRED ON EXACTLY THE EVENT ITS OWN TEXT NAMED

`contracts/openspec-cli-pin.yaml` carried an accepted exception for this change whose `retires_when:` read:

> add-composed-view-authoring archives, which needs ONE open box (task 3.2, a Brett act). **ON THAT DAY THIS ENTRY GOES STALE AND EVERY RUN REFUSES until it is deleted.** That is the mechanism working, not a defect.

Measured, in that order:

```
# with the packet moved and the entry still standing
$ python3 scripts/validate-openspec-cli-pin.py --all
REFUSE pin-disposition-stale: the pin disposes findings this run did not produce:
  • add-composed-view-authoring / ideation-dashboard/spec.md (repo openxFactory)
```
```
# after deleting the entry
$ python3 scripts/validate-openspec-cli-pin.py --all   ;  echo $?
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address;
every target validated --strict with 0 UNDISPOSITIONED failures. … 1 finding(s) are ACCEPTED EXCEPTIONS
0
```

It did not archive by the route that text predicted — it was closed as re-homed, which freezes it where it stands and carries task 3.2 to the receiving repository — but the corpus effect is precisely the one predicted, and the refusal fired. The doctrine comment that used this change as its worked example is moved to the **past tense** and records that the prediction came true, rather than being re-pointed at some other live change nobody agreed to make an example of. `contracts/manifest.yaml` deliberately carries **no digest** for this pin so that a retirement is a one-file edit ("A digest here would make each of those a two-file edit whose omission reds the required suite on `main`").

## The self-gates, RE-READ rather than renumbered

**`tests/openspec_cli_pin/` — six entries become five.** The enumeration test is renamed (`…_six_dispositions_…` → `…_five_dispositions_…`) and its docstring records this as the **FOURTH movement and the first shrink this repository's own corpus caused**; the three per-entry maps (`DISPOSITION_MEASUREMENT`, `DISPOSITION_CLASS`, `DISPOSITION_AUTHORITY_PREFIX`) drop the key together, which is what `test_every_real_disposition_cites_canon_and_names_who_granted_it` exists to force.

**The frozen capture and the live pin part company, and that is structural.** Two tests reconcile `contracts/openspec-cli-pin.yaml` against `tests/openspec_cli_pin/fixtures/openspec-1.12.0-validate-changes-strict-report-findings.json` — real bytes captured on the corpus of 2026-09-05, evidence, never re-cut. The capture still holds the finding; the pin has retired the entry. Before this PR the tests read that parting as a transcription slip, which is the one thing it is not. `DEPARTED_SINCE_THE_CAPTURE` accounts for it and **is not a suppression**: `_departed_since_the_capture()` asserts against the real tree that the active directory is **ABSENT**, that the named archive directory is **PRESENT**, and — from `7debbad5`, on Copilot's reading — that the undispositioned row IS the captured finding, compared through the verifier's own `normalized_finding`. So a live change cannot borrow the exemption, no OTHER finding at that path can borrow it either, and the captured total stays pinned at **two as a SUM** (`len(applied) + len(departed) == 2`).

**`tests/doc-health/test_modified_block_currency_self_gate.py`** failed by name with its own WHAT-TO-DO message, exactly as designed, and is re-read the way #1042's third commit re-read the same file. The scenario-title arm's band is still EMPTY and still asserted; its second half — which asserts the DISCHARGE positively so an empty band cannot be mistaken for a broken reader — is re-aimed at the archived delta, read through the same `parse_delta` / `derive_units` pair `active_blocks` uses, so *"delete the marker and both halves fail"* survives the move. The **departure is asserted first**, because a test that read only the archive would pass on a tree where the packet never moved. The carriage ledger goes **fourteen → thirteen**, the row replaced by a note that states the distinction: this row retired **WITHOUT its block being promoted**, so it is a DEPARTURE rather than a DISCHARGE — a promoted row's obligation was carried, this row's obligation moved to another repository.

## THE ONE COST, STATED UP FRONT RATHER THAN DISCOVERED BY THE NIGHTLY

`document-lifecycle`'s *Ratified spec deltas reach the promoted specification* (`openspec/specs/document-lifecycle/spec.md:1055`) attaches the promotion obligation to the ARCHIVE ACT and presumes ratification from that act unless the packet declares `draft` or lower. This packet declares `Status: ratified` and that header is not edited — so the obligation attaches, and `scripts/doc_health/promotion_fidelity.py` carries it at `_LAUNCH_SEVERITY = ERROR`. The checker's own action text names both discharges:

> apply the ratified delta to the promoted spec through an OpenSpec change, **or record the non-promotion as deliberate**

This closure takes the second. The recording vehicle is the one that checker reads — `health/dispositions.yaml` at the **xFactory aggregation root** (`load_dispositions()`, `promotion_fidelity.py:714-786`), keyed `family: promotion-fidelity` / `repo: openxFactory` / `path:` the archived delta, with a `cite`. **That entry is a companion act in the aggregation repository — it cannot live here — and it is filed ONCE for the five § 6 closures rather than five times.** It is NOT `tasks.md` § 6.6, which is the separate rule that no new dashboard change opens in `openxFactory`: the gate these closures feed is § 8.5 and the severity reading is § 8.9's. Named here so the obligation is on the record from the first closure.

**The honest caveat, from the loader's own docstring:** a `--single-repo` self-gate run has no aggregation root, so no disposition applies in that scope. Both numbers are reported below; neither is suppressed.

## Evidence at head `7debbad5` (fresh clone of `main` `cb2d3a2c`, submodules initialized)

| check | before (clean `main`) | at this head |
| --- | --- | --- |
| `openspec validate --all --strict` through the pin | `106 passed, 2 failed (108 items)` | `106 passed, 1 failed (107 items)` — one fewer change AND one fewer failure: the closed packet was one of the two pre-existing failures; the survivor is `add-chain-attestation`, untouched |
| `scripts/validate-openspec-cli-pin.py --all` | exit 0, 2 accepted exceptions | **exit 0**, 1 accepted exception |
| `pytest -q tests/openspec_cli_pin tests/doc-health tests/sequenced_after tests/pin_registrations tests/target_release` | — | **2430 passed**, 0 failed (452 s) |
| doc-health `--single-repo . --family promotion-fidelity` | `0 critical, 0 error, 0 warning, 0 info` | **`0 critical, 1 error, 0 warning, 0 info`** — exactly one, this packet's own, quoted in the closure record and disposed by the aggregation companion |
| `validate-sequenced-after.py . --ledger-diff` | consistent, 214 rows | **consistent, 214 rows**, the row re-seeded as `{state: archived, … moved_by: "#1056", moved_on: "2026-09-16"}` |

## Copilot's readings, taken at `7debbad5`

Four corrections, each verified against this tree rather than conceded — and one of them is a real tightening of a test:

1. **`target_release`** — the record and the README reported `none`, the packet's front matter declares `implemented`; both now quote § 6.4 AS a quotation and report the packet's own declaration beside it. The stale lines are `tasks.md` § 6.4 and `design.md` § D9 — the packet's own amendment to make, flagged to this lane's bookkeeper.
2. **"Both of those always promote"** — false of the pinned CLI (`--skip-specs` measured at `1.12.0`); corrected above, with the stronger true reason stated.
3. **`.openspec.yaml`** — the record said the packet carries none; it carries one with an `origin:` block. Corrected.
4. **`tasks.md` § 6.6** — not the disposition gate; § 8.5 and § 8.9 are. Corrected in record and README.

**And `DEPARTED_SINCE_THE_CAPTURE` is now keyed by its captured finding, not only by `(repo, item, path)`.** `reconcile` keys on the normalized finding TEXT as well, so an exemption keyed on the triple alone was WIDER than the matcher: any other blocking finding at that path in the frozen capture would have been swallowed while both tests read green — the exact class of failure that map's own header says a departure is not. The value is now `(archive directory, captured finding)` and the helper asserts the text through the verifier's own `normalized_finding` before exempting anything. **Proven** by mutating one word of the recorded finding (both tests fail) and restoring it (both pass).

## Sibling search 2026-09-16T00:5xZ

Open PRs read in all three repositories: openxFactory #1052 #1051 #1050 #1044 #1043 #1035 #1032 #1031 #1029 #594 #518; openDox-spec #11 (`README.md`, `docs/front-end-package-boundary.md` only); openXdox-spec #3. **NOT ONE touches `openspec/changes/add-composed-view-authoring/`, `contracts/openspec-cli-pin.yaml`, the README "OpenSpec Records" block, or `tests/sequenced_after/corpus-ledger.yaml`.** Disclosed rather than skipped: the SHARED checkout at `/workspace/projects/xFactory/openxFactory` (detached, `6612d323`) carries stale uncommitted edits to `openspec/changes/add-nightly-dashboard-refresh/` dated 2026-09-01 — abandoned residue, not a lane's live work; § 6.1 is authored from a clean clone.

Refs #656 (stays OPEN). CLAIM [`5690350779`](#656 (comment)).

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…§ 6.3, RULING Q6) (#1057)

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

**`split-opendox-two-layer-product` § 6.3 — `add-doxchat-model-intake` is CLOSED AS RE-HOMED to `opensoft/openDox`.** The SECOND of the five frozen changes RULING Q6 disposes of (Brett Heap, 2026-09-04T17:49Z, [#656](#656)), and **the first to exercise the harder half of the collision**. Receiving half: **[openDox-spec #13](opensoft/openDox-spec#13.

**Rule 6** — this PR touches `openspec/changes/`. Brought to READY, **NOT landed**; the lane orchestrator sequences the window.

> **STACKED on [#1056](#1056 (§ 6.4), because both closures edit the README "OpenSpec Records" block at the same anchor and both re-seed the sweep ledger. Base is `change/rehome-composed-view-authoring`; **re-point it to `main` before that branch is deleted** (the lane's standing rule for stacked PRs). The diff shown here is this closure's own.

## Why this one is not just § 6.4 again

§ 6.4 carried one `## MODIFIED` block, so it touched only half **(a)** of the split packet's § THE SIBLING COLLISION — the four promoted titles a sibling modifies. This packet carries **1 MODIFIED + 4 ADDED**, and the four ADDED are four of the **TWELVE** titles half **(b)** records as *"not in canon and NOT removed here"*:

> A `## REMOVED Requirements` block over a title the promoted specification does not carry would be a removal of nothing … They are handled by the re-homing plan instead: under RULING Q6 those four changes stop where they stand, so their `## ADDED` blocks **never promote HERE** and their content is re-authored in the receiving repository.

That is the whole argument for the form of this act. Had these four promoted, they would have entered a capability the split packet's `## REMOVED` block **cannot name and therefore cannot remove** — four requirements outliving the capability's exit. **This is the first time half (b) actually lands anywhere.**

So the relocation is a `git mv` and nothing else: five pure renames, every byte unedited, `Status: ratified` header included (Brett Heap, 2026-08-21, *"proposal approved"*). **The governed wrapper REFUSES this packet outright** — `archive_change` raises `change has incomplete tasks`, and RULING Q6 freezes the five WITH open boxes (here § 4.1 and § 4.2) — and it exposes no `--skip-specs` if it ran. The PINNED CLI underneath it does take `--skip-specs`, measured at `1.12.0`; that mode is real and is reachable only by running the CLI around the wrapper, which is not this closure's route. (An earlier draft of this body said both commands "always promote"; that was wrong about the CLI and is corrected here and in the record.)

## The destination, named and measured

| | |
| --- | --- |
| receiving repository | `opensoft/openDox-spec` |
| receiving change | `openspec/changes/add-doxchat-model-intake`, PR [#13](opensoft/openDox-spec#13) @ `9925fd0` |
| the delta | 16,813 B, `sha256 3168ad8f6f31c8dbacdc772d933508943f7b2c7cf373de2357eb8958d4bebee1` — **the same digest on both sides**, `diff` reports no difference |
| subject edits owed | **none, and none made**: `grep -c openxFactory` over the delta → **0**. Its subjects are the dashboard backend, the browser, the selector and the adapter |

## What stays, what travels, and what is somebody else's box

- **STAYS — the one additive schema enum member.** The approval act's `action` member in `contracts/schemas/gate-action-record.schema.yaml` is already openxFactory contract bytes at `contract-v1.45` and `tasks.md` § 6.3 says it STAYS. Nothing here adds, moves or reverts it; `contract-v1.45` stays true as published.
- **TRAVELS OPEN — tasks 4.1 and 4.2** (live-console proof; realization evidence). RULING Q6 freezes the five WHERE THEY STAND, so a closure with open boxes is the ruled disposition rather than an exception to one — the same reading § 6.4 took for its § 3.2.
- **NOT THIS CLOSURE'S — the built code**, which moves with the carve as `moved_with_declared_edit` rows of `docs/opendox-carve-manifest.yaml` (§ 3). No code moves here.

## Pinned references: checked BEFORE the move, because that is where § 6.4's real work turned out to be

`grep -rn 'add-doxchat-model-intake' --include='*.py' --include='*.yaml' --include='*.yml' --include='*.json'` over `cb2d3a2c` returns **sixteen** hits.

**One is a live coupling and it moves in this PR:** `tests/doc-health/test_modified_block_currency_self_gate.py`'s `_LEDGER_SUBJECTS` row, **thirteen named subjects → twelve**, replaced by a note that says it left by **DEPARTURE rather than DISCHARGE** — the block was never promoted, the row leaves because `active_blocks()` no longer reads it. The note also records that this is the LAST movement § 6 makes to that constant: two of the five closures held a row there and both are now gone; the other three hold none.

**Two look like couplings and are not**, stated so the next reader does not re-derive them:
- `tests/doc-health/test_modified_block_currency_fixtures.py`'s `DELTA351` is a path-shaped LABEL on a RECONSTRUCTED historical text under the synthetic repository `intakeFactory`; it never reads this tree.
- `openspec/changes/retire-doxbench-chat-turn-v1/.openspec.yaml`'s `related:` comment naming this change ACTIVE is § 6.2's to re-read. **§ 6.2 carries no ordering against THIS box** — `tasks.md` § 6.2 reads *"Sequenced BEFORE § 8"* and `design.md` § D9 reads *"§ 6.2 sequences it BEFORE this change's archive"*, where *this change* is `split-opendox-two-layer-product` itself; § 8.5 repeats it. This lane running § 6.2 after § 6.3 is permitted, and the record now says so instead of asserting an order the packet does not state.

**`contracts/openspec-cli-pin.yaml` carries NO disposition for this change** — checked, not assumed — so § 6.4's `pin-disposition-stale` refusal has no counterpart here.

## The one cost, stated up front

Same as § 6.4 and for the same reason: `document-lifecycle`'s *Ratified spec deltas reach the promoted specification* (`openspec/specs/document-lifecycle/spec.md:1055`) attaches the promotion obligation to the ARCHIVE ACT; this packet declares `Status: ratified` and that header is not edited; `promotion_fidelity.py` carries the obligation at `_LAUNCH_SEVERITY = ERROR`. This closure takes the second discharge the checker's own action text names — *"or record the non-promotion as deliberate"* — through `health/dispositions.yaml` at the **xFactory aggregation root**, **filed once for the five closures rather than five times** — not `tasks.md` § 6.6, which is the separate rule that no new dashboard change opens here; the gate is § 8.5 and the severity reading is § 8.9's. Because this packet carries five requirements rather than one, its entry is the coarse path-keyed form, which disposes every finding the family raises against this one delta file. A `--single-repo` self-gate run has no aggregation root and applies no disposition (the loader's own docstring says so), so that run reports these findings until § 5 removes the capability; both numbers are reported, neither suppressed.

## Evidence at head `06e10e53`

| check | § 6.4's head (`7debbad5`) | at this head |
| --- | --- | --- |
| `validate-openspec-cli-pin.py --all` | exit 0, `106 passed, 1 failed (107 items)` | **exit 0**, `105 passed, 1 failed (106 items)` — one fewer item, the survivor still `add-chain-attestation` |
| `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py` | 19 passed | **20 passed** — the extra is this PR's new departure test |
| sweep ledger `--ledger-diff` | consistent, 214 rows | **consistent, 214 rows**, row re-seeded `{state: archived, … moved_by: "#1057", moved_on: "2026-09-16"}` |
| doc-health `--single-repo --family promotion-fidelity` | **1 error** | **6 errors** — **five are this closure's**, one per authoritative requirement: four ADDED titles absent from canon, plus the MODIFIED block's one uncarried scenario. Each is quoted in the closure record, and all five are disposed by the single coarse path-keyed aggregation entry |

## Copilot's readings, taken at `06e10e53`

- **The count was wrong and the correction is a measurement.** This body and the record carried ONE promotion-fidelity finding — § 6.4's number read across to a packet with five requirements. `promotion_fidelity` emits one per authoritative requirement, so this delta raises FIVE and the family reads 6 at this head. Corrected in both places, with the five findings quoted.
- **§ 6.2's sequencing was stated backwards** and is now stated as the packet states it (above).
- **The archive-route rationale is narrowed** to what is true of the pinned CLI (above).
- **`tasks.md` § 6.6 is not the disposition gate** — § 8.5 and § 8.9 are. Corrected in record and README.
- **The closure itself is now asserted, not implied.** `_LEDGER_SUBJECTS` loses a row identically whether a packet was RE-HOMED or DELETED, so the missing row was no evidence of the act RULING Q6 ordered. `test_the_re_homed_packets_left_the_active_corpus_and_stand_whole_in_the_archive` asserts, in this order: the packet is ABSENT from `openspec/changes/`; the archived delta EXISTS; and it still parses through the family's own `parse_delta` carrying the MODIFIED block AND each of the four ADDED titles whose non-promotion this closure records as deliberate. Those four are the same four `promotion_fidelity` reports absent from canon, so a drift in either shows up here. **Proven**: change one recorded title and the test fails; restore it and it passes.

## Sibling search 2026-09-16T01:2xZ

Open PRs in all three repositories: openxFactory #1056 (this lane's § 6.4), #1052 #1051 #1050 #1044 #1043 #1035 #1032 #1031 #1029 #594 #518; openDox-spec #13 and #12 (this lane's), #11 (`README.md` + `docs/front-end-package-boundary.md` only); openXdox-spec #3. **NOT ONE touches `openspec/changes/add-doxchat-model-intake/`.** **Corrected on Copilot's reading:** the files shared with #1056 are the README "OpenSpec Records" block, the sweep ledger AND `tests/doc-health/test_modified_block_currency_self_gate.py` — #1056 re-aims its scenario-arm test at the archived composed-view delta and retires that row, this PR retires the doxchat row and adds the departure test, and #1060 inherits both. All three are this lane's own and sequenced by stacking rather than raced; the stack's landing order is #1056 → #1057 → #1060, each re-pointed to `main` as its base merges.

Refs #656 (stays OPEN). CLAIM [`5690514951`](#656 (comment)).

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…endox § 6.1, RULING Q6) (#1060)

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

**`split-opendox-two-layer-product` § 6.1 — `add-nightly-dashboard-refresh` is CLOSED AS RE-HOMED to `opensoft/openXdox`.** The THIRD of the five frozen changes RULING Q6 disposes of, **the only one whose destination is openXdox**, and the one § 6.1 itself calls *"the one genuine conflict RULING Q6 names"*. Receiving half: **[openXdox-spec #15](opensoft/openXdox-spec#15 — **the first change RE-HOMED INTO openXdox** (not that repository's first OpenSpec change: it already carries the archived `2026-09-11-add-openxdox-projection-surfaces` and the promoted `openspec/specs/openxdox-projection-surfaces/`, measured 2026-09-18).

**Rule 6** — this PR touches `openspec/changes/`. Brought to READY, **NOT landed**; the lane orchestrator sequences the window.

> **LANDING ORDER, SETTLED.** This PR was stacked on [#1057](#1057) (§ 6.3) and, through it, on [#1056](#1056) (§ 6.4), because all three edit the README "OpenSpec Records" block at the same anchor and each re-seeds the sweep ledger. **Both have LANDED** — #1056 at `3e32d987` (squash) and #1057 at `4ccab7b9` (merge commit) — and this PR's base **is already `main`**; the re-point is done, not owed. It needs no squashed-base recipe: #1057's merge-commit form left the chain's ancestry intact, so `git merge origin/main` was clean. **Land by `--merge`**: a squash would re-date this packet's archive directory and red `main`, which is exactly what #1106/#1109 had to repair after #1056's squash.

## Two capability deltas, disposed on different terms — that IS § 6.1

| delta | disposition | how it travelled |
| --- | --- | --- |
| `ideation-dashboard`<br>1 ADDED + 1 MODIFIED | re-homes whole to openXdox. The MODIFIED, *Runtime snapshot fetch with baked fallback and displayed freshness*, is one of the FOUR promoted titles the split packet's § THE SIBLING COLLISION table (a) names | **BYTE-IDENTICAL** — 6,663 B, `sha256 50fd14ba376b9c718b28d219ccdc402593ee93e65be619a950d8eed5923b56e6`, `diff`-verified against #15. `grep -c openxFactory` over it → **0**, so no subject edit was owed and none was made |
| `doc-health`<br>7 ADDED | § 6.1: *"they do NOT travel and are NOT added to `openxFactory`"* | **Satisfied absolutely**: this closure promotes NO delta at all, and at the destination they land on openXdox's own `openxdox-refresh-lane` — never on a `doc-health` capability. Carried with **exactly one line changed**, the delta file's capability heading |

`design.md` § D9 reads the refresh lane as **projection-mechanism work**, which is why this one goes to openXdox while the other four go to openDox.

## THE ONE SUBSTANTIVE JUDGEMENT IN THIS ARC, DECLARED RATHER THAN BURIED

§ D9 asks that the seven be *"re-authored against the adapter IN openXdox"*. **That re-authoring is NAMED at the destination, not performed.**

§ 6.4's and § 6.3's deltas contained the string `openxFactory` **zero** times and travelled untouched. These seven are openxFactory-nightly-specific in their **ANTECEDENTS**, not in a subject noun — *"The nightly doc-health run SHALL include an ideation-dashboard IMAGE REFRESH lane"*, *"the aggregation's `openxFactory` submodule pin"*, the Omnigent artifact worker, a named registry. Re-pointing that is not the carve seam's declared subject edit (*"the subject `openxFactory SHALL` becomes the receiving repository's"*); it is a rewrite of what each obligation is ABOUT.

**And the adapter does not exist in any corpus today.** `corpus-adapter-seam` is an unpromoted delta of this same packet; the successor capability id is its § 5.2a, unbuilt. Seven requirements authored against an undeclared seam would have to be authored again the moment the seam is declared.

So openXdox-spec #15 carries the re-authoring as a blocked open box (`tasks.md` § 2.1) and **bars ratifying the seven** until it lands (§ 2.2) — openXdox would otherwise be ratifying obligations about another repository's nightly run. **If Brett rules it should be performed now rather than named, this lane will take that ruling and re-do the receiving change under it.**

## THE LOCKSTEP PAIR THIS ARCHIVE RETIRES

`scripts/target-release-register.yaml` carried an `implementation_pending` entry for this change. Its own `retires_when:` read:

> the declaration is corrected to the target it realizes on, **or the packet archives**.

It archived — by the **second limb**, and by a route its author did not have in view: closed as re-homed rather than realized. The register effect is exactly the one the text named: the declaration leaves the ACTIVE corpus the register scans, and **`Report.stale` REFUSES until the entry is deleted**, so the entry MUST go.

**THE PAIR IS A DIFFERENT OBLIGATION, AND THIS BODY SAID OTHERWISE.** An earlier draft — and the record, the register comment and the test comment with it — attributed the `CLOSED_REGISTER` deletion to a rule in `scripts/target_release.py`. The module says the opposite in its own words:

> **A BASELINE MAY BE A STRICT SUPERSET, AND USUALLY WILL BE**: removal is lawful (a corrected declaration or an archived packet retires its entry, and `Report.stale` REFUSES until the entry is deleted), so a pair stays here after its entry goes. **This is a ceiling, never a floor.**

Its *"in the same pull request, where the diff shows the act for what it is"* sentence governs **ADDING** a pair the baseline does not carry — the addable direction the register refuses — not removing one. Copilot read that correctly, and all four places are corrected at `e24a63fc`.

So the pair moves as a **DELIBERATE BASELINE SHRINK**: lawful, in the same diff as the entry because that is where the movement is legible, and taken at all because a ceiling left standing over a retired entry is a line nothing reconciles again. The baseline falls from **21 pairs to 20**, `tests/target_release/test_target_release_gate.py`'s size literal follows it, and each carries the reason beside it rather than being renumbered. `pytest -q tests/target_release` → **96 passed**.

This is the same class of coupling § 6.4 found at `contracts/openspec-cli-pin.yaml`, and it was found the same way: **by grep before the move**, not by a red gate after it.

## The other twelve grep hits are citations BY IDENTITY, and none is edited

`scripts/dashboard-refresh-nightly.py`, `scripts/ideation_dashboard/dashboard_refresh_lane.py`, `.github/workflows/doc-health-reusable.yml`, two `tests/ideation-dashboard/` suites, `tests/sequenced_after/test_sweep.py`'s MOVEMENT LOG narrative, this repository's own `modified-block-currency` note, and two archived `.openspec.yaml` files. Every one stays true unedited under `release-realization`'s *A packet reference resolves by identity, not by path* (landed 2026-09-15): the archive relocation moves the path and keeps the identity. **No archived byte is touched.** `contracts/openspec-cli-pin.yaml` carries no disposition for this change — checked, not assumed.

## What stays

- **The aggregation-side artifact-only worker** (`tasks.md` § 6.1). No workflow moves, here or at the destination.
- **`doc-health` itself**, unchanged in both directions: nothing added to it, nothing taken from it.

## Evidence — first taken at `e24a63fc`, RE-MEASURED since

`e24a63fc` is HISTORICAL: it was this branch's tip when the figures below were first taken. The promotion-fidelity figure was **re-measured at `36ff06a9`** (the merge of `main` after § 6.3 landed) and reads the same — `0 critical, 15 error, 0 warning, 0 info`, nine of the fifteen this packet's. The current head is **`a677fa7b`**, where the plain `validate-sequenced-after.py .` is exit 0 and **402 passed** across the doc-health self-gate, `tests/sequenced_after` and `tests/target_release`.

| check | clean `main` `cb2d3a2c` | at this head |
| --- | --- | --- |
| `validate-openspec-cli-pin.py --all` (`openspec validate --all --strict` through the pin) | exit 0, `106 passed, 2 failed (108 items)`, 2 accepted exceptions | **exit 0**, `104 passed, 1 failed (105 items)`, 1 accepted exception — three fewer items (the three closed packets), survivor still `add-chain-attestation` |
| `pytest -q tests/openspec_cli_pin tests/doc-health tests/sequenced_after tests/pin_registrations tests/target_release` | — | **2431 passed**, 0 failed (452 s) |
| `pytest -q tests/target_release` | — | **96 passed** |
| sweep ledger `--ledger-diff` | consistent, 214 rows | **consistent, 214 rows**; this row re-seeded `{state: archived, … moved_by: "#1060", moved_on: "2026-09-16"}` |
| doc-health `--single-repo --family promotion-fidelity` | `0 critical, 0 error, 0 warning, 0 info` | **`0 critical, 15 error, 0 warning, 0 info`** — 1 from § 6.4, 5 from § 6.3, **9 from this closure**, every one named below |

**The nine, measured and named** (they are the two deltas read requirement by requirement):

- `specs/doc-health/spec.md` — **seven**, one per ADDED title absent from `openspec/specs/doc-health/spec.md`. **These are the § 6.1 conflict seen from the checker's side**: the box says they are NOT added to `openxFactory`, the checker says the ratified delta did not reach canon, and both are true of this tree. The disposition records which one is the instruction.
- `specs/ideation-dashboard/spec.md` — **two**: the ADDED *The served plane's baked artifacts are rebaked on a schedule at one revision*, absent from canon; and the MODIFIED *Runtime snapshot fetch with baked fallback and displayed freshness*, which reached canon without 2 of its 6 ratified scenarios.

## Copilot's readings, taken at `e24a63fc` (historical head; later rounds at `36ff06a9`, `b126e7b3` and `a677fa7b` are in the thread and the commits)

- **The lockstep claim** — corrected in all four places it was made (above). The 21 → 20 assertion is unchanged and still sound; only the explanation beside it moves.
- **The three `#1058` provenance references** — a pre-written PR number (#1058 and #1059 went to other lanes) — were corrected at `9dbb0599`, which also seeded the sweep-ledger row this review found stale. All four sites name **#1060**.
- **The archive-route rationale** — "both always promote" is false of the pinned CLI (`--skip-specs` measured at `1.12.0`); narrowed to the true and stronger reason: the governed wrapper refuses this packet outright on its **thirteen** open tasks.
- **`tasks.md` § 6.6 is not the disposition gate** — § 8.5 and § 8.9 are.

## The one cost, stated up front

Same as §§ 6.4 and 6.3: `document-lifecycle`'s *Ratified spec deltas reach the promoted specification* attaches the promotion obligation to the ARCHIVE ACT; this packet declares `Status: ratified`, unedited; `promotion_fidelity.py` carries it at `_LAUNCH_SEVERITY = ERROR`. The discharge is the second one the checker's own action text names — *"or record the non-promotion as deliberate"* — through `health/dispositions.yaml` at the **xFactory aggregation root**, filed once for the five closures rather than five times — not `tasks.md` § 6.6, which is the separate rule that no new dashboard change opens here; the gate is § 8.5 and the severity reading is § 8.9's. **This packet needs TWO entries**, one per delta file. The second is worth reading twice: it disposes findings against a `doc-health` delta that RULING Q6 says must never reach `doc-health` — the disposition and the ruling agreeing, not a suppression. A `--single-repo` self-gate run applies no disposition (the loader's own docstring says so), so both numbers are reported.

## Sibling search 2026-09-16T01:4xZ

Open PRs in all four repositories: openxFactory #1057 #1056 (this lane's), #1052 #1051 #1050 #1044 #1043 #1035 #1032 #1031 #1029 #594 #518; openDox-spec #13 #12 (this lane's), #11; openXdox-spec #15 (this lane's), #3 (`ideation/` documents only). **NOT ONE touches `openspec/changes/add-nightly-dashboard-refresh/`, `scripts/target-release-register.yaml` or `scripts/target_release.py`.**

**Disclosed rather than skipped:** the SHARED checkout `/workspace/projects/xFactory/openxFactory` (detached at `6612d323`, no branch) carries **stale uncommitted edits to exactly this packet** — `design.md`, `proposal.md`, `tasks.md` and `specs/doc-health/spec.md`, +150/−38, file mtimes **2026-09-01**. Two weeks old and abandoned; not a lane's live work. This closure is authored from a clean clone of `main`. Named so that if anyone does claim them, the collision is already on the record.

Refs #656 (stays OPEN). CLAIM [`5690599915`](#656 (comment)).

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


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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants