Skip to content

specs/019 FR-016 and reading A1 restated to the amended marker-reason rule (residue of amend-marker-reason-boundary) - #827

Merged
brettheap merged 2 commits into
mainfrom
fix/specs-019-fr-016-amended-reason-rule
Sep 9, 2026
Merged

brettheap merged 2 commits into
mainfrom
fix/specs-019-fr-016-amended-reason-rule

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)

Residue: specs/019-modified-block-currency-family/spec.md is a Speckit
feature record (a build record, not promoted canon, pinned by no test or
gate). Its FR-016 (~line 428) and reading A1 (~line 598) still stated the
RETIRED marker-reason rule — "the reason is everything after the last code
span's following —" — retired by the archived amend-marker-reason-boundary
(#739 → 29e39d3d). Promoted canon now in
openspec/specs/doc-health/spec.md:1725–1730:

The parser SHALL extract the code spans following the colon, in order, per
CommonMark, and THE REASON SHALL BEGIN AT THE FIRST — SEPARATOR
STANDING OUTSIDE EVERY CODE SPAN: the units named are the spans that close
before that separator, the reason is everything after it, and a code span
that falls inside the reason is prose the reason quotes rather than a unit
the marker names.

FR-016, before:

The reason MUST be everything after the last code span's following —,
and MUST NOT be found by splitting on punctuation.

FR-016, after:

The reason MUST begin at the first — separator standing outside every
code span, and MUST NOT be found by splitting on punctuation — canon's own
wording: "THE REASON SHALL BEGIN AT THE FIRST — SEPARATOR STANDING
OUTSIDE EVERY CODE SPAN: the units named are the spans that close before
that separator, the reason is everything after it, and a code span that
falls inside the reason is prose the reason quotes rather than a unit the
marker names" (openspec/specs/doc-health/spec.md:1725–1730). (Amended
2026-09-09 to match canon after amend-marker-reason-boundary (#739); this
bullet previously stated the retired last-code-span rule.)

A1, before:

the reason is defined as "everything after the last code span's following
—" (:142–146) and the delta's own written-out Merged into example
carries none (:189).

A1, after:

the reason begins at the first — separator standing outside every code
span — canon's own wording: "THE REASON SHALL BEGIN AT THE FIRST —
SEPARATOR STANDING OUTSIDE EVERY CODE SPAN: the units named are the spans
that close before that separator, the reason is everything after it, and a
code span that falls inside the reason is prose the reason quotes rather
than a unit the marker names" (openspec/specs/doc-health/spec.md:1725–1730),
and the delta's own written-out Merged into example carries none (:189).
(Amended 2026-09-09 to match canon after amend-marker-reason-boundary
(#739); this reading previously cited the retired last-code-span rule at
:142–146.)

Nothing else in the file changes — one file, 22 insertions / 7 deletions.

Verification:

  • python3 scripts/doc-health.py --single-repo . — output byte-identical
    before/after (git stash A/B run, diff exit 0). specs/ is not a
    lifecycle scan root: scripts/doc_health/corpus.py's
    GOVERNED_ROOTS = ("contracts", "docs", "examples", "ideation", "templates") never includes specs/, so this file is out of scope for
    every doc-health family.
  • python3 -m pytest tests/doc-health/test_modified_block_currency.py -q —
    128 passed, unchanged (the suite does not read specs/019).

Grep result: searched the repo for any other file still stating the
retired last-code-span rule outside openspec/changes/archive/. None found
that assert it as a currently-applicable norm:

  • openspec/specs/doc-health/spec.md:1853 quotes the retired sentence
    verbatim inside canon's own Removed from canon by amend-marker-reason-boundary marker — that is the marker mechanism
    correctly recording what it retired, not stale documentation.
  • README.md:3372–3378 narrates the amendment's history in past tense
    ("said with a SHALL that...") as part of the amend-marker-reason-boundary
    OpenSpec Records entry — already correctly framed as history, immediately
    followed by the amended rule.
  • tests/doc-health/test_modified_block_currency.py:445–448 uses the
    retired-rule string only as sample marker-body text (a code span) to test
    that the parser correctly treats it as a named unit under the amended
    grammar — not a normative statement.

No OpenSpec change — a build record catching up with promoted canon, on
Brett Heap's word 2026-09-09 ("do as recomended").

Closes #730

🤖 Generated with Claude Code

https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi

… rule

specs/019-modified-block-currency-family/spec.md's FR-016 (~line 428) and
reading A1 (~line 598) still stated the RETIRED marker-reason rule ("the
reason is everything after the last code span's following ` — `"), retired
by the archived amend-marker-reason-boundary (#739 -> 29e39d3; promoted
canon now in openspec/specs/doc-health/spec.md:1725-1730: the reason begins
at the first ` — ` separator standing outside every code span, and a code
span inside the reason names nothing).

specs/019 is a Speckit feature record (a build record, not promoted canon,
pinned by no test or gate) so this is residue catching up with canon, not
an OpenSpec change. Restate FR-016 and A1 to the amended rule, quoting the
promoted sentence and citing its line, with a dated amendment note beside
each. Nothing else in the file changes.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi
Copilot AI lite review requested due to automatic review settings September 9, 2026 03:25

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

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 change is documentation-only and aligns the feature record with current canon, with only minor wording/punctuation nits noted.

Pull request overview

Updates the Speckit feature record for 019-modified-block-currency-family so its FR-016 and Assumption A1 reflect the post–amend-marker-reason-boundary canon rule for parsing a marker’s reason boundary (first — separator outside any code span), keeping this non-governing build record aligned with promoted canon.

Changes:

  • Restates FR-016 to use the amended “first separator outside code spans” reason-boundary rule and cites the promoted canon lines.
  • Restates A1 similarly, updating the assumption narrative and citation to the amended canon wording.
File summaries
File Description
specs/019-modified-block-currency-family/spec.md Updates FR-016 and A1 text to match the promoted marker-reason boundary rule in doc-health canon.
Review details

Suppressed comments (1)

specs/019-modified-block-currency-family/spec.md:613

  • This quoted canon sentence omits the final period before the closing quote, so it isn’t an exact match to the cited text.
  the marker names" (`openspec/specs/doc-health/spec.md`:1725–1730), and the
  • Files reviewed: 1/1 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: fa1c925eba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot review nit on PR #827: the quoted promoted sentence in FR-016 and A1
(openspec/specs/doc-health/spec.md:1725-1730) omitted the source sentence's
trailing period, so it was not an exact quotation. Add it in both places;
no other change.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi
Copilot AI review requested due to automatic review settings September 9, 2026 03:30

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

The updated A1 block still contains a non-existent file citation (specs/doc-health/spec.md), which makes the reference unverifiable and should be corrected while this section is being edited.

Review details

Suppressed comments (1)

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

specs/019-modified-block-currency-family/spec.md:608

  • The citation specs/doc-health/spec.md:125–129 points to a path that does not exist in the repo (only openspec/specs/doc-health/spec.md exists), so this reference can’t be followed and the line range can’t be validated.

Since this section is already being amended to match the promoted canon, the citation should be updated to the canon location where marker form’s “complete prefix” anchor is defined.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Copilot round 2 (2026-09-09T03:33:00Z) — REFUSED, with reason:

Copilot's second pass flagged (as a suppressed/summary-only note, 0 new inline comments) the A1 citation (specs/doc-health/spec.md:125–129) in the sentence "Marker FORM is anchored on the complete prefix (specs/doc-health/spec.md:125–129)" as pointing to a path that doesn't exist at repo root (only openspec/specs/doc-health/spec.md does).

That sentence is pre-existing text I did not touch, and it is out of this PR's scope: the task's hard limit is to restate only the specific FR-016/A1 sentences that stated the retired last-code-span rule, quote the promoted sentence, and add a dated note — nothing else in the file. The flagged citation follows this Assumptions section's own established convention (see sibling A2 ":84–90" and A3 ":103–107", both bare line citations with no repo prefix) of citing the originating change packet's own delta document (openspec/changes/add-modified-block-currency-check/specs/doc-health/spec.md at authoring time), not the current repo-root promoted path — it is not a broken reference, it is a different, older citation target than the one I added for the amended rule. Correcting or reinterpreting that convention across A1–A3 is a separate cleanup this residue fix does not make.

Taken instead: Copilot round 1's nit (missing terminal period in both quoted spans) — fixed in 35a6bf6c, thread resolved.

Lane: openxfactory-1

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FROZEN at 35a6bf6c — all nine required checks green, no further commits from this lane; review threads 0 unresolved; Codex real review clean; Copilot clean or taken. No openspec/ path — no Rule 6 window.

Provenance for the admin merge of #827 (plain fix; no OpenSpec change — the #638 precedent). Words: Brett Heap, 2026-09-09 ~02:3xZ verbatim "do as recomended" (the four-item small batch #779/#777/#776/#730; claim posted on #730 before authoring), then 2026-09-09T05:54:13Z by multiple choice, label verbatim "Merge all three" (#826, #827, #828 in order). A build record catching up with promoted canon (openspec/specs/doc-health/spec.md:1725-1730 quoted); specs/ is outside doc-health's scan roots. Self-authored PR (brettheap) → REVIEW_REQUIRED structural → admin merge (B2). #730 closes with this merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi

@brettheap
brettheap merged commit 18a5788 into main Sep 9, 2026
10 checks passed
brettheap added a commit that referenced this pull request Sep 9, 2026
`origin/main@86651a5` merged with no conflict — nothing this slice touches was
touched by #813, #817/#818, #827 or #828. This slice's surfaces are the
factory-origin register, its grant and wallet, the review-authority grant, the
seven clearing examples and their three test literals, plus its own § 16 of the
sweep evidence; the landed changes moved workflows, pin tooling and openspec
packets.

Validators at this merge:
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 617 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@86651a5` and measured there:
  `disposition-codexfactory-declared-renames`,
  `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`.
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to the same
  run at `origin/main`. No new ERROR.
- freeze check against `contracts/signed-execution-chain/`,
  `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` ->
  EMPTY after the merge.

This pull request stays HUMAN-ONLY to merge; this commit reconciles it and
nothing more.

Next unfinished pull request in the ceremony order: #805
(`realize/codexfactory-identity-b3`).

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…y transient measures EXACTLY as the body predicts

`origin/main@86651a5` merged with no conflict. This slice's nine files —
the five `contracts/hermes-runtime/` inventoried members, the three prose
readings under `docs/`, and `tests/hermes_runtime_contracts/test_domain_regression.py`
— were untouched by #813, #817/#818, #827 and #828.

RE-MEASURED AT THE MERGE, because a moved baseline could have moved the
predicted transient and did not:

- doc-health `--single-repo .` -> 10 critical, **16 error**, 57 warning,
  16 info. Diffed line for line against the same run at `origin/main`
  (9 error): the delta is **exactly seven** `release-inventory-drift`
  ERRORs and **no finding in any other family**. Seven, not eight, because
  `docs/contract-versioning-policy.md` ALREADY drifts on `main` — the
  correction this pull request's body records. The family therefore reports
  **eight**, which is what task 7.5 predicts and what the body's measured
  block states, and the bundle cut (P7, ceremony row 4) is what discharges
  all eight.
- `pytest tests/hermes_runtime_contracts/test_domain_regression.py -q`
  -> 35 passed. The denominator still pins row for row and in document
  order, so the re-sorted `PINNED_TABLE` still agrees with the fixture.
- `scripts/validate-hermes-runtime-contracts.py` -> pass (51 contracts,
  32 schemas, 110 fixtures, 17 requirements, 85 scenarios, 439 tests
  collected) — byte-identical to the count in the body.
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 617 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@86651a5`:
  `disposition-codexfactory-declared-renames`,
  `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`.
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- freeze check against `contracts/signed-execution-chain/`,
  `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` ->
  EMPTY after the merge.

Next unfinished pull request in the ceremony order: #806
(`realize/codexfactory-identity-b4`).

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…r occurrences this slice must own

`origin/main@9a67d42` merged with no conflict — `README.md` auto-merged and
the fourteen `docs/` files this slice respells were untouched by #813,
#817/#818, #824, #826, #827 or #828.

MAIN MOVED TWICE WHILE THIS RECONCILIATION RAN — `ca4a1558` -> `86651a58`
(#827, #828) -> `9a67d42c` (#826, #824). This merge is against `9a67d42c`,
and the four slices are reconciled to that head, named so the next reader
can tell which head the arithmetic was closed against.

The four occurrences main's growth added to `README.md` are ASSIGNED, not
carried, and they land in the next commit rather than inside this merge so
the record separates "the merge was clean" from "this slice took on four
more". Measured `f03fd875` -> `9a67d42c`: EIGHT new occurrences, all in two
places — `README.md` 10 -> 14, and
`openspec/changes/relocate-review-authority-floor-mirror/{proposal.md,review/ratification-2026-09-08.md}`
0 -> 2 each, another lane's in-flight packet and its dated ratification
record, which the published disposition leaves NOT SWEPT.

Validators at this merge:
- `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q`
  -> 617 passed, 2 skipped, 48 subtests passed
- `openspec validate --all --strict` -> 101 passed / 3 failed, all three
  pre-existing at `origin/main@9a67d42` and measured there in a throwaway
  worktree: `disposition-codexfactory-declared-renames`,
  `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`.
- `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows
- doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to the
  same run at `origin/main@9a67d42`; warnings 47 against main's 57, this
  slice's respellings clearing ten and adding none.
- freeze check against `contracts/signed-execution-chain/`,
  `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` ->
  EMPTY after the merge.

Lane: provenance-autonomous-merge
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

2 participants