Repository navigation
Bring roster-device's lifecycle header into the window every reader scans - #271
Merged
Merged
Conversation
The archived proposal add-roster-device-admission-surface carried Status: ratified at real line 41 and its Ratified: citation at 42, pushed there by the release front matter, the H1 and a thirty-three-line archive banner standing between them. Every lifecycle reader scans only the first fifteen real lines - corpus.STATUS_SCAN_LINES, read by parse_status, parse_kind, families._header_lines (which fam_ratified_provenance counts citations with) and generator._header_value - so parse_status returned None and the archived census counted the document as headerless rather than as a ratified record. The citation was never the defect; its invisibility was. The fix is a pure reorder. The header block and the banner block exchange places, the three blank separator lines stay put, and Status now reads at line 7, Ratified at 8, Proposed at 13. Nothing is reworded: the file's line multiset and its sorted bytes are identical before and after, 130 lines on both sides. The Ratified: line's text is untouched, which the sanctioning change's own 5.3 requires; verified after the move, parse_status returns ratified, exactly one citation is found, and the record-citing floor passes on two of its three axes, date and resolvable record. code_surface and target_release stay at lines 2 and 3 rather than moving below the header, because generator.HEADER_SCAN_LINES is the same fifteen lines and pushing them down would have blanked the dashboard's release-realization read for this change. A sweep of all 107 openspec/changes proposals compared a raw whole-file Status match against the window parse. Roster-device was the only file with an out-of-window Status line, and it is now zero. Forty-seven proposals carry no Status line anywhere; that is an older, different class and is left alone. Archived proposals parsing Status: ratified go 43 to 44, all 44 carrying exactly one in-window citation. This discharges the roster-device half of sanction-ratified-record-spelling tasks.md 5.2. With phase-b's half landed 2026-08-23 as PR #270, the box is ticked, its original wording left standing word for word beneath an appended dated suffix that states both discharges. Gates: openspec validate --all --strict 68 passed, exit 0; pytest tests/doc-health 724 passed; pytest tests/ideation-dashboard -k workbench 140 passed; a full doc-health --single-repo run before and after is byte-identical at 4 critical, 6 error, 68 warning, 4 info and 31.3% canon share, as openspec/ sits outside GOVERNED_ROOTS. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Moves the archived roster-device lifecycle header into the 15-line reader window and records completion of sanction item 5.2.
Changes:
- Reorders the existing proposal header without changing content.
- Documents measurements and validation results.
- Updates bookkeeping for the resolved lifecycle-header issue.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Summary |
|---|---|
openspec/changes/archive/2026-08-22-sanction-ratified-record-spelling/tasks.md |
Records completion of item 5.2. |
openspec/changes/archive/2026-08-22-add-roster-device-admission-surface/tasks.md |
Documents the reorder and verification details. |
openspec/changes/archive/2026-08-22-add-roster-device-admission-surface/proposal.md |
Moves lifecycle headers into the reader window. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+406
to
+407
| places, with the three blank separator lines at 6, 40 and 53 left standing | ||
| where they were. The lifecycle lines now read at real line 7 (`Status:`), 8 |
…d the note now says where it landed Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the last parked item from sanction-ratified-record-spelling's authoring measurement.
archive/2026-08-22-add-roster-device-admission-surface/proposal.mdcarriedStatus: ratifiedat real line 41 and itsRatified:citation at 42 — outside the 15-real-line window (corpus.STATUS_SCAN_LINES) every lifecycle reader scans, so the document's status (not merely its citation) was invisible:parse_statusreturned None and censuses counted it headerless.--numstat13/13. TheRatified:line itself is untouched — valid where it stood (2-of-3 floor axes), just unreadable.code_surface/target_releasebelow the header would have blanked the dashboard's release-realization tile —generator.pyreads both through the same window (HEADER_SCAN_LINES = corpus.STATUS_SCAN_LINES). Both stay in the window;_header_valueverified for both.parse_status→ ratified; census 44 archived ratified, all 44 carrying exactly one in-window citation. Box 5.2 in the sanction archive is now fully discharged and ticked (phase-b half PR Give phase-b's archived proposal the ratification citation its header owed #270, this half here), original wording left standing.Gates, exit codes direct:
openspec validate --all --strict68/68;tests/doc-health724 passed;-k workbench140 passed; full doc-health report byte-identical before/after (openspec/ ungoverned, confirmed in practice).🤖 Generated with Claude Code