Skip to content

Archive gate-code-surface-declarations on its merged-plus-green realization evidence (HELD: evidence + word owed) - #1076

Merged
brettheap merged 10 commits into
mainfrom
change/archive-gate-code-surface-declarations
Sep 17, 2026
Merged

brettheap merged 10 commits into
mainfrom
change/archive-gate-code-surface-declarations

Conversation

@brettheap

@brettheap brettheap commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

THIS PULL REQUEST IS A DRAFT PREPARED IN ADVANCE AND HELD. It performs the archive act so that Brett Heap's archive word, when it comes, is a merge and not a night's authoring. It claims no word and no green run; both are named below in the exact places they go.

What this archives

openspec/changes/gate-code-surface-declarations/, filed 2026-09-12 by lane openxfactory-5 in answer to openxFactory #1013, RATIFIED 2026-09-13 at 00:41Z by Brett Heap (openxFactory operator authority), verbatim "ratify", recorded at #1018 comment 5649742729; ratifying commit b4e0087aaf48.

Its code_surface: is openxFactory, non-empty, so under release-realization it archives on MERGED-PLUS-GREEN realization evidence and on a separate archive word, never on landing or on ratification. The realization is PR #1029 ("Realize gate-code-surface-declarations § 3: gate the code_surface: head"), which MERGED into main at 4cef77af53131f36f4d62f3e7dac550360b1d28d on 2026-09-16T19:11:39Z.

Performed through the governed wrapper and never bare openspec:

$ python3 scripts/proposal-support.py . archive gate-code-surface-declarations --yes
ORIGIN RETAINED gate-code-surface-declarations (declaration unchanged since the ratifying commit b4e0087aaf48)
proposal-support: @fission-ai/[email protected] from the pinned artifact; integrity sha512-oFE2Lj7WVSc87nSi... verified
Totals: 1 passed, 0 failed (1 items)
Task status: Complete
Specs to update:
  release-realization: update
Applying changes to openspec/specs/release-realization/spec.md:
  + 3 added
Totals: + 3, ~ 0, - 0, -> 0
Change 'gate-code-surface-declarations' archived as '2026-09-16-gate-code-surface-declarations'.
NO SUPPORTING DOCS (origin retained, nothing to package)

tasks.md § 5 and § 6 tick on this recording; § 6 ticks under Brett Heap's standing "Tick on the recording" ruling of 2026-09-06T23:10Z, in the shape this packet's own sibling gate-realization-axis-vocabulary used at its archive, and every tick names what it re-measured and what it still owes. README: the Active changes bullet retired, the archived-ledger entry added at the head of that list. No other packet, no script and no test is touched.

Second commit b0db53b0. The archive makes this packet's per-change sweep-ledger row stale by that ledger's own design, so it is re-seeded with the sanctioned tool and with no hand edit: python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1076' -> "wrote tests/sequenced_after/corpus-ledger.yaml (216 rows, 1 moved by #1076)"; --ledger-diff -> "per-change sweep ledger consistent with the corpus (216 rows)"; python3 -m pytest tests/sequenced_after -q -> 286 passed. One row moves (state: active to archived, moved_by "#1018" to "#1076", moved_on to 2026-09-16) and no code byte moves. The same commit writes PR #1076 into the README archived-ledger entry in place of the pending marker.

Evidence

Half Value State
Realization merge PR #1029 -> 4cef77af53131f36f4d62f3e7dac550360b1d28d on main, 2026-09-16T19:11:39Z IN HAND
pytest-suite on main at/after 4cef77af IN HAND. pytest-suite decided green on main at a93d2682, run 35219872882, which CONTAINS the realization merge 4cef77af: conclusion SUCCESS, 7717 passed, 6 skipped, 338 deselected, 401 subtests passed, zero failed IN HAND
Brett Heap's archive word not given OWED

The self-gate collision was tests/doc-health/test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree, opened one merge EARLIER at fa39141c (18:35Z) by lane openxfactory-2's #1050 and #1052. Checked, not asserted: it failed identically at fa39141c (run 35135352984) and at 4cef77af itself (run 35139068743), naming no file this packet or its realization authored, so it was never this packet's failure. It is repaired at a93d2682 by #1075, and the run above is fully green.

The three gate transcripts at this head:

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 106 passed, 2 failed (108 items)
  failing: change/add-chain-attestation, change/add-composed-view-authoring
  (the SAME two at origin/main, where the totals are 107 passed, 2 failed of
   109 items: one fewer item here is exactly this archive)

$ python3 scripts/validate-code-surface.py .
code_surface: 46 active proposals, 46 declaring - 5 `none`, 33 a repository list, 8 named by the register, 0 outside the grammar.
  archive (read, never judged): 170 proposals, 124 declaring, 3 of them outside the grammar.
code_surface validation passed (every active declaration's head is admitted).
   (at origin/main: 47 active, 34 a repository list; archive 169/123/3. The
    active corpus drops by exactly one and the archive grows by exactly one.)

$ python3 scripts/validate-scope-globs.py .
scope_globs validation passed (all active changes conform).

$ python3 -m pytest tests/code_surface tests/target_release tests/scope_globs -q
348 passed in 21.73s

$ python3 scripts/doc-health.py --single-repo . --family promotion-fidelity
No findings.

$ python3 scripts/doc-health.py --single-repo . | grep -c 'severity=error'
11        (byte for byte the 11 origin/main already carries: 6
           release-inventory-drift + 5 tag-hygiene, none of them this packet's)

THIS BRANCH'S OWN CHECKS AT 60c2309b: ELEVEN OF TWELVE PASS, AND THE TWELFTH IS THE INHERITED FAILURE, NOT A NEW ONE. pytest-suite 35154617112 is red with 1 failed, 7715 passed, 6 skipped, 338 deselected, 400 subtests passed, and the one failure is the SAME test, by name, that main already fails at 4cef77af, with the SAME passing count (7715). So this archive introduces no failure of its own. The other eleven pass: SonarCloud Code Analysis, 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, wallet-validation.

COPILOT ROUND 1: TWO THREADS, BOTH DISPOSITIONED AND RESOLVED. TAKEN: a duplicated "that that" in the ledger entry, confirmed by reading the tree and fixed at 60c2309b. REFUSED AS ALREADY RESOLVED: the ARCHIVE-PR-NUMBER-PENDING placeholder, which was the deliberate one-commit placeholder the first commit's own message named and which b0db53b0 had already replaced with this pull request's number before the review was posted; grep for that token at this head returns nothing.

Promotion

The delta is ALL-ADDED over three titles novel to the corpus, so no promoted byte is edited, Realization axis declaration and Realization archive gate are untouched, and no sequenced_after is owed. Promoted into openspec/specs/release-realization/spec.md (--numstat +247 -0):

  1. Code-surface declaration grammar is gated (10 scenarios)
  2. The declared repository set is derived from the head and never from the gloss (4 scenarios)
  3. Standing code-surface divergence is named in a closed register (4 scenarios)

Byte-for-byte, measured. Each requirement block was extracted from the archived delta and from canon and compared:

$ diff delta3.md canon3.md ; echo "exit=$?"
exit=0
$ wc -c delta3.md canon3.md
18033 delta3.md
18033 canon3.md
$ sha256sum delta3.md canon3.md
a4322cda8b7dd5f98fb279214b26c85775dd5704d5d4c1112fc33424a98802cb  delta3.md
a4322cda8b7dd5f98fb279214b26c85775dd5704d5d4c1112fc33424a98802cb  canon3.md

NO ORDERED-DELTA CHILD DEPENDS ON THIS CHANGE (searched openspec/changes/ for a sequenced_after: naming it; none).

Word given

Brett Heap, 2026-09-17 ~12:20Z, in session, verbatim "archive it" (recorded RULED → opensoft/openxFactory#1076 in the lane's object log at 12:21:17Z). The evidence the packet owed is decided: pytest-suite SUCCESS on main at a93d2682, run 35219872882 (12:34:13Z; 7717 passed, 6 skipped), a head containing the realization merge 4cef77af; the marker in tasks.md § 5.1 and the README entry carry that run id.

  1. § 5.2: the closing keyword for gate-realization-axis-vocabulary § 6.3 successor: code_surface: is not gated (a second population, unclaimed) #1013 is written into this body at the un-draft by the landing lane, on the word above: gate-realization-axis-vocabulary § 6.3 successor: code_surface: is not gated (a second population, unclaimed) #1013 closes at this pull request's landing and at no earlier act.
  2. § 6.1's successor (an inventory of the estate's repositories) is filed as Carried forward from gate-code-surface-declarations' archive: § 6.1 an inventory of the estate's repositories for the code_surface: gate #1087 and named in the ticked box.

Rule 6 applies at landing (this pull request touches openspec/changes/).

Closes #1013

Refs #1013

Lane: openxfactory-5 (openXfactory-5)

🤖 Generated with Claude Code

Summary by Sourcery

Archive gate-code-surface-declarations and promote its code-surface governance requirements after recording the required realization and green-test evidence.

Enhancements:

  • Archive the gate-code-surface-declarations change and promote its three code-surface requirements into the release-realization specification.
  • Record the merged realization and successful mainline test evidence supporting the archive, along with the separate archive authorization.
  • Retire the change from the active README list and add its archived-ledger entry.

Documentation:

  • Update the README active and archived change ledgers to reflect the completed archive.

Tests:

  • Refresh the sequenced-after corpus ledger to mark the change archived and record the archive pull request.

…quirements (HELD: archive word and green evidence owed)

Lane: openxfactory-5 (openXfactory-5)

The packet ratified 2026-09-13 by Brett Heap (verbatim "ratify", PR #1018
comment 5649742729) declares code_surface: openxFactory, so under
release-realization it archives only on merged-plus-green realization evidence
and on a separate archive word. This commit PREPARES that archive; it claims
neither. The pull request is opened as a DRAFT and held.

Archived through the governed wrapper and never bare openspec:
scripts/proposal-support.py . archive gate-code-surface-declarations --yes,
which reported ORIGIN RETAINED (declaration unchanged since the ratifying
commit b4e0087). The pinned CLI promoted the three ADDED requirements
into openspec/specs/release-realization/spec.md ("+ 3 added"; canon +247 -0).
Byte-for-byte, measured and not eyeballed: the delta's three requirement
blocks and the three canon now carries are identical, 18,033 bytes each,
sha256 a4322cda8b7dd5f98fb279214b26c85775dd5704d5d4c1112fc33424a98802cb,
diff exit 0.

Evidence IN HAND: realization PR #1029 merged into main at
4cef77a, 2026-09-16T19:11:39Z.
Evidence OWED: a green pytest-suite run on main at a head containing 4cef77a.
main's own run at that exact head, 35139068743, is RED with one failure,
tests/doc-health/test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree,
the self-gate collision lane openxfactory-2 opened one merge earlier at
fa39141 and is repairing; it fails identically there, before this packet's
realization landed, and names no file this packet authored.

tasks.md section 5 and section 6 tick on this recording. Section 6 ticks under
Brett Heap's standing "Tick on the recording" ruling of 2026-09-06T23:10Z, in
the shape this packet's own sibling used at its archive; every tick names what
it re-measured and what it still owes. README: the Active-changes bullet
retired, the archived-ledger entry added at the head of that list.

Gates at this head: openspec validate --all --strict 106 passed, 2 failed (108
items), the same two pre-existing unrelated failures main carries (107 passed,
2 failed of 109 there, one fewer item here); validate-code-surface.py 47 active
proposals down to 46, 0 outside the grammar; validate-scope-globs.py passed;
doc-health --single-repo 11 errors, exactly the 11 main already carries;
pytest tests/code_surface tests/target_release tests/scope_globs 348 passed.

The per-change sweep ledger row is re-seeded in the following commit, which
needs this pull request's number.

Refs #1013

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

sourcery-ai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft performs the governed archive and canonical promotion of the ratified code-surface declaration proposal, updates the active/archive ledger and task evidence, and records that final archival remains held until a green pytest-suite run includes the realization merge and Brett Heap supplies the separate archive word.

Sequence diagram for the held governed archive

sequenceDiagram
    participant Lane as Archive PR
    participant Wrapper as proposal-support.py
    participant Canon as release-realization
    participant Main as main
    participant CI as pytest-suite
    actor Brett as Brett Heap

    Lane->>Wrapper: archive gate-code-surface-declarations --yes
    Wrapper->>Canon: Promote three ADDED requirements
    Wrapper-->>Lane: Archive prepared
    Lane->>Main: Verify realization merge 4cef77af
    Main->>CI: Run pytest-suite
    CI-->>Lane: RED run 35139068743
    Brett-->>Lane: Archive word OWED
    Note over Lane: Held draft until CI is GREEN and Brett supplies the archive word
Loading

Flow diagram for merged-plus-green archive gating

flowchart LR
    A[Proposal ratified] --> B[Realization merged into main]
    B --> C{pytest-suite GREEN at a head containing 4cef77af?}
    C -->|No| D[Remain held draft]
    C -->|Yes| E{Brett Heap archive word supplied?}
    E -->|No| D
    E -->|Yes| F[Land archive and close #1013]
Loading

File-Level Changes

Change Details Files
Archives the ratified code-surface declaration proposal while preserving its origin and recording the archive as held pending external authorization and green realization evidence.
  • Moves the proposal into the dated archive directory using the governed proposal-support wrapper.
  • Retains the origin declaration and records that Brett Heap’s archive word and a green pytest-suite run are still owed.
  • Retires the proposal from the active README list and adds a detailed held-archive ledger entry.
  • Ticks and expands archive tasks to document promotion, evidence status, deferred issue closure, and named follow-up work.
README.md
openspec/changes/gate-code-surface-declarations/tasks.md
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/proposal.md
Promotes three new code-surface requirements into the release-realization specification without modifying existing requirement blocks.
  • Adds grammar validation for active code_surface declarations, including head/gloss parsing, none semantics, duplicate declarations, YAML scalar indicators, and archive read-only behavior.
  • Defines shared derivation of repository sets from the declaration head rather than prose glosses, with fail-closed handling for registered exceptions and structured scopes.
  • Adds a closed register for standing grammar divergence, including baseline enforcement, stale-entry failures, and landing-tree remeasurement.
  • Preserves byte-for-byte identity between the archived requirements and canonical specification text.
openspec/specs/release-realization/spec.md
Documents the realization and validation state that gates final archival and issue closure.
  • Records realization PR Realize gate-code-surface-declarations § 3: gate the code_surface: head #1029 as merged at commit 4cef77a, while identifying the required main-branch pytest run as red and therefore insufficient.
  • Records focused validation and test results, including code-surface, scope-glob, documentation-health, and 348 targeted tests passing.
  • Attributes the failing self-gate test to an earlier unrelated merge and names the required future green run and archive word as conditions for undrafting.
  • Names the repository-inventory successor and defers its filing until landing.
README.md
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md

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

brettheap and others added 2 commits September 16, 2026 21:46
…in the record

Lane: openxfactory-5 (openXfactory-5)

The archive moves gate-code-surface-declarations from the active corpus to the
archived one, which makes its per-change sweep-ledger row stale by its own
design. Re-seeded with the sanctioned tool and with no hand edit:

  $ python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1076'
  wrote tests/sequenced_after/corpus-ledger.yaml (216 rows, 1 moved by #1076).
    - gate-code-surface-declarations
  $ python3 scripts/validate-sequenced-after.py . --ledger-diff
  per-change sweep ledger consistent with the corpus (216 rows).
  $ python3 -m pytest tests/sequenced_after -q
  286 passed in 43.56s

One row moves: state active -> archived, moved_by "#1018" -> "#1076",
moved_on 2026-09-12 -> 2026-09-16. No other row, and no code byte, moves.

The README archived-ledger entry now names PR #1076 in place of the pending
marker the previous commit carried.

Refs #1013

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

Lane: openxfactory-5 (openXfactory-5)

The tick disclosed the figure that moved (45 active packets at the drafting
measurement, 46 on the archive tree) and then mis-stated how it moved, saying
the corpus "grown by six". Measured: origin/main at this head carries 47 active
proposals INCLUDING this packet, so the corpus took two net arrivals since the
drafting measurement and this packet's departure leaves 46. The disclosed
figures were already right; only the sentence explaining them was wrong. No
other byte moves.

Refs #1013

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The README contains an unresolved placeholder token and there are minor but real documentation defects (duplicate word, non-reproducible example) that should be fixed before merging.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR prepares the governed archive of the OpenSpec change gate-code-surface-declarations by moving the packet into the dated archive and promoting its (all-added) release-realization requirements into canon, while explicitly recording that the archive is held pending a separate archive word and merged-plus-green realization evidence.

Changes:

  • Retires the change from the README “Active changes” ledger and adds an “Archived changes” entry describing the held archive and realization evidence status.
  • Promotes the change’s three ## ADDED requirements into openspec/specs/release-realization/spec.md.
  • Archives the full packet under openspec/changes/archive/2026-09-16-gate-code-surface-declarations/ and updates tasks.md to record the performed act plus what evidence/authorization remains owed.
File summaries
File Description
README.md Moves the change from Active to Archived ledger and records held-archive evidence/conditions.
openspec/specs/release-realization/spec.md Adds the promoted “code_surface” gating/derivation/closed-register requirements and scenarios to canon.
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md Records the archive act as performed via governed tooling and documents owed green-run/word conditions.
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/specs/release-realization/spec.md Captures the archived spec delta (all-added) that was promoted into canon.
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/proposal.md Archives the ratified proposal content under the dated archive directory.
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/design.md Archives the ratified design record for the change under the dated archive directory.
openspec/changes/archive/2026-09-16-gate-code-surface-declarations/.openspec.yaml Archives the packet’s OpenSpec metadata, including origin/related references.
Review details

Suppressed comments (2)

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1176

  • Duplicate word "that" ("that that") in the pytest-suite evidence narrative.
    openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1285
  • The example command uses $T without defining it anywhere in the file, so it is not reproducible as written. Define T (e.g., via mktemp -d) and quote it so the example can be run verbatim.
  • Files reviewed: 4/8 changed files
  • Comments generated: 2
  • 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 README.md Resolved
Comment thread README.md Resolved
… ledger entry

Lane: openxfactory-5 (openXfactory-5)

Round 1, two threads, each verified against the tree rather than taken on
being made.

TAKEN: the archived-ledger entry read "and that that lane is repairing".
Confirmed by reading README.md; it now reads "and that the same lane is
repairing". No other byte moves and no figure changes.

REFUSED AS ALREADY RESOLVED: the ARCHIVE-PR-NUMBER-PENDING placeholder. It
was the deliberate one-commit placeholder the first commit's own message
named, and commit b0db53b replaced it with PR #1076 before this review was
posted. grep over README.md at this head returns nothing for that token. The
finding was true of 9571047, which is not the head it was raised against.

Refs #1013

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

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 newly added spec text includes Markdown inline-code that is broken by line breaks/nested backticks (plus a couple of duplicated-word typos), which should be corrected before merge.

Review details

Suppressed comments (3)

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

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1176

  • Duplicate word “that” in this sentence.
    openspec/specs/release-realization/spec.md:1027
  • The inline-code example is split across lines and also nests backticks, which will render incorrectly in Markdown (the code span opens on one line and closes on the next). Consider keeping the example in a single code span without nested backticks.

README.md:3352

  • Duplicate word “that” in this sentence.
  that the same lane is repairing. It is unrelated to this packet and names no file
  • Files reviewed: 4/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 16, 2026 21:51

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 promoted/archived spec text contains malformed Markdown inline-code backticks, and the archived tasks.md still includes a duplicated “that that” typo.

Review details

Suppressed comments (2)

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

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1176

  • This line has a duplicated word ("that that"), which reads like a typo and makes the sentence harder to parse.
    openspec/specs/release-realization/spec.md:1027
  • The inline-code markup here is malformed (backticks are split across lines, leaving an unmatched backtick). This will render incorrectly in Markdown and makes the example hard to read.
  • Files reviewed: 4/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…ode-surface-declarations

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 17, 2026 12:19

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 archived tasks record contains a duplicated word typo (“that that”) that should be corrected before merge.

Review details

Suppressed comments (1)

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1176

  • Typo: duplicated word "that" in the failure explanation ("and that that lane is repairing"), which reads as a transcription error in an otherwise carefully worded evidence record.
  • Files reviewed: 4/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Run 35219872882 (event: push, head a93d268,
completed 2026-09-17T12:34:10Z) concluded success: 7717 passed, 6 skipped,
338 deselected, 401 subtests passed, zero failed. This head contains the
realization merge 4cef77a. The self-gate collision named in this box is
repaired by #1075 (merged into main at a93d268 itself); doc-health's
modified-block-currency family reads zero on the gate-bearing arm at this
head. The MERGED-PLUS-GREEN pair release-realization requires is complete;
the archive word and the un-draft remain owed, per this box's own clause.

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 17, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The held/owed evidence narrative is internally inconsistent between README/tasks.md, and the promoted/archived spec text contains Markdown formatting that will render incorrectly.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (3)

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

openspec/specs/release-realization/spec.md:1028

  • This paragraph uses inline-code backticks across a hard-wrapped newline (and also attempts to nest backticks), which breaks Markdown rendering in many parsers. Restructure so the code span is on a single line and avoid nested backticks.

README.md:3348

  • The README still describes the pytest-suite run at 4cef77af as the (owed) green evidence, but the archived packet’s tasks.md §5.2 now cites a later pytest-suite run that contains 4cef77af and is green (35219872882 at a93d2682). Update this paragraph to reflect that the green half is in hand (while the separate archive word remains owed).
  **THE GREEN HALF, OWED AND NAMED RATHER THAN GLOSSED:** `main`'s own required
  `pytest-suite` at that exact head is run
  [35139068743](https://github.com/opensoft/openxFactory/actions/runs/35139068743)
  (`event: push`, head the merge commit itself) and it is **red** — `1 failed,
  7715 passed` — the single failure being

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1132

  • This section preface says "NEITHER is in hand" (including the green pytest-suite evidence), but §5.2 immediately below records that the green half is already in hand (run 35219872882). Update the preface to avoid contradicting the recorded evidence and to keep the remaining hold condition (the separate archive word) clear.
  • Files reviewed: 4/8 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread README.md Resolved
Copilot round 2, one true finding, fixed: the README ledger entry for
gate-code-surface-declarations still said the green half of the
merged-plus-green realization evidence was owed, contradicting
tasks.md sec5.2 (already updated to record pytest-suite green: run
35219872882 at main a93d268, containing 4cef77a). Both spots in the
entry (the summary line and the detailed paragraph) now match tasks.md
and the PR body: run 35219872882, success, 7717 passed/0 failed, and
the self-gate collision named as repaired by #1075. The archive word
and un-draft remain owed, unchanged.

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 17, 2026 12:44

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

There are internal-consistency and Markdown rendering defects in the newly promoted/archived spec and tasks text that should be corrected before landing.

Review details

Suppressed comments (2)

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

openspec/specs/release-realization/spec.md:1028

  • This sentence breaks an inline-code span across a newline (backtick opens on one line and closes on the next). In GitHub-flavored Markdown, inline code spans cannot contain line breaks, so this will render with stray backticks rather than a single code_surface: ... example.

openspec/changes/archive/2026-09-16-gate-code-surface-declarations/tasks.md:1136

  • The introductory paragraph for §5 still says the green pytest-suite run is "OWED" and that "NEITHER is in hand", but §5.1 immediately records the green half as IN HAND (run 35219872882). This makes the section internally contradictory and also refers to a placeholder that no longer exists.
  • Files reviewed: 4/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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 promoted spec text contains broken Markdown inline-code spans split across a newline, which should be corrected to render reliably in both canon and the archived delta.

Review details

Suppressed comments (1)

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

openspec/specs/release-realization/spec.md:1027

  • Inline code formatting is broken here: a backtick code span starts before code_surface: openxFactory — and then continues onto the next line, which renders incorrectly in Markdown. Combine the example into a single balanced inline-code span on one line.
  • Files reviewed: 4/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-17T16:23:36Z, PR #1076 into opensoft/openxFactory main

@brettheap
brettheap merged commit 5dd0a8d into main Sep 17, 2026
15 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDED — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-17T16:23:53Z, PR #1076 into opensoft/openxFactory main → merge 5dd0a8d; Archive gate-code-surface-declarations on its merged-plus-green realization evidence

brettheap added a commit that referenced this pull request Sep 17, 2026
Clean auto-merge (ort strategy), no conflicts. README.md's OpenSpec Records
"Active changes:" list keeps every bullet from both sides (add-citation-
remainder-report first, as this branch already had it), and correctly drops
gate-code-surface-declarations from Active into Archived per main's own
archival commit (#1076). tests/sequenced_after/corpus-ledger.yaml carries
both sides' non-overlapping row edits (this branch's new
add-citation-remainder-report row; main's gate-code-surface-declarations
state flip to archived).

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
README's "Archived changes:" block conflicted: both sides insert a
2026-09-16 record at the head of the list — this branch's
`add-composed-view-authoring` closure and main's `gate-code-surface-declarations`
(PR #1076). UNION-RESOLVED, both kept whole and neither reworded. This record
sits above #1076's because it is the later insertion into the list; the dates
tie, nothing machine-pins the order, and newest-at-top is the block's own
convention.

`tests/doc-health/test_modified_block_currency_self_gate.py` and
`tests/sequenced_after/corpus-ledger.yaml` auto-merged; re-run on the merged
tree rather than assumed: 257 passed across the self-gate, the sweep and the
pin suites, including this round's frozen delta-only tally, which reads the live
corpus and would have moved had main disturbed the archived delta or canon.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…nt, and #1051) into the archive — the carried adopt-entry-grain block keeps #1088's clause on the re-based base

`origin/main` had moved to `5dd0a8dc` — PR #1051 (`53769f9e`, the
release-inventory reader), PR #1088 (`893abe97`, the ratifier's partition
amendment of `adopt-entry-grain-dispositions-form`) and PR #1076
(`5dd0a8dc`, lane `openxfactory-5`'s archive of
`gate-code-surface-declarations`) — so GitHub read this pull request
CONFLICTING. Merged plainly; three conflicts, all resolved by KEEPING BOTH
WRITERS.

- `openspec/changes/adopt-entry-grain-dispositions-form/specs/document-lifecycle/spec.md`
  merged with NO conflict and is the point of the exercise: #1088's
  partition clause on the positive-resolution scenario's WHEN and its
  disjointness bullet (main's wording, authoritative, byte-unchanged) sits
  on THIS branch's re-based sibling WHEN — "…and at least one selected root
  whose boundary was successfully searched", the text the archive promoted
  on "Apply the narrowing".
- `.../review/ratification-2026-09-16.md` — BOTH addenda kept, ordered by
  their underlying ruling's timestamp, on PR #1088's own precedent:
  carriage (12:12:49Z) → this branch's "Addendum 2" (the narrowing,
  12:34:53Z) → #1088's partition addendum (12:34:55Z). Neither addendum's
  text is edited. The "AMENDED SINCE" pointer, which counted TWO acts,
  counts THREE and gains a paragraph for the re-base; nothing else of it
  moves.
- `README.md` — both archived-ledger entries kept, newest first: this
  archive (2026-09-17) then #1076's (2026-09-16).
- `tests/doc-health/test_modified_block_currency_self_gate.py` — main's
  `adopt-entry-grain-dispositions-form` row and its audit comment kept
  whole; this branch's retirement of the `scope-pinned-arm-root-naming` row
  applied over them. `len(_LEDGER_SUBJECTS)` MEASURED 15 (16 raw literal
  entries, the pre-existing `add-chain-attestation` duplicate collapsing as
  before); the docstring and the failure-message chronology now read 15 →
  16 → 15 rather than 15 → 14.
- `tests/sequenced_after/corpus-ledger.yaml` merged with no conflict: this
  archive's row (`#1052`→`#1089`, active→archived) and main's new rows both
  stand.

RE-MEASURED AFTER THE MERGE, and every stale figure corrected where the
branch stated it (README entry, archived `tasks.md` § 3.2, archived
`design.md` § 5(d), the self-gate's comment/docstring/message, the carried
record's Addendum 2): the carriage ledger reads FIFTEEN info rows, not
fourteen, and `adopt-entry-grain-dispositions-form` measures canon 215
units, block 223, TWO uncarried and TEN new — not ZERO/EIGHT. THE CARRIAGE
IS WHOLE; the two uncarried units are the positive-resolution WHEN and
disjointness bullet #1088's ratifier moved, which this archive neither
authored nor moved.

Validation, foreground, at this merge: `openspec validate --all --strict`
108 passed / 2 failed (110 items), the same pre-existing pair
(`add-chain-attestation`, `add-composed-view-authoring`);
`proposal-support.py . verify` ok; `validate-sequenced-after.py .
--ledger-diff` consistent, 219 rows; `doc-health.py --family
modified-block-currency` 0 critical / 0 error / 0 warning / 15 info, none
naming this packet, none unnamed; `--family promotion-fidelity` 0 findings;
`pytest tests/doc-health/test_modified_block_currency_self_gate.py` 19
passed; `pytest tests/doc-health` 1843 passed; `pytest
tests/sequenced_after` 286 passed.

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

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

Lane openxfactory-1 measured a main-health finding tracing to this PR's own
squash-merge: scripts/validate-sequenced-after.py . reports
2026-09-16-gate-code-surface-declarations (this archive) as an
undispositioned archive-date-vs-commit disagreement, because the archive
act ran 2026-09-16 while this PR was held for Brett Heap's separate archive
word and squash-merged 2026-09-17T16:23:44Z at 5dd0a8dc. That is cause 2 of
tests/sequenced_after/archive-date-dispositions.yaml's own header (archive
act and adding commit on different UTC days), pre-authorized once measured
under the standing 2026-09-08 ruling on #812.

Fix, with the reproduction, the chosen disposition (not a rename), and full
gate output: #1099

Refs #1013

brettheap added a commit that referenced this pull request Sep 17, 2026
Copilot round 1 on PR #1099: the disposition's `fact` cited the merge
commit as committer-dated 2026-09-17T16:23:44Z, one second off. GitHub's
own record (`gh api repos/.../commits/5dd0a8dc...` -> `.commit.committer.date`)
is 2026-09-17T16:23:43Z. One character.

Lane: openxfactory-5 (openXfactory-5)
Refs #1013
Refs #1076
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…declarations (prepared 2026-09-16, landed 2026-09-17) (#1099)

Refs #1013, #1076. One row in tests/sequenced_after/archive-date-dispositions.yaml: the archive directory and ledger row are dated 2026-09-16 (the governed wrapper archived the packet that day into held draft PR #1076); the landing commit 5dd0a8d is dated 2026-09-17 (Brett Heap's archive word). Repairs main's pytest-suite red since 5dd0a8d.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…er openxfactory-engineering-adapter

The act § 5.2a was filed for. Performed through the SANCTIONED WRAPPER, never a
bare `openspec archive`, exactly as the packet's own tasks.md § 3.1 requires:

  python3 scripts/proposal-support.py . archive repromote-engineering-vocabulary \
      --date 2026-09-18 --yes

so the origin, retention, task, pin and archive-date gates all ran. Its output,
which is the evidence for everything below:

  ORIGIN RETAINED repromote-engineering-vocabulary (declaration unchanged since
    the ratifying commit 10576af)
  openspec-cli-pin: @fission-ai/[email protected] from pinned artifact; integrity
    sha512-oFE2Lj7WVSc87nSi... verified, over the pinned dependency closure
    (80 packages), installed with `npm ci --ignore-scripts`
  Task status: ✓ Complete
  Specs to update:
    openxfactory-engineering-adapter: create
  Applying changes to openspec/specs/openxfactory-engineering-adapter/spec.md:
    + 15 added
  Totals: + 15, ~ 0, - 0, → 0

WHAT THIS ARCHIVE DOES TO `ideation-dashboard`: NOTHING, AND THAT IS MEASURED,
NOT ASSUMED. The question is worth answering explicitly because the codexFactory
floor dry run for arc F shows a `-ideation-dashboard` line, and a reader could
reasonably suppose it came from here.

  - `openspec/specs/ideation-dashboard/spec.md` carries sha256
    e7e86bf0dcd22ad373c8ea8c7f1448eea7a2a4068650c0202b3c26829d092f6c both before
    and after the run, and `git status` reports ZERO changed files under that
    directory.
  - The CLI's own totals line reads `- 0` — zero removals.
  - Capability directories go 62 -> 63. The only change anywhere under
    `openspec/specs/` is the ONE created file.

  That is what the ratified text intends, checked in the packet before committing:
  design.md § D3 ("WHY THIS PACKET AUTHORS NO SECOND `## REMOVED` BLOCK" — the
  removal keeps its single ratified writer, the split packet's per-requirement
  map) and § D4 ("this packet archives BEFORE split-opendox-two-layer-product",
  so the fifteen are never in no capability at all). tasks.md § 2.9 predicted this
  exact check. The floor dry run's `-ideation-dashboard` is the SPLIT packet's
  `## REMOVED` block, 102 of 102 requirements, over a simulated tree of 64 paths
  (62 - 1 + 3); this archive contributes one of that diff's four membership lines,
  `+openxfactory-engineering-adapter`, and +1 rather than +2.

THE ARCHIVE DIRECTORY IS NAMED FOR THE EXPECTED LANDING DAY, 2026-09-18 UTC.
`sequenced_after.adding_commits()` maps an archived directory to the committer
date, in UTC, of the oldest commit that adds a file under it — under
`--no-renames`, and this repository squash-merges, so that is the landing commit.
If landing slips past 2026-09-18 UTC the directory must be re-dated before the
merge (or a dispositions row added, the #1076/#1099 route); the one-command
re-date is written out in PROGRESS-archive52a.md.

Lane: openxfactory-4

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…'s three deferred boxes tick

The by-hand half of the archive, which the wrapper does not do. PR #1103.

README `## OpenSpec Records` — THE PAIR AS ONE STEP, which is what tasks.md § 3.4
asks for ("the active bullet retired; the archived-ledger entry added"), because
leaving either half undone points the corpus's own index at a path that no longer
exists:

  - the *Active changes* bullet is RETIRED (20 lines; 0 references to
    `openspec/changes/repromote-engineering-vocabulary/proposal.md` remain);
  - an *Archived changes* entry is ADDED at that block's anchor, newest-first, the
    position the house's own most recent archive took (#1076 → 5dd0a8d), pointing
    at `openspec/changes/archive/2026-09-18-repromote-engineering-vocabulary/`.

The retired bullet's slot closes cleanly: it sat between #1069's bullet and
`add-per-tenant-app-manifest-provisioning`'s, neither of which is separated from
its neighbour by a blank line in the block as it now stands, so removing the
twenty lines joins two bullets that were already adjacent in style. (The blank
line this bullet carried at its filing commit e83f8cd was removed upstream
afterwards, and the bullet is no longer top-of-block; the current local style is
matched rather than re-imposed.)

`tests/sequenced_after/corpus-ledger.yaml` — RE-SEEDED BY TOOL AND NEVER BY HAND,
which is what tasks.md § 2.6 required of the seeding and § 3.5 of the move:

  python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1103'
  -> wrote tests/sequenced_after/corpus-ledger.yaml (219 rows, 1 moved by #1103)

It moved EXACTLY ONE row of 219 and nothing else:

  -  repromote-engineering-vocabulary: {state: active,   ... moved_by: "#1071", moved_on: "2026-09-16"}
  +  repromote-engineering-vocabulary: {state: archived, ... moved_by: "#1103", moved_on: "2026-09-18"}

`moved_on` was chosen by the seeder itself and AGREES with the archive directory's
date, which matters: a `moved_on` EARLIER than its directory's date is a finding
under `archive_date_problems`'s default arm, independently of the
archive-date-vs-commit arm.

tasks.md § 3.1, § 3.4 and § 3.5 tick in the MOVED file, with a record of what each
performed. The box census is now 26 ticked, 0 open, 0 deferred.

GATE RUN AT THIS TREE:

  openspec validate --all --strict      109 passed, 2 failed — the same two
                                        pre-existing (add-chain-attestation,
                                        add-composed-view-authoring)
  validate-sequenced-after --ledger-diff  "per-change sweep ledger consistent with
                                        the corpus (219 rows)"
  validate-sequenced-after (plain)      sequenced_after validation passed;
                                        archive-date agreement passed;
                                        archive-date-vs-commit agreement passed
  proposal-support verify               ok
  validate-code-surface                 passed (171 archived proposals read)
  pytest tests/doc-health tests/sequenced_after
                                        2129 passed, 0 failed
  doc-health --family promotion-fidelity  0 critical, 0 error, 0 warning, 0 info;
                                        0 new regressions

ON THAT PYTEST RUN, STATED BECAUSE THE FIRST ATTEMPT WAS RED AND THE REASON
MATTERS: seven tests under tests/doc-health first failed with
`carved_reach.CarveReachUnavailable`, and the SAME SEVEN fail identically on
pristine origin/main at 9c81754 — they are not this branch's. They are not a
defect either: the tests name their own cause and remedy, a checkout whose
openDox/openXdox legs are not materialized. After
`git submodule update --init --recursive openDox openXdox` (never `git add` of a
gitlink; the gitlinks are untouched by this branch) the same two suites report
2129 passed, 0 failed.

Lane: openxfactory-4

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…nd bind every remaining archive closure to --merge

The closure this box ticks on was landed by SQUASH, so the archive directory
2026-09-16-add-composed-view-authoring -- named for the day the change was
archived -- carries an adding commit dated 2026-09-18, and openxFactory main
goes red on validate-sequenced-after's archive-date-vs-commit arm (main run
35336659842 at 3e32d98).

Measured here rather than taken on report: 3e32d98 has exactly ONE parent
(4ee21c4), which is what a squash produces and a merge does not; and the check
re-run at origin/main in a clean worktree reproduces the single finding, "dated
2026-09-16, added 2026-09-18 by 3e32d98... -- undispositioned".

The archive itself is correct and the section 6.4 tick stands. The closure
happened, the directory is where it belongs, and what is wrong is the adding
DATE the squash stamped on it. Renaming the directory is forbidden (#812). The
repair is one disposition row, a single-row PR by rehome-lander citing #812
rule 1 and rule 2a, in the form #1099 used the day before.

The rule the packet now carries, because this is the SECOND occurrence in two
days: archive closures land by `gh pr merge --merge`, never by squash. The
first was lane openXfactory-5's #1076 -> 5dd0a8d on 2026-09-17, repaired by
#1099 -> ad089e8; the same failure with a different actor is the evidence that
the cause is the FORM and not the operator. It binds #1057, #1060, #1065,
#1066, #1103 and any later archive of this packet, and it is written into the
ledger rather than a runbook because the ledger is what the next closure's
author reads.

No merge from main is taken: main is red on this very finding, and merging it
would only import the red. Ledger unchanged at 51 [x] / 20 [ ] / 1 [~] of 72;
one file; exactly two marker changes. openspec validate --strict valid,
proposal-support verify ok, --ledger-diff clean (219 rows).

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
… the no-record WHEN narrowed (ratifier's amendment), the block promoted (PR #1052 → f8eba34; code_surface none); the archive directory keeps its 2026-09-17 ACT date — the re-date RULED out, the landing route measured instead (#1089)

Lane: openxfactory-2 (openXfactory-2)

**TWO ACTS OF THE SAME RATIFIER, IN THAT ORDER — an AMENDMENT, then the ARCHIVE.** `scope-pinned-arm-root-naming` was RATIFIED by PR #1052 → `f8eba3455c0a35d2f5e2be91edbe2526063085e4` and carried ONE open question into its own ratification record. Both words below are Brett Heap's, first-hand, in session to lane `openxfactory-2`, on 2026-09-17.

**THE ARCHIVE WORD** — verbatim ***"merge 1051 when green, then archive 1047"***, recorded at [#1047 comment 5714241892](#1047 (comment)). **THE RULING** — an interactive multiple-choice selection, verbatim ***"Apply the narrowing"***, recorded at [#1047 comment 5714432684](#1047 (comment)), answering the RULING NEEDED this packet's record posted on 2026-09-16 (5701322989).

## (1) THE AMENDMENT, APPLIED BEFORE THE BLOCK PROMOTED

The sibling scenario *A pinned target names a pin no resolution root carries*'s WHEN:

**BEFORE** (as ratified at `92d3e0e2`): "…and no pin record for `<pin-id>` exists under any root of the run's precedence, **and at least one resolution root was selected for the run**"

**AFTER** (as amended, and as promoted): "…and no pin record for `<pin-id>` exists under any root of the run's precedence, **and at least one selected root whose boundary was successfully searched**"

**WHY.** `_pinned_arm` appends a root to `searched` only AFTER that root's `contracts/` directory clears `boundary_dir` (`scripts/doc_health/families.py:1604-1613`); a root whose boundary check fails draws its OWN finding instead and never reaches `searched`. Where EVERY root `_pin_roots` returns fails that check, `searched` stays empty, the `if searched:` guard (`:1633`) never fires, and NO aggregate no-record finding is emitted — so the round-1 WHEN described, on that one path, a finding the realized arm does not emit. Nothing is left uncovered: the independent scenario *A root's contracts directory is itself a symlink* already requires the per-root boundary finding for each refused root.

It is BYTE-FOR-BYTE the text fix round 5 applied in the lane's own name (`7055e475`) and fix round 6 reverted (`d138a99d`) — now applied by the only authority that could. **Recorded as an AMENDMENT BY THE RATIFIER in the 2026-09-01 form** (`add-requirement-ref-resolution-integrity/review/ratification-2026-09-01.md`): an **"AMENDED SINCE"** pointer near the head of `review/ratification-2026-09-16.md` and a dated **Addendum, 2026-09-17** at its foot, with `Amended by:` header lines on `proposal.md`, `design.md` and `tasks.md`. The 2026-09-16 body and addendum are left EXACTLY as written, as the evidence of what was true before the word came.

## (2) WHAT THE ARCHIVE DID

`python3 scripts/proposal-support.py . archive scope-pinned-arm-root-naming --yes` (never bare `openspec`). **`code_surface: none`**, so under `release-realization` the packet archives ON LANDING PLUS ITS OWN TASK LIST, and `tasks.md` § 3 was the whole of what was owed.

- **ORIGIN RETAINED** — the tool's own line, "declaration unchanged since the ratifying commit `f8eba3455c0a`". Independently proven: `.openspec.yaml` is blob `4c0a92d1` at `f8eba345` and blob `4c0a92d1` here, and no commit touched the packet between that merge and this act.
- **PROMOTION MEASURED BYTE-IDENTICAL** — canon's *Prose tagging marker hygiene* and the `## MODIFIED` block are both **41,984 bytes, sha256 `c009f5cc3e4aa5aa…`** (the requirement text from its `### Requirement:` line, canon's trailing blank separator excluded on both sides — PR #1042's convention); canon `--numstat` **+21 −8**.
- Packet moved to `openspec/changes/archive/2026-09-17-scope-pinned-arm-root-naming/`; **§ 3.1 and § 3.2 ticked** with ARCHIVED annotations citing the word, and § 3's heading now reads ARCHIVED.
- **§ 3.2's `_LEDGER_SUBJECTS` row DID exist and is RETIRED** with a note in its place, the gate's population narrative and docstring saying which subject moved and why (fifteen → fourteen).
- **README**: the active bullet retired, the archived-ledger entry added.
- **THE FIVE HISTORY-LABELLING CORRECTIONS RULED ACCEPT at round 7 of PR #1052** are folded here as non-normative: the figures labelled BY ROUND (at filing 2 hunks, 17/4, 1 uncarried, 7 new; after round 1's WHEN clause 3, 18/5, 2, 8; from round 5 onward 4, 21/8, 3, 9); `proposal.md` separating the filing generation from round 1's WHEN edit; the record's "ALL FOUR ARE NON-NORMATIVE" corrected to "no LASTING normative change — round 5 was the temporary normative edit, reverted in round 6"; and `tasks.md` § 2.1's "no approval pair claimed" marked as the at-authoring state of 2026-09-15.

## THE #1075 INTERACTION

PR #1075 → `a93d2682` ordered `adopt-entry-grain-dispositions-form` AFTER this packet and carried this scenario into that packet's `## MODIFIED` block VERBATIM. **That carried copy is re-based to the amended WHEN in the same act, under the same ruling** — a carried copy left at the superseded wording would be the very drift the carriage was performed to prevent. Its record gains a dated **"Addendum 2, 2026-09-17"** entry, kept distinct from and pointing at the **"Addendum, 2026-09-17 — carriage on the ratifier's word"** that PR #1082 → `98b172e5` landed there earlier the same day (the merge below keeps BOTH, unedited, in the order the two words were given). **Nothing else of that packet moves** — it still adds EXACTLY ONE scenario of its own, *A pin record's optional dispositions member carries a malformed entry*. Measured against canon AS PROMOTED: **canon 215 units, that block 223, ZERO uncarried and EIGHT new** — its own scenario title and its seven bullets, and nothing else.

## VALIDATION (at `65357341`, after merging `origin/main` at `88a1047`)

- `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **Totals: 106 passed, 2 failed (108 items)**; `origin/main` reads **107 passed, 2 failed (109 items)** — ONE FEWER ACTIVE CHANGE, the same two pre-existing failures (`add-chain-attestation`, `add-composed-view-authoring`).
- `python3 scripts/proposal-support.py . verify` → **ok**.
- `doc-health.py --single-repo . --family modified-block-currency` → **14 info, 0 error/critical**; `origin/main` reads **15 info**, and the ONLY difference is this packet's retired row. None unnamed; none for `adopt-entry-grain-dispositions-form`.
- `doc-health.py --single-repo . --family ratified-provenance` → **27 critical, ROW FOR ROW IDENTICAL to main** (compared in same-kind checkouts).
- `python3 scripts/validate-sequenced-after.py .` → **passed** (46 active, 15 declaring); it raises no objection to any `sequenced_after` target now being archived.
- `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **19 passed**.
- `pytest -q -p no:cacheprovider tests/sequenced_after tests/doc-health/test_modified_block_currency.py tests/proposal-support` → **626 passed, 291 subtests, 3 failed** — the sweep-ledger staleness ONLY, BY DESIGN until the re-seed commit that needs this pull request's number, **and all three are green at `8c72d2ec`** (`tests/sequenced_after` → **286 passed**).
- `pytest -q -p no:cacheprovider tests/doc-health` → **1826 passed**.

**Re-run at the final head `8c72d2ec`:** `openspec validate --all --strict` → **106/2 (108)**; `proposal-support.py . verify` → ok; `--family modified-block-currency` → **14 info**, zero rows naming either `scope-pinned-arm-root-naming` or `adopt-entry-grain-dispositions-form`; `--family ratified-provenance` → **27 critical, row for row identical to main**; `--ledger-diff` → **"per-change sweep ledger consistent with the corpus (216 rows)"**; `pytest tests/doc-health/test_modified_block_currency_self_gate.py tests/doc-health/test_modified_block_currency.py tests/proposal-support` → **362 passed, 291 subtests**.

**Commits.** `459d816a` performed the two acts (a previous author, who died before validating them); `572ff8a0` merges `origin/main` at `88a1047`, one conflict, one file, BOTH SIDES KEPT; `65357341` is the verification pass and its three corrections — § 3.1's byte figures were the PRE-amendment measurement (41,970 / `f4f2e807…`) and are re-measured to 41,984 / `c009f5cc…`, § 3's heading moved from OPEN to ARCHIVED, and the carried record's addendum is described as it now is; `8c72d2ec` re-seeds the per-change sweep ledger (`--seed-ledger --moved-by '#1089'` → 216 rows, ONE moved: `scope-pinned-arm-root-naming` active→archived, `#1052`→`#1089`, 2026-09-15→2026-09-17) and names PR #1089 in the README archived-ledger entry.

**Lands under Rule 6 AFTER PR #1051 lands, on the word's order** ("merge 1051 when green, then archive 1047"). This pull request touches `openspec/changes/`. openxFactory #1047 closes by the lane's hand after the ARCHIVED record, not by a keyword.

**Fix round 2 (`534f065a`)** — Copilot at `8c72d2ec` (one thread, one suppressed), both RULED ACCEPT, non-normative: the archived tasks.md header paragraph now states the archive act WAS performed and recorded in § 3 (word "merge 1051 when green, then archive 1047", citation 5714241892) with the old reading labelled as the at-filing state; design.md's verification commands are labelled PRE-ARCHIVE historical evidence with the heads they ran at, and a new § 5 gives post-archive equivalents run verbatim against the archived block and canon (0 hunks vs live canon; units now 215/215/0 uncarried/0 new; modified-block-currency 14 info naming nothing of this change; promotion-fidelity 0). Validation: `--all --strict` 106/2 (pre-existing); proposal-support ok; self-gate 19 passed; ledger consistent (216). Thread replied and resolved; 0 open. Lands AFTER PR #1051, on the word's order.

**Merged origin/main `5dd0a8dc` (`062fc6de`)** — carrying `893abe97` (PR #1088, the ratifier's partition amendment of `adopt-entry-grain-dispositions-form`), `53769f9e` (PR #1051) and `5dd0a8dc` itself (PR #1076, lane `openxfactory-5`'s archive of `gate-code-surface-declarations`). THREE conflicts, every one resolved by KEEPING BOTH WRITERS; the carried packet's spec delta merged with NO conflict and carries BOTH — #1088's partition clause, byte-unchanged and authoritative, on this branch's re-based sibling WHEN. The ratification record keeps BOTH addenda, ordered by their rulings' timestamps (carriage 12:12:49Z → this branch's Addendum 2, the narrowing, 12:34:53Z → #1088's partition addendum 12:34:55Z), neither text edited; its "AMENDED SINCE" pointer now counts THREE acts rather than two. README keeps both archived-ledger entries. The self-gate keeps main's `adopt-entry-grain-dispositions-form` row whole and applies this archive's retirement of the `scope-pinned-arm-root-naming` row over it: `len(_LEDGER_SUBJECTS)` MEASURED **15** (16 raw literal entries, the pre-existing `add-chain-attestation` duplicate collapsing as before), so the chronology reads 15 → 16 → 15, not 15 → 14. **EVERY FIGURE THE MERGE INVALIDATED IS RE-MEASURED AND CORRECTED** wherever this branch stated it: the carriage ledger is **15 `info`** rows (was 14) and `adopt-entry-grain-dispositions-form` measures **canon 215 units, block 223, TWO uncarried, TEN new** (was ZERO/EIGHT) — the carriage itself is WHOLE, the two uncarried units being the positive-resolution WHEN and disjointness bullet that packet's OWN ratifier moved. Validation at `062fc6de`: `openspec validate --all --strict` **108 passed / 2 failed (110 items)**, the same pre-existing pair; `proposal-support.py . verify` ok; `--ledger-diff` consistent (**219 rows**); `--family modified-block-currency` **0 critical / 0 error / 0 warning / 15 info**, none naming this packet, none unnamed; `--family promotion-fidelity` **0 findings**; self-gate **19 passed**; `pytest tests/doc-health` **1843 passed**; `pytest tests/sequenced_after` **286 passed**.

**RULED — THE RE-DATE IS REVERTED (`122fdda6`). THE DIRECTORY KEEPS ITS ACT DATE: `openspec/changes/archive/2026-09-17-scope-pinned-arm-root-naming/`, `moved_on: "2026-09-17"`.** `bd758b29` had moved the directory to `2026-09-18-…` so the landing would agree with the gate; lane `openxfactory-2` RULED that act back out on ratified doctrine. `docs/document-lifecycle.md:556` — *"RENAMING IS NOT THE REMEDY: history is history, every citation stands"* — and the four-cause paragraph at `:559-575` names this exact shape as CAUSE 2, *"a correct archive whose commit fell on the next UTC day … Each of those is a lawful disposition once MEASURED, naming its own cause"* (issue #812, Brett Heap 2026-09-08). A landing that slips a day is dispositioned, not renamed. The revert is byte-exact against the pre-re-date tree — `git diff 9f98270 HEAD` over those nine paths is empty — and `git grep '2026-09-18-scope-pinned'` returns nothing. Every reference came back with it: the README archived-ledger entry and its two links, the corpus-ledger row, `tasks.md` § 2.1/§ 3.1, `design.md` § 5's `ARCH` path and preamble, and the `modified-block-currency` self-gate's retirement note. **THE ACT ITSELF NEVER MOVED:** the wrapper owned the clock (#797) and named `2026-09-17-…` when it ran on Brett Heap's archive word; `459d816a`, committer-dated 2026-09-17T12:47:06Z, is that act.

**THE LANDING ROUTE IS MEASURED, NOT ASSUMED — and the measurement changes the answer.** The earlier reasoning assumed a squash landing and therefore an unavoidable red `main`. `sequenced_after.adding_commits` runs ONE walk over the whole archive root — `git -c core.quotePath=false log --diff-filter=A --reverse --no-renames --format=%x00%H%x09%cI --name-only -- openspec/changes/archive` — oldest-first with `setdefault` keeping the FIRST add of each name, no `--first-parent`, and deliberately no `-M`. BOTH landings of this head were simulated in a scratch worktree, twice: first against `origin/main` at `cb0f8544` and then RE-MEASURED at `df466597` against `origin/main` at `3e32d987` after it moved. **The verdict is stable across both bases.** Re-measured figures:

| route | sim commit | OUR directory attributed to | findings |
|---|---|---|---|
| pristine `origin/main` (baseline) | `3e32d987` | not landed | **1** — main's own |
| **MERGE COMMIT** (`--no-ff`) | `f6d739ef4ec9dfc3961e7a78cc8d790f72148331` | `459d816a…` — **2026-09-17** | **1** — main's own, unchanged |
| SQUASH | `5e2fff5f5c1daf77fd49d443f8a4f5e209c4ce71` | the squash commit — **2026-09-18** | **2** — main's own **plus ours** |

- **MERGE COMMIT — adds NOTHING.** The merge is TREESAME to the branch parent for that path, so the path-limited walk follows the branch and the OLDEST add of the name remains the archive act: `adding_commits()` returns `('459d816a300634d1ad79e7f3a4ef733d69092b3f', '2026-09-17')`. `pytest -q tests/sequenced_after` → **3 failed, 283 passed**, the failure set BYTE-IDENTICAL to pristine `origin/main`'s. Against the earlier green base `cb0f8544` the same simulation (`38e49539…`) was **fully green: validator exit 0, 286 passed**.
- **SQUASH — adds exactly ONE finding.** The branch's commits are absent from `main`, so the only add of the directory is the squash commit: `archive-date-vs-commit: 2026-09-17-scope-pinned-arm-root-naming: dated 2026-09-17, added 2026-09-18 by <squash sha> — undispositioned`. Same one finding against the earlier base (`a8c41db2…`).

**THEREFORE: LAND THIS WITH `gh pr merge --merge`, AND NO DISPOSITION IS OWED.** Under a merge-commit landing the directory's name and its adding commit agree IN HISTORY, which is exactly what the arm asks. Only a squash landing makes the cause-2 disposition due — and only then can it be written, since `tests/sequenced_after/archive-date-dispositions.yaml` requires a FULL 40-character `adding_commit` (`DISPOSITION_KEYS` + `FULL_SHA`; the loader raises and the CLI answers CANNOT RUN / exit 2 on a missing or abbreviated one), there is no sha-less or directory-plus-PR key, and the record's own header refuses a pre-emptive entry in terms: *"ENTRIES ARE ADDED ONLY FOR A MEASURED DISAGREEMENT, AND NEVER IN ADVANCE"*. In that case the follow-up entry cites `directory: 2026-09-17-scope-pinned-arm-root-naming`, `directory_date: "2026-09-17"`, `adding_commit: <squash sha>`, `commit_date_utc: "2026-09-18"`, a `fact:` naming cause 2 (act `459d816a` on 2026-09-17T12:47:06Z UTC; the landing fell on the next UTC day) and this ruling — the exact row is staged in the lane's `findings/LANDING-ROUTE-1089.md`. Copilot's three threads asked for precisely this route; all three are **RULED ACCEPT, replied and resolved (0 open)**.

**⚠️ `main` IS CURRENTLY RED ON THIS ARM, AND IT IS NOT THIS BRANCH.** `origin/main` at `3e32d987` fails `scripts/validate-sequenced-after.py .` on its own: `archive-date-vs-commit: 2026-09-16-add-composed-view-authoring: dated 2026-09-16, added 2026-09-18 by 3e32d98 — undispositioned`. [PR #1056](#1056) landed by SQUASH this morning and produced cause 2 in the live corpus. This branch INHERITS it through the merge of main; it is another lane's packet and another lane's ruling to cite, so nothing is written for it here. It is the #1076 → #1099 pattern repeating — and it is the live proof that a post-landing disposition is the routine, accepted remedy, which is what this ruling rests on. **Required CI on this PR will be red on those three inherited tests until #1056's finding is dispositioned on `main`; compare against pristine `origin/main` before attributing it here.**

**VALIDATION at `df466597`** — the reverted head after merging `origin/main` at `3e32d987` (ONE conflict, README's "Archived changes:" block, resolved by KEEPING BOTH WRITERS: this branch's `scope-pinned-arm-root-naming` entry above main's `add-composed-view-authoring` entry, reverse-chronological as the block is, neither text edited): `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **108 passed, 1 failed (109 items)** — the pre-existing pair is now a single pre-existing failure, `add-chain-attestation`, because main's #1056 closed `add-composed-view-authoring` out of the active corpus; `python3 scripts/proposal-support.py . verify` → **ok**; `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **consistent (219 rows)**; `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **19 passed**; `pytest -q -p no:cacheprovider tests/sequenced_after` → **3 failed, 283 passed, ALL THREE INHERITED** (identical at pristine `origin/main`). At the pre-merge head `b8015cd0`, against the then-green `cb0f8544`, the same set was **FULLY GREEN**: validator green on both arms (`13 disposition(s) in force`), `--ledger-diff` 219 rows, `tests/sequenced_after` **286 passed**, self-gate 19 passed, `--all --strict` 108/2 (the pair), `proposal-support` ok. **THE BRANCH'S OWN ADDING COMMIT FOR THE DIRECTORY IS `459d816a` (2026-09-17 UTC) — IT AGREES WITH THE NAME**, so no entry is written here; an entry written now would be reported STALE and would red the run, which is the record's intended answer.

**RE-MEASURED AT `4bcbde5d` AGAINST `origin/main` = `4ccab7b9`, AND THE ROUTE IS UNCHANGED.** `main` moved twice more since `df466597`: `bbd1cca8` ([#1106](#1106), lane `openxfactory-4`'s disposition row for `2026-09-16-add-composed-view-authoring`, citing squash `3e32d987`) and `4ccab7b9` ([#1057](#1057), that lane's archive of `2026-09-16-add-doxchat-model-intake`, landed as a MERGE COMMIT whose branch history carries `d8ff2ec2` — the ORIGINAL wrapper commit that created the composed-view directory). Because the arm walks `git log --diff-filter=A --reverse --no-renames` with NO `--first-parent` and keeps the FIRST add, that merge RE-ATTRIBUTED an already-landed directory: `2026-09-16-add-composed-view-authoring`'s adder is now `d8ff2ec2`/2026-09-16, which AGREES with its name, so #1106's row — written for the squash — reads STALE and `main` is red on its own arm (run 35350757712). **THE MERGE INTO THIS BRANCH:** ONE conflict, again the README "Archived changes:" block, resolved by KEEPING BOTH WRITERS — this branch's 2026-09-17 entry above main's two 2026-09-16 closures, main's order between those two untouched, neither text edited. One non-normative bookkeeping correction travels with it, in the practice `c5ddc0c3` set on the other side of the same file: three `_LEDGER_SUBJECTS` rows have now retired on THREE separate branches, and each of the self-gate docstring's three "MEASURED AT THIS HEAD" readings was taken on a tree that did not hold the other two retirements, so a dated paragraph RE-MEASURES at this merged head — THIRTEEN, 14 literal entries / 13 unique — instead of subtracting from a superseded numeral a third time. Neither lane's own paragraph is touched, and the exact-set assertion compares sets, not counts.

**THE TWO SIMULATIONS, RE-RUN IN A SCRATCH WORKTREE OFF `4ccab7b9`.** MERGE COMMIT (`git merge --no-ff`, sim `8b22e9b1`): this branch's directory `2026-09-17-scope-pinned-arm-root-naming` attributes to **`459d816a300634d1ad79e7f3a4ef733d69092b3f` / 2026-09-17** — it AGREES with the name and emits nothing; the validator reports **1 finding, `main`'s own STALE**, and `pytest -q -p no:cacheprovider tests/sequenced_after` → **4 failed, 282 passed**, the failing set BYTE-IDENTICAL to pristine `4ccab7b9`'s. **THIS LANDING ADDS NOTHING.** The REVERTED `2026-09-18-scope-pinned-arm-root-naming` path (added by `bd758b29`, removed by `122fdda6`) does appear in `adding_commits()` — `('bd758b29…', '2026-09-18')` — but is NOT on disk, and `archive_commit_problems` measures only directories present on disk, so it produces **no finding**. SQUASH (`git merge --squash`, sim `2de88a9c`): the directory attributes to the squash commit, **2026-09-18**, and the run reds with **2 findings** — `main`'s STALE plus `archive-date-vs-commit: 2026-09-17-scope-pinned-arm-root-naming: dated 2026-09-17, added 2026-09-18 by 2de88a9c… — undispositioned` (4 failed, 282 passed, two findings inside). The recommendation is unchanged: **`gh pr merge 1089 --merge`**.

**VALIDATION at `4bcbde5d`:** `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → **107 passed, 1 failed (108 items)**, the single pre-existing `add-chain-attestation`, measured beside pristine `4ccab7b9`'s **108 passed, 1 failed (109 items)** on the same item — the one-item difference is this archive leaving the active corpus, and no failure is added; `python3 scripts/proposal-support.py . verify` → **ok** (rc 0); `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **consistent (219 rows)**, rc 0; `pytest -q -p no:cacheprovider tests/doc-health/test_modified_block_currency_self_gate.py` → **20 passed**; the plain `python3 scripts/validate-sequenced-after.py .` on this branch → the ONE inherited STALE finding and nothing else. **The required pytest suite is RED at this head and the red is `main`'s own** — #1057's merge-commit history re-dated `add-composed-view-authoring`'s adding commit and stranded #1106's disposition row. It is not this pull request's finding, this pull request adds none, and it clears when that row is removed on `main`.

**Merged origin/main `dc242f3a` (`edcdb008`).**

refs #1047

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

## Summary by Sourcery

Apply the ratifier-approved narrowing, promote the validated requirement changes, and archive scope-pinned-arm-root-naming.

Bug Fixes:
- Narrow the pinned-target no-record scenario so it applies only when at least one selected root has been successfully searched, matching the realized health-check behavior.

Enhancements:
- Archive the ratified scope-pinned arm root-naming change while preserving its ratification history and 2026-09-17 archive date.
- Promote the modified document-lifecycle requirements into canon and update the ordered carried copy in adopt-entry-grain-dispositions-form to match the ratifier's amendment.
- Retire the archived change's modified-block currency ledger entry and update the corpus and README archive records.

Documentation:
- Update archived proposal, design, task, and ratification records with the amendment, archive evidence, and post-archive verification details.

Tests:
- Update modified-block currency self-gate expectations and corpus-ledger state for the archived change.

Chores:
- Preserve the archive date and document measured landing-route guidance without adding a premature archive-date disposition.
brettheap added a commit that referenced this pull request Sep 18, 2026
…r text admits ', and ', matching code_surface._SEPARATOR_RE (refs #1092) (#1108)

Refs #1092. Refs #1013. Refs #1076. Amendment packet amend-code-surface-grammar-comma-and, PACKET ONLY: one MODIFIED block over release-realization's *Code-surface declaration grammar is gated* naming `, and ` as an admitted separator of the declared repository list (consumed as one separator ahead of the bare comma), matching what scripts/code_surface.py's _SEPARATOR_RE already accepts; the reader stays as realized. RULED and RATIFIED by Brett Heap 2026-09-18 ~09:55Z, verbatim "Amend the text to admit ', and '" (terminal multiple-choice answer to lane openXfactory-5; RULED line in opensoft/brett-wip lanes/log/openXfactory-5.md at 10:15:10Z), encoded in the packet; lands as ratified on that word. code_surface: none, so the archive is a later act on its own word.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…with the measurement

Refs #1092. Refs #1108. Two findings verified TRUE against the tree and taken;
one verified TRUE as a text defect and REFUSED for this pull request, because
the text it names is promoted ratified bytes.

TAKEN 1 -- README, "validate-code-surface.py reports identically before and
after". The validator reports active and archived totals separately, so moving
a packet between corpora necessarily moves them. The entry now says what is
actually invariant (every per-declaration verdict, every derived repository set,
CLOSED_REGISTER) and states the totals that move with their measured values:
active 48 -> 47, `none` heads 7 -> 6, archive read 173 -> 174, declaring
127 -> 128, one packet in each column.

TAKEN 2 -- tasks.md § 4.1, "every file a pure rename". FIVE of the six are
(R100, 0 changed lines); the sixth is tasks.md itself, which carries the § 4 and
§ 5 accounting in the commit before the move and the § 4.2 correction after it.
The box now names the five and says the sixth is not a rename, with the reason.

REFUSED -- openspec/specs/release-realization/spec.md:1059, the `, and `
continuation boundary. The finding is TRUE and measured with the module itself:
parse_head admits `openxFactory, and openXwallet + codexFactory` and
`openxFactory, and openXwallet, codexFactory` as THREE identifiers, so a
continuation boundary the paragraph does not enumerate -- another admitted
separator -- is one the reader accepts. IT IS NOT FIXED HERE. Those bytes are
PROMOTED, RATIFIED text: an archive act carries the ratified delta byte-for-byte
(measured at 15,441 bytes, sha256 5729577a... on both sides), the same bytes sit
in an archived record that record-immutability and govern-archived-record-edits
put beyond a plain fix, and rewording them would promote text Brett Heap did not
ratify. It is also not a behaviour claim canon gets wrong: the block states the
mixed-separator rule twice elsewhere, in a body paragraph and in the added
scenario's last bullet, so the defect is one paragraph's incomplete enumeration.
The remedy is a further amendment on Brett Heap's word -- the same instrument
this packet is -- and it is raised as RULING NEEDED rather than taken in flight,
which is exactly how #1092 itself came to exist out of PR #1076's round 3.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 22, 2026
…es, ideation-dashboard reduces to its two surviving requirements, and two capabilities are promoted (#1139)

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

Archives `split-opendox-two-layer-product` through the pinned wrapper, on Brett
Heap's ratification of 2026-09-05 (verbatim *"ratify #666"*, [#656 comment
5548470629](#656 (comment)))
and his separate archive word of 2026-09-22 — verbatim *"land the archive when
green and keep going"*, [#656 comment
5769909970](#656 (comment)).

**LANDING FORM: A MERGE COMMIT ON THE ARCHIVE DAY. NEVER A SQUASH.**
`validate-sequenced-after.py`'s archive-date-vs-commit arm holds that every
archived directory is named for the UTC date of the commit that ADDED it. A
squash re-dates that commit and reds the arm for this directory — the failure
shape already recorded at `#1076` / `#1056` and repaired there by disposition
rows. A merge commit keeps the wrapper's own act commit, so the directory's date
and its adding commit's date are one fact.

## Estate state at the archive

`main` base `cd246a01` (#1135, `tasks.md` amendment #11), over `7c49825e`
(#1136, the review-lane pin lockstep) and **`aaddda66` (#1134, the nested leg
advance: `openDox` gitlink and direct pin → `dc7aa08f`, `openXdox` →
`646f1dc0`)**. `openXdox#15` → `646f1dc0`. The two published first bundles that
closed §§ 3.8 and 4.6 are `dox-v1.0` (`608236a1`, over `dc7aa08f`) and
`xdox-v1.0` (`2d2e9b85`).

## What the wrapper did

`scripts/proposal-support.py . archive split-opendox-two-layer-product --yes`,
exit 0, CLI resolved through its content address (`@fission-ai/[email protected]`,
80-package closure, `npm ci --ignore-scripts`); origin retention passed
(declaration unchanged since the ratifying commit `ceb6dc9ebbdc`); the packet
validated `1 passed, 0 failed` through that same binary before anything moved.

Spec deltas as ratified: **`+ 7, ~ 4, - 102, → 0`**. Capability directories
**64 → 66** (the ledger's `63 → 65` was measured at `80c68da6`; `#1133` promoted
`packet-citation-report` in between — two ADDs and nothing removed either way).

| capability | act | effect |
|---|---|---|
| `corpus-adapter-seam` | **created** | 4 requirements, 11 scenarios |
| `domain-mapping-declaration` | **created** | 3 requirements, 9 scenarios |
| `domain-descendant-boundary` | modified | 2 requirements replaced |
| `neutral-product-pin` | modified | 2 requirements replaced |
| `ideation-dashboard` | **modified** | **102 of 104 requirements REMOVED** |

### `ideation-dashboard` is REDUCED, not removed

307,705 B / 104 requirements / 487 scenarios → **15,457 B / 2 / 12, directory
PRESENT**. The largest `## REMOVED` block ever applied at an archive here (102
requirements, 215,683 B) and still not a capability removal — the CLI's own plan
says `update`. The two survivors are `retire-doxbench-chat-turn-v1`'s, the one
of the five § 6 changes closed by promotion rather than as re-homed.

## The measurement record — § 8.9, RULED R-6 ([#656 comment 5690428146](#656 (comment)))

**BASELINE FIXED AND PUBLISHED BEFORE THE AFTER RUN WAS TAKEN** — R-6 clause (a)
refuses a baseline chosen after the fact. This pull request's OWN BASE,
`cd246a012645d1d97047cc40427f66f43440401f`, and the invocation, were written to
`brett-wip` at `003fc795` before any AFTER run started. AFTER is this pull
request's own head. Both trees are the SAME KIND — a plain
`git clone --filter=blob:none` with `openDox` and `openXdox` materialized — and
doc-health is run FROM the tree it measures, never merely pointed at it.

**THE SCOPE IS NAMED FIRST AND THE TWO ARE NEVER NETTED.** A `--single-repo`
self-gate run sees NONE of the aggregation-root dispositions, so a BEFORE in one
scope and an AFTER in the other would manufacture a delta out of the flag alone.

### (A) single-repo — `python3 scripts/doc-health.py --single-repo . --as-of 2026-09-22`

| family | critical | error | warning | info |
|---|---|---|---|---|
| document-catalog | 0→0 | 0→0 | 0→0 | 1→1 |
| ideation-routing | 0→0 | 0→0 | 2→2 | 2→2 |
| modified-block-currency | 0→0 | 0→0 | 0→0 | 12→12 |
| **promotion-fidelity** | 0→0 | **20→17** | 0→0 | 0→0 |
| ratified-provenance | 27→27 | 0→0 | 0→0 | 0→0 |
| record-immutability | 4→4 | 0→0 | 0→0 | 0→0 |
| release-inventory-drift | 0→0 | 3→3 | 0→0 | 3→3 |
| release-tag-publication | 0→0 | 0→0 | 0→0 | 1→1 |
| staged-candidate-aging | 0→0 | 0→0 | 34→34 | 1→1 |
| staged-topic-template | 0→0 | 0→0 | 1→1 | 0→0 |
| tag-hygiene | 0→0 | 5→5 | 0→0 | 0→0 |
| **TOTAL** | **31→31** | **28→25** | **37→37** | **20→20** |

Canon share 42.1% (414,832/985,117) → 39.5% (371,871/942,156). New regressions 0
at both ends; the same five families skipped at both ends, each named.

**ENTERED 0 · CHANGED SEVERITY 0 · LEFT 3**, and the three have ONE reason:

- `archive/2026-09-16-add-composed-view-authoring/specs/ideation-dashboard/spec.md` — *'Composed views are read-only with a repository jump' … without 5 of its 6 ratified scenarios*
- `archive/2026-09-16-add-doxchat-model-intake/…` — *'doxBench model catalog and provider boundary' … without 1 of its 12*
- `archive/2026-09-16-add-nightly-dashboard-refresh/…` — *'Runtime snapshot fetch with baked fallback and displayed freshness' … without 2 of its 6*

Each is a scenario-completeness finding about a title that reached canon
incompletely. This archive's `## REMOVED` block removes those titles from canon,
so there is no incomplete promotion left to report. **Nothing was suppressed and
no disposition was added** — the findings have no subject left. The canon-share
fall is the same event from the other side: canon and governance words fall by
the identical 42,961.

### (B) aggregation — `--repo-root`, `health/` from `opensoft/xFactory` `cfe27de3`

| | critical | error | warning | info |
|---|---|---|---|---|
| BEFORE | 16 | **949** | 3300 | 33 |
| AFTER | 16 | **951** | 3300 | 33 |

Only `document-catalog` moves, 941 → 943. **ENTERED 2 · LEFT 0 · CHANGED
SEVERITY 0**:

```
+ [error] document-catalog openspec/specs/corpus-adapter-seam/spec.md
          [coverage] document has no catalog entry        class="auto-fixable"
+ [error] document-catalog openspec/specs/domain-mapping-declaration/spec.md
          [coverage] document has no catalog entry        class="auto-fixable"
```

Both are the capabilities this archive promoted. **The remedy is not in this
repository**: the catalog baseline lives at the aggregation root
(`health/document-catalog/baseline/`), so the mechanical catalog pass for these
two documents belongs to the xFactory sync that follows this landing.
`promotion-fidelity` contributes ZERO in aggregation mode at both ends — the
dispositions suppress the family entirely — which is exactly why (A) and (B) are
reported apart.

### strict validate and pytest

| | items | passed | failed |
|---|---|---|---|
| BEFORE `cd246a01` | 107 | 106 | **1** |
| AFTER, Purposes left as the CLI wrote them | 108 | 105 | **3** |
| **AFTER, this head** | 108 | **107** | **1** |

The archive's own contribution is **+1 item, +1 passed, ZERO new failures**. The
one failure at both ends is `change/add-chain-attestation` — *MODIFIED "A gate
validates the short chain as a hash-linked chain" omits … "a tranche-two link
does not exist yet"* — another change's, red on `main` before this branch
existed.

`python3 -m pytest tests/doc-health tests/sequenced_after -q` is **identical at
both ends: 1 failed, 2185 passed, 8 skipped**. That one failure
(`test_sentinel_vocabulary::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`)
is a local-clone artifact, not a corpus fact: `pytest-suite` on `main` at
`7c49825e` is SUCCESS (run `35675861095`) and the same test fails in a clean
checkout of `main` with nothing applied.

`validate-sequenced-after.py` (plain, both trees): exit 0 on `main` and on this
branch, all three arms green, **13 dispositions in force at both ends** — this
archive retro-changes no already-landed directory's adding commit.

## What this pull request carries beyond the wrapper's output

1. **A real `## Purpose` in each new capability spec** — the CLI writes a `TBD`
   and `--strict` reds on it; the checker's own instruction is to edit the
   promoted spec directly. No ratified packet text moves.
2. **The corpus-ledger row**, machine-derived
   (`--seed-ledger --moved-by '#1139'`): one row of 222, `state: active →
   archived` plus provenance; `class`, `declares`, `prose` unchanged.
3. **The README OpenSpec Records move** — six references repointed string-keyed
   (one of them 1,700 lines outside the records block, which a line-range edit
   would have missed), plus three sentences this archive falsifies, corrected in
   place in the house's dated *(TRUE WHEN WRITTEN; …)* form.
4. **A re-aim of the `modified-block-currency` self-gate.** The archive removed
   the canon block that test read as its control; the module's own failure
   message calls corpus movement the expected cause and asks for the named
   subjects to be re-aimed in the same commit. Every replacement figure is
   measured over the post-archive tree. The invariant is STRENGTHENED: the
   question is now asked of all of canon rather than of one block.
5. **Four register retirements**, each on its own entry's `retires_when: … or
   the packet archives` — `target-release-register.yaml` + its
   `CLOSED_REGISTER` pair (20 → 19), and `code-surface-register.yaml` + its pair
   in `code_surface.py` (8 → 7). The archived packet's own README entry named
   the first in advance as *"THE LOCKSTEP PAIR THE ARCHIVE RETIRES"*.
6. **A re-pin of `CLOSED_REGISTER`'s baseline size** in
   `tests/target_release/test_target_release_gate.py`, 20 → 19, which that
   test's own docstring provides for — the literal "falls when a retirement
   lawfully shrinks the ceiling ... and refuses to rise" — with the identity
   assertion beside it in the shape the 2026-09-16 retirement already uses,
   because a count verifies a shrink's magnitude and not the shrink.
7. **`review/archive-record-2026-09-22.md`** — the archive's own record.

### How 4–6 were found: by running the gate, not by predicting it

The § 8.9 box's own command is `pytest tests/doc-health tests/sequenced_after`,
and it reaches none of `tests/code_surface/` or `tests/target_release/`. All
three repairs surfaced by running the FULL suite the way CI does and diffing the
failure set against the same run at the base: **113 failed / 52 errors at
`cd246a01`, 114 / 52 on the branch, and the single difference was the
`CLOSED_REGISTER` size literal.** The local suite's other failures are
environment-bound and identical at both ends; `pytest-suite` in CI at head
`c31c9457` reported that one test and nothing else, which is the same answer from
a clean machine.

## Rulings this lands on

- **R-B** ([#656 comment 5728607038](#656 (comment))) — §§ 5.6 and 8.4 archive in the house's reserved `[~]` DEFERRED form, because both of R-B's remaining clauses take this archive's own merge sha as their input and neither can be performed before this landing.
- **R-6** ([#656 comment 5690428146](#656 (comment))) — the doc-health movement is RECORDED AND EXPLAINED by this pull request, in the form R-6 fixed: baseline named as a sha before the run, per-family per-severity vectors with `info`, and a named reason for every finding that entered, left or changed severity.
- **R-3** (2026-09-16, [#656 comment 5690428146](#656 (comment)) — the same comment as R-6) — § 7.3's DEFERRED SUCCESSOR keeps its `[~]`: the ruling § 7.1 owed has landed and its answer is NONE YET, so the act has no subject, and it neither ticks, blocks this archive gate, nor lapses.
- The tag word of 2026-09-21, *"(a) for both, cut the tags when the drafts are green"* ([#656 comment 5767052465](#656 (comment))), which closed §§ 3.8 and 4.6.

## § 8.9 TOOK THE RESERVED `[~]`, ON A RULING TAKEN AT THIS ARCHIVE

Clause (2) asks for `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`
GREEN. **The RAW command exits 1** at this head, on
`change/add-chain-attestation`. Brett Heap was given the measurement
([#656 comment 5778300335](#656 (comment)))
and RULED by multi-choice
([#656 comment 5778397686](#656 (comment)))
that **clause (2) reads LITERALLY**: the box takes the house's reserved `[~]`
DEFERRED form rather than a tick standing over a red. The bookkeeper re-cut it at
`18a526f6`; `tasks.md` is the bookkeeper's file and this actor never edits it.

**Why the question was worth asking, and it is the measured half of the ruling:
the corpus's own GOVERNED reading of that same command exits 0.**
`contracts/openspec-cli-pin.yaml` carries a LIVE, CITED, RATIFIED disposition for
exactly this finding — `item: add-chain-attestation`,
`path: signed-execution-chain/spec.md`, `level: ERROR`, the finding quoted
verbatim, `ratified_by: 'Brett Heap, 2026-09-05, "take exit 2"'`,
`retires_when: add-chain-attestation archives` — because the scenario is RENAMED
AND RE-CONDITIONED rather than dropped, declared in the block with the reserved
`Merged into` marker, and **the pinned CLI is blind to that marker** while the
corpus's own promoted grammar defines it at `openspec/specs/doc-health/spec.md`
line 1770. Measured at this head:

```
$ python3 scripts/validate-openspec-cli-pin.py --all --strict --repo .
Totals: 107 passed, 1 failed (108 items)
openspec-cli-pin: DISPOSITIONED FINDINGS in openxFactory (1 applied) — this run is NOT a clean tree:
  ✗→D add-chain-attestation / signed-execution-chain/spec.md
      accepted by: Brett Heap, 2026-09-05, "take exit 2"
OK openspec-cli-pin: … every target validated --strict with 0 UNDISPOSITIONED failures.
exit 0
```

Two readings of one command — one literal, one governed — and the box's own words
pick the literal one. **CLAUSES (1) AND (3) ARE DISCHARGED**: the pytest pair is
identical at BASE and HEAD, and the doc-health BASE→HEAD vectors above are
complete in both scopes with every entered, left and severity-changed finding
named. Only clause (2) is owed, it is owed by a sibling change, and **the
archive's own contribution to clause (2) is +1 item, +1 passed and ZERO new
failures.**

The ledger closes at **67 `[x]` / 0 `[ ]` / 5 `[~]` of 72**
(`[~]`: §§ 5.6, 7.3, 7.4, 8.4, 8.9). `grep -c '<<REHOME:'` reads **0**.

**The archive wrapper was re-run against the re-cut ledger and the `- [ ]` gate
no longer fires**: in a throwaway rebuilt from the branch's pre-archive commit
with the final `tasks.md` restored to the active path,
`proposal-support.py … archive --yes` runs to **exit 0**, `Task status: ✓
Complete`, the same `+ 7, ~ 4, - 102, → 0`, the same archive directory name — so
five `[~]` are not a blocker, which is the whole point of the reserved marker.

## The base is deliberately NOT moved

This branch is behind `main` and stays there. § 8.9 clause (3) binds the
doc-health record to **this pull request's own base, `cd246a01`**, published
before the AFTER run was taken; the clause's entire form is that neither end of
the pair may be swapped for a convenient tree. Merging `main` would move the BASE
under a published BEFORE→AFTER pair. The pull request reads **MERGEABLE** and no
required check demands a fresher base, so the base is left alone on purpose. If a
check ever does demand one, the pair is re-run and re-published against the new
base and this body says why — it is not silently inherited.

## Holds

1. **NONE OUTSTANDING.** The one hold this pull request carried —
   `change/add-chain-attestation`'s strict-validate red against § 8.9 clause (2)
   — was RESOLVED BY RULING rather than by a code change: clause (2) reads
   literally, the box takes `[~]`, and the ledger closes at 67 / 0 / 5
   ([#656 comment 5778397686](#656 (comment))).
   That red is still red and is still **not this packet's**; it retires when
   `add-chain-attestation` archives, exactly as its own ratified disposition row
   says, and this lane does not touch it.
2. **The bookkeeper's `tasks.md` hunk is APPLIED, not pending** — `git am` of
   `0001-split-opendox-tasks.md-THE-ARCHIVE-AMENDMENT-5.6-and.patch`, clean, as
   the first commit on this branch and BEFORE the wrapper ran, which is the
   order `APPLY.md` requires. The three `<<REHOME: …>>` placeholders it left are
   filled from measurement. `tasks.md` is otherwise untouched by this actor.

## Follow-on, NOT in this pull request

To `opensoft/xFactory`, after this lands (not before — until the archive is on
`main`, row A's finding is live and removing it would un-suppress a real error):

- the mechanical catalog pass for the two newly promoted capability documents,
  which clears both new `document-catalog` errors;
- remove the spent `add-composed-view-authoring` disposition row (live, now
  superseded by this archive's own `## REMOVED` block) and the never-live
  `retire-doxbench-chat-turn-v1` (#473) row, whose two disposed titles are
  exactly the two requirements that SURVIVE. The two removals have different
  reasons and the commit must say so.

Registered and not taken: giving `health/dispositions.yaml` the stale-entry arm
`validate-openspec-cli-pin.py` already has, so a spent row is reported rather
than inert.

**The three ratified-requirement findings from Copilot review `5273796676` stay
as ratified here and travel as successor changes, not as archive edits.** Brett
has already ruled (b) on one of the three
([#656 comment 5777949892](#656 (comment))):
`neutral-product-pin`'s source-tree clause is amended to admit a whole-tree
`sorted-ls-tree-r-v1` digest as an equivalent discharge — **as its own small
change, which does not ride in this archive.**

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

gate-realization-axis-vocabulary § 6.3 successor: code_surface: is not gated (a second population, unclaimed)

2 participants