Skip to content

Propose + realize accept-sequenced-after-header-line: sequenced_after declared as a lifecycle header line, sequenced after add-sequenced-after-substrate (codexFactory #268, door b) - #886

Merged
brettheap merged 8 commits into
mainfrom
change/accept-sequenced-after-header-line
Sep 10, 2026
Merged

brettheap merged 8 commits into
mainfrom
change/accept-sequenced-after-header-line

Conversation

@brettheap

@brettheap brettheap commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codexfactory-1

THE RULING. Brett Heap, first-hand and in session, 2026-09-10 ~02:10Z, on
codexFactory issue #268,
verbatim:

do door b

Door (b), as that issue framed it: "openxFactory teaches the reader
codexFactory's unfenced header form, then codexFactory re-vendors and advances
the pin — after which declaring reflects the corpus with no proposal byte
moving and no freeze tripped."
Door (a) was "fence the whole corpus".
THE WORD CHOSE THE DOOR AND RATIFIED NO TEXT.

Status: ratified — 2026-09-10, Brett Heap, verbatim "ratify 886, 0.2 as
narrowed, 0.3 pure moves", over f36d2bc; ratification commit 208f88d;
awaits the merge word.


The vehicle decision — OPTION 1, and two of the three doors were unavailable in fact

The governing sibling openspec/changes/add-sequenced-after-substrate/
(RATIFIED 2026-09-01 by Brett Heap, still ACTIVE) was read in full — proposal,
design, tasks and spec delta. Its declared code_surface is exactly the surface
this change touches, and its Groups 2–5 are ticked, so
scripts/frontmatter_strict.py and scripts/sequenced_after.py are that
packet's shipped code — realization, not ratified text.

  • Editing the sibling's ratified text: refused outright. No byte of its
    proposal.md, design.md, specs/ or .openspec.yaml moves in this PR.
  • A ## MODIFIED Requirements block over its "Machine-readable ordered-delta
    parent declaration": UNAVAILABLE, checked rather than assumed.
    A MODIFIED
    delta must target a requirement PROMOTED in openspec/specs/, and the
    substrate's nine are not promoted until it archives:
    grep -n "Machine-readable ordered-delta parent declaration" openspec/specs/release-realization/spec.md
    → no output, exit 1.
  • So: option 1 — a new change accept-sequenced-after-header-line with an
    ALL-ADDED delta over two NOVEL release-realization titles, declaring the
    substrate as its parent through the substrate's own mechanism
    (sequenced_after: [add-sequenced-after-substrate] in this change's front
    matter). Both titles checked novel against the eight promoted requirements and
    every title in the five ACTIVE deltas on this capability, so no Modified over / Removed from canon by / Merged into marker is owed and no sibling's
    archive-order hold is incurred.

Option 2 does not apply: the substrate's tasks.md leaves the header-line
form as no open successor task at all — its named follow-on (OQ-3) is doc-health's
whole-token ordering reader, which this change leaves untouched.

⚠️ Option 3 was NEARLY reached, and the citation is put in front of you rather than resolved

The substrate's spec delta, inside its ADDED requirement "Machine-readable
ordered-delta parent declaration"

(openspec/changes/add-sequenced-after-substrate/specs/release-realization/spec.md),
says:

A prose Sequenced-after: header, a whole-token occurrence of a sibling
change id anywhere in a proposal's text, a change-folder name, a commit
timestamp, and a created: date SHALL NOT constitute a machine-readable
parent declaration: none of them can distinguish a parent from a mention, none
can express a fork, and each is author-mutable in the same document the author
writes.

This lane did not treat that as a ratified rejection of the ruled door, and the
reasoning is set out rather than assumed.
The sentence refuses a list of
inferential signals and gives three reasons; the form admitted here answers
each:

the sentence's reason the admitted header-line form
"cannot distinguish a parent from a mention" it can — the FIELD'S OWN NAME at column 0 inside a bounded 15-line window; a body paragraph, an indented line, or a line beyond the window declares NOTHING (four negative tests)
"cannot express a fork" it can — the SAME strict loader, SAME sequence shape, SAME entry grammar, so sequenced_after: [a, b] is a two-parent declaration on this path exactly as in front matter
"author-mutable in the same document the author writes" equally true of front matter, and mitigated identically: base-read, ratification-covered, non-author-mutable, frozen after ratification. proposal.md front matter is not a separate file from proposal.md

Two further readings of the record point the same way. The refused spelling in
the sibling's design § S1 is the legacy Sequenced-after: — "free text no
schema validates", measured at "3 occurrences, all in ARCHIVED proposals" — and
that spelling stays refused here, by name and by test. And the sibling's
Impact records that the three archived prose headers "are all untouched in
contract": it declined to give the form meaning; it did not forbid a later
change from giving a different, validated form one.

None of that is a licence, and it is not taken as one. The reading is this
lane's; whether it holds is yours, as task 0.2. The ruling was already given
over a known ratified conflict — #268's own comment said the door needed your
word "because E-8 is ratified and this reverses its recommendation" — but that
was codexFactory's E-8. This openxFactory sentence was not in front of you,
which is why it leads the packet and this PR.

The measurement from #268

BEFORE — corpus_sweep from openxFactory origin/main 539cb563, over
codexFactory main 2ade133:

change ids (19 active + 31 archived): 50
declaring `sequenced_after:`: 0
DEEPEST DECLARED CHAIN RESOLVED: 0 hop(s)

AFTER — same sweep, same corpus, this branch's reader:

change ids (19 active + 31 archived): 50
declaring `sequenced_after:`: 3 (add-floor-regeneration-automation,
                                 amend-floor-regeneration-predicate,
                                 extend-merge-master-envelope-to-floor-bot-lanes)
DEEPEST DECLARED CHAIN RESOLVED: 2 hop(s), from amend-floor-regeneration-predicate

THREE OF EIGHT — and the other five are named, not quietly dropped. The
carriers #268 lists, at their REAL line numbers in codexFactory main:

line proposal admitted?
5 extend-merge-master-envelope-to-floor-bot-lanes YES
10 amend-floor-regeneration-predicate YES
11 add-floor-regeneration-automation YES
20 archive/2026-09-05-add-floor-addition-grace no — beyond the window
24 amend-floor-regeneration-merge-authority no — beyond the window
33 relocate-review-authority-floor no — beyond the window
36 admit-hosted-artifact-to-contract-manifest no — beyond the window
38 add-mcp-transport-adapters no — beyond the window

Carried as OQ-H1 with a recommendation (LEAVE THE BOUND) and no decision.

THE FREEZE IS UNTRIPPED — door (b)'s central claim, measured.
retention_at_archive through this branch's reader, against each admitted
carrier's own ratified head:

add-floor-regeneration-automation (ratified head c551e281)
  ratified-ref read = ['add-floor-addition-grace']
  working-tree read = ['add-floor-addition-grace']            -> RETAINED
amend-floor-regeneration-predicate (ratified head efeebd6)
  ratified-ref read = ['add-floor-regeneration-automation']
  working-tree read = ['add-floor-regeneration-automation']   -> RETAINED
extend-merge-master-envelope-to-floor-bot-lanes (ratified head 8f601982)
  ratified-ref read = ['add-regular-pr-council-clearance',
                       'add-floor-regeneration-automation']
  working-tree read = ['add-regular-pr-council-clearance',
                       'add-floor-regeneration-automation']   -> RETAINED

AND #268'S OWN "two late-added carriers" READING IS CORRECTED BY IT. That
issue reported add-floor-regeneration-automation and add-mcp-transport-adapters
as ABSENT at their ratified heads and therefore contested — but that reading was
taken through the fence-only reader, which returns ABSENT on both sides of
the comparison. Read through the reader this PR builds, the first carrier's
declaration was already present at head c551e281 and is RETAINED; the
second sits at line 38, outside the window, and declares nothing at all, so no
retention question arises for it. Under door (a) both would have been contested;
under door (b) neither is.

What the ADDED requirements say, and why prose beyond the window stays undeclared

"Equivalent declaration sites for the ordered-delta parent declaration" — a
sequenced_after: header line declares exactly what the fenced key declares,
read by ONE loader under ONE shape, ONE entry grammar, ONE resolution rule, ONE
cycle rule and ONE retention rule; neither site is preferred and neither is a
fallback of lesser standing. The header line is the field's own name at column 0,
case-sensitive, inside the document's bounded lifecycle header window — the same
window, counted in the same REAL lines, this corpus already reads Status: in —
and outside any leading fence, whose lines the front-matter reader owns.

Beyond that window the same bytes are PROSE and declare nothing, because
that bound is what front matter was chosen FOR. The alternative it refused was
unbounded prose parsing, where a sequenced_after: in a body paragraph on line
400 would authorize as loudly as one in a header — and this capability already
refuses a mention as a parent link. The legacy free-text Sequenced-after:
keeps the non-declaring standing the sibling gave it. The form is ONE LINE
because an unfenced document supplies no closing delimiter: a value the window
cut in half would show a reader one declaration and authorize another, so a
block-sequence attempt is refused BY NAME rather than read as null.

"One parent declaration across both sites, and its retention" — both present
and EQUAL (under the same _canonical the retention gate compares with, so entry
ORDER is significant) is ONE declaration; both present and DIFFERENT is REFUSED
with both values named, never resolved by preferring a site; two header lines
are refused as the duplicate key they are. And reading a new site licenses no
writing into it:
a declaration ABSENT at the ratified head and present now —
whether newly added, or MOVED from beyond the window to inside it — is a
contested-class retention finding needing an explicit recorded disposition. That
sentence is what stops door (b) being read as door (a) by the back entrance.

scope_globs: is deliberately NOT taught the form (design H-4, carried as
OQ-H2), and the asymmetry is asserted by a test: making a POSITION
declaration legible authorizes nothing that absence did not already refuse, while
a second place to declare a PATH GRANT is a second place to widen one.

Gates, with exit codes

gate result
openspec validate accept-sequenced-after-header-line --strict (pinned CLI, 1.12.0) Change 'accept-sequenced-after-header-line' is valid — exit 0
openspec validate --all --strict on this branch Totals: 100 passed, 2 failed (102 items) — exit 1
openspec validate --all --strict on a clean origin/main 539cb563 worktree Totals: 99 passed, 2 failed (101 items) — exit 1
the two failures change/add-chain-attestation, change/add-composed-view-authoring — IDENTICAL on both, both pre-existing MODIFIED-block scenario-omission errors this change does not touch. This change adds exactly one item and it passes
python3 scripts/validate-sequenced-after.py passed (40 active changes, 10 declaring the field) — exit 0
python3 scripts/validate-scope-globs.py passed (all active changes conform) — exit 0
python3 -m pytest tests/sequenced_after tests/scope_globs -q 355 passed, 0 failed — exit 0
python3 -m pytest tests -q -k "sequenced or frontmatter or doc_health or corpus" on this branch 68 failed, 582 passed, 2 skipped, 10553 deselected
the same on a clean origin/main 539cb563 worktree 68 failed, 547 passed, 2 skipped, 10553 deselected
the failure-set diff diff of the two FAILED lists is EMPTY — the 68 are IDENTICAL, all tests/trust-anchor/**, all pre-existing and untouched here. This branch adds 35 passing tests and no failure
the ledger seeding a NEW change id into tests/sequenced_after/corpus-ledger.yaml was owed and is done (--seed-ledger --moved-by '#886'): ONE row added, depth: 2 (this change → add-sequenced-after-substrate → add-structured-scope-substrate), every other row's provenance untouched

The one-line-rule conversion inside fenced_lines was measured BEFORE it was
made: over all 372 proposal.md files in both clones (241 real corpus + 131
test fixtures), text.splitlines() and split_real_lines return an identical
fenced block for every one — a zero baseline diff.

Successors (unticked in tasks.md § 4, with owners)

  • 4.1 codexFactory re-vendor + pin advance — lane codeXfactory-1. ONE commit:
    re-copy scripts/frontmatter_strict.py and scripts/sequenced_after.py into
    scripts/merge_master/, refresh VENDORED_SHA256 / VENDORED_SOURCE_PATHS,
    advance stack.yaml's contract_ref. Advancing the pin without re-copying
    reds test_the_vendored_bytes_equal_the_source_at_the_pinned_contract_version
    by design.
  • 4.2 the Realize sanction-ratified-record-spelling: both citation spellings enforced, one total, floor at CRITICAL #268 disposition — lane codeXfactory-1, posted after 4.1.
  • 4.3 the five beyond-window carriers — codexFactory, only if OQ-H1 is ruled
    LEAVE THE BOUND; moving a line INTO the window is itself a retention mutation
    needing an explicit disposition.
  • 4.4 other consumers' re-pins — their own lanes. None is advanced here.
  • 4.5 archive — lane codeXfactory-1, on merged + green, after Group 0 closes.

Ratification

tasks.md Group 0 is CLOSED. Status: ratified — 2026-09-10, Brett Heap,
verbatim "ratify 886, 0.2 as narrowed, 0.3 pure moves", over f36d2bc;
ratification commit 208f88d; awaits the merge word.
0.2 (the narrowed
sentence — the load-bearing one) was ruled AS NARROWED and 0.3 (OQ-H1) was
ruled PURE LINE MOVES, both named in the word above; 0.4 (OQ-H2) and 0.5
(decisions H-1 … H-7, including H-2's extension of the promoted real-lines
rule's language-boundary escape clause to a VENDORING boundary) were not
named individually and are ratified as the packet states them. Record:
review/ratification-2026-09-10.md.

Nothing in codexFactory is touched by this PR, and no proposal.md byte moves in
any repository.

🤖 Generated with Claude Code

Summary by Sourcery

Teach the ordered-delta reader to recognize validated sequenced_after: declarations in bounded unfenced lifecycle headers while preserving existing fenced behavior and retention safeguards.

New Features:

  • Support sequenced_after: declarations in bounded, unfenced lifecycle header lines as an equivalent to the existing fenced front-matter form.

Bug Fixes:

  • Make previously invisible ordered-delta parent declarations readable in unfenced consuming repositories without changing proposal content.
  • Preserve fail-closed behavior for declarations outside the header window, malformed fences, legacy prose headers, duplicate sites, and conflicting values.

Enhancements:

  • Apply the same validation, resolution, cycle, and retention semantics across fenced and header-line declaration sites.
  • Keep scope_globs: restricted to fenced front matter and define a shared real-line header window with agreement tests.

Documentation:

  • Document and ratify the new header-line declaration requirements, decisions, measurements, and follow-up consumer re-vendoring work.
  • Add the change to the active OpenSpec records and seed its sequencing corpus ledger entry.

Tests:

  • Add comprehensive coverage for header-line parsing, bounds, malformed and duplicate declarations, retention behavior, line-rule agreement, scope asymmetry, and corpus stability.

Chores:

  • Leave downstream codexFactory re-vendoring, pin advancement, and out-of-window declaration moves as successor work.

brettheap and others added 3 commits September 9, 2026 22:44
…eclares what the fenced key declares

Brett Heap ruled 2026-09-10 ~02:10Z, first-hand and in session, verbatim "do
door b", on codexFactory issue #268 — door (b) being "openxFactory teaches the
reader codexFactory's unfenced header form", as against door (a) "fence the
whole corpus". THE WORD CHOSE THE DOOR AND RATIFIED NO TEXT: this packet is
Status: draft and ratification is owed.

The defect is measured. On codexFactory main 2ade133, 49 of 50 proposals carry
no `---` fence, EIGHT carry a `sequenced_after:` header line their authors
wrote, and openxFactory's shipped reader reports `declaring = 0` — eight honest
declarations reading as eight changes that declared nothing, which is exactly
what the substrate designed ABSENCE to mean.

ALL-ADDED delta on release-realization, two requirements and seven scenarios:
a `sequenced_after:` line inside the bounded lifecycle header window declares
what the fenced key declares, under one loader, one shape, one grammar, one
resolution rule, one cycle rule and one freeze; beyond that window the same
bytes are PROSE and declare nothing; both sites present and equal is one
declaration and both present and different is refused; and a declaration ABSENT
at the ratified head is a contested-class retention finding needing an explicit
disposition, so door (b) cannot be read as door (a) by the back entrance.

The delta is ALL-ADDED because it must be, checked rather than assumed:
add-sequenced-after-substrate is ratified and still ACTIVE, so its nine
requirements are NOT promoted in openspec/specs/release-realization/spec.md and
a MODIFIED block over them is unavailable. The relation is declared MECHANICALLY
instead — this change carries `sequenced_after: [add-sequenced-after-substrate]`
in its own front matter, the substrate's mechanism used by its first successor,
on the substrate itself.

The packet NARROWS one sentence of that ratified sibling ("a prose
`Sequenced-after:` header ... SHALL NOT constitute a machine-readable parent
declaration"). It is quoted in full in § The ratified sentence this change
narrows, with each of its three reasons answered, and it is task 0.2's ruling.
The legacy `Sequenced-after:` spelling stays non-declaring, by name and by test.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…yte moves

frontmatter_strict gains a bounded lifecycle-header-window reader beside the
fenced reader it already owns: split_real_lines (CR, LF and CRLF only —
str.splitlines() also breaks on \x0b \x0c \x1c-\x1e \x85 U+2028 U+2029, so a
window counted that way is a window over FRAGMENTS and a header the writer
plainly wrote can go unfound), fence_span, HEADER_WINDOW_LINES, read_header_line
and the NO_HEADER_LINE sentinel — distinct from None, which is a header line
with no value, because presence is decided by the KEY on both reading paths.

The window number and the line rule are RESTATED rather than imported, because
this file is vendored byte-for-byte into a repository with no doc_health package
and an import would break the vendored copy at load time. doc-health's promoted
"reads a document's lifecycle header by real lines" requirement names the remedy
for a boundary an import cannot cross — an explicit agreement test rather than a
convention — and two tests take it: HEADER_WINDOW_LINES == STATUS_SCAN_LINES,
and split_real_lines agrees with doc_health.lines.split_keepends over the corpus
and over exotic-separator fixtures. That the escape clause names a LANGUAGE
boundary while this is a VENDORING one is declared in design H-2, not buried.

fenced_lines converts to the same line rule so the fence span and the header
window agree about where a document's lines are. Measured BEFORE the conversion
over all 372 proposal.md files in both clones (241 real corpus + 131 fixtures):
zero differing fenced blocks.

sequenced_after.read_declaration now reads BOTH sites — equal under the same
_canonical the retention gate compares with is ONE declaration, different is
REFUSED with both values named, absent from both is still ABSENT. Two header
lines for one field reach strict_load together, so the refusal is the loader's
own duplicate-key message and no second rule is written. A block-sequence
attempt is refused BY NAME, because an unfenced document supplies no closing
delimiter and a value the window cuts in half would show a reader one
declaration and authorize another.

scripts/scope_globs.py is deliberately UNTOUCHED and the asymmetry is asserted
by a test: making a POSITION declaration legible authorizes nothing that absence
did not already refuse, while a second place to declare a PATH GRANT is a second
place to widen one.

Measured, over codexFactory main 2ade133 — BEFORE (openxFactory origin/main
539cb56 reader): declaring 0, deepest chain 0 hops. AFTER (this reader):
declaring 3, deepest chain 2 hops. And the freeze is untripped, which is door
(b)'s central claim: retention_at_archive through this reader against each
carrier's own ratified head reports RETAINED for all three, where fencing would
have turned ABSENT into a declaration on ratified packets. #268's own
"two late-added carriers" reading was taken through the fence-only reader, which
returns ABSENT on both sides; corrected in the proposal's § The measurement.

openxFactory's own corpus does not move: it fences, carries zero unfenced
carriers (enumerated by a test rather than trusted), and
scripts/validate-sequenced-after.py passes.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ds block

Marked DRAFT — RATIFICATION OWED, with the ruling verbatim, the BEFORE/AFTER
measurement (declaring 0 -> 3, deepest chain 0 -> 2 hops), the five carriers
beyond the window carried as OQ-H1, and the ratified sentence the packet
narrows named as task 0.2's ruling.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 10, 2026 02:45
`--seed-ledger --moved-by '#886'` — ONE row added, every other row's provenance
left exactly as it was:

  accept-sequenced-after-header-line: {state: active, class: sole,
    declares: [add-sequenced-after-substrate], depth: 2, prose: false,
    moved_by: "#886", moved_on: "2026-09-10"}

A depth of 2 is the chain this change declares walking to its root:
accept-sequenced-after-header-line -> add-sequenced-after-substrate ->
add-structured-scope-substrate. It is the ledger's first non-trivial reading of
a chain this repository authored rather than measured on a consumer.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR introduces a draft, all-added release-realization capability that makes sequenced_after: declarations in the first 15 real lifecycle-header lines equivalent to fenced front matter, routes them through existing validation and retention logic, adds comprehensive boundary/conflict tests, and documents measured codexFactory effects while deferring consumer re-vendoring and ratification.

Sequence diagram for reading sequenced_after from either declaration site

sequenceDiagram
    participant Proposal
    participant SequencedAfter as sequenced_after
    participant FrontMatter as frontmatter_strict
    participant Loader as strict_load
    participant Retention as RetentionGate

    SequencedAfter->>FrontMatter: read_front_matter(Proposal)
    FrontMatter-->>SequencedAfter: fenced value or absent
    SequencedAfter->>FrontMatter: read_header_line(Proposal, sequenced_after)
    FrontMatter->>Loader: strict_load(header line)
    Loader-->>FrontMatter: header value or refusal
    FrontMatter-->>SequencedAfter: header value or NO_HEADER_LINE
    alt both sites absent
        SequencedAfter-->>Retention: ABSENT
    else one site present
        SequencedAfter-->>Retention: declaration value
    else both sites present and equal
        SequencedAfter-->>Retention: canonical declaration value
    else both sites differ
        SequencedAfter-->>Proposal: SequencedAfterError
    end
Loading

Flow diagram for bounded lifecycle header-line recognition

flowchart TD
    A[Proposal document] --> B[split_real_lines]
    B --> C{Leading fence present?}
    C -->|Yes| D[Read fenced front matter]
    C -->|No| E[Scan first 15 real lines]
    D --> F[sequenced_after declaration]
    E --> G{Column-0 sequenced_after: line?}
    G -->|Yes| H[strict_load one-line value]
    G -->|No or beyond window| I[Prose; no declaration]
    H --> F
    F --> J[Existing shape, resolution, cycle, and retention checks]
Loading

File-Level Changes

Change Details Files
Add bounded unfenced header-line support for sequenced_after: while preserving the existing fenced declaration path.
  • Implement real-line splitting, a 15-line lifecycle-header window, fence detection, and strict single-line header parsing.
  • Read fenced and header-line declarations through the same validation machinery; reject duplicate, conflicting, indented, and multiline forms.
  • Keep legacy Sequenced-after: prose and scope_globs: header lines non-declaring.
scripts/frontmatter_strict.py
scripts/sequenced_after.py
tests/sequenced_after/test_header_line.py
Specify the new declaration site and retention semantics as a sequenced, all-added release-realization change.
  • Define equivalent fenced/header declaration sites and fail-closed conflict handling.
  • Require retention checks to flag declarations added or moved into the window after ratification.
  • Record the 15-line boundary, scope asymmetry, open questions, and successor re-vendoring work.
openspec/changes/accept-sequenced-after-header-line/.openspec.yaml
openspec/changes/accept-sequenced-after-header-line/proposal.md
openspec/changes/accept-sequenced-after-header-line/design.md
openspec/changes/accept-sequenced-after-header-line/specs/release-realization/spec.md
openspec/changes/accept-sequenced-after-header-line/tasks.md
Document the draft change and its measured corpus impact without modifying consumer repositories.
  • Add the active draft to the OpenSpec Records section with ratification status and implementation scope.
  • Record the codexFactory before/after declaration and chain-depth measurements, retained archive readings, and five beyond-window carriers.
  • Track codexFactory re-vendoring and pin advancement as unticked successor tasks.
README.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

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 new header-line scan can interpret sequenced_after: inside an opened-but-unclosed leading --- span as a declaration, which risks unintended authorization from malformed fenced blocks.

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

Pull request overview

This PR adds support for reading sequenced_after: declarations from bounded, unfenced lifecycle header lines (in addition to ----fenced front matter), so corpora that don’t fence lifecycle headers can still be validated and chain-walked without moving proposal bytes.

Changes:

  • Add a bounded header-line reader to frontmatter_strict (real-line splitting, header window scanning, fence skipping) and wire sequenced_after.read_declaration() to treat front-matter and header-line forms as a single declaration with conflict refusal.
  • Add a comprehensive test suite for header-line semantics (bounds, conflicts, malformed cases, retention/freeze behavior, and doc-health agreement checks) plus seed the corpus ledger row for the new change.
  • Document the new change packet (proposal/design/spec delta/tasks) and add it to the README OpenSpec Records index.
File summaries
File Description
scripts/frontmatter_strict.py Implements real-line splitting, header-window scanning, and read_header_line() for bounded lifecycle header parsing.
scripts/sequenced_after.py Reads sequenced_after from front matter and/or header line; refuses disagreements; preserves retention semantics.
tests/sequenced_after/test_header_line.py Adds coverage for header-line parsing rules, bounds, conflicts, retention, and doc-health agreement.
tests/sequenced_after/corpus-ledger.yaml Seeds ledger row for the new change id.
README.md Adds an Active change index entry describing the new packet and its intent/constraints.
openspec/changes/accept-sequenced-after-header-line/proposal.md New change proposal packet describing the rationale, measurement, and constraints.
openspec/changes/accept-sequenced-after-header-line/design.md New design record capturing decisions, risks, and open questions.
openspec/changes/accept-sequenced-after-header-line/specs/release-realization/spec.md New ALL-ADDED spec delta defining the new equivalent declaration site and conflict/retention rules.
openspec/changes/accept-sequenced-after-header-line/tasks.md New tasks file defining ratification gate and realization work (including successors).
openspec/changes/accept-sequenced-after-header-line/.openspec.yaml New OpenSpec metadata/origin record for the change packet.
Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/frontmatter_strict.py Resolved
… on EITHER path

Copilot on PR #886 found that `fence_span` returns None for a fence that opens
and never closes, so `read_header_line` started its scan at line 0 and could
take a `sequenced_after:` line out of a span the author plainly meant as FRONT
MATTER — showing a reviewer fenced front matter while the reader read a header
line out of it, which is the show-one-authorize-another shape this change exists
to close rather than open. It also flipped this module's existing, deliberate
posture, stated in its own docstring: a document with no well-formed fence
"still reads as NO FRONT MATTER — which is fail-CLOSED here".

Fixed fail-closed and consistently: a document whose leading fence never closes
declares nothing on the header-line path either, so both paths agree and the
malformed document reads exactly as it did before this change. Silent rather
than refused, because the fenced reader is silent about the same malformation
and a new refusal for a form the shipped reader tolerates is not in this
change's set.

Measured at the time of the fix: ZERO of the 375 proposal.md files across both
clones carries an opened-but-unclosed leading fence, so no corpus document moves
either way — the fix is for the form, not for a document. Regression test added
asserting both the refusal and that the SAME bytes with the fence CLOSED still
declare, so the fix is about the malformation and not about the content.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 10, 2026 03:01

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 new header-line reader’s block-sequence detection can be bypassed by inserting blank lines before an indented continuation, breaking the intended “refuse by name” behavior.

Review details

Suppressed comments (2)

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

scripts/frontmatter_strict.py:581

  • read_header_line() only checks the immediately following line to detect a block-sequence attempt after a valueless header (e.g., sequenced_after:). If the author inserts one or more blank lines before the indented sequence, this bypasses the intended “refuse by name” behavior and the error degrades into a later shape-validation failure.

Scan forward to the next non-empty line before deciding whether there is an indented continuation.
scripts/sequenced_after.py:207

  • read_declaration() reads the proposal twice when proposal is a Path (once via read_front_matter(), once via read_header_line()), which adds avoidable I/O and parsing work in corpus scans.

Read the proposal text once and pass the same str to both readers.

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

…ed, 0.3 pure moves" (Brett Heap, 2026-09-10, over f36d2bc)

RULING. Brett Heap, repository owner, first-hand, in session, to lane
codexfactory-1 (window codeXfactory-1), 2026-09-10T11:31:31Z, verbatim
"ratify 886, 0.2 as narrowed, 0.3 pure moves", over head f36d2bc. Recorded
in review/ratification-2026-09-10.md, per the last "RULING —" heading in
session-handoff-2026-09-05-lane-codeXfactory-1.md.

WHAT FLIPPED.
- proposal.md: Status: draft -> ratified; added a Ratified: citation line
  (approver + date + record path, no approving OpenSpec change to name).
  Authored: line kept as history, with the now-stale "RATIFICATION IS OWED"
  clause removed.
- tasks.md Group 0: lead paragraph OPEN -> CLOSED with both rulings quoted;
  0.1, 0.2, 0.3 and 0.6 ticked with dated annotations quoting the word; 0.4
  and 0.5 left unticked with a one-line "ratified as they stand" note, since
  the word did not name them individually.
- README "OpenSpec Records": the active-changes row's status text moved
  DRAFT -> RATIFIED, citing the record; the stale "THE WORD CHOSE THE DOOR
  AND RATIFIED NO TEXT" sentence corrected to note ratification followed
  separately.
- New: review/ratification-2026-09-10.md, recording authority, the text
  ratified (head f36d2bc, its 5 commits, the two ADDED release-realization
  requirements/7 scenarios, the reader realization modules and tests, the
  README row), both dispositions below, and that this record performs no
  merge.

THE TWO RULINGS, ENCODED EXACTLY.
- 0.2 AS NARROWED: add-sequenced-after-substrate's ratified sentence ("a
  prose Sequenced-after: header ... SHALL NOT constitute a machine-readable
  parent declaration") stands, narrowed to the legacy prose spelling alone.
  The strict, schema-validated sequenced_after: header line inside the
  15-line lifecycle header window DOES declare, equivalently to the
  front-matter key.
- 0.3 PURE MOVES: OQ-H1's five out-of-window codexFactory carriers (lines
  20, 24, 33, 36, 38) are resolved by pure line moves of their existing
  sequenced_after: line into the window (the codexFactory #323 shape: same
  multiset of lines, no text change, no fencing) rather than by widening the
  window. Successor: task 4.3, owner lane codeXfactory-1 in codexFactory,
  after the re-pin (task 4.1) — not ticked here.
- 0.4 (OQ-H2) and 0.5 (H-1...H-7) were not named by the word and are ratified
  AS THE PACKET STATES THEM, not separately ruled.

GATES, RE-RUN ON THIS COMMIT.
- OPENSPEC_TELEMETRY=0 openspec validate accept-sequenced-after-header-line
  --strict -> "Change ... is valid", exit 0.
- OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 99 passed, 3
  failed (102 items), exit 0. Confirmed via git-stash before/after on the
  unmodified head: IDENTICAL totals with and without this diff. The 3
  failures are pre-existing and unrelated: disposition-codexfactory-declared-
  renames (no deltas), neutral-product-pin and repo-boundary-governance
  (a requirement missing SHALL/MUST on its first line).
- python3 -m pytest tests/sequenced_after tests/scope_globs -q -> 356
  passed.
- doc-health --single-repo . --family status-validity / ratified-provenance:
  zero findings naming this packet in either family. Full single-repo sweep
  (all families) shows IDENTICAL totals with and without this diff (11
  critical, 5 error, 57 warning, 13 info; "New regressions vs previous
  report: 0"), confirmed by comparing against the review/ file removed and
  the tracked edits stashed.

NOTHING ELSE MOVES. .openspec.yaml, the specs/ delta and the realization
code are untouched. Group 4 (codexFactory re-vendor/pin advance, the pure-
line-move disposition, other consumers' re-pins, the archive) stays
unticked. This commit does not merge PR #886; the merge follows on a
separate word.

Lane: codexfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 10, 2026 11:53
@brettheap
brettheap marked this pull request as ready for review September 10, 2026 11:53

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 14 hours and 21 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

RATIFICATION. Brett Heap, repository owner, first-hand, in session, to lane
codexfactory-1 (window codeXfactory-1), 2026-09-10T11:31:31Z, verbatim:

"ratify 886, 0.2 as narrowed, 0.3 pure moves"

— over head f36d2bc2. This is a separate act from the earlier 2026-09-10 ~02:10Z "do door b" ruling on codexFactory #268, which chose the vehicle
and ratified no text.

Encoded in ratification commit 208f88d4 (pushed to
change/accept-sequenced-after-header-line): proposal.md Status: draft ->
ratified with a Ratified: citation; tasks.md Group 0 tasks 0.1, 0.2, 0.3
and 0.6 ticked with dated annotations, 0.4/0.5 noted ratified as they stand
(not named by the word); the README "OpenSpec Records" row moved DRAFT ->
RATIFIED; the full record written to
openspec/changes/accept-sequenced-after-header-line/review/ratification-2026-09-10.md.

0.2 — AS NARROWED: add-sequenced-after-substrate's ratified sentence
stands, narrowed to the legacy prose Sequenced-after: spelling; the strict,
schema-validated sequenced_after: header line inside the 15-line window DOES
declare.

0.3 — PURE LINE MOVES: the five out-of-window codexFactory carriers
(lines 20, 24, 33, 36, 38) are resolved by pure line moves into the window
(the codexFactory #323 shape — same multiset of lines, no text change, no
fencing), owner lane codeXfactory-1 in codexFactory, after the re-pin
(successor task 4.3).

Gates re-run on the ratification commit: openspec validate accept-sequenced-after-header-line --strict exit 0; --all --strict 99
passed / 3 failed (102 items), identical before and after this diff and all
three pre-existing/unrelated; pytest tests/sequenced_after tests/scope_globs
356 passed; doc-health status-validity/ratified-provenance clean for this
packet, full single-repo sweep totals unchanged by this diff.

This ratifies the packet's text only. It does not merge this PR — the
merge follows on a separate word (Rule 6 landing-window applies).

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

It includes a few concrete issues (archive-blocking unchecked tasks marked “ratified as they stand”, a now-stale origin narrative, and avoidable duplicate file reads) that should be corrected before approval.

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

Review details
  • Files reviewed: 11/11 changed files
  • Comments generated: 3
  • Review effort level: Lite

Comment on lines +50 to +56
- [ ] 0.4 **Confirm or veto OQ-H2** — `scope_globs:` stays untaught the
header-line form. Recommendation: LEAVE IT OUT.
(ratified as they stand by 'ratify 886', 2026-09-10 — no separate word)
- [ ] 0.5 **Confirm or veto authoring decisions H-1 … H-7** (`design.md`
§ Decisions), including H-2's extension of the promoted real-lines rule's
language-boundary escape clause to a VENDORING boundary.
(ratified as they stand by 'ratify 886', 2026-09-10 — no separate word)
Comment on lines 206 to +208
front = read_front_matter(proposal)
if FIELD not in front:
return ABSENT
return front[FIELD]
header = read_header_line(proposal)
in_front = FIELD in front
Comment on lines +47 to +49
and no decision. At the time this field is written the packet is
`Status: draft`, carries no ratification citation, and owes one:
ratification is a separate act of Brett Heap's, tracked as task 0.1.
brettheap and others added 2 commits September 10, 2026 08:05
Resolves a README.md adjacency conflict: main archived the neighboring
amend-neutral-product-pin-interim-copy-vocabulary row (PR #884) while this
branch was ratifying the row directly below it. Kept this branch's ratified
accept-sequenced-after-header-line row unchanged; took main's removal of the
now-archived row (its content survives, byte-identical, under "Archived
changes"). No other file required manual resolution — the packet rename to
openspec/changes/archive/2026-09-10-amend-neutral-product-pin-interim-copy-vocabulary/
and tests/sequenced_after/corpus-ledger.yaml's new rows applied cleanly.

Preserves ratification commit 208f88d unchanged (a merge, not a rebase), so
every citation to that sha in review/ratification-2026-09-10.md, the PR body
and the PR comment remains correct.

Lane: codexfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
… newly-promoted rule; add the exit-code and merge addendum

PR #890 landed on main (804a917, 2026-09-10T04:43:17Z) while
review/ratification-2026-09-10.md was being written: document-lifecycle's
"A review record records a ratification" is now promoted and requires a
review/ record whose SUBJECT is a ratification to carry Status: ratified
plus one citation, not Status: record. Caught by re-running
`doc-health --family ratified-provenance` after merging main (previous
commit): it named exactly this file, critical, "a review record that
records a ratification must carry Status: ratified and one citation."

Fixed in the same shape a sibling packet's ratification record was
independently corrected into a few hours earlier the same morning
(archive/2026-09-10-amend-neutral-product-pin-interim-copy-vocabulary/
review/ratification-2026-09-09.md, re-derived on Brett Heap's own ruling of
the identical defect): H1 "# Proposal Ratification: <change>", Status:
ratified, Kind: report, Decision date:, Ratifier:, and a Ratified: citation
line carrying the actual word. Nothing normative moves — the ratifier, the
verbatim word, the head, and everything ratified by this record are
unchanged; only this record's own standing metadata is corrected.

Also folds in two other corrections found while re-verifying, both already
named in the file's own Addendum: the ratification commit's message
mis-stated `openspec validate --all --strict`'s exit code as 0 (a piping
bug in the verifying command swallowed the real code; it is 1, this
repository's standing baseline, unchanged by this diff — 98 passed/3
failed post-merge vs 97 passed/3 failed on origin/main alone, same three
pre-existing unrelated failures); and the prior commit's merge-from-main
to resolve a README.md adjacency conflict with the newly-archived
amend-neutral-product-pin-interim-copy-vocabulary row.

Re-verified: doc-health --family ratified-provenance no longer names
anything in this packet (28 pre-existing/unrelated critical findings
remain elsewhere, down from 29 with this file's own fixed); --family
status-validity unchanged (1 pre-existing/unrelated, not this packet);
openspec validate accept-sequenced-after-header-line --strict exit 0.

Lane: codexfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 10, 2026 12:11
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

Two follow-up fixes on top of the ratification commit (208f88d4), both
self-caught while re-verifying, both recorded in this packet's own
review/ratification-2026-09-10.md Addendum:

1. Merge conflict with main, resolved (c5c2e5e7). Between the
ratification commit and this follow-up, main advanced and archived the
immediately-adjacent README row, amend-neutral-product-pin-interim-copy-vocabulary
(PR #884), producing a line-adjacency conflict in the "OpenSpec Records"
block. Resolved by merging origin/main (not rebasing), so ratification
commit 208f88d4 is unchanged and every citation to it stays correct. Kept
this change's ratified row exactly as committed; took main's removal of the
neighboring row (its content survives, byte-identical, under "Archived
changes"). PR is now mergeable: MERGEABLE (was CONFLICTING).

2. This packet's own ratification record didn't conform to a rule that
landed under it while it was being written, fixed (f8b3b794).
PR #890
promoted document-lifecycle's "A review record records a ratification"
to main (804a9170) in the same window this record was authored. It
requires a review/ record whose subject IS a ratification to carry
Status: ratified plus one citation — not the Status: record convention
this record was first written with (copied from an older, still-uncorrected
precedent). Caught by re-running doc-health --family ratified-provenance
post-merge: it named exactly this file, critical. Fixed into the same shape
a sibling packet's ratification record was independently corrected into a
few hours earlier that same morning
(archive/2026-09-10-amend-neutral-product-pin-interim-copy-vocabulary/review/ratification-2026-09-09.md).
Nothing normative moves — the ratifier, the verbatim word, the head, and
everything ratified are unchanged; only this record's own standing metadata
is corrected.

Also self-caught and recorded: the ratification commit's own message
mis-stated openspec validate --all --strict's exit code as 0 — a piping
bug in the verifying command swallowed the real code. It is 1, this
repository's standing baseline (confirmed identical on origin/main alone:
97 passed/3 failed; on this branch: 98 passed/3 failed — exactly one more
passing item, the same three pre-existing/unrelated failures). The
single-change command's own exit code, reported correctly throughout, is 0.

Current head: f8b3b794. Re-verified on it: openspec validate accept-sequenced-after-header-line --strict exit 0; doc-health --family ratified-provenance / --family status-validity name nothing in
this packet. Still ratifies only what 208f88d4 ratified — no normative
byte moves in these two follow-ups. Still awaits the merge word.

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

It leaves tasks marked incomplete that will later block archiving via archive_change, and it includes hard-to-review literal Unicode separators in test fixtures that should be made explicit.

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

Review details

Suppressed comments (3)

openspec/changes/accept-sequenced-after-header-line/tasks.md:52

  • These tasks are marked incomplete (- [ ]), but the text indicates they were already ratified/accepted “as they stand”. The archive gate (archive_change) refuses to archive any change whose tasks.md still contains an unchecked - [ ] item, so leaving this unchecked will block archiving later even though no further action is implied here.
- [ ] 0.4 **Confirm or veto OQ-H2** — `scope_globs:` stays untaught the
  header-line form. Recommendation: LEAVE IT OUT.
  (ratified as they stand by 'ratify 886', 2026-09-10 — no separate word)

openspec/changes/accept-sequenced-after-header-line/tasks.md:56

  • Same as above for task 0.5: it’s left unchecked even though the note says it was ratified “as they stand”. Because archive_change rejects any unchecked - [ ] entry in tasks.md, this will prevent archiving unless it’s later ticked or removed.
- [ ] 0.5 **Confirm or veto authoring decisions H-1 … H-7** (`design.md`
  § Decisions), including H-2's extension of the promoted real-lines rule's
  language-boundary escape clause to a VENDORING boundary.
  (ratified as they stand by 'ratify 886', 2026-09-10 — no separate word)

tests/sequenced_after/test_header_line.py:415

  • Same issue here: literal U+2028 separators inside the f-string are visually ambiguous and easy to lose. Prefer explicit escapes to make the fixture robust and reviewable without changing its semantics.
        [f"Header{n}: value
continued
continued" for n in range(6)])
  • Files reviewed: 11/11 changed files
  • Comments generated: 1
  • Review effort level: Lite

"",
"\n",
"Status: draft\x0crest of the line\nsequenced_after: [parent]\n",
"Status: draft
more
more\nsequenced_after: [parent]\n",
@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

LANDING — lane codeXfactory-1, session codeXfactory-1@team-02d, 2026-09-10T12:33:32Z, PR #886 into openxFactory main (RATIFIED accept-sequenced-after-header-line + realization; Brett Heap's word 'merge 886')

@brettheap
brettheap merged commit b91af6e into main Sep 10, 2026
13 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

LANDED — lane codeXfactory-1, 2026-09-10T12:33:46Z, PR #886 → b91af6e (openxFactory main; accept-sequenced-after-header-line ratified 2026-09-10 'ratify 886, 0.2 as narrowed, 0.3 pure moves' + reader realization; merge commit; admin bypass on Brett Heap's word 'merge 886'; Rule 6 window closed)

brettheap added a commit that referenced this pull request Sep 10, 2026
origin/main moved 804a917 -> b91af6e while the ratification encode was being
written and verified, and the pull request went CONFLICTING. Taken here so the
re-measure is owed at THIS act and not at landing.

ONE CONFLICT, IN THE README OpenSpec Records BLOCK, AND IT IS PURE ADJACENCY.
main archived amend-neutral-product-pin-interim-copy-vocabulary (removing its
row) and added accept-sequenced-after-header-line's row at the top of Active
changes; this branch had replaced the amend-modified-block-currency-standing
row's content in the same region. RESOLVED BY KEEPING BOTH ROWS -- main's new
row first, byte-for-byte as main states it, then this branch's ratified row
byte-for-byte as the ratification commit c95b9e5 wrote it. Neither row's text
is edited by this merge, and the archived packet's row stays removed as main
removed it. tests/sequenced_after/corpus-ledger.yaml auto-merged: both sides
added one row and both rows are present (accept-sequenced-after-header-line
moved_by #886, amend-modified-block-currency-standing moved_by #887).

WHAT main BRINGS THAT THIS BRANCH DID NOT HAVE, and why the re-measure matters:
#890's doc-health change (the ratified-provenance SUBJECT arm, issue #878) and
#886's realization of scripts/proposal-support.py, scripts/sequenced_after.py
and scripts/frontmatter_strict.py. Every gate figure in
review/verification-2026-09-10.md was taken against the pre-merge versions of
those, so all of them are re-run on this merged tree and the result is recorded
as an ADDENDUM to that capture rather than as an edit to its figures -- the same
shape f8b3b79 used on main earlier today for a same-day re-measure of a dated
one-shot record.

NOTHING OF THIS PACKET MOVES IN THIS COMMIT: no delta byte, no promoted
specification, no record body, no .openspec.yaml field, no task box.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 10, 2026
…own path (#887)

origin/main moved 804a917 -> b91af6e while the ratification encode c95b9e5
was being written and verified, and the pull request went CONFLICTING. The merge
was taken at 2e84325; this commit records what the gates say on the merged tree.

A SECOND RUN WRITES A DIFFERENT PATH. Both runs fall on 2026-09-10, so the paths
are distinguished by suffix rather than by date:
review/verification-2026-09-10.md is PRESERVED BYTE-FOR-BYTE as c95b9e5 wrote
it -- it is the record of the pre-merge tree, keeps Status: record, and is
neither superseded nor deleted -- and the current measurement is
review/verification-2026-09-10-post-merge.md. The first capture gains an ADDENDUM
that only POINTS at the second and answers its own forward-looking "merge from
main: NONE OWED" row; not one measured figure in it is edited. That is
document-lifecycle's one-shot-capture rule (#870 bench T7/T9) applied literally.

THE RE-MEASURE WAS NOT A FORMALITY: main moved three of the gates themselves.
#890 (804a917) added ratified-provenance's SUBJECT arm (#878), which reads a
review/ratification-* record whatever status it carries -- the pre-merge tree's
doc_health predated it, so the first capture's ratified-provenance figures were
taken WITHOUT the arm that scores this packet's own new ratification record.
#886 rewrote scripts/proposal-support.py (+657 lines), scripts/sequenced_after.py
and scripts/frontmatter_strict.py, and added one sweep-ledger row.

RE-RUN FROM ZERO ON 2e84325: openspec validate
amend-modified-block-currency-standing --strict valid, exit 0; --all --strict
exit 1 with 99 passed / 3 failed (102 items) and the failure SET IDENTICAL to
origin/main b91af6e's 98 passed / 3 failed (101) -- same three pre-existing
items, this change the one extra and it PASSES; proposal-support verify ok
against main's NEW implementation; validate-sequenced-after passed (40 active,
10 declaring) with the ledger consistent at 193 rows and both sides' rows
present; --ledger-diff clean; validate-scope-globs passed; doc-health
--single-repo exit 0, 32 critical / 5 error / 47 warning / 14 info, 0 new
regressions, this change named 0 times; ratified-provenance 28 critical, NONE
this change, of which 21 are the #878 subject arm on OTHER packets' records --
this packet's ratification record enters that population and CLEARS it, having
carried Status: ratified plus exactly one citation from its first commit;
record-immutability 4 critical (all docs/), status-validity 1 error, neither
this change; modified-block-currency all seven classes 0 on this block with
marker defects: 0; pytest tests/sequenced_after tests/scope_globs
tests/doc-health 2036 passed, and tests/proposal-support 128 passed / 67
subtests, run because main rewrote the gate that suite covers.

THE CONTROL THAT CARRIES THE ATTRIBUTION. The critical count rose 11 -> 32
between the two captures and NONE of the rise is this packet's: it is main's own
standing population, newly VISIBLE rather than newly created (#877 measured
fourteen archived records out of contract with zero findings). Proven by running
doc-health on d5d8a2f3 -- ab8247f with b91af6e merged in and the README
resolved identically, i.e. the DRAFT packet on the SAME main -- and diffing the
finding lines: IDENTICAL, 98 lines on both sides. The encode adds zero findings
and removes zero.

NOTHING OF THE PACKET MOVES IN THIS COMMIT EITHER: no delta byte, no
.openspec.yaml field, no citation line, no task box's state. tasks.md gains 4.9
naming the second capture, the README row's records list cites both, and no box
opens or closes. tasks.md section 5 and 6.1-6.2 stay OPEN.

Refs #857, refs #858

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

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

CLAIMED — lane codeXfactory-1, 2026-09-10T16:15:25Z: archive of openxFactory accept-sequenced-after-header-line on met realization evidence (consumer re-pin codexFactory #333 → 8be1a855, merged 2026-09-10T16:09:02Z, stack.yaml contract_ref 724a2a4f → b91af6ea). Posted here rather than on codexFactory #268, which closed COMPLETED at 2026-09-10T16:09:04Z with that merge.

Sibling search: gh pr list -R opensoft/openxFactory --state open --json number,title,files filtered on paths matching accept-sequenced-after-header-line returned NOTHING — the four open PRs (#904 specs/019 FR restatement, #888 derive-possibles register merge, #594 worker-fleet-health-monitoring rescue snapshot, #518 usage-controlled evidence chain) touch no byte of this packet, of openspec/specs/release-realization/spec.md, or of tests/sequenced_after/corpus-ledger.yaml. No collision.

brettheap added a commit that referenced this pull request Sep 10, 2026
…ow and in tasks 4.5

ONE ledger row moves, and only one: accept-sequenced-after-header-line
`state: active` -> `archived`, `moved_by` "#886" -> "#906", `moved_on`
"2026-09-10" -> "2026-09-10" (unchanged -- both acts fall on the same UTC day).
`class: sole` is HELD, so NO partner flips and no MOVEMENT LOG entry is owed;
the diff is one line. Seeded with the sanctioned tool
(`validate-sequenced-after.py . --seed-ledger --moved-by '#906'` -> "wrote
tests/sequenced_after/corpus-ledger.yaml (194 rows, 1 moved by #906)") rather
than hand-written, and taken AFTER the pull request existed, because the real
number does not exist until the pull request does.

`--ledger-diff` BEFORE: STALE, 4 findings -- this row's state (ledger 'active',
live 'archived') plus the three derived totals it feeds (active 39 != 38,
archived 155 != 156, active_sole 15 != 14). AFTER: "per-change sweep ledger
consistent with the corpus (194 rows)", exit 0.

§ 4.5 AND THE README ARCHIVED ROW NOW NAME THE ACT ON THE RECORDING: archive PR
#906 -- the move to
openspec/changes/archive/2026-09-10-accept-sequenced-after-header-line/, the
write-back of both ADDED requirements into
openspec/specs/release-realization/spec.md (byte-identical to the archived
delta, 4,313 B sha256 85894b71… and 2,719 B sha256 5c824838…, with the
`## Purpose` block 1,012 B sha256 5f73d316… unchanged), the README row and this
ledger row. No other box is touched and no ratified text moves.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants