Repository navigation
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
Conversation
…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]>
`--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]>
Reviewer's GuideThis PR introduces a draft, all-added release-realization capability that makes Sequence diagram for reading sequenced_after from either declaration sitesequenceDiagram
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
Flow diagram for bounded lifecycle header-line recognitionflowchart 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]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 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 wiresequenced_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.
… 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]>
There was a problem hiding this comment.
🔵 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 whenproposalis aPath(once viaread_front_matter(), once viaread_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]>
There was a problem hiding this comment.
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.
|
Lane: codexfactory-1 RATIFICATION. Brett Heap, repository owner, first-hand, in session, to lane
— over head Encoded in ratification commit 0.2 — AS NARROWED: 0.3 — PURE LINE MOVES: the five out-of-window codexFactory carriers Gates re-run on the ratification commit: This ratifies the packet's text only. It does not merge this PR — the |
There was a problem hiding this comment.
🟡 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
| - [ ] 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) |
| 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 |
| 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. |
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]>
|
Lane: codexfactory-1 Two follow-up fixes on top of the ratification commit ( 1. Merge conflict with 2. This packet's own ratification record didn't conform to a rule that Also self-caught and recorded: the ratification commit's own message Current head: |
There was a problem hiding this comment.
🟡 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_changerejects 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", |
|
|
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') |
|
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) |
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]>
…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]>
|
Lane: codexfactory-1 CLAIMED — lane codeXfactory-1, 2026-09-10T16:15:25Z: archive of openxFactory Sibling search: |
…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]>



Lane: codexfactory-1
THE RULING. Brett Heap, first-hand and in session, 2026-09-10 ~02:10Z, on
codexFactory issue #268,
verbatim:
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
declaringreflects the corpus with no proposal bytemoving 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_surfaceis exactly the surfacethis change touches, and its Groups 2–5 are ticked, so
scripts/frontmatter_strict.pyandscripts/sequenced_after.pyare thatpacket's shipped code — realization, not ratified text.
proposal.md,design.md,specs/or.openspec.yamlmoves in this PR.## MODIFIED Requirementsblock over its "Machine-readable ordered-deltaparent declaration": UNAVAILABLE, checked rather than assumed. A MODIFIED
delta must target a requirement PROMOTED in
openspec/specs/, and thesubstrate'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.
accept-sequenced-after-header-linewith anALL-ADDED delta over two NOVEL
release-realizationtitles, declaring thesubstrate as its parent through the substrate's own mechanism
(
sequenced_after: [add-sequenced-after-substrate]in this change's frontmatter). 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 intomarker is owed and no sibling'sarchive-order hold is incurred.
Option 2 does not apply: the substrate's
tasks.mdleaves the header-lineform 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.
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:
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:
sequenced_after: [a, b]is a two-parent declaration on this path exactly as in front matterproposal.mdfront matter is not a separate file fromproposal.mdTwo 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 noschema 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_sweepfrom openxFactoryorigin/main539cb563, overcodexFactory main
2ade133:AFTER — same sweep, same corpus, this branch's reader:
THREE OF EIGHT — and the other five are named, not quietly dropped. The
carriers #268 lists, at their REAL line numbers in codexFactory main:
extend-merge-master-envelope-to-floor-bot-lanesamend-floor-regeneration-predicateadd-floor-regeneration-automationarchive/2026-09-05-add-floor-addition-graceamend-floor-regeneration-merge-authorityrelocate-review-authority-flooradmit-hosted-artifact-to-contract-manifestadd-mcp-transport-adaptersCarried as OQ-H1 with a recommendation (LEAVE THE BOUND) and no decision.
THE FREEZE IS UNTRIPPED — door (b)'s central claim, measured.
retention_at_archivethrough this branch's reader, against each admittedcarrier's own ratified head:
AND #268'S OWN "two late-added carriers" READING IS CORRECTED BY IT. That
issue reported
add-floor-regeneration-automationandadd-mcp-transport-adaptersas ABSENT at their ratified heads and therefore contested — but that reading was
taken through the fence-only reader, which returns
ABSENTon both sides ofthe comparison. Read through the reader this PR builds, the first carrier's
declaration was already present at head
c551e281and is RETAINED; thesecond 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 line400 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
_canonicalthe retention gate compares with, so entryORDER 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 asOQ-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
openspec validate accept-sequenced-after-header-line --strict(pinned CLI, 1.12.0)Change 'accept-sequenced-after-header-line' is valid— exit 0openspec validate --all --stricton this branchTotals: 100 passed, 2 failed (102 items)— exit 1openspec validate --all --stricton a cleanorigin/main539cb563worktreeTotals: 99 passed, 2 failed (101 items)— exit 1change/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 passespython3 scripts/validate-sequenced-after.pypassed (40 active changes, 10 declaring the field)— exit 0python3 scripts/validate-scope-globs.pypassed (all active changes conform)— exit 0python3 -m pytest tests/sequenced_after tests/scope_globs -qpython3 -m pytest tests -q -k "sequenced or frontmatter or doc_health or corpus"on this branch68 failed, 582 passed, 2 skipped, 10553 deselectedorigin/main539cb563worktree68 failed, 547 passed, 2 skipped, 10553 deselecteddiffof the twoFAILEDlists is EMPTY — the 68 are IDENTICAL, alltests/trust-anchor/**, all pre-existing and untouched here. This branch adds 35 passing tests and no failuretests/sequenced_after/corpus-ledger.yamlwas 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 untouchedThe one-line-rule conversion inside
fenced_lineswas measured BEFORE it wasmade: over all 372
proposal.mdfiles in both clones (241 real corpus + 131test fixtures),
text.splitlines()andsplit_real_linesreturn an identicalfenced block for every one — a zero baseline diff.
Successors (unticked in
tasks.md§ 4, with owners)re-copy
scripts/frontmatter_strict.pyandscripts/sequenced_after.pyintoscripts/merge_master/, refreshVENDORED_SHA256/VENDORED_SOURCE_PATHS,advance
stack.yaml'scontract_ref. Advancing the pin without re-copyingreds
test_the_vendored_bytes_equal_the_source_at_the_pinned_contract_versionby design.
LEAVE THE BOUND; moving a line INTO the window is itself a retention mutation
needing an explicit disposition.
Ratification
tasks.mdGroup 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.mdbyte moves inany 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:
sequenced_after:declarations in bounded, unfenced lifecycle header lines as an equivalent to the existing fenced front-matter form.Bug Fixes:
Enhancements:
scope_globs:restricted to fenced front matter and define a shared real-line header window with agreement tests.Documentation:
Tests:
Chores: