Repository navigation
Propose state-header-window-budget: the lifecycle header window is counted from line 1, fence lines included (amendment routed from #906) - #921
Conversation
…unted from line 1, fence lines included Routed from a Copilot review on PR #906 (the archive of accept-sequenced-after-header-line): the promoted release-realization requirement "Equivalent declaration sites for the ordered-delta parent declaration" says a header-line declaration sits within the bounded lifecycle header window and outside any leading `---` fence, but never states whether the fence's own lines still occupy part of the window's line budget. They do -- scripts/frontmatter_strict.py counts the window from the document's own line 1 regardless of where a fence closes (read_header_line, lines 565/569), its own docstring already says so (lines 541-545), and this session re-verified it empirically on the branch rather than trusting the docstring alone (proposal.md sec Why). This packet adds one paragraph and one scenario ("Fence lines consume the header window budget") to that requirement, stating the rule explicitly. Every existing sentence, bullet and scenario is carried verbatim -- machine-diffed against the promoted spec with the two additions stripped out, clean -- so no Removed-from-canon or Merged-into marker is owed. code_surface: none; archives on landing once ratified. Status: draft -- ratification is owed and is Brett Heap's act. Lane: codexfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
DRAFT -- RATIFICATION OWED (Brett Heap). Lane: codexfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Reviewer's GuideThis draft, code-surface-free OpenSpec amendment clarifies the existing reader/spec behavior that a leading Sequence diagram for document-wide header window scanningsequenceDiagram
participant Document
participant read_header_line
Document->>read_header_line: read_header_line(lines, window)
read_header_line->>read_header_line: Scan from after the closing fence
read_header_line->>read_header_line: Bound scan by min(window, len(lines))
alt Header line within absolute window
read_header_line-->>Document: Read sequenced_after header
else Header line beyond window
read_header_line-->>Document: NO_HEADER_LINE
end
Flow diagram for fence-inclusive header window budgetflowchart TD
A[Document with optional leading --- fence] --> B[Count window from document line 1]
B --> C[Skip fence for declaration scanning]
C --> D{Header line within window?}
D -->|Yes| E[Read sequenced_after declaration]
D -->|No| F[Do not read header line]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
… sole -> co-modifier python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#921' adds this change's own row and, correctly, flips accept-sequenced-after-header-line's row from sole to co-modifier in the same re-seed: both write the release-realization requirement key this change's MODIFIED block targets. The packet's prose (proposal.md, tasks.md, the spec delta preamble) and the README entry had asserted "class: sole" ahead of actually running the seed; corrected to co-modifier with the mechanism explained, so the packet states the measured fact rather than an assumption. The two GitHub posts already made (PR #921's body, the CLAIMED comment on PR #906) were corrected the same way. No active-change collision exists either way, so no Modified over marker is owed. python3 -m pytest tests -q -k "sequenced or frontmatter or release_realization" now reads 278 passed / 0 failed, matching a clean origin/main worktree exactly (was 274/4 before this seed, the four ledger-consistency tests, because this change's row did not yet exist). --ledger-diff reports the ledger consistent with the corpus (195 rows), exit 0. Lane: codexfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The sequenced-after corpus ledger seeding step is still deferred/placeholdered, which will keep the ledger-consistency tests failing until the ledger row is generated and committed.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Introduces a new draft OpenSpec amendment packet (state-header-window-budget) that clarifies (in canon prose) how the lifecycle header window is counted when a leading --- front-matter fence is present, aligning the spec text with the already-shipped reader behavior.
Changes:
- Adds a new
code_surface: noneOpenSpec change packet with proposal, design, tasks, origin, and arelease-realizationspec delta. - Updates the promoted requirement text (via a
## MODIFIEDdelta) to explicitly state that fence lines still consume the header-window line budget. - Registers the new draft change in the README “OpenSpec Records” active index.
File summaries
| File | Description |
|---|---|
| README.md | Adds the new draft change to the “OpenSpec Records” active changes index with provenance/intent summary. |
| openspec/changes/state-header-window-budget/.openspec.yaml | Declares the change’s origin/authorization context and related packets. |
| openspec/changes/state-header-window-budget/proposal.md | Defines the packet’s motivation, scope (code_surface: none), and the exact clarification being promoted. |
| openspec/changes/state-header-window-budget/design.md | Captures decisions and rationale for making the clarification as a pure-addition ## MODIFIED block. |
| openspec/changes/state-header-window-budget/tasks.md | Adds the ratification gate + validation/ledger steps and documents the intended follow-up actions. |
| openspec/changes/state-header-window-budget/specs/release-realization/spec.md | Implements the actual spec delta: one added paragraph + one new scenario clarifying fence-inclusive header-window budgeting. |
Review details
- Files reviewed: 6/6 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.
There was a problem hiding this comment.
🟡 Changes recommended
Several newly added Markdown documents include inline-code spans split across line breaks, which can render incorrectly and should be reformatted.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 3
- Review effort level: Lite
…n one line Copilot flagged inline-code spans split across newlines in proposal.md, specs/release-realization/spec.md and tasks.md (the sibling-search and ledger-seed command citations), which render inconsistently in GitHub Markdown. Each span now sits on a single line. No wording, fact or requirement text changes; the affected spec.md text is packet commentary above the `## MODIFIED Requirements` block, not the requirement itself. Lane: codexfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Lane: codexfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]> # Conflicts: # README.md
|
Lane: codexfactory-1 Verification + completion pass, head
Packet content (proposal, design, tasks, Ready for "ratify 921". Co-Authored-By: Claude Sonnet 5 [email protected] |
There was a problem hiding this comment.
🟡 Changes recommended
The packet is explicitly marked draft with open ratification tasks, so it is not in a merge-ready state even though the content changes are internally consistent.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Several new documents assert “no open pull request touches release-realization/frontmatter_strict” without excluding the current PR, creating a self-contradictory record.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 4
- Review effort level: Lite
The sibling-search wording in README.md, proposal.md, the release-realization spec delta's preamble, and tasks.md all claimed "no open pull request touches release-realization or frontmatter_strict" without excluding this pull request itself, which necessarily touches release-realization (its own spec delta path). Copilot flagged the self-contradiction in four places (discussion threads on README.md:556, proposal.md:136, spec.md:11, tasks.md:51). Reworded each to "no OTHER open pull request", and noted the check was taken before this PR was filed / excludes it by construction. No requirement text, fact, or gate result changes: the `## MODIFIED Requirements` block itself is untouched, and all four doc-health families (status-validity, record-immutability, ratified-provenance, modified-block-currency), the change-specific strict validate, the full --all --strict corpus validate (100 passed / 2 failed, same two pre-existing failures), and the targeted pytest subset (278 passed) were re-run clean after this change. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
It updates canonical spec requirements and is explicitly pending human ratification/governance, which warrants final human review before approval.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Several newly added documents assert “no other active release-realization delta” using a find ... -maxdepth 3 check that cannot reach the actual file depth and contradicts existing active deltas.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 3
- Review effort level: Lite
…r reached spec.md A fresh Copilot review triggered by the origin/main merge (5252c37) found, in three places (proposal.md:136, specs/release-realization/spec.md:12, tasks.md:49), that the sibling-search command `find openspec/changes -maxdepth 3 -path "*/specs/release-realization/*" -not -path "*/archive/*"` cannot reach a delta file at `openspec/changes/<id>/specs/release-realization/spec.md` (four path segments below `openspec/changes`), so its empty result proved nothing about siblings, and the broader claim built on it ("no other active change carries a release-realization delta at all") was not actually checked. Re-ran the search at the correct depth (-maxdepth 4, and naming spec.md directly): two other active changes DO carry a release-realization delta (add-sequenced-after-substrate, add-structured-scope-substrate). Neither declares a requirement named "Equivalent declaration sites for the ordered-delta parent declaration" (checked via `grep -n "^### Requirement:"` over both files), so the claim that actually matters — no OTHER active change writes THIS requirement key — still holds. Reworded all three locations to state that narrower, correct claim, retracting the broader one the original find command never substantiated. No requirement text changes: all three edits sit in prose commentary outside the `## MODIFIED Requirements` block. Re-verified after the edit: `openspec validate state-header-window-budget --strict` via the pinned CLI (scripts/validate-openspec-cli-pin.py, @fission-ai/[email protected]) → exit 0, clean. doc-health --family status-validity|record-immutability|ratified-provenance|modified-block-currency → exit 0 on all four, zero findings naming this packet. Confirmed no backtick-delimited code span introduced by this edit crosses a line break (the same defect class Copilot flagged and 6c844db fixed earlier in this PR). Lane: codexfactory-1 (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 3 days and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.
There was a problem hiding this comment.
🟡 Changes recommended
Invalid proposal metadata, incomplete task closure, and missing paired boundary coverage remain unresolved.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
openspec/changes/state-header-window-budget/proposal.md:10
- The packet files now record
Status: ratifiedand include Brett Heap's ratification record, but the PR description still ends with “Status: draft — RATIFICATION OWED.” That stale lifecycle claim contradicts the state being reviewed; please update or remove the obsolete text in the PR description.
Status: ratified
Ratified: 2026-09-11 by Brett Heap (openxFactory operator authority) —
- Files reviewed: 9/9 changed files
- Comments generated: 3
- Review effort level: Lite
…(Copilot, #921 02:35Z review) VERIFIED IN THE CODE RATHER THAN TAKEN ON THE REVIEWER'S WORD. Copilot found that this packet cannot be archived with the house entrypoint while any box is unticked. It is right: scripts/proposal-support.py archive_change runs re.search(r"^- \[ \]", tasks.read_text(), re.M) straight after the two origin arms and raises SupportError("change has incomplete tasks") on the FIRST unticked box in the file. Three are unticked -- 0.1 and 0.2, Brett Heap's own acts, and 3.1, the archive act itself. THE FINDING IS REAL BUT IT IS NOT A DEFECT OF THE RATIFICATION, AND THE FIX IS NOT TO TICK ANYTHING NOW. The present state is the correct one: no agent ticks an owner's box, so 0.1 and 0.2 stay unticked with the dated notes recording what the ratifying word discharged, and 3.1 describes an act that has not happened. Closing them at ratification to make a future entrypoint happy would be the lane asserting Brett Heap's own acts and claiming an archive it has not performed. SO THE TRAP IS WRITTEN DOWN WHERE THE LANE THAT WILL HIT IT WILL READ IT: a note on 3.1 naming the function, the regex, the exception text and the three boxes, and saying what the archiving lane does on the archive word -- close 0.1 and 0.2 as discharged by the word of 2026-09-11T01:44Z, tick 3.1 as the act being performed, and use [~] for work genuinely deferred rather than [x] or [ ]. A known refusal discovered at the entrypoint costs a lane its footing mid-ceremony; discovered here it costs a paragraph. NOTHING RATIFIED MOVES. This commit touches tasks.md only -- git diff --quiet HEAD -- .../specs/ .../.openspec.yaml .../proposal.md exits 0 -- so the ratified delta, the origin declaration and the status flip are all untouched, and ratifying_commit still resolves to 8d5fb17 (this is a follow-up, not a second ratification). Re-run on this tree: pinned validate --strict 1 passed, exit 0; origin_errors -> [] and origin_retention_errors -> [] still printing ORIGIN RETAINED against the 8d5fb17 baseline; doc-health status-validity, ratified-provenance, proposal-origin and modified-block-currency each exit 0 with zero findings naming this packet. STILL NOT MERGED AND STILL NOT ARCHIVED. Both remain separate acts on separate words, neither given. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
A moderate metadata contradiction and two factual verification-log nits remain unresolved.
Review details
Suppressed comments (3)
openspec/changes/state-header-window-budget/proposal.md:1
- The recorded grep result is stale on the tree being reviewed. The command now also matches the two requirement-title mentions added in this movement-log entry (
test_sweep.py:1151and1172), so it returns five matching lines rather than the stated three. Please update the evidence/count (or omit the count) so this front-matter does not assert a false verification result.
---
openspec/changes/state-header-window-budget/proposal.md:3
release-realizationrequires every proposal'starget_releaseto beimplementedor a named release, and its doc-only default iscode_surface: nonewithtarget_release: implemented(openspec/specs/release-realization/spec.md:23-29).noneis not a permitted value here, so this packet's lifecycle metadata contradicts the canonical requirement even if the CLI's structural validator accepts it; change this value and its accompanying rationale to the documentedimplementedform.
target_release: none — CHECKED AGAINST PRECEDENT, not the only word this corpus uses here and not picked at random: the promoted `release-realization` requirement "Realization axis declaration" enumerates `implemented` or a named release for its DEFAULT case, but this packet's own closer template, the archived `amend-neutral-product-pin-interim-copy-vocabulary` — `code_surface: none`, one `## MODIFIED` requirement, cited above as the shape this packet follows — declared exactly `target_release: none` and archived on that word without incident; so did `add-subject-establishment`, `amend-published-tip-unreadable-scenario` and `amend-modified-block-currency-standing` (others use `promotion-only` instead — the corpus does not use one word here for every doc-only change, and this packet follows its nearest sibling rather than inventing a fourth). No code surface, no contract bundle, no digest set, no release tag, and nothing for any consumer to re-vendor: the rule this packet states in words is already what `scripts/frontmatter_strict.py` does in code, and already what codexFactory's vendored copy does, proved byte-equal to the source at `b91af6ea` in PR #906's own evidence (`evidence/realization-2026-09-10.md` § 3, re-run at that archive). The realization of a wording amendment is its promotion at archive, a separate act on Brett Heap's word, and not a build this packet owes. (The promoted enumeration not naming `none` as a third word — despite it being this corpus's own precedent for a `code_surface: none` change more than once — is itself a documentary gap in a DIFFERENT requirement than the one this packet amends; `add-structured-scope-substrate`, an active sibling, already carries a `## MODIFIED` block on "Realization axis declaration" itself, so resolving that gap is that packet's province and not this one's.)
tests/sequenced_after/test_sweep.py:1192
- This depth description is inconsistent with the ledger and the resolver:
state-header-window-budgetreachesaccept-sequenced-after-header-line→add-sequenced-after-substrate→add-structured-scope-substrate, sochain_depth()is 3 hops and the row recordsdepth: 3, not one hop. The terminal root is also active, not archived. Please correct the movement-log claim so its measured facts remain internally consistent.
deepest declared chain at 4 hops — this change's own chain is one hop
to an archived root, shorter than the standing champion.
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ding Brings in fa94dfb (9 commits: register acts, notebook-projection redaction, openDox pin-reader repoint) before landing the ratified state-header-window-budget amendment on Brett Heap's word "merge 921" (2026-09-11T03:00:53Z). Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The remaining movement-log feedback is a non-blocking nit.
Review details
Suppressed comments (1)
tests/sequenced_after/test_sweep.py:1192
- The new movement-log sentence contradicts the derived row and the actual chain:
state-header-window-budgethas depth 3, followingaccept-sequenced-after-header-line→add-sequenced-after-substrate→add-structured-scope-substrate; the latter is an active root, not an archived root one hop away. Please correct this historical measurement prose so it does not document a chain that the ledger and sweep do not report.
deepest declared chain at 4 hops — this change's own chain is one hop
to an archived root, shorter than the standing champion.
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
LANDING — lane codexfactory-1 (codeXfactory-1), session e442a7, 2026-09-11T03:43:28Z, PR #921 into openxFactory main (ratified state-header-window-budget; Brett's word 'merge 921') Lane: codexfactory-1 (codeXfactory-1) |
…ords conflict (keep both entries) Second merge-from-main ahead of Rule 6 landing (main moved 9 more commits, fa94dfb -> 61cee60, while the first LANDING window was open). Conflict was only in the OpenSpec Records block: this branch's state-header-window-budget entry vs. main's newly-landed amend-repo-boundary-governance-scope-first-line entry — a pure union, both kept, nothing dropped or reworded. tests/sequenced_after/corpus-ledger.yaml auto-merged clean. Packet bytes unchanged: git diff --quiet HEAD -- openspec/changes/state-header-window-budget/ exits 0. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Correct the ratification verification claim and the movement log’s chain-depth description.
Review details
Suppressed comments (2)
openspec/changes/state-header-window-budget/review/ratification-2026-09-11.md:150
- This verification paragraph has two factual problems.
git diff HEAD -- ...compares the current worktree toHEAD, not the ratifying commit with its pre-ratification state, so it cannot substantiate that claim; and the PR does changetests/sequenced_after/test_sweep.pyandtests/sequenced_after/corpus-ledger.yaml(albeit only a docstring and bookkeeping), making the categorical “no ... test ... moves” statement false. Please compare the ratifying commit to its parent and qualify the second claim as no executable test logic or runtime surface changed.
measurement is `git diff --quiet HEAD -- openspec/specs/` taken against the
pre-ratification head, which exits **0** — and no script, test, contract,
schema, workflow or Speckit build record moves. **The comparison is stated
tests/sequenced_after/test_sweep.py:1192
- The movement log misstates this change's chain shape.
chain_depthcounts resolved hops, and the new ledger row recordsdepth: 3;state-header-window-budgetresolves throughaccept-sequenced-after-header-lineandadd-sequenced-after-substratebefore reachingadd-structured-scope-substrate. Its direct parent is archived, but it is not a one-hop archived root, so this narrative should be corrected to keep the sweep record consistent with the measured row.
deepest declared chain at 4 hops — this change's own chain is one hop
to an archived root, shorter than the standing champion.
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
|
Lane: codexfactory-1 (codeXfactory-1) CLAIMED — lane codexfactory-1 (codeXfactory-1), session 8ee839e7-62eb-412f-ab37-fdfe5b5e219e, 2026-09-11T09:52:07Z: pre-staging the archive of state-header-window-budget as a draft; lands on "archive 921" Sibling search taken first, per the lane-collision protocol: The draft will be opened against |
…e README row and in tasks 3.1 ONE ledger row moves, active -> archived, moved_by "#921" -> "#953", moved_on "2026-09-10" -> "2026-09-11" (the proposal landed on the 11th UTC and the archive was taken the same UTC day). `class: co-modifier` is HELD and NO PARTNER FLIPS, so no MOVEMENT LOG entry is owed: this change's partner on the shared requirement key is accept-sequenced-after-header-line, already archived and already co-modifier since its own archive. Task 2.6a's movement-log entry covered the flip that DID happen, at the seed on PR #921, and this act repeats none of it. The diff is one line, measured rather than asserted -- git diff --numstat is 1/1. Seeded with the sanctioned tool rather than hand-written, and taken AFTER the pull request existed, because moved_by must name the pull request that moves the row and the real number does not exist until the pull request does: `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#953'` -> "wrote tests/sequenced_after/corpus-ledger.yaml (199 rows, 1 moved by #953)". `--ledger-diff` before: STALE (4 findings) -- this change's row, state ledger 'active' against live 'archived', plus the three derived totals it feeds (active 40 != 39, archived 159 != 160, active_co_modified 25 != 24). After: exit 0, "per-change sweep ledger consistent with the corpus (199 rows)". The row count is not pinned and drifts as other lanes land; the exit code and the word "consistent" are the gate. TASKS 3.1 AND THE README ROW NOW NAME THE ACT ON THE RECORDING: archive pull request #953 -- the move to openspec/changes/archive/2026-09-11-state-header-window-budget/, the write-back into openspec/specs/release-realization/spec.md (byte-identical to the archived delta's MODIFIED block, 5,786 B, sha256 98e8280252ca4112ee130399bddc4f2b6dc1d25979f9f798e9625cae37db6e58 on both sides), the README row and this ledger row. This is the two-commit shape the precedents PR #926 (a0176d2) and PR #906 (fb5a914) used. THE PULL REQUEST REMAINS A DRAFT AND CLOSES NO ISSUE. It carries no closing keyword in its body or in any commit message on this branch -- every issue number is a refs-style naming -- because Brett Heap's word "archive 921" has not been given and this act lands on it and on nothing else. Refs #921, refs #906. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Fable 5.1 <[email protected]>
… this archive lands WORD -- 2026-09-11T10:21:39Z Brett Heap, openxFactory operator authority and the estate's sole operator, first-hand, in session, to lane codexfactory-1 (window codeXfactory-1), verbatim: "archive 921". That is the THIRD of three separate words over one packet, and the act each authorized was recorded before it was performed rather than after: ratify 921 2026-09-11T01:44Z -> encoded at 8d5fb17, record review/ratification-2026-09-11.md merge 921 2026-09-11T03:00:53Z -> PR #921 -> 3ccfd6c on main 04:11:24Z archive 921 2026-09-11T10:21:39Z -> THIS pull request, #953 NOTHING ABOUT THE ARCHIVE'S CONTENT CHANGES HERE, AND THAT IS THE WHOLE VALUE OF HAVING PRE-STAGED IT. The wrapper had already run through the pinned @fission-ai/[email protected] with both origin arms passing, the promotion was already proved byte-identical to the archived delta (5,786 B, sha256 98e8280252ca4112...), and every gate was already green at head 684faee. The word authorizes the LANDING and nothing else, so this commit moves exactly the two sentences that said the word had not been given -- tasks.md 3.1's evidence table row and the README archived row -- and no byte of the promotion, the packet, the ledger or the spec. The pull request flips READY on this commit and lands under Rule 6. Refs #921, refs #906. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Fable 5.1 <[email protected]>
No conflict and nothing of this archive's is touched: main's four commits move workflow files, one register walk record and one openxwallet gate test, and NOT README.md -- so unlike the #921 landing there is no OpenSpec Records union to resolve here. Taken as a merge commit; openxFactory forbids force-push and this branch is never rebased. Proof the archive is byte-unmoved across the merge is in the verification comment on PR #953. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: codexfactory-1 (codeXfactory-1) ARCHIVED — state-header-window-budget, the change this PR proposed and ratified (Brett Heap, 2026-09-11T01:44Z, "ratify 921"; merged on "merge 921" at 3ccfd6c), is now archived on Brett Heap's word "archive 921" (2026-09-11T10:21:39Z) by PR #953, merge commit
|
…r flip owes (#1108) `--seed-ledger --moved-by '#1108'` wrote TWO rows and reported both: this change's own (active, co-modifier, declares: []) and gate-code-surface-declarations flipping class sole -> co-modifier, because this delta's `## MODIFIED` block writes the requirement key that archived change ADDED. Nothing about that archived packet moved and no byte of it is edited. tests/sequenced_after/test_sweep.py's own MOVEMENT LOG rule owes a dated narrative for "a PARTNER'S row moving because of someone else's delta, where the reason is not legible from the two rows alone", and the precedent is exact — #921's identical flip was caught by Copilot review and taken at 99cff89, in a packet that declared code_surface: none for it. One entry appended to the docstring of test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row: the shared requirement key named, the two-party measurement recorded across every active release-realization delta, and the arithmetic taken on BOTH trees with --sweep rather than adjusted by hand (co_modified 163->165, sole_modifiers 56->55, change_ids 219->220, active 48->49, active_co_modified 29->30, active_sole HOLDING at 19, declaring 41->42, root claims 17->18; prose headers and the 4-hop deepest chain both hold). It asserts nothing and changes no test's outcome. proposal.md's code_surface gloss and § Impact, and tasks.md § 2.9/2.10, now name both files under tests/ so the inventory is honest; § 3.7 and § 3.8 record the pytest runs, including the proof that the one tests/doc-health failure this clone shows beyond main's seven is the checkout path's own name — that test asserts no resolved path contains "one", and the clone is `clone-1092`. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>



Lane: codexfactory-1 (codeXfactory-1)
✅ RATIFIED — 2026-09-11T01:44Z — and NOT merged
THE WORD. Brett Heap (openxFactory operator authority; sole operator),
first-hand, in session, to lane
codexfactory-1, 2026-09-11T01:44Z,verbatim "ratify 921", over verified head
29f2211437b9f5e0fd9960f45e83f8ca8de91bb7. Recorded on this PR atcomment 5628429288.
WHICH SHA IS AUTHORITATIVE. The git ref is —
29f22114is whatgit ls-remotereturned for this branch when the word was given, and what amerge would have taken. GitHub's PR object reported
headRefOid5dfa1831for hours; that was a stale projection of the same branch, not a second head.
29f22114is a merge ofmain72c0fa6cover5dfa1831that moves nobyte of the packet (
git diff --quietover the packet directory, exit 0),so the text ratified is identical at both.
THE WORD WAS BARE, SO NO WORDING CHANGED — verified by diff, not
asserted:
git diff 5dfa1831 HEAD -- .../state-header-window-budget/specs/is empty.
design.mdD1–D4 were carried to the bench and none vetoed, soall four are ratified as the packet states them.
RATIFYING COMMIT
8d5fb17e, five files, on a tree already merged up toorigin/main96b4835b(its own commit, no conflict). It encodes:proposal.mdStatus: ratified+ exactly oneRatified:citationat line 10 — inside the fifteen-line header window counted from line 1 with
the front-matter fence's five lines included, which is this packet's own rule
applied to itself; the ratification added to
.openspec.yamlorigin.approved_byin this same commit (git show --numstatreads33 0 — thirty-three added, zero deleted;
kind,id,reasonandapproved_onbyte-unmoved), because the archive gate takes that blob at theratifying commit as its permanent baseline; the record
review/ratification-2026-09-11.md;tasks.md0.3 ticked, with 0.1 and0.2 left UNTICKED — they are Brett Heap's own acts and no agent ticks an
owner's box; and the README row DRAFT → RATIFIED.
GATES ON THE RATIFIED TREE (exit codes, not impressions) — pinned
@fission-ai/[email protected]:validate <change> --strictexit 0;validate --allexit 0,99 passed, 2 failed (101 items)against afresh
origin/mainworktree at96b4835breading98 passed, 2 failed (100 items), the failing-item sets diffed by id out of--jsonandidentical (
add-chain-attestation,add-composed-view-authoring— thetwo dispositioned exceptions), zero new failures, the single extra item
being this packet, which passes. doc-health
status-validity,ratified-provenance,proposal-origin,modified-block-currency— eachexit 0, zero findings naming this packet; unfiltered full sweep
exit 0, zero naming it,
New regressions vs previous report: 0.proposal-supportorigin_errors(strict=True)→[]andorigin_retention_errors→[], printingORIGIN RETAINED … (declaration unchanged since the ratifying commit 8d5fb17e0eee).pytest -k "sequenced or frontmatter or release_realization"→ 278 passed, exit 0.⛔ WHAT HAS NOT HAPPENED. The merge word has NOT been given. This lane
encodes and freezes; it does not merge. When that word comes it lands in a
Rule 6 window (the
LANDING/LANDEDpost belongs to the landing lane),and openxFactory
mainadditionally needs--adminor Merge Masterapproval.
code_surface: none, so this packet archives ON LANDING —tasks.md§ 3.1, a SEPARATE act on a separate word, left unticked.Ratification, merge and archive are three acts; only the first has been given.
What this is
A small,
code_surface: noneOpenSpec amendment on therelease-realizationcapability, routed from a Copilot review comment on PR #906 (the archive of
accept-sequenced-after-header-line).The finding
On
openspec/specs/release-realization/spec.md:440(discussion_r3981305715),
copilot-pull-request-reviewerwrote:Brett Heap replied on that thread, as lane
codexfactory-1and not as aruling
(discussion_r3981322763):
the reading is correct, but PR #906 is an archive whose central claim is that
the two promoted requirements are sha256 byte-identical to the ratified
delta — editing the text there would break that identity and amend ratified
text with no ruling behind the amendment. The reply named the remedy: a
narrow
## MODIFIEDamendment, the shapeamend-marker-reason-boundaryandamend-neutral-product-pin-interim-copy-vocabularyalready took. This PRis that amendment.
What the reader actually does
scripts/frontmatter_strict.py'sread_header_linecomputes the window'send as
min(window, len(lines))against the document's full real-line list,index 0 = line 1 — the same index space a leading fence occupies — while the
scan's start moves past the fence (
start = 0 if closing is None else closing + 1, line 565; the scan atfor index in range(start, min(window, len(lines))):, line 569). The window's upper bound never moves to accountfor the fence.
Verified empirically on this branch (not just read from the docstring): a
sequenced_after:header line at the document's real line 19, behind afour-line fence, is refused (
NO_HEADER_LINE) — it would be admitted underthe reading "window = fifteen lines counted after the fence closes," which a
fence ending at line 4 would place at lines 5–19. The same header line at
real line 15, behind the same fence, is read — line 15 being the
window's own absolute edge, fence included. This matches the docstring
Copilot cited ("FENCE LINES ARE SKIPPED BUT STILL COUNT toward the window")
and the archived packet's own
tasks.md§ 2.3.The change
One
## MODIFIEDrequirement, "Equivalent declaration sites for theordered-delta parent declaration": one body paragraph added, one scenario
added —
Every existing sentence, bullet and scenario of the requirement is carried
verbatim — machine-diffed against the promoted spec with the two
additions stripped out, clean — so this delta owes no
Removed from canonor
Merged intomarker. The sibling requirement this same archive promoted("One parent declaration across both sites, and its retention") is
untouched.
Gates
OPENSPEC_TELEMETRY=0 openspec validate state-header-window-budget --strict→ exit 0OPENSPEC_TELEMETRY=0 openspec validate --all --strict→ 100 passed, 2 failed (102 items), exit 1 — vs a cleanorigin/mainworktree (05c706d, post-merge) → 99 passed, 2 failed (101 items): exactly +1, and the same two pre-existing failures (add-chain-attestation,add-composed-view-authoring) on both sides. (Re-taken after mergingorigin/main; see the completion comment below.)python3 -m pytest tests -q -k "sequenced or frontmatter or release_realization"→ 278 passed, 0 failed — identical total to a cleanorigin/mainworktree. (Before the ledger seed below this read 274 passed / 4 failed, the four ledger-consistency tests, because this change's row did not yet exist intests/sequenced_after/corpus-ledger.yaml; resolved once this PR's number existed, peraccept-sequenced-after-header-linetask 4.5's own precedent, bypython3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#921')python3 scripts/validate-sequenced-after.py . --ledger-diff→ "per-change sweep ledger consistent with the corpus (196 rows)", exit 0 (196 = 195 +admit-review-lane-repin-to-merge-approval-envelope's new row, landed onmainby the merge below; this change's own row is unaffected)python3 scripts/doc-health.py --single-repo . --family status-validity|record-immutability|ratified-provenance→ 0 findings naming this packet, on any of the three familiesSibling search: no other ACTIVE change carries a
release-realizationdelta, and no open pull request touches
release-realizationorfrontmatter_strict, so noModified overmarker is owed. The per-changesweep ledger's own
classfield readsco-modifier(notsole) for thischange's row, partnered with the archived
accept-sequenced-after-header-line(whose own row flips
sole→co-modifierin the same re-seed, PR #921) —correct, since both write the same requirement key; this is the ledger's
documented partner-flip mechanic, not an active-change collision.
Verification + completion pass (head
b8d15797)newlines in
proposal.md, thespecs/release-realization/spec.mdpreamble commentary, and
tasks.md) — each span now sits on one line; nowording, fact or requirement-text change. All three threads resolved.
origin/main(05c706d, 9149301) into the branch — merge commit,no rebase. One conflict, in the README "OpenSpec Records" active-changes
list (two concurrent list-entry insertions), resolved by keeping both
entries;
tests/sequenced_after/corpus-ledger.yamlauto-merged cleanly.Gate totals above are re-taken on the merged tree.
Independent re-verification pass (head
6979e945)A prior verifier in this lane was interrupted by an API outage after reporting
"9 checks green, pytest-suite pending" at head
b8d15797. This is a from-scratchre-verification, in a fresh clone, of every gate claimed above, plus one more
merge:
change/state-header-window-budgetatb8d15797confirmed againstgh pr view'sheadRefOid.origin/mainhad advanced one bookkeeping-only commit past the05c706d6this branch had already merged (
52e42be9,relocate-review-authority-floor-mirrortasks.md box-ticks only — touches no file this packet touches). Merged it
(merge commit
6979e945, no conflicts).1.12.0, percontracts/openspec-cli-pin.yaml) viascripts/install-pinned-openspec-cli.pyrather than trusting whatever
openspecwas on PATH.OPENSPEC_TELEMETRY=0 openspec validate state-header-window-budget --strict→ exit 0.
OPENSPEC_TELEMETRY=0 openspec validate --all --stricton this branch at6979e945→ 100 passed, 2 failed (102 items), exit 1(
change/add-chain-attestation,change/add-composed-view-authoring).Compared against a fresh
origin/mainworktree at its current tip52e42be9(not the older05c706d6the pass above cites) → 99 passed, 2failed (101 items), exit 1, the identical two pre-existing failures.
Exactly branch = main + 1, zero new failures.
python3 -m pytest tests -q -k "sequenced or frontmatter or release_realization"→ 278 passed, 0 failed, exit 0 (pytest 9.1.1).
python3 scripts/validate-sequenced-after.py . --ledger-diff→ "per-changesweep ledger consistent with the corpus (196 rows)", exit 0.
python3 scripts/doc-health.py --single-repo .for each ofstatus-validity,record-immutability,ratified-provenance→ exit 0on all three, zero findings naming this packet.
(
gh api repos/opensoft/openxFactory/pulls/906/comments): the Copilotfinding at
discussion_r3981305715and Brett Heap's non-ruling reply atdiscussion_r3981322763match this proposal's## Origin/.openspec.yamlquotations verbatim.
## MODIFIEDrequirement against the currently-promotedopenspec/specs/release-realization/spec.md(lines 424–485) with the newparagraph and new scenario mechanically stripped out: zero textual
difference — every existing sentence, bullet and scenario really is
carried verbatim. The requirement modified is
release-realization→"Equivalent declaration sites for the ordered-delta parent declaration";
document-lifecycle's spec references the same shared "lifecycle headerwindow" term (
spec.md:533,575,585) but does not itself state fence-countsemantics, so there is nothing there for this amendment to contradict, and
it doesn't.
gh api graphqlreviewThreads) readisResolved: true— the three markdown-formatting nits and the earlierledger-seeding-placeholder finding, each traceable to a fix commit already
on the branch.
gh pr view --json statusCheckRollupat headb8d15797(pre-merge): all 11 check runs
COMPLETED/SUCCESS, includingpytest-suite(which the interrupted verifier had left pending).52e42be9merge as6979e945; this re-arms the check suite atthe new head — see the next comment on this PR for the confirmed result at
6979e945once checks land.(State as of that round, kept as the log it is and superseded by the
RATIFIED block at the top of this body: it read "Still
Status: draft,still
Do not merge. RATIFICATION OWED (Brett Heap):ratify 921, then mergein a Rule 6 window (
code_surface: none→ archives on landing)." The wordratify 921has since been given, at 2026-09-11T01:44Z. The merge word hasnot.)
Second fix round (head
8088d01e): Copilot self-reference findingPushing
6979e945(the origin/main merge above) triggered a fresh Copilotreview, which correctly found a real wording defect distinct from anything
fixed earlier: four places (
README.md:556,proposal.md:136,specs/release-realization/spec.md:11,tasks.md:51) claimed "no open pullrequest touches
release-realizationorfrontmatter_strict" — but thispull request itself necessarily touches
release-realization(it IS thespec delta), making the sentence self-contradictory as written.
Fixed in
8088d01e: reworded all four to "no OTHER open pull request",with a clause noting the check was taken before this PR was filed / excludes
it by construction. No requirement text, fact, or gate result changes — the
edits are confined to prose commentary outside the
## MODIFIED Requirementsblock. Re-ran clean after the edit:openspec validate state-header-window-budget --strict→ exit 0.openspec validate --all --strict→ 100 passed, 2 failed (102 items),same two pre-existing failures, exit 1 (unchanged from the prior pass).
doc-health --family status-validity|record-immutability|ratified-provenance|modified-block-currency→ exit 0 on all four, zero findings naming this packet (added
modified-block-currencyto the check set this round, since that familyis the one that actually enforces the "no colliding active change" claim
these edits touch).
pytest tests -q -k "sequenced or frontmatter or release_realization"→278 passed, 0 failed, exit 0.
All 4 new review threads resolved via GraphQL
resolveReviewThread,alongside the original 4 (8 threads total, 8 resolved, 0 open).
One more precision note, found independently rather than by Copilot, left
as-is rather than edited: the "sibling search" text's claim "no other
ACTIVE change carries a
release-realizationdelta at all" is checked withfind openspec/changes -maxdepth 3 -path "*/specs/release-realization/*",which — at
-maxdepth 3— cannot actually reach anyspec.mdfile (theysit at depth 4), so the command returns nothing regardless of whether
siblings exist; it is not the load-bearing check its prose suggests. Run at
adequate depth, TWO other active (ratified-but-unarchived) changes do carry
a
release-realizationdelta:add-sequenced-after-substrate(## ADDED Requirementsonly) andadd-structured-scope-substrate(## MODIFIEDon "Realization axis declaration"). Neither touches the requirement this PR
modifies ("Equivalent declaration sites for the ordered-delta parent
declaration"), so the substantive conclusion — no
Modified overmarkerowed — holds, and is independently confirmed by
doc-health --family modified-block-currencyreturning zero findings against thispacket. Left unedited because it is not blocking, not something a reviewer
flagged, and the authoritative gate already passes; noted here for the
record and for whoever ratifies.
Status: ratified (2026-09-11T01:44Z, Brett Heap, verbatim "ratify 921",
over
29f22114; ratifying commit8d5fb17e) — still do not merge: themerge word is a separate act and has not been given, and the archive after it
is a third. See the RATIFIED block at the top of this body.
🤖 Generated with Claude Code
Summary by Sourcery
Clarify the lifecycle header window semantics so leading front-matter fence lines count toward the document’s bounded header budget.
New Features:
Enhancements:
Documentation:
Tests: