Skip to content

Propose amend-code-surface-grammar-comma-and: the declared-set grammar text admits ', and ', matching code_surface._SEPARATOR_RE (refs #1092) - #1108

Merged
brettheap merged 5 commits into
mainfrom
change/amend-code-surface-grammar-comma-and
Sep 18, 2026
Merged

brettheap merged 5 commits into
mainfrom
change/amend-code-surface-grammar-comma-and

Conversation

@brettheap

@brettheap brettheap commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

Ratified

RULED 2026-09-18 by Brett Heap (openxFactory operator authority), the word
verbatim "Amend the text to admit ', and '" — given in session at
~09:55Z as a TERMINAL MULTIPLE-CHOICE answer directly to this lane, over the
two shapes openxFactory #1092
put in its own Shape of the act, and recorded by this lane as a RULED line
in lanes/log/openXfactory-5.md at 2026-09-18T10:15:10Z (brett-wip
055bea8b).

WHAT THE WORD RESOLVED. #1092 offered exactly two: (a) amend the
requirement text and its scenario to name , and as a fourth admitted
separator, matching what the validator already accepts, or (b) narrow
_SEPARATOR_RE to drop , and so the validator matches the ratified three, at
the cost of refusing declarations the corpus already writes that way. The word
takes (a). THE READER STAYS AS REALIZED: no commit of this packet edits
scripts/code_surface.py.

THE WORD REACHED THE PACKET'S CONTENT BEFORE THE PACKET EXISTED, so this
lands AS RATIFIED rather than as a draft awaiting a second word. There is no
drafting phase to record and no approved_by to add later: .openspec.yaml
carries proposed_by/proposed_on and approved_by/approved_on written in
ONE act beside a kind and id fixed from the first commit, and every document
carries Status: ratified with exactly one citation line
(Ratified: in proposal.md and in the record, Ratified by: in design.md
and tasks.md), which is what ratified-provenance counts.

record path Status
ratification openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md ratified

The finding

openspec/specs/release-realization/spec.md:1017-1018, inside Code-surface
declaration grammar is gated
, admits a declared head that is "a list of one or
more REPOSITORY IDENTIFIERS separated by a comma, by ` and `, or by
` + `", and the scenario at :1103 repeats the same three.

scripts/code_surface.py:152-157 carries four, and , and is tried
FIRST, ahead of the bare comma, so that an Oxford-comma list is consumed as
ONE separator instead of having its conjunction read as a member in its own
right and the declaration refused at the member after it. Measured by running
the reader, not by reading it:

head verdict derived set
openxFactory, openXwallet, and codexFactory ADMITTED three identifiers
openxFactory, openXwallet and codexFactory ADMITTED three identifiers
openxFactory and openXwallet + codexFactory ADMITTED three identifiers
openxFactory, and the change also touches nothing else REFUSED runs into prose
none, and openxFactory REFUSED mixes the empty-surface sentinel

AND THE COUNTERFACTUAL, because an order is only visible against its absence.
On a scratch copy of the module outside the repository — scripts/code_surface.py
is never edited by this packet and was never edited to take this measurement —
with , and REMOVED from _SEPARATOR_RE and the other three left in their
existing order:

head verdict with , and removed
openxFactory, openXwallet, and codexFactory REFUSED — "its head runs into prose at codexFactory"
openxFactory, and openXwallet REFUSED — "its head runs into prose at openXwallet"
openxFactory, and this. REFUSED — "its head runs into prose at this."
openxFactory, and (the wallet) ADMITTED — derived set openxFactory, and

and satisfies _NAME on its own, so the bare comma does not end the list a
member early — it makes the CONJUNCTION a member, and a further identifier then
has no separator and no gloss opener before it. There is no shorter reading,
only a worse one.

AND THE BENCH ALREADY AGREES WITH THE MODULE RATHER THAN WITH CANON:
test_every_ratified_list_separator_is_admitted
(tests/code_surface/test_code_surface_gate.py:157-160) parametrizes five
spellings, ", and " among them, under a name that calls them ratified.

What changes

ONE ## MODIFIED REQUIREMENT — THREE UNITS REPLACED IN PLACE UNDER ONE
Removed from canon MARKER, TWO BODY PARAGRAPHS AND ONE SCENARIO ADDED.

  1. The opening SHALL sentence names four separators, and its exclusivity
    clause is said of THOSE TWO HEAD FORMS rather than of "the two"
    (design.md D2) — the antecedent the originating packet's own design
    record names at
    openspec/changes/archive/2026-09-16-gate-code-surface-declarations/design.md:631-637,
    and the only exclusivity parse_head enforces.
  2. One added paragraph states the ORDER (, and is one separator, read
    ahead of the bare comma) and that the four are alternatives WITHIN one list
    a head MAY mix
    (design.md D3, measured).
  3. The flat refusal of a head "continued by , and …" is narrowed to what the
    reader does
    , with one added paragraph stating the residue: admitted where
    the words after , and are themselves an identifier followed by a gloss
    opener or the end, refused where they are an ordinary sentence.
  4. The WHEN bullet of An active proposal declares several repositories names
    the four.
  5. 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
    (design.md D5): three identifiers, the conjunction MUST NOT be taken as
    a member in its own right, and a head mixing separators admitted on the same
    terms.
  6. Everything else is canon's own bytes BY CONSTRUCTION: the block was
    sliced out of openspec/specs/release-realization/spec.md lines 1014–1132 at
    3e32d987 and each replacement applied as an exact single-occurrence
    substitution.

TWO DECLARED VETO POINTS, both measured against the module, both separable,
and both cheap to strike: D2 (four words) and D3 (one sentence of one
added paragraph and one AND bullet of the added scenario).

What does NOT change

  • No code. scripts/code_surface.py is untouched — code_surface: none,
    measured in the front matter. _SEPARATOR_RE keeps all four alternatives in
    their order, CLOSED_REGISTER does not move, no register entry is added or
    retired, and no declaration in the corpus changes its verdict.
  • No canon edit in this pull request. Nothing under openspec/specs/ is
    edited here. Promotion of the block happens at the ARCHIVE, a separate act
    on a separate word; tasks.md § 4 stays open and openxFactory release-realization: the declared-set grammar text omits the ", and " separator that code_surface._SEPARATOR_RE admits #1092 closes
    there and not at this landing — which is why this body carries Refs and no
    closing keyword.
  • No archived delta is edited, including gate-code-surface-declarations's
    own.
  • Residue named, not taken: parse_head's own docstring restates the three
    separators at scripts/code_surface.py:447-448. Correcting it would give this
    packet a code surface and move its archive behind merged-plus-green
    realization evidence for a comment. tasks.md § 5.1 carries it, open, ticking
    at the archive by naming a filed successor.

The two files under tests/, and why they are not a code surface

They are the bookkeeping the ledger itself demands, and they are named here
rather than left for a reviewer to find.

  • tests/sequenced_after/corpus-ledger.yaml — TWO rows, written by the
    sanctioned seeder
    (--seed-ledger --moved-by '#1108') and by no hand: this
    change's own (active, co-modifier, declares: []) and
    gate-code-surface-declarations flipping class: sole -> co-modifier —
    the PARTNER FLIP this delta causes by writing 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 — ONE dated MOVEMENT LOG entry,
    which that file's own rule OWES for "a PARTNER'S row moving because of
    someone else's delta, where the reason is not legible from the two rows
    alone"
    . The precedent is exact: #921's identical flip was caught by a
    Copilot review and taken at 99cff89b, in a packet that declared
    code_surface: none for it
    . The entry names the shared requirement key, the
    two-party measurement 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 holding. It is a docstring addition: it asserts nothing and changes
    no test's outcome.

Verification

Run from the branch clone at this head; full results in the task list § 3.

gate result
openspec validate amend-code-surface-grammar-comma-and --strict PASSES
openspec validate --all --strict 110 passed, 1 failed — the one failure is add-chain-attestation, and a control run on origin/main 3e32d987 in a worktree reads 109 passed, 1 failed, the same one. The failure set is identical; this change adds one passing item
scripts/proposal-support.py . verify amend-code-surface-grammar-comma-and PASSES (proposal support verification ok)
scripts/validate-code-surface.py . PASSES — 49 active proposals, 49 declaring, 8 none (this packet's is the new one), 0 outside the grammar; identical to the control but for this packet's own row
scripts/validate-sequenced-after.py . + --ledger-diff clean after the seed
scripts/doc-health.py --single-repo . exit 0, and NO finding names this change — the modified-block-currency family reports nothing on this block

pytest

suite branch control at origin/main 3e32d987
tests/sequenced_after 3 failed, 283 passed the same three, the same 283
tests/code_surface + tests/doc-health 8 failed, 1987 passed, 1 skipped seven of the eight reproduce at main; the eighth is proved below

THE INHERITED RED IS NAMED RATHER THAN DISPOSITIONED. All three
tests/sequenced_after failures are the ONE finding
archive-date-vs-commit: 2026-09-16-add-composed-view-authoring, left by
another lane's squash landing —
test_archive_commit_dates.py::test_THE_LIVE_RECORD_DISPOSITIONS_ONLY_REAL_DISAGREEMENTS_and_NAMES_FACTS,
::test_THE_LIVE_PLAIN_RUN_IS_GREEN_WITH_ZERO_UNDISPOSITIONED and
test_validate.py::test_corpus_sequenced_after_all_validate. This pull request
inherits exactly those three and causes none of them. No row is added to
tests/sequenced_after/archive-date-dispositions.yaml and that file is not
touched by this branch.

THE CODE-SURFACE BENCH IS GREEN IN FULL, and the tests/doc-health
failures are main's: a control run of the five failing files at 3e32d987
reproduces seven byte for byte (test_ideation_readiness.py ×3,
test_readiness_dispatch.py, test_sentinel_vocabulary.py ×2,
test_status_reader_real_lines.py). THE EIGHTH IS THE AUTHORING CLONE'S OWN
DIRECTORY NAME, PROVED AND NOT GUESSED
:
test_tag_hygiene_pinned_targets.py::test_a_lexically_malformed_value_builds_no_path_and_reads_nothing
asserts that no resolved path contains the substring one, and the clone is
named clone-1092 — clone-1092. THIS COMMIT passes that file 31/31
in a worktree whose path lacks the substring, and main fails it inside the
same clone. It is a latent defect of that test file, it is not implicated by
this delta, and it is not fixed here.

Review rounds

Round 1 (Copilot, 2026-09-18) — ONE thread, VERIFIED TRUE, TEXT REWORDED
(55a0794c). The thread on
openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md:54
held that the added paragraph's "two readings" framing does not match
parse_head: the comma-first path yields no valid TWO-identifier reading. It
does not — the counterfactual table above is the measurement, taken after the
comment rather than recalled. The added paragraph and the added scenario's
second AND bullet now describe the misread (and taken as a member in its own
right) and the refusal it runs into, and every restatement of the retired
framing moved with them: the block's preamble, .openspec.yaml's reason,
proposal.md's Why / What Changes / Impact, tasks.md 2.5, this body, and the
README row. design.md § 0 carries the counterfactual table and a fifth measured
fact; tasks.md § 3.9 records the round.

proposal.md:67-69 still quotes the module's own comment VERBATIM — "rather
than as a bare comma followed by a head that opens with the word and"
—
because a quote is a quote; the paragraph after it names that gloss as loose and
records that the comment is not edited. It is a code surface, and residue
beside design.md D4. NO TRACKED FILE UNDER scripts/ IS TOUCHED AND THE
READER STAYS AS REALIZED.

Re-run at 55a0794c: openspec validate amend-code-surface-grammar-comma-and --strict valid; --all --strict 110 passed, 1 failed
(add-chain-attestation, the same one main fails); proposal-support.py . verify amend-code-surface-grammar-comma-and ok;
validate-code-surface.py . passed (49 active, 0 outside the grammar);
validate-sequenced-after.py . --ledger-diff consistent, 220 rows;
pytest tests/code_surface tests/doc-health/test_modified_block_currency_self_gate.py
172 passed.

MERGED FROM main (062b2ad9). The pull request was CONFLICTING with
main, which is why no pull_request-triggered check ran on 55a0794c — only
merge-master-approval (pull_request_target) and the Copilot reviewer fired,
the signature of a conflicting head rather than a CI outage. ONE conflict, in
the README Active changes block, this packet's bullet against
harden-path-escape-helpers-against-symlink-loops (landed at ebcdbc0c,
PR #1083). RESOLVED BY KEEPING BOTH, in the block's own newest-first order —
amend-code-surface-grammar-comma-and (2026-09-18) above
harden-path-escape-helpers-against-symlink-loops (2026-09-17) above
add-citation-remainder-report (2026-09-16) — with no byte of either bullet
edited. corpus-ledger.yaml auto-merged and was re-checked rather than assumed:
consistent, 221 rows.

THE INHERITED RED IS GONE, NOT DISPOSITIONED. main carries dc242f3a
(#1109), which retired the stale add-composed-view-authoring archive-date
disposition this branch had been naming since it opened. On the merged tree
pytest tests/sequenced_after is 286 passed, 0 failed — it was 3 failed,
283 passed
before the merge. No row was ever added to
tests/sequenced_after/archive-date-dispositions.yaml and that file is not
touched by this branch.

Round 2 (Copilot, 2026-09-18) — SIX threads, ALL VERIFIED TRUE, ALL FIXED IN
ONE COMMIT
(e243f306). Every one was the same class: the packet cited the
ruling as lanes/log/openXfactory-5.md, a path this repository does not
contain, so no reader here could follow it. The lane register is a DIFFERENT
REPOSITORY
— opensoft/brett-wip — and the citation is now
repository-qualified at all six sites (README.md:540, .openspec.yaml:76,
design.md:19, proposal.md:27, review/ratification-2026-09-18.md:11,
tasks.md:31):

opensoft/brett-wip@055bea8b:lanes/log/openXfactory-5.md, line 107 —
https://github.com/opensoft/brett-wip/blob/055bea8b215ad8b46d83cbf1e366c93c23b08897/lanes/log/openXfactory-5.md#L107

Verified against the register itself, not asserted: that commit is
055bea8b215ad8b46d83cbf1e366c93c23b08897, dated 2026-09-18T10:15:10Z,
message "LOG(openXfactory-5@Eagle): RULED lane:openXfactory-5", and line 107
of the file at that ref is the RULED line naming openxFactory #1092 and the
verbatim word. The verbatim ruling, the ~09:55Z instant and the 10:15:10Z
timestamp are untouched in all six; in .openspec.yaml only approved_by
prose moves
— kind, id, reason, proposed_by, proposed_on and
approved_on are byte-identical to the previous head, checked by parsing both
revisions and comparing values. grep -rn ' + "" + lanes/log/'` over the tree,
archive excluded, now returns nothing.

Refs #1092
Refs #1013
Refs #1076

🤖 Generated with Claude Code

Summary by Sourcery

Amend the release-realization code-surface grammar specification to match the validator's existing support for Oxford-comma repository lists without changing code or runtime behavior.

Bug Fixes:

  • Align the release-realization requirement text with the validator by admitting the Oxford-comma separator , and .

Enhancements:

  • Clarify separator ordering, mixed-separator lists, and the conditions under which comma-and continuations are accepted or refused.
  • Record the ratified OpenSpec amendment, design decisions, provenance, and archive follow-up without changing runtime behavior.
  • Update the sequencing ledger and movement log for the amendment's co-modifier relationship with the archived code-surface declaration change.

Documentation:

  • Add the ratified amendment and its measured rationale to the README and OpenSpec change records.

Tests:

  • Document verification results and preserve the existing code-surface behavior without modifying the reader or its tests.

…1092)

Promoted canon names THREE list separators for a `code_surface:` declared head
and `scripts/code_surface.py:152-157` admits FOUR: `, and `, tried FIRST so an
Oxford-comma list is consumed as one separator rather than as a bare comma
followed by a member opening with the word "and". The bench already agrees with
the module and not with canon — `test_every_ratified_list_separator_is_admitted`
parametrizes five spellings, `", and "` among them.

Brett Heap RULED the shape on 2026-09-18 (~09:55Z), verbatim "Amend the text to
admit ', and '", a terminal multiple-choice answer over the two shapes issue
#1092 put; recorded as a RULED line in lanes/log/openXfactory-5.md at
2026-09-18T10:15:10Z. The word reached the packet's content before the packet
existed, so this lands AS RATIFIED, with no drafting phase and no later
approval to add.

ONE `## MODIFIED` requirement over *Code-surface declaration grammar is gated*:
three units replaced in place under one `Removed from canon` marker (the opening
SHALL sentence, the flat refusal of a head continued by `, and …`, and the WHEN
bullet of *An active proposal declares several repositories*), two body
paragraphs added, and one scenario added (*A declaration spells its list out
with an Oxford comma*). Every other unit is canon's own bytes BY CONSTRUCTION:
the block was sliced out of openspec/specs/release-realization/spec.md
1014-1132 at 3e32d98 and each replacement applied as an exact
single-occurrence substitution.

THE READER STAYS AS REALIZED. Option (b) of #1092 — narrowing `_SEPARATOR_RE`
to the ratified three — was declined by the ruling, and no commit of this
packet edits scripts/code_surface.py. code_surface: none,
target_release: implemented, sequenced_after: [] (no active change writes this
requirement key).

Two declared veto points, both measured against the module and both separable:
design.md D2 (the exclusivity clause's antecedent stated as THOSE TWO HEAD
FORMS, the antecedent the originating packet's own design record names) and D3
(the separators stated to be alternatives WITHIN one list, which a head may
mix). Residue named and not taken: parse_head's own docstring restates the
three separators at :447-448 (tasks.md § 5.1).

Nothing is promoted by this landing; tasks.md § 4 stays open and #1092 closes
at the archive, on a separate word.

Lane: openxfactory-5 (openXfactory-5)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 18, 2026 12:45

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

You can request another review in 4 days and 17 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR introduces a ratified, documentation-only OpenSpec amendment to reconcile the declared-set grammar with the validator's existing support for Oxford-comma lists, while explicitly leaving code, tests, canonical specs, and runtime behavior unchanged until a separate archive/promotion act.

Sequence diagram for the ratified documentation amendment

sequenceDiagram
    participant Lane as openXfactory_lane
    participant Issue as Issue_1092
    participant Authority as Brett_Heap
    participant Packet as OpenSpec_packet
    participant Archive as Archive_act

    Lane->>Issue: propose amendment or code narrowing
    Issue->>Authority: request terminal ruling
    Authority-->>Lane: Amend the text to admit , and 
    Lane->>Packet: record ratified prose amendment
    Note over Packet: scripts/code_surface.py remains unchanged
    Packet-->>Archive: await separate promotion and archive word
Loading

State diagram for the OpenSpec amendment lifecycle

stateDiagram-v2
    [*] --> Ratified
    Ratified --> Landed: pull request landing
    Landed --> AwaitingArchive: tasks.md archive remains open
    AwaitingArchive --> Archived: separate archive act
    Archived --> CanonPromoted: promote modified requirement
Loading

Flow diagram for the Oxford-comma grammar amendment

flowchart LR
    Canon["Promoted canon names three separators"] --> Finding["Finding: validator already admits four"]
    Finding --> Ruling["Ratification: amend text to admit , and "]
    Ruling --> Packet["Ratified documentation amendment"]
    Packet --> Archive["Separate archive act promotes the wording"]
    Validator["Existing validator behavior"] --> Packet
    Validator --> Runtime["Runtime behavior unchanged"]
Loading

File-Level Changes

Change Details Files
Adds a ratified OpenSpec amendment that brings the declared-set grammar text into alignment with the existing validator's four separator forms, without changing runtime behavior.
  • Adds the , and separator to the requirement prose and repository-list scenario.
  • Documents separator precedence, mixed-separator lists, and the conditional handling of , and … residue.
  • Adds an Oxford-comma scenario and records the ratification, provenance, design decisions, and follow-up tasks.
  • Preserves the existing code, tests, archived deltas, and canonical spec; defers promotion and issue closure to a later archive act.
  • Adds the active-change entry to the README and validates the packet with OpenSpec, code-surface, sequencing, and doc-health checks.
README.md
openspec/changes/amend-code-surface-grammar-comma-and/.openspec.yaml
openspec/changes/amend-code-surface-grammar-comma-and/design.md
openspec/changes/amend-code-surface-grammar-comma-and/proposal.md
openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md
openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md
openspec/changes/amend-code-surface-grammar-comma-and/tasks.md

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new spec delta text describes an alternative “two identifiers” reading that the current parse_head implementation does not actually produce, so the documentation should be corrected to match the real failure mode.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR adds a new ratified OpenSpec change packet (amend-code-surface-grammar-comma-and) to reconcile the release-realization requirement text with the already-implemented code_surface head grammar that admits the Oxford-comma separator , and , and records the ruling/ratification provenance in the repository’s OpenSpec index.

Changes:

  • Add a new ratified change packet documenting the amended grammar and its measured behavior (no code changes).
  • Add the change to the README “OpenSpec Records” active-change index with provenance and rationale.
  • Provide the per-change artifacts (proposal.md, design.md, tasks.md, ratification record, and the spec delta block) required for later archive/promotion.
File summaries
File Description
README.md Adds a new “Active changes” entry describing the ratified amendment and linking to the packet artifacts.
openspec/changes/amend-code-surface-grammar-comma-and/.openspec.yaml Defines the change origin, proposed/approved provenance, and related references.
openspec/changes/amend-code-surface-grammar-comma-and/design.md Documents the measured reader behavior and the design decisions/veto points.
openspec/changes/amend-code-surface-grammar-comma-and/proposal.md Introduces the ratified proposal and rationale, including measurement context and impact.
openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md Records the ratification decision, choices, and what is/isn’t ratified.
openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md Adds the ## MODIFIED requirement block updating separator grammar text and scenarios.
openspec/changes/amend-code-surface-grammar-comma-and/tasks.md Adds the ratified task list with verification notes and the intentionally-owed archive tasks.
Review details

Suppressed comments (1)

openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md:187

  • This bullet says the head "MUST NOT be read as two identifiers followed by a member opening with the word and". In the actual parser, the failure mode avoided by trying , and first is that and would be consumed as a repository identifier and the parse would then be refused when it runs into the remaining codexFactory text. Consider updating this bullet to match the real refusal mode.
- **WHEN** an active change's head separates the last two of three repository identifiers by `, and ` — `openxFactory, openXwallet, and codexFactory`
- **THEN** the validator passes and the declared repository set is the THREE identifiers, the comma and the conjunction having been consumed as ONE separator
- **AND** the head MUST NOT be read as two identifiers followed by a member opening with the word `and`, the longer separator being tried before the bare comma at each position
- **AND** a head that separates its members by more than one of the admitted separators is admitted on the same terms, the separators being alternatives within one list rather than exclusive of each other
  • Files reviewed: 7/7 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.

…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]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Multiple new documents cite lanes/log/openXfactory-5.md, but lanes/ is not present in the repository, leaving broken/unverifiable in-tree references.

Review details

Suppressed comments (3)

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

README.md:542

  • lanes/log/openXfactory-5.md is referenced as the authoritative ruling record, but there is no lanes/ directory in this repository, so this citation is not verifiable from the tree. Prefer citing the packet’s own ratification record (already linked) and/or remove the non-existent path reference.
    openspec/changes/amend-code-surface-grammar-comma-and/proposal.md:28
  • lanes/log/openXfactory-5.md is cited as the place where the ruling was recorded, but there is no lanes/ directory in this repository, so this is a broken in-tree reference. Consider referencing review/ratification-2026-09-18.md (which is in the packet) instead, or removing the missing-path citation.
    openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md:13
  • This ratification record cites lanes/log/openXfactory-5.md, but lanes/ does not exist in the repository, so the reference is broken. Since this file is the durable record in-tree, consider treating it as the recording source (and drop the missing-path citation) while keeping the timestamp and issue reference.
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…g (Copilot round 1)

Copilot's thread on
`openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md:54`
held that the added paragraph's "two readings" framing does not match
`parse_head`: the comma-first path yields no valid TWO-identifier
reading. VERIFIED, and true.

MEASURED on a scratch copy of the module OUTSIDE the repository, with
`, and ` removed from `_SEPARATOR_RE` and the other three alternatives
left in their existing order:

  openxFactory, openXwallet, and codexFactory
    -> REFUSED: "its head runs into prose at `codexFactory` with no
       gloss opener between them"
  openxFactory, and openXwallet   -> REFUSED at `openXwallet`
  openxFactory, and this.         -> REFUSED at `this.`
  openxFactory, and (the wallet)  -> ADMITTED, derived set
                                     ('openxFactory', 'and')

`and` satisfies `_NAME` (`[A-Za-z][A-Za-z0-9._-]*[A-Za-z0-9]`), so the
bare comma does not end the list a member early: it makes the
CONJUNCTION a member in its own right, and what follows decides the
rest — a further identifier leaves the parse with no separator and no
gloss opener and it REFUSES, while a gloss opener or the end of the
declaration lets the misreading stand silently with `and` in the
derived set. The two-identifier reading the old text offered is one
`parse_head` cannot produce.

Reworded to the measured behaviour — the misread and the refusal that
trying `, and ` first avoids, no more and no less:

- the added body paragraph and the added scenario's second `AND`
  bullet (the two units the thread names);
- the block's preamble, `.openspec.yaml`'s `reason`, `proposal.md`'s
  Why / What Changes / Impact restatements, `tasks.md` 2.5, and the
  README *Active changes* row, so nothing restates the retired framing;
- `design.md` § 0 gains the counterfactual table as evidence and a
  fifth measured fact; the four existing facts renumber and their row
  references say which table.

`proposal.md:67-69` still quotes the module's own comment VERBATIM
("rather than as a bare comma followed by a head that opens with the
word `and`") because a quote is a quote; the paragraph after it now
names that gloss as loose and records that the comment is NOT edited —
it is a code surface, and residue beside `design.md` D4.

NO TRACKED FILE UNDER `scripts/` IS TOUCHED. THE READER STAYS AS
REALIZED. Nothing under `openspec/specs/` moves and no row is added to
`tests/sequenced_after/archive-date-dispositions.yaml`.

Re-verified at this head: `openspec validate
amend-code-surface-grammar-comma-and --strict` valid; `--all --strict`
110 passed / 1 failed (`add-chain-attestation`, `main`'s own);
`proposal-support.py . verify` ok; `validate-code-surface.py .` passed;
`validate-sequenced-after.py . --ledger-diff` consistent (220 rows).

Refs #1092

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 18, 2026 14:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Multiple newly added records cite lanes/log/openXfactory-5.md as an in-repo reference, but no lanes/ directory exists here, leaving dead/unverifiable citations in the README and packet documents.

Review details

Suppressed comments (6)

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

README.md:541

  • lanes/log/openXfactory-5.md is referenced as the location of the RULED line, but there is no lanes/ directory in this repository, so this path is currently a dead reference in the main index.
    openspec/changes/amend-code-surface-grammar-comma-and/.openspec.yaml:77
  • .openspec.yaml references lanes/log/openXfactory-5.md, but the repository does not contain a lanes/ directory, so this path is not resolvable from the repo.
    openspec/changes/amend-code-surface-grammar-comma-and/design.md:20
  • This design record references lanes/log/openXfactory-5.md, but there is no lanes/ directory in this repository, so the cited path is currently not resolvable.
    openspec/changes/amend-code-surface-grammar-comma-and/proposal.md:28
  • lanes/log/openXfactory-5.md is cited as a tracked file path, but this repository does not contain a lanes/ directory, so the reference cannot be followed by readers.
    openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md:13
  • The ratification record cites lanes/log/openXfactory-5.md, but there is no lanes/ directory in this repository, so this is not a verifiable in-repo reference.
    openspec/changes/amend-code-surface-grammar-comma-and/tasks.md:33
  • lanes/log/openXfactory-5.md is cited as if it were in-repo evidence for the RULED line, but this repository has no lanes/ directory, so the path is a dead reference.
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

The pull request was CONFLICTING with main, which is why no
`pull_request`-triggered check ran on 55a0794: only
`merge-master-approval` (`pull_request_target`) and the Copilot reviewer
fired, the signature of a conflicting head rather than a CI outage.

ONE conflict, in the README `## OpenSpec Records` *Active changes* block
— this packet's bullet against `harden-path-escape-helpers-against-\
symlink-loops`, landed on main at `ebcdbc0c` (PR #1083) while this
branch was open. RESOLVED BY KEEPING BOTH, in the block's own
newest-first order: `amend-code-surface-grammar-comma-and` (filed
2026-09-18) above `harden-path-escape-helpers-against-symlink-loops`
(filed 2026-09-17), above `add-citation-remainder-report` (2026-09-16).
No byte of either bullet is edited.

`tests/sequenced_after/corpus-ledger.yaml` auto-merged: main's new rows
beside this branch's two seeded ones. Re-checked rather than assumed —
`python3 scripts/validate-sequenced-after.py . --ledger-diff` reports
`per-change sweep ledger consistent with the corpus (221 rows)` on the
merged tree, with 43 changes declaring and 19 explicit `[]` root claims.

Main also carries `dc242f3a`, which retires the stale
`add-composed-view-authoring` archive-date disposition — the inherited
`tests/sequenced_after` red this branch has been naming rather than
dispositioning since it opened.

Refs #1092

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 18, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Multiple new/updated documents cite lanes/log/openXfactory-5.md, but the repository contains no lanes/ directory, making the ruling citation path unresolvable from the repo.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 6
  • Review effort level: Lite

Comment thread README.md Resolved
…o-local path (Copilot round 2)

Copilot opened SIX threads on head 062b2ad, all one class and all TRUE:
this packet cited the RULED line as `lanes/log/openXfactory-5.md`, a path
that does not exist in opensoft/openxFactory, so no reader of this
repository could follow the citation.

THE REGISTER IS A DIFFERENT REPOSITORY. The lane register lives in
opensoft/brett-wip. Verified rather than asserted:

  gh api repos/opensoft/brett-wip/commits/055bea8b --jq .sha
    -> 055bea8b215ad8b46d83cbf1e366c93c23b08897
       2026-09-18T10:15:10Z
       "LOG(openXfactory-5@Eagle): RULED lane:openXfactory-5"

  gh api "repos/opensoft/brett-wip/contents/lanes/log/openXfactory-5.md\
?ref=055bea8b215ad8b46d83cbf1e366c93c23b08897" --jq .content
    | base64 -d | grep -n 1092
    -> 107: RULED — lane openXfactory-5, session 651195c7-…@eagle,
       2026-09-18T10:15:10Z, lane:openXfactory-5 ->
       #1092 — Amend the text to admit ', and '
       (Brett Heap, 2026-09-18 ~09:55Z, multichoice round): a normative
       amendment on the archived packet's canon lands on this word as
       ratified; the reader stays as realized

All six sites now name the repository, the commit and the line, and carry
the permalink that resolves:

  opensoft/brett-wip@055bea8b:lanes/log/openXfactory-5.md, line 107
  https://github.com/opensoft/brett-wip/blob/055bea8b215ad8b46d83cbf1e366c93c23b08897/lanes/log/openXfactory-5.md#L107

  README.md:540
  openspec/changes/amend-code-surface-grammar-comma-and/.openspec.yaml:76
  openspec/changes/amend-code-surface-grammar-comma-and/design.md:19
  openspec/changes/amend-code-surface-grammar-comma-and/proposal.md:27
  openspec/changes/amend-code-surface-grammar-comma-and/review/ratification-2026-09-18.md:11
  openspec/changes/amend-code-surface-grammar-comma-and/tasks.md:31

`grep -rn '`lanes/log/'` over the tree (archive excluded, which is frozen
record) now returns NOTHING.

`.openspec.yaml`: ONLY the `approved_by` prose moves. `kind`, `id`,
`reason`, `proposed_by`, `proposed_on` and `approved_on` are byte-identical
to the previous head, checked by loading both revisions and comparing the
parsed values, and the top-level key order is unchanged. The verbatim
ruling, the ~09:55Z instant and the 10:15:10Z RULED timestamp are untouched
in every one of the six.

No file under `scripts/` and none under `openspec/specs/` is touched. Nothing
is added to `tests/sequenced_after/archive-date-dispositions.yaml`.

Re-verified at this tree: `openspec validate
amend-code-surface-grammar-comma-and --strict` valid; `--all --strict`
110 passed / 1 failed (`add-chain-attestation`, `main`'s own);
`proposal-support.py . verify` ok; `validate-sequenced-after.py .
--ledger-diff` consistent (221 rows); `doc-health.py --single-repo .`
exit 0.

Refs #1092

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 18, 2026 14:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are documentation/spec alignment plus expected ledger bookkeeping, with no runtime code modifications and no issues identified in the modified hunks.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-18T15:26:01Z, PR #1108 into opensoft/openxFactory main

@brettheap
brettheap merged commit 60d281a into main Sep 18, 2026
16 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDED — lane openXfactory-5, session 651195c7-1854-491e-894a-e6542ef5e9f4@Eagle, 2026-09-18T15:26:19Z, PR #1108 into opensoft/openxFactory main → merge 60d281a; Propose amend-code-surface-grammar-comma-and: the declared-set grammar text admits ', and ', matching code_surface._SEPARATOR_RE (refs #1092)

brettheap added a commit that referenced this pull request Sep 18, 2026
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…st half on #1110, and names the second as still owed

#1110 -> 313b2665, merged 2026-09-18T16:47:05Z, takes all four of the suppressed
findings Copilot's review carried at #1105's landed head 9ed3def, as a plain
gate over the SAME TWO FILES #1105 landed and no other path.

A second follow-up is still owed and is NOT this box's condition: RULED Q-P5 (a)
(#656 comment 5731951297) scoped #1110 to those four alone, sending the remaining
eight registered items and runbook section 2.3 to a second act, held because the
runbook's section 2 family is contended until #1086 lands.

The clause read "floor55b takes them as a follow-up act" until that act landed.
Corrected rather than left in the future tense -- the same stale forward
reference this amendment already had to repair once at section 6.4, where a list
of "remaining" closures still named one that had landed. A ledger's forward
references are the part of it that rots fastest, which is why this amendment now
fixes them on sight rather than at the end.

Also recorded from the landing: a 0-unresolved-threads count is not evidence
about a suppressed block, which is the landing gate's own rule and the reason the
debt existed at all.

origin/main merged in at 313b2665 (#1108, #1094, #1110 since the last merge).
#1060 (section 6.1) and #1086 (floor part 3 transposition) are still OPEN, so
their ticks go to amendment #7.

Ledger unchanged at 54 [x] / 17 [ ] / 1 [~] of 72; one file; five marker changes
against main (5.2a, 5.5, 6.3, 6.4, 8.3). All four validators exit 0.

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…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]>
brettheap added a commit that referenced this pull request Sep 18, 2026
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]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…d the carrier identity, declare and fold #1108, MAY becomes MUST

Copilot's review of PR #1101 exposed three gaps in text the bare ratifying
word ("ratify #1101", 2026-09-18 ~12:55Z) had already ratified. Each was put
to Brett Heap as a multiple choice and each was answered ~15:40Z in the
lane's terminal, recorded as RULED entries in opensoft/brett-wip
lanes/log/openXfactory-5.md. All three are encoded here in ONE commit,
verbatim, and nothing under openspec/specs/ moves.

(a) "Bind the carrier identity" — thread PRRT_kwDOTAvnrs6jxklz. A working
tree supplied for a `gitlink` row's re-check MUST first be verified as a
checkout of the CARRIER the row names, by the tree's own origin URL or by
its record in contracts/policies/repository-identity.yaml; a supplied tree
that fails that verification leaves the row reported NOT RE-CHECKED —
counted, neither passed nor failed, the report naming the carrier the row
expects and what the tree actually is. A path is an assertion and not an
identity. Encoded in the enumeration requirement's re-check paragraph (new
normative paragraph), in the AND clauses of *A gitlink row is re-checked
only against a supplied tree*, in the membership arm's bound sentence and
in *An inventory row nothing names*; mirrored at design.md D1.2 and
tasks.md 3.2, 3.3, 3.5.

(b) "#1101 declares #1108 and folds its text" — thread
PRRT_kwDOTAvnrs6jzE-K. proposal.md declares
`sequenced_after: [amend-code-surface-grammar-comma-and]`, and the
## MODIFIED block is now written over THAT packet's outcome rather than
over canon: its four list separators including `, and `, its
comma-first behaviour text, its narrowed `, and …` refusal, its
**AMENDED BY** note and its added scenario *A declaration spells its list
out with an Oxford comma* are carried byte-for-byte from
openspec/changes/amend-code-surface-grammar-comma-and/specs/release-realization/spec.md
on main, with this packet's membership change applied on top. #1108's own
`Removed from canon` marker is deliberately NOT carried — it declares three
units removed from the canon that PRECEDED it, none of which survives in
the basis. The block goes from ten scenarios to ELEVEN and the packet from
27 to 28. Promotion order is #1108 then #1101; NOT ONE BYTE OF #1108 MOVES.
Mirrored at design.md D6 and D3, tasks.md 1.5 and 2.9, and the delta's
preamble.

(c) "MAY becomes MUST" — thread PRRT_kwDOTAvnrs6jzQmm. The inventory MUST
carry the PROVISIONAL row (admitted_by: change) for a repository a ratified
active change declares it is creating; the membership arm stays
UNCONDITIONAL and still FAILS CLOSED, the row being what makes the
declaration resolve inside the forward-looking window. Encoded in the
`change` bullet, in the THEN of *A repository a ratified change is
creating* plus a new AND, and in the membership requirement's opening
paragraph; mirrored at design.md D1.1 and tasks.md 3.1, 3.4, 3.5.

THE SELF-GATE IS GREEN BY THE DECLARATION AND BY NO TEST EDIT.
tests/doc-health/test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree
failed at 7b2fdf9 with two fresh ordering subjects (run 35364049229).
modified-block-currency reads the ordering from the later change's
proposal.md by whole-token mention, so the declaration resolves the pair,
this block is measured against #1108's block instead of canon, and the arm
reports nothing — returning _ORDERING_SUBJECTS to the empty exact set it
already states. Not one byte of tests/ or scripts/ is edited; the only file
outside the packet is the machine-seeded sweep-ledger row, re-seeded
through the sanctioned command (one row moved: declares/depth).

Gates at this tree: openspec validate add-estate-repository-inventory
--strict valid; openspec validate --all --strict 110 passed / 1 failed, the
failure being the pre-existing add-chain-attestation on main;
validate-sequenced-after.py . --ledger-diff consistent (222 rows);
proposal-support.py verify ok; pytest
tests/doc-health/test_modified_block_currency_self_gate.py
tests/sequenced_after 306 passed; doc-health --single-repo . measured in
ONE clone with these changes stashed and unstashed: ZERO new findings and
TWO GONE, both the ordering warnings — one against this packet's block and
one against #1108's, cleared without editing #1108.

The APPROVAL RECORD grew and nothing was substituted: .openspec.yaml
appends the three words to approved_by beside the unmoved drafting
provenance, and review/ratification-2026-09-18.md (NEW) records all four
acts in the shape harden-path-escape-helpers-against-symlink-loops uses.
origin.kind, origin.id, approved_on and every Status: line are unmoved, and
openxFactory #1087 stays OPEN and closes at the archive.

Refs #1087

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…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]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…e the delta, and the MODIFIED block is ordered, not sole

Copilot's second review round of PR #1101 found the README *Active changes*
entry for add-estate-repository-inventory had gone stale against the ruling
commit 089b02e itself (the fixes it made to the packet were never mirrored
into the index entry). Two threads, both confirmed TRUE against
review/ratification-2026-09-18.md and proposal.md:

- PRRT_kwDOTAvnrs6j1eTJ (README.md:544, recurring at the old :550): the
  entry said the bare ratification ("ratify #1101", ~12:55Z) left the
  delta's wording unchanged, full stop. True only of that first word.
  Three further rulings of the same day, ~15:40Z ("Bind the carrier
  identity", "#1101 declares #1108 and folds its text", "MAY becomes
  MUST"), answered gaps Copilot's first review round exposed in the
  already-ratified text and did move the delta — the entry now says so,
  qualifies the "unchanged" sentence to the 12:55Z word alone, and links
  review/ratification-2026-09-18.md § 3 for the full account. Scenario
  count corrected from the stale TWENTY-SEVEN (10 + 8 + 9) to TWENTY-EIGHT
  (11 + 8 + 9), verified by counting `#### Scenario:` per block in
  specs/release-realization/spec.md (11 in the MODIFIED block, 8 and 9 in
  the two ADDED requirements) and cross-checked against proposal.md's own
  "TWENTY-EIGHT scenarios in all (11 + 8 + 9)".
- PRRT_kwDOTAvnrs6j1eT0 (README.md:561): the entry called the MODIFIED
  block SOLE with `sequenced_after: []` a "corroborated root claim". False
  since the "#1101 declares #1108 and folds its text" ruling:
  amend-code-surface-grammar-comma-and (#1092, PR #1108, landed 60d281a)
  is an active ratified writer of the same requirement key, this packet
  now declares `sequenced_after: [amend-code-surface-grammar-comma-and]`,
  and tests/sequenced_after/corpus-ledger.yaml carries it as class
  co-modifier, depth 1. Reworded: the block is ORDERED, not sole, written
  over #1108's outcome rather than over canon, promotion order #1108 then
  #1101, #1108 itself untouched; the modified-block-currency family still
  reports no new finding, but because the declared ordering resolves the
  pair (measured against #1108's block) rather than because the block has
  no sibling writer.

Re-read the rest of the entry for anything else the three rulings made
stale (other counts, "unchanged", the admission-kind list, the naming-site
tally) — nothing else was found stale: the five admission kinds, the
thirty-three candidate rows, and the six falsified-cost membership numbers
are all untouched by the three rulings and remain accurate.

README.md only. Nothing under the packet directory, openspec/specs/, or
the ledger moves.

Gates at this tree: openspec validate add-estate-repository-inventory
--strict valid; validate-sequenced-after.py . --ledger-diff consistent
(222 rows); pytest tests/doc-health/test_modified_block_currency_self_gate.py
20 passed.

Refs #1087

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…s declared repository sets against an inventory of the estate (#1101)

Refs #1087. Proposal packet add-estate-repository-inventory, PACKET ONLY: one MODIFIED block over release-realization's *Code-surface declaration grammar is gated* (folding amend-code-surface-grammar-comma-and's ratified wording; sequenced_after that packet) and two ADDED requirements (the estate inventory; membership judged against it), 28 scenarios; README Active changes bullet; sweep-ledger row. RATIFIED by Brett Heap 2026-09-18 ~12:55Z, verbatim "ratify #1101" (terminal word to lane openXfactory-5), and AMENDED on his three rulings of 2026-09-18 ~15:40Z, verbatim "Bind the carrier identity", "#1101 declares #1108 and folds its text", "MAY becomes MUST", all encoded in the packet. Lands on the ratify word with every check green. code_surface is non-empty, so the archive is a later act on merged-plus-green realization evidence and a separate word; #1087 stays open until then.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
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]>
brettheap added a commit that referenced this pull request Sep 21, 2026
record's language for this packet current (archived and promoted by
#1112, not active), and qualify canon's AMENDED BY provenance sentence to
name what it added rather than implying every paragraph and scenario is
canon's own bytes

Two unresolved threads, both TRUE:

README.md:3260 — the add-estate-repository-inventory active record
described amend-code-surface-grammar-comma-and as an "ACTIVE RATIFIED
writer" / "ACTIVE writer" of the same requirement key in two places, which
now contradicts the sweep ledger's `state: archived` and this PR's own
archived-changes entry for the same packet. Both sentences now say the
co-writer is ARCHIVED and promoted by this PR (#1112), that the
sequenced_after declaration stands as history (resolution consults the
active and archived corpora both), and that the ordering was satisfied
(#1108 then #1101, #1108 itself untouched).

openspec/specs/release-realization/spec.md:1119 — the AMENDED BY
provenance sentence claimed every paragraph and every scenario of the
block is promoted canon's own bytes except three named in-place
corrections, but the block also carries two wholly new explanatory
paragraphs (the `, and ` separator paragraph and the narrowed `, and …`
case paragraph) and one wholly new scenario (the Oxford-comma scenario),
none of which is canon's prior bytes under any reading. Verified against
`git diff 0b1e826~1 0b1e826 -- openspec/specs/release-realization/spec.md`:
exactly three in-place corrections (already named) plus two added
paragraphs and one added scenario (not previously named as additions).
The sentence now distinguishes UNCHANGED / CORRECTED IN PLACE (the three,
unchanged) / ADDED BY THIS AMENDMENT (the two paragraphs and the
scenario, forward-referenced to where the paragraph already names them).
No requirement or scenario text is changed, only this provenance sentence.

The archived delta copy at
openspec/changes/archive/2026-09-18-amend-code-surface-grammar-comma-and/specs/release-realization/spec.md
is deliberately left untouched as the frozen record of what PR #1108
ratified, consistent with `record-immutability` /
`govern-archived-record-edits` and this PR's own prior two Copilot rounds,
neither of which ever edited archived-directory content, only the living
README/ledger bookkeeping describing it. This means the README's earlier
"BYTE-IDENTICAL ... sha256" measurement of the promoted block now
describes the pre-this-commit state; flagged in the reply and the report
rather than silently re-measured, which is out of this round's scope.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Refs #1092
brettheap added a commit that referenced this pull request Sep 23, 2026
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
brettheap added a commit that referenced this pull request Sep 23, 2026
…parator onto release-realization (refs #1092) (#1112)

Closes #1092 (the packet's § 4.2: the governing issue closes at the archive, by the closing keyword written in this pull request's body). ARCHIVE of amend-code-surface-grammar-comma-and: the ratified amendment (PR #1108 → 60d281a, Brett Heap's ruling of 2026-09-18 "Amend the text to admit ', and '") is promoted onto release-realization's *Code-surface declaration grammar is gated* (the four separators, `, and ` consumed first); code_surface none, so no realization evidence is owed. The active add-estate-repository-inventory packet, ordered after this one by sequenced_after, is registered as the remaining named MODIFIED writer in the modified-block-currency self-gate. LANDED by MERGE COMMIT on Brett Heap's word of 2026-09-21 ~20:40Z, verbatim "archive it #1112 and #1116". Refs #1108.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 24, 2026
… 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants