Repository navigation
Archive amend-code-surface-grammar-comma-and: promote the ', and ' separator onto release-realization (refs #1092) - #1112
Conversation
…with what it owes Refs #1092. Refs #1108. The archive wrapper refuses a change whose tasks.md still carries a literal `- [ ]` (scripts/proposal-support.py:4632-4633), so the ticks precede the move in their own commit, which is the order PR #899 and PR #884 took for the same reason. § 4.1 ticks on the archive act performed by the next commit; § 4.2 ticks on the `Closes #1092` placed in this pull request's body and nowhere else, recording that the instrument is in place and never that the issue is shut; § 5.2 ticks on its own measurement RE-TAKEN at this head (c22c4fc) — one line for "separated by a comma", none for "EXCLUSIVE alternatives|the two being", grep exiting 1. § 5.1 takes the house's reserved DEFERRED marker `- [~]`, not a tick: the parse_head docstring and the comment over _SEPARATOR_RE still restate three separators, no successor issue exists (searched), and this draft files none because it is held for Brett Heap's archive word and a successor filed for an act that has not landed would name an archive that did not happen. The superseded preamble clause "§ 4 (archive) STAYS ENTIRELY OPEN" is named and quoted in place rather than deleted; every other clause of that paragraph stands. No ratified box body is edited: every tick appends beneath the ratified text it records. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
…tors onto release-realization Refs #1092. Refs #1108. Performed by the governed wrapper and never a bare `openspec archive`: TZ=UTC python3 scripts/proposal-support.py . archive \ amend-code-surface-grammar-comma-and --yes ORIGIN RETAINED amend-code-surface-grammar-comma-and (declaration unchanged since the ratifying commit 60d281a) Task status: Complete Applying changes to openspec/specs/release-realization/spec.md: ~ 1 modified Totals: + 0, ~ 1, - 0, -> 0 Change 'amend-code-surface-grammar-comma-and' archived as '2026-09-18-amend-code-surface-grammar-comma-and'. NO SUPPORTING DOCS (origin retained, nothing to package) --date was NOT passed: the wrapper's default is today in UTC and it refuses any other day, so 2026-09-18 is the UTC day the wrapper ran and the UTC day this commit carries. The CLI was resolved through contracts/openspec-cli-pin.yaml (@fission-ai/[email protected], content-addressed, integrity verified), never from PATH, which carries 1.13.1 here. THE PROMOTED REQUIREMENT IS THE ARCHIVED DELTA'S OWN BYTES, both sides extracted by requirement heading and hashed: 15,441 bytes, 181 lines, sha256 5729577a1d65d17e9d3fa3a6e92a287cd335694eac44049079e0a621780f9582 on each side, and the title occurs exactly once in canon and once in the delta. *Code-surface declaration grammar is gated* now names FOUR list separators -- a comma, ", and ", " and ", " + " -- with the exclusivity clause said of THOSE TWO HEAD FORMS. All six packet files are pure renames at R100, 0 changed lines each; the delete half and the add half are staged in one commit. The promoted spec is +73 -10 and `git diff --cached -M -w --numstat` reads the same, so no line moves by whitespace alone. NOT ONE CHARACTER OF scripts/code_surface.py MOVES. The README OpenSpec Records move and the per-change sweep-ledger row follow in their own commit, which records this pull request's number. THIS ARCHIVE ACT IS PREPARED AND HELD. Brett Heap's separate archive word has not been given; the pull request is a draft and lands by MERGE COMMIT, never by squash. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThis PR archives amend-code-surface-grammar-comma-and through the sanctioned OpenSpec workflow, records issue #1092 closure at the archive merge, defers the outstanding code docstring work, and promotes the corrected four-separator grammar plus Oxford-comma behavior into release-realization without changing validator code. Sequence diagram for archiving the grammar changesequenceDiagram
participant Maintainer
participant Wrapper as proposal_support.py
participant Gates as ArchiveGates
participant Specs as release_realization_spec
participant Ledger as OpenSpecRecords
participant Issue as openxFactory_1092
Maintainer->>Wrapper: archive amend-code-surface-grammar-comma-and --yes
Wrapper->>Gates: validate archive date and origin retention
Gates-->>Wrapper: pass
Wrapper->>Specs: promote four-separator grammar and Oxford-comma scenario
Wrapper->>Ledger: move record to archived ledger
Wrapper-->>Maintainer: archive packet prepared
Maintainer->>Issue: merge pull request with Closes #1092
Issue-->>Maintainer: issue closes at archive merge
Flow diagram for archived work and deferred docstring cleanupflowchart LR
Landing["Ratified landing\n60d281a8"] --> Archive["Sanctioned archive\nproposal-support.py archive"]
Archive --> Promotion["Promote grammar to\nrelease-realization"]
Archive --> Ledger["Move record to\narchived ledger"]
Archive --> Deferred["Defer parse_head docstring\nwith - [~]"]
Archive --> Closure["Merge archive PR\nCloses #1092"]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…r; name PR #1112 Refs #1092. Refs #1108. Both halves record THIS pull request's number, which is why they follow it rather than precede it. README: the `amend-code-surface-grammar-comma-and` bullet leaves *Active changes* and takes its place at the head of *Archived changes*, in house style — the archive date and pull request, the ratification word and its record, the byte-identity of the promotion, ORIGIN RETAINED against 60d281a, what is now canon, and the § 5.1 residue still owed under the `- [~]` marker. Ledger: seeded by the sanctioned tool and by no hand -- python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1112' wrote tests/sequenced_after/corpus-ledger.yaml (221 rows, 1 moved by #1112). ONE row moves and the diff is one line: state active -> archived, moved_by "#1108" -> "#1112". `class: co-modifier` is HELD -- the requirement's other writer, gate-code-surface-declarations, is archived and already co-modifier -- so NO PARTNER FLIPS and no MOVEMENT LOG entry is owed; tests/sequenced_after/ test_sweep.py is not touched. --ledger-diff read "per-change sweep ledger STALE (4 finding(s))" before the seed -- this row plus the three derived totals it feeds (active 48 != 47, archived 173 != 174, active_co_modified 28 != 27) -- and "per-change sweep ledger consistent with the corpus (221 rows)" after. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The task record overstates PR-body evidence and issue closure, and incorrectly labels the modified task file as a pure rename.
Pull request overview
This PR amends the promoted release-realization grammar to document the existing Oxford-comma separator, then archives the change packet and updates lifecycle bookkeeping.
Changes:
- Documents four separators, precedence, mixed lists, and Oxford-comma scenarios.
- Promotes the amended requirement and archives its supporting records.
- Updates README and sequencing-ledger archive entries without changing code behavior.
File summaries
| File | Description |
|---|---|
openspec/specs/release-realization/spec.md |
Promoted grammar amendment. |
openspec/changes/archive/.../.openspec.yaml |
Archive origin and metadata. |
openspec/changes/archive/.../proposal.md |
Amendment rationale and scope. |
openspec/changes/archive/.../design.md |
Design decisions and measurements. |
openspec/changes/archive/.../tasks.md |
Archive tasks and evidence record. |
openspec/changes/archive/.../specs/release-realization/spec.md |
Archived specification delta. |
openspec/changes/archive/.../review/ratification-2026-09-18.md |
Ratification record. |
README.md |
Moves the packet to archived records. |
tests/sequenced_after/corpus-ledger.yaml |
Records archived ledger state. |
Review details
Suppressed comments (4)
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/tasks.md:237
tasks.mdis not a pure rename in this archive PR: this file adds the §4/§5.1 accounting and changes task states. The archive record should distinguish the five unchanged packet files fromtasks.md, which carries the archive-act updates.
This issue also appears in the following locations of the same file:
- line 247
- line 262
- line 266
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/tasks.md:249
- This paragraph says the wrapper transcript, byte-identity comparison, and every validator exit code are recorded in PR #1112's body, but the current body contains only the short summary and explicitly says the evidence is still being written. Add that evidence before keeping this archive-accounting statement as completed.
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/tasks.md:270 - This completed box asserts that
Closes #1092is in PR #1112's body, but the current body has no closing keyword (the title only saysrefs #1092). WithoutCloses #1092, merging will not close the issue; add the keyword before retaining this[x]claim.
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/tasks.md:264 - The sentence following this checkbox says the pull-request body carries
Refsand never a closing keyword, while the paragraph immediately below asserts that the same body carriesCloses #1092. Qualify theRefsstatement as PR #1108 (or otherwise remove the contradiction).
- Files reviewed: 4/9 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Refs #1092. Refs #1108. § 4.2's tick said the closing line for issue 1092 sits in this pull request's body "and in no other place: no commit message on this branch carries a closing keyword beside an issue number". MEASURED AT THAT HEAD THE CLAIM WAS FALSE BY ONE, and the one was its own: commit e37ab6b quotes the phrase in its message while describing the instrument. The remedy taken first was the right one -- a reworded first commit, tree byte-identical -- and the repository REFUSED it, verbatim "Cannot force-push to this branch" (push declined due to repository rule violations). So the correction is made on top, which is the house remedy for a message already pushed, and the box now states the measurement instead of the claim: exactly one other occurrence, quoted inside e37ab6b's message, no other issue number carrying a keyword anywhere on this branch, and both occurrences naming the SAME act -- the merge of this pull request -- so neither can shut #1092 before it. NOTHING ELSE MOVES: one box body, no ratified text deleted, no other file. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Documentation claims inaccurate validator-report invariance and the promoted grammar ambiguously handles mixed separators after , and .
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 4/9 changed files
- Comments generated: 2
- Review effort level: Lite
…with the measurement Refs #1092. Refs #1108. Two findings verified TRUE against the tree and taken; one verified TRUE as a text defect and REFUSED for this pull request, because the text it names is promoted ratified bytes. TAKEN 1 -- README, "validate-code-surface.py reports identically before and after". The validator reports active and archived totals separately, so moving a packet between corpora necessarily moves them. The entry now says what is actually invariant (every per-declaration verdict, every derived repository set, CLOSED_REGISTER) and states the totals that move with their measured values: active 48 -> 47, `none` heads 7 -> 6, archive read 173 -> 174, declaring 127 -> 128, one packet in each column. TAKEN 2 -- tasks.md § 4.1, "every file a pure rename". FIVE of the six are (R100, 0 changed lines); the sixth is tasks.md itself, which carries the § 4 and § 5 accounting in the commit before the move and the § 4.2 correction after it. The box now names the five and says the sixth is not a rename, with the reason. REFUSED -- openspec/specs/release-realization/spec.md:1059, the `, and ` continuation boundary. The finding is TRUE and measured with the module itself: parse_head admits `openxFactory, and openXwallet + codexFactory` and `openxFactory, and openXwallet, codexFactory` as THREE identifiers, so a continuation boundary the paragraph does not enumerate -- another admitted separator -- is one the reader accepts. IT IS NOT FIXED HERE. Those bytes are PROMOTED, RATIFIED text: an archive act carries the ratified delta byte-for-byte (measured at 15,441 bytes, sha256 5729577a... on both sides), the same bytes sit in an archived record that record-immutability and govern-archived-record-edits put beyond a plain fix, and rewording them would promote text Brett Heap did not ratify. It is also not a behaviour claim canon gets wrong: the block states the mixed-separator rule twice elsewhere, in a body paragraph and in the added scenario's last bullet, so the defect is one paragraph's incomplete enumeration. The remedy is a further amendment on Brett Heap's word -- the same instrument this packet is -- and it is raised as RULING NEEDED rather than taken in flight, which is exactly how #1092 itself came to exist out of PR #1076's round 3. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-5 (openXfactory-5) COPILOT ROUND 1, DISPOSITIONED IN FULL — two inline threads and four suppressed comments, every one answeredINLINE 1 — INLINE 2 — SUPPRESSED (4):
One more self-correction, disclosed rather than buried (commit All twelve checks were green at THIS PULL REQUEST IS STILL A HELD DRAFT. NOTHING HERE IS AN ARCHIVE WORD. Refs #1092 |
There was a problem hiding this comment.
🔵 Needs a closer look
README.md incorrectly reports all six packet files as pure R100 renames even though tasks.md is modified.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
README.md:3441
- This archive summary is inaccurate:
tasks.mdis the sixth packet file, but it has the §4/§5 accounting changes and is not an R100 rename (the task file itself records this at lines 237-244). Please distinguish the five pure renames from the modifiedtasks.md, as the surrounding archive records do.
- Files reviewed: 4/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…code-surface-grammar-comma-and Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
There was a problem hiding this comment.
🟡 Changes recommended
The archive accounting contains an incorrect rename claim and the live sweep ledger still records the archived change as active.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 3/8 changed files
- Comments generated: 2
- Review effort level: Lite
Two findings against merge commit 3677ad5, both true: 1. Ledger row was still `state: active, moved_by: "#1108"` in the merge commit despite `--seed-ledger --moved-by '#1112'` having been run before committing — the working-tree rewrite was never re-staged after an earlier `git add` had already captured main's pre-seed content, so the commit shipped the stale row. Fixed: row now reads `state: archived, moved_by: "#1112"`; `--ledger-diff` reports consistent (222 rows). 2. README's archived entry claimed "all six packet files pure renames at R100" for amend-code-surface-grammar-comma-and. Five are (0 changed lines each, verified). `tasks.md` is not: R059, +149/-4, because commits after the archive rename (§ 4.2's correction, the round-1 disposition) kept ticking its own recording at the new path. Corrected to name the five separately from tasks.md's real numbers. Lane: openxfactory-5 (openXfactory-5) Refs #1092 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The OpenSpec index has a stale active-writer claim, and the archived task record contradicts its deferred [~] state.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/tasks.md:345
- This says §5.1 “still ticks” via one of the two ratified routes and then immediately says this draft takes neither route while the checkbox is
[~]. The archive record should say that the box remains deferred/open, rather than claiming it ticks without a successor issue or Brett Heap's word.
- Files reviewed: 4/9 changed files
- Comments generated: 1
- Review effort level: Lite
…code-surface-grammar-comma-and Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
…code-surface-grammar-comma-and Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The governed records contain contradictory statements about moved artifacts and the explicit sequenced-after root claim, and the archive still depends on separate authorization.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
the modified-block-currency self-gate's named-subject registry for the
carriage row this archive's ordering-to-carriage handoff opens
README.md:604-606 (thread PRRT_kwDOTAvnrs6kiVIP) — Copilot: an explicit
`sequenced_after: []` remains a POSITIVE root claim by the substrate's
own definition, and the ledger keeps `declares: []`/`depth: 0` for
amend-code-surface-grammar-comma-and unchanged by its archive; what the
co-modifier status actually changes is whether a consumer may ACCEPT
that claim uncrossed, not whether it is still a claim. Reworded: the
root claim STILL STANDS, unchanged; add-estate-repository-inventory's
own co-modifier declaration is the cross-check that contradicts reading
it as free-standing, and no consumer may accept it without performing
that cross-check.
tests/doc-health/test_modified_block_currency_self_gate.py — pytest-suite
red: test_every_carriage_ledger_finding_over_the_real_tree_is_named
failed with one fresh, unnamed subject: ('add-estate-repository-inventory',
'release-realization', 'Code-surface declaration grammar is gated').
Re-measured per the assertion's own instruction
(`python3 scripts/doc-health.py --single-repo . --family
modified-block-currency`): add-estate-repository-inventory's own
`## MODIFIED` block reproduces amend-code-surface-grammar-comma-and's
ratified wording byte-for-byte, including the pre-round-3 `**AMENDED
BY**` paragraph. Before this PR's archive act, the ordering arm measured
that block against amend-code-surface-grammar-comma-and's ACTIVE block
and reported nothing; once the archive landed, that packet stopped
being an active writer, so add-estate-repository-inventory — now the
sole remaining active writer of the requirement key, per the
sequenced_after co-modifier declaration recorded in the ledger — is
measured directly against canon instead, where this same PR's round-3
Copilot fix (35afdc3) had already changed the `**AMENDED BY**`
paragraph's wording. One row added to `_LEDGER_SUBJECTS`, the docstring
chronology (TWELVE to THIRTEEN, 2026-09-21) and the assertion message,
each citing the archive and the sequenced_after ordering by name. This
is the test's designed maintenance step, not a weakening: the named-set
comparison stays `==`, and the new row documents why the subject is
expected rather than silently widening what passes.
`python3 -m pytest tests/doc-health/test_modified_block_currency_self_gate.py -q`
now passes (20 passed).
Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Refs #1092
…code-surface-grammar-comma-and Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
README summaries and the proposal impact inventory contain stale or incomplete documentation.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
Resolved since last review (1)
…d-plus-green realization evidence (#1083 → ebcdbc0, #1107 → c22c4fc, main green at 049d54a) (#1116) Closes #1074 (the packet's § 5.3: the archive pull request closes the governing issue by a closing keyword written here and in no commit message). ARCHIVE of harden-path-escape-helpers-against-symlink-loops on merged-plus-green realization evidence: proposal PR #1083 → ebcdbc0, realization PR #1107 → c22c4fc, main pytest-suite green at 049d54a (run 35372664200). Promotes the two ADDED requirements (ten scenarios) onto release-realization; tasks.md §§ 4.4 and 5 ticked on that evidence. LANDED by MERGE COMMIT on Brett Heap's word of 2026-09-21 ~20:40Z, verbatim "archive it #1112 and #1116". Refs #1083, #1107. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
…code-surface-grammar-comma-and Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
record's modified-block-currency paragraph was stale after this PR's own archive retired the paired writer README.md:779 (thread PRRT_kwDOTAvnrs6lPpgO) — Copilot: the paragraph still said the family reports no new finding, measuring add-estate-repository-inventory's block against #1108's (active) block. That was true before this PR's archive act; after it, amend-code-surface-grammar-comma-and is no longer an active writer, so the ordering arm has nothing to pair and the carriage arm measures the block directly against canon instead — which is exactly the ONE uncarried body unit registered as a named subject in round 4's self-gate fix (the AMENDED BY paragraph, whose wording round 3's fix changed in canon after this block was written). Reworded to say precisely that: the resolution-ordering arm still reads empty (unchanged), but the measurement basis moved to the carriage arm, which now reports ONE expected finding rather than zero, named and retiring on the same terms as any other carriage-ledger row. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Refs #1092
|
|
Lane: openxfactory-5 (openXfactory-5) LANDING — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-23T18:00:19Z, PR #1112 into opensoft/openxFactory main |
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 1 day and 16 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
Lane: openxfactory-5 (openXfactory-5) LANDED — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-23T18:00:49Z, PR #1112 into opensoft/openxFactory main → merge 937fce3; Archive amend-code-surface-grammar-comma-and: promote the ', and ' separator onto release-realization (refs #1092) |
… capability after realization 5e12238 (#1149) Closes #1087. Refs #1101. ARCHIVE of add-estate-repository-inventory: the ratified delta promoted onto openspec/specs/release-realization/spec.md as written (one MODIFIED block, two ADDED requirements; 19 → 21 requirements), the packet moved to openspec/changes/archive/2026-09-23-add-estate-repository-inventory/ with tasks.md § 4.4 and § 5 ticked on merged-plus-green evidence (realization #1119 → 5e12238; main pytest-suite run 35907128216 SUCCESS), the README OpenSpec Records block, one accept entry in openspec/origin-dispositions.yaml for #1130's approved_by append, the modified-block-currency carriage row retired, the per-change sweep ledger row moved. LANDED BY MERGE COMMIT on Brett Heap's words 'archive it when the draft is up' (2026-09-23; RULED 21:04:55Z) and 'land it when the draft is green' (2026-09-23 ~22:20Z), and on his ruling of ~23:05Z 'Land as ratified + disposition (Recommended)' over the disclosed consequence that canon's non-normative AMENDED BY paragraph reads as #1108 ratified it (the #1112 round-3 qualification 35afdc3 is dropped): the fallback disposition rows follow in opensoft/xFactory health/dispositions.yaml. Independently verified before landing (delta byte-for-byte, origin entry, registry, dates, renames) and test-merged against main 94b6f7f with every self-gate green. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>




Lane: openxfactory-5 (openXfactory-5)
ARCHIVE ACT, prepared 2026-09-18. IT LANDS ONLY ON BRETT HEAP'S SEPARATE ARCHIVE WORD, BY MERGE COMMIT (
gh pr merge --merge), NEVER BY SQUASH. This pull request is a DRAFT prepared in advance and HELD, so that the word — when it comes — is a merge and not a night's authoring. THE ARCHIVE WORD HAS BEEN GIVEN: Brett Heap, 2026-09-21 approximately 20:40Z, in the lane's terminal, verbatim "archive it #1112 and #1116", recorded as RULED lines for both pull requests inopensoft/brett-wiplanes/log/openXfactory-5.md; #1116 landed first on that word (merge9f357e95, 2026-09-23), and this pull request lands second, after main was re-merged into it. A squash would re-date the archive directory's adding commit and redarchive-date-vs-commitonmain(openxFactory #1076, #1056, #1106, #1057 are the precedent), so the landing is a merge commit and the wrapper commit0b1e826bstays the adding commit.What this archives, and on what evidence
openspec/changes/amend-code-surface-grammar-comma-and/, filed 2026-09-18 by this lane in answer to openxFactory #1092.RULEDline at 2026-09-18T10:15:10Z in the lane register (opensoft/brett-wip@055bea8b:lanes/log/openXfactory-5.mdline 107). Record:review/ratification-2026-09-18.md60d281a86031ce875e24ef23d0df39a3ef60f4a2onmain, 2026-09-18, verifiedgit merge-base --is-ancestor 60d281a8 origin/main→ yes60d281a8— and it is unambiguous here:git log origin/main -- <packet>/.openspec.yamlreturns exactly ONE commit, the squash landing itself, so there is no second candidate ref to ask aboutcode_surface: none,target_release: implemented→ underrelease-realizationthis packet archives ON LANDING plus its own task list. NO REALIZATION EVIDENCE IS OWED AND NONE IS CLAIMED: there is nothing to realize, the delta being requirement prose whose behaviourscripts/code_surface.pyhas had since the module was writtenHow the archive was performed
Through the governed wrapper, never a bare
openspec archive:--dateWAS NOT PASSED, DELIBERATELY. The wrapper's default IS today in UTC and its--helpREFUSES any other day, so2026-09-18is this directory's date because it is the UTC day the wrapper ran and the UTC day its commit carries — measured, not asserted: the adding commit of…/archive/2026-09-18-amend-code-surface-grammar-comma-and/is0b1e826bat2026-09-18T17:19:00Z, andvalidate-sequenced-after.py'sarchive-date-vs-commitarm passes at this head.--path-modeWAS NOT USED:PATHhere carriesopenspec1.13.1 and the pin names 1.12.0, so the content-addressed artifact is what ran.What moved — four things, and nothing else
1. The directory.
openspec/changes/amend-code-surface-grammar-comma-and/→openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/. ALL SIX PACKET FILES ARE PURE RENAMES ATR100, 0 changed lines each (.openspec.yaml,design.md,proposal.md,tasks.md,specs/release-realization/spec.md,review/ratification-2026-09-18.md) — excepttasks.md, whose ticks are the commit BEFORE the move and whose § 4.2 correction is the commit after.git ls-files -- openspec/changes/amend-code-surface-grammar-comma-andreturns 0 entries: the delete half and the add half are staged in one commit.2. The promoted requirement.
openspec/specs/release-realization/spec.md,--numstat+73 −10, andgit diff -M -w --numstatreads the same, so ZERO lines move by whitespace alone. BYTE-IDENTICAL TO THE ARCHIVED DELTA, both sides extracted programmatically by requirement heading and hashed:5729577a1d65d17e9d3fa3a6e92a287cd335694eac44049079e0a621780f95825729577a1d65d17e9d3fa3a6e92a287cd335694eac44049079e0a621780f9582The title Code-surface declaration grammar is gated occurs exactly once in canon and once in the delta, so the extraction is unambiguous.
WHAT IS NOW CANON. The declared head is
none, or a list separated by a comma, by, and, byand, or by+— FOUR separators where the promoted text named three —, andREAD AHEAD OF THE BARE COMMA, soopenxFactory, openXwallet, and codexFactoryis THREE identifiers and not a conjunction taken as a member in its own right. The exclusivity clause is said of THOSE TWO HEAD FORMS (none, or a list) rather than of the separators; the separators are stated to be alternatives WITHIN one list that a head MAY mix; the flat refusal of a head continued by, and …is narrowed to the case where what follows is not itself a readable identifier; the WHEN bullet of An active proposal declares several repositories names the four; and one scenario is ADDED, A declaration spells its list out with an Oxford comma, beside that scenario rather than at the end of the block. NO BEHAVIOUR MOVES: not one character ofscripts/code_surface.pychanges (git diff origin/main..HEADnames no path underscripts/),validate-code-surface.pyreports identically before and after, and no derived repository set moves.3. The README
## OpenSpec Recordsblock. Theamend-code-surface-grammar-comma-andbullet leaves Active changes and takes its place at the head of Archived changes, in house style.4. The per-change sweep-ledger row, seeded by the sanctioned tool and by no hand —
python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1112'→ "wrote tests/sequenced_after/corpus-ledger.yaml (221 rows, 1 moved by #1112)". ONE row moves and the diff is one line:class: co-modifieris HELD, the requirement's other writer (gate-code-surface-declarations) being archived and already co-modifier, so NO PARTNER FLIPS AND NO MOVEMENT LOG ENTRY IS OWED —tests/sequenced_after/test_sweep.pyis not touched.--ledger-diffbefore the seed: "per-change sweep ledger STALE (4 finding(s))" — this row plus the three derived totals it feeds (active48 != 47,archived173 != 174,active_co_modified28 != 27). After: "per-change sweep ledger consistent with the corpus (221 rows)".The ticks — ON THE RECORDING, and one box does NOT tick
[x]openspec/specs/release-realization/spec.md, ORIGIN RETAINED against60d281a8, the README row and the ledger row[x][~][x]The ticks are the commit BEFORE the move, and that order is the tool's:
archive_change()refuses any change whosetasks.mdstill matches^- \[ \]— "change has incomplete tasks" (scripts/proposal-support.py:4632-4633) — and there is no bypass flag. No ratified box body is edited: every tick APPENDS beneath the ratified text it records, and the one superseded preamble clause — "§ 4 (archive) STAYS ENTIRELY OPEN" — is named and QUOTED IN PLACE rather than deleted, exactly as #899 did with its own.§ 5.2, RE-TAKEN AT
c22c4fc3(theorigin/mainthis branch is cut from and the tree the wrapper ran in), STILL READS THE SAME.grep -rn "separated by a comma" scripts testsreturns exactly ONE line,scripts/code_surface.py:448, which is § 5.1's own;grep -rnE "EXCLUSIVE alternatives|the two being" scripts testsreturns NONE and exits 1, grep's no-lines-selected status, which is the proof of the zero rather than a claim about it. The archivedgate-code-surface-declarationsdelta is NOT edited in either direction.§ 5.1 IS NOT TICKED, AND THAT IS THE DELIBERATE STATE OF THIS DRAFT.
parse_head's docstring (scripts/code_surface.py:447-449, its "separated by a comma, byandor by+" on:448) and the comment over_SEPARATOR_RE(:148-151, "EXACTLY THE THREE THE GRAMMAR ADMITS … plus the, and") still restate three separators; correcting either would give this packet a CODE SURFACE and move its archive behind merged-plus-green realization evidence for a comment. Its ratified text ticks it "by NAMING a filed successor issue, or by Brett Heap's word that a docstring needs no correction", and this draft takes NEITHER: openxFactory was searched on 2026-09-18 for "parse_head docstring" and "code_surface docstring separators" (both empty) and over every open and closed issue withcode_surfacein its title — #1092, #1074, #1087, and the two already-shut ones, #1013 and #1090 — none of them this docstring — so no successor exists to name, and filing one for an act that has not landed would name an archive that did not happen. The box therefore takes the house's reserved DEFERRED marker- [~], the form used at an archive act before (archive/2026-09-10-accept-sequenced-after-header-line/tasks.md§ 4.4;archive/2026-09-10-adopt-codexfactory-repository-identity/tasks.md§§ 5.7, 8.4, 9.1, 9.2) and admitted by both gates in this path — the wrapper refuses only a literal- [ ], and the pinned CLI readTask status: ✓ Complete. Holder: this lane at the un-draft, or Brett Heap by that word. This differs from #899 and #1076, which filed their successors at preparation time; it is named here rather than left as a silent divergence.THE
add-estate-repository-inventory(#1101) INTERACTION — MEASURED ON FOUR TREES, NOT REASONEDThe active ratified packet
add-estate-repository-inventory(#1101, head7b2fdf93, NOT YET LANDED) carries a## MODIFIEDblock over THE SAME requirement and declaressequenced_after: []. NOTHING IN THIS PULL REQUEST TOUCHES THAT PACKET — it is not in this tree at all, andgit diff origin/main..HEADnames no path under it.THIS ARCHIVE CREATES NO FINDING IN ITS OWN TREE, and creates one in the tree that will exist once both land:
modified-block-currencyon #1101's blocktest_modified_block_currency_self_gate.pyorigin/mainc22c4fc3(control)main(31 critical / 11 error / 21 info / 28 warning on both)7b2fdf93)warning— "the ordering of MODIFIED blocks … is undecided: add-estate-repository-inventory, amend-code-surface-grammar-comma-and — neither names the other", one per packet pathtest_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree)severity=error— "active MODIFIED block for 'Code-surface declaration grammar is gated' omits 1 of the 11 scenariosopenspec/specs/release-realization/spec.mdcurrently states for it: 'A declaration spells its list out with an Oxford comma'" — plus 1 ×info, "does not carry 17 of the 66 body units and scenario bullets"READ PRECISELY: #1101 IS ALREADY RED ON THIS FILE TODAY, AND THIS ARCHIVE CHANGES WHICH FINDING IT CARRIES RATHER THAN CREATING ITS FIRST. Before: an ordering finding produced by the PAIR, which neither packet can clear alone. After: a currency finding against #1101's block alone, because canon has moved under it — which is the ordinary and intended consequence of promoting an amendment while a second writer of the same requirement is in flight, and is exactly what #1101's in-flight amendment (declaring
sequenced_after: [amend-code-surface-grammar-comma-and]and folding this packet's text) exists to clear.AND THE ORDER OF THE TWO HALVES OF THAT AMENDMENT IS MEASURED, NOT GUESSED: THE
sequenced_after:DECLARATION ALONE DOES NOT CLEAR IT. Simulated on the merged tree withsequenced_after: [amend-code-surface-grammar-comma-and]written into #1101's proposal and nothing else changed, theerrorand theinfoBOTH REMAIN, unchanged. #1101's block must ALSO fold the promoted text — the four separators, the two added body paragraphs, the narrowed, and …refusal, the four-separator WHEN bullet and the added Oxford-comma scenario. THIS LANE DOES NOT AND WILL NOT REPAIR THAT PACKET; the measurement is offered to its author.The severity is reported rather than inflated.
doc-health.py --single-repo .exits 0 with thaterrorpresent, and no workflow in this repository passesfail-ontodoc-health-reusable.yml(its default is"", report-only), so the finding surfaces in the doc-health report; what gates ispytest-suite, through the self-gate file above.ONE MORE COLLISION, NAMED IN ADVANCE: both pull requests edit the README
## OpenSpec Recordsblock, and a realgit mergeof the two CONFLICTS there (CONFLICT (content): Merge conflict in README.md; the corpus files and the ledger merge cleanly). Under lane-collision-protocol Rule 6 whichever lands second takes its own merge-from-main before its LANDING.Verification — every command, with its exit code
TZ=UTC python3 scripts/proposal-support.py . archive … --yes2026-09-18-amend-code-surface-grammar-comma-andOPENSPEC_TELEMETRY=0 openspec validate --all --strictTotals: 108 passed, 1 failed (109 items); the one failure isadd-chain-attestationpython3 scripts/validate-sequenced-after.py .(PLAIN)passed (47 active changes, 17 declaring the field)+archive-date agreement passed+archive-date-vs-commit agreement passedpython3 scripts/validate-sequenced-after.py . --ledger-diffper-change sweep ledger consistent with the corpus (221 rows)python3 -m pytest tests/sequenced_after tests/code_surface -qmain's 440)python3 scripts/validate-code-surface.py .code_surface validation passed (every active declaration's head is admitted)python3 scripts/proposal-support.py . verify(whole corpus)proposal support verification okpython3 scripts/proposal-support.py . verify amend-code-surface-grammar-comma-andproposal support verification ok— it DOES accept an archived change by namepython3 scripts/doc-health.py --single-repo .python3 -m pytest tests/doc-health/test_modified_block_currency_self_gate.py -qTHE
--all --strictFAILURE ISmain's OWN, COMPARED RATHER THAN ASSERTED.origin/mainc22c4fc3readsTotals: 109 passed, 1 failed (110 items)with the same single failing item,add-chain-attestation. The item count drops by exactly one, and that one is this archive (an active change became archived). This change appears in neither set;add-chain-attestationis pre-existing, is not touched here, and is not this pull request's to fix.THE
doc-healthCONTROL IS A ZERO-LINE DIFF. The same entrypoint atorigin/mainand at this head produces finding sets that diff to NOTHING — 0 lines only-on-main, 0 lines only-on-branch, 91 finding lines on each side — and the whole report moves by exactly the promotion's arithmetic: canon words391367 → 392495(+1,128), governance words960379 → 961507, canon share holding at 40.8%.validate-code-surface.pymoves by exactly one packet in each column, which is the archive and nothing else: active48 → 47,noneheads7 → 6, archive read173 → 174and declaring127 → 128.The four commits
e37ab6bd0b1e826bada04f0cf0d46a45The first two are ordered by the tool (ticks before the move); the third follows the pull request because the row and the README entry record its number; the fourth is a self-correction disclosed rather than buried. § 4.2's tick originally claimed the closing line sits in this body "and in no other place: no commit message on this branch carries a closing keyword" — false by one, and the one was its own:
e37ab6bd's message quotes the phrase while describing the instrument. A reworded first commit with a byte-identical tree was prepared and the repository REFUSED it, verbatim "Cannot force-push to this branch", so the correction was made on top. Both occurrences name the SAME act — the merge of this pull request — so neither can shut #1092 before it, and no issue number but 1092 carries a keyword anywhere on this branch.Base
Branched from
origin/mainc22c4fc3, the CURRENT tip at the time of cutting, in a fresh clone — never in the shared checkout and never in a sibling lane's clone. The archive-date checker is history-sensitive, so this branch is deliberately not stacked on an older tip.Rule 6
This pull request touches
openspec/changes/(an archive rename), so the lane-collision-protocol Rule 6 landing window applies. This lane AUTHORS ONLY: the landing lane postsLANDINGandLANDEDon this pull request and inLANES.md, and this branch is never merged, approved, closed or force-pushed by its author.What this pull request does NOT do
LANDING/LANDED.code_surface: nonewas measured, not asserted;scripts/andtests/are untouched but for the one seeded ledger row.add-estate-repository-inventory, Propose add-estate-repository-inventory: the code_surface: gate judges declared repository sets against an inventory of the estate #1101, or any other packet, and it files no successor issue.LANES.md, any handoff file,tests/sequenced_after/archive-date-dispositions.yamlortests/sequenced_after/test_sweep.py.Closes #1092
Refs #1092
Refs #1108
🤖 Generated with Claude Code
Summary by Sourcery
Archive the code-surface grammar amendment and promote its clarified four-separator requirement into the release-realization specification without changing runtime behavior.
Enhancements:
Documentation:
Tests: