Skip to content

specs/019: FR-018 restated to canon's five marker-defect grounds (refs #915) - #936

Merged
brettheap merged 2 commits into
mainfrom
fix/specs-019-fr018-five-grounds
Sep 11, 2026
Merged

brettheap merged 2 commits into
mainfrom
fix/specs-019-fr018-five-grounds

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)

Plain fix, on Brett Heap's word. 2026-09-11T00:42Z, verbatim "do 915 and
931, land each when green"
— CLAIMED on #915 at 2026-09-11T00:42Z (this
lane, session 097ef0fb). Landing is a separate, later act on that same word,
gated on the six required checks going green — this PR carries only the fix.

Residue, not an OpenSpec change.
specs/019-modified-block-currency-family/spec.md is a Speckit build record
(pinned by no test and no gate: scripts/doc_health/corpus.py's
GOVERNED_ROOTS never includes specs/). Its FR-018 was restated to canon's
THREE marker-defect grounds by PR #887's severable commit 2f384fd1 (the PR
#827 form, refs #858) on the morning of 2026-09-10. That afternoon
amend-marker-declaring-nothing (PR #908 → d32509d3, refs #856, refs
#860) added two more grounds — a name matching a unit the block itself adds
and canon does not, and a Removed from canon marker whose tail carries no
code span — and PR #926 (114d6e3d) archived it, promoting the five-ground
sentence into openspec/specs/doc-health/spec.md:1745–1757. This PR
restates FR-018 to match, in the same form PR #827, 2f384fd1 and PR #904
(FR-024/FR-026) all used: quote the promoted sentence verbatim with its line
range, and leave a second dated amendment note beside the first, which stays
as written history.

FR-018 — before

- **FR-018**: A marker MUST suppress only units it names AND that are in fact
  absent from the block. A marker MUST itself be reported, as a FOURTH finding
  class — "marker defects" — carrying the ledger's `info` severity and never
  `error`, on ANY OF THREE GROUNDS — canon's own wording:
  "A MARKER SHALL ITSELF BE REPORTED ON ANY OF THREE GROUNDS, each of them
  one finding at the `info` band this family's marker-defect class already
  carries: it names a unit the block still carries; or a code span standing
  INSIDE its reason matches EXACTLY a unit of the requirement's basis that
  the block does not carry and that no marker declares removed, the boundary
  above reading that span as prose rather than as a name, so that its author
  declared nothing about a unit they plainly had in mind; or it names
  something matching no unit of the requirement's basis and no unit of the
  block."
  (`openspec/specs/doc-health/spec.md`:1744–1751). The second ground MUST be
  read narrowly, on the exact match and never on the span's position alone, and
  MUST NOT withdraw the carriage arms from the unit the span would have named
  (:1754–1760).
  *(Amended 2026-09-10 to match canon after `amend-marker-defect-reporting`
  (#850); this bullet previously stated the ONE-ground rule — a marker naming a
  unit the block still carries — which is now the first of the three.)*
  Producing the defect without emitting it would leave the delta's "SHALL
  itself be reported" unrealized in a function nothing calls.

FR-018 — after (current head, 125a7d96)

- **FR-018**: A marker MUST suppress only units it names AND that are in fact
  absent from the block. A marker MUST itself be reported, as a FOURTH finding
  class — "marker defects" — carrying the ledger's `info` severity and never
  `error`, on ANY OF FIVE GROUNDS — canon's own wording:
  "A MARKER SHALL ITSELF BE REPORTED ON ANY OF FIVE GROUNDS, each of them one
  finding at the `info` band this family's marker-defect class already carries:
  it names a unit the block still carries; or a code span standing INSIDE its
  reason matches EXACTLY a unit of the requirement's basis that the block does
  not carry and that no marker declares removed, the boundary above reading
  that span as prose rather than as a name, so that its author declared nothing
  about a unit they plainly had in mind; or it names something matching no unit
  of the requirement's basis and no unit of the block; or it names something
  matching no unit of the requirement's basis and a unit THE BLOCK ITSELF
  STATES, declaring removed from canon a unit canon never carried; or it is of
  `Removed from canon` form and its tail carries NO code span at all, so that
  it names nothing, quotes nothing and declares nothing while occupying the one
  paragraph shape this requirement exempts from carriage."
  (`openspec/specs/doc-health/spec.md`:1745–1757). The second ground MUST be
  read narrowly, on the exact match and never on the span's position alone, and
  MUST NOT withdraw the carriage arms from the unit the span would have named
  (:1771–1778).
  *(Amended 2026-09-10 to match canon after `amend-marker-defect-reporting`
  (#850); this bullet previously stated the ONE-ground rule — a marker naming a
  unit the block still carries — which is now the first of the three.)*
  *(Amended 2026-09-11 to match canon after `amend-marker-declaring-nothing`
  (#856/#860; ratified PR #908 → `d32509d3`; archived PR #926 → `114d6e3d`);
  this bullet previously stated three grounds.)*
  Producing the defect without emitting it would leave the delta's "SHALL
  itself be reported" unrealized in a function nothing calls.

Update: the second ground's own citation was corrected too, on review.
This PR's first push (8a2ed38c) left (:1754–1760) — the citation on
"The second ground MUST be read narrowly..." — untouched, on the reasoning
that it names the same second ground of five it named of three, out of the
scope the brief for #915 set (restate the enumeration sentence and its own
citation; keep every other clause). Sourcery and Copilot both independently
caught the gap that reasoning missed: canon's promotion inserted the new
fourth- and fifth-ground prose BEFORE that sentence, so it now reads at
doc-health/spec.md:1771–1778, not :1754–1760 — the untouched citation
pointed at the fourth/fifth-ground rationale instead. 125a7d96 takes that
finding: the citation now reads (:1771–1778), its wording otherwise
byte-identical, still confined to the FR-018 bullet (re-verified: git diff --stat against origin/main is still one file). The "before"/"after" blocks
above are the current head; see the review threads on this PR for the full
exchange with both bots.

Verification.

  • git diff --stat (HEAD vs origin/main) — one file, 19 insertions / 12
    deletions across both commits, confined to the FR-018 bullet.
  • The quoted sentence is verified byte-exact (whitespace-normalized) against
    openspec/specs/doc-health/spec.md:1745–1757 read on this clone; the
    second-ground citation is verified against :1771–1778 the same way.
  • python3 scripts/doc-health.py --single-repo . — exit 0, "New regressions
    vs previous report: 0". specs/ is not a lifecycle scan root
    (scripts/doc_health/corpus.py's GOVERNED_ROOTS never includes it), so
    this is a no-regression check only, the same finding the precedent recorded.

Precedent: PR #827 (FR-016), PR #887's 2f384fd1 (FR-018 to three
grounds), PR #904 (FR-024/FR-026).

Closes #915
refs #856, refs #860, refs #858

🤖 Generated with Claude Code

…h a dated amendment note (refs #915)

FR-018 (~line 445) still stated the THREE-ground marker-defect rule PR #887's
severable commit `2f384fd1` (PR #827 form, refs #858) restated on the morning
of 2026-09-10. That afternoon `amend-marker-declaring-nothing` (PR #908
→ `d32509d3`, refs #856, refs #860) added two more grounds, archived by
PR #926 (`114d6e3d`), which promoted the five-ground sentence into
`openspec/specs/doc-health/spec.md`:1745–1757. specs/019 is a Speckit build
record (not promoted canon, pinned by no test and no gate —
`scripts/doc_health/corpus.py`'s GOVERNED_ROOTS never includes `specs/`), so
this is residue catching up with canon, not an OpenSpec change: the same
form PR #827, `2f384fd1` and PR #904 all used — restate the bullet, quote
the promoted sentence verbatim with its line range (whitespace-normalized
byte-exact match verified against this clone), and leave a second dated
amendment note beside the first, which stays as written history.

The "second ground MUST be read narrowly" sentence and its (:1754–1760)
citation are unchanged — they describe the same second ground, unmoved by
the two new grounds canon appends after it, and this fix's scope is the
enumeration sentence and its own citation alone.

`git diff --stat` shows one file, 18 insertions / 11 deletions, confined to
the FR-018 bullet. `python3 scripts/doc-health.py --single-repo .` exits 0,
"New regressions vs previous report: 0" — specs/ is out of every family's
GOVERNED_ROOTS, so this is a no-regression check only, same as the
precedent's own finding.

Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 00:59
@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This documentation-only change synchronizes FR-018 in the Speckit build record with the canonical five-ground marker-defect rule, preserving prior history and surrounding requirement text; verification reports no documentation health regressions.

File-Level Changes

Change Details Files
Restated FR-018 to match canon’s expanded five marker-defect grounds while preserving the existing requirement language and citations.
  • Replaced the quoted three-ground canon sentence with the five-ground version, including defects for block-only names and empty Removed from canon tails.
  • Updated the canon line-range citation for the promoted sentence.
  • Retained the existing second-ground citation and explanatory clauses unchanged.
  • Added a dated amendment note documenting the transition from three to five grounds.
specs/019-modified-block-currency-family/spec.md

Assessment against linked issues

Issue Objective Addressed Explanation
#915 Restate FR-018 in specs/019-modified-block-currency-family to reflect canon's five marker-defect grounds, including the two grounds added by amend-marker-declaring-nothing. ✅
#915 Quote the promoted five-ground canon sentence with its openspec/specs/doc-health/spec.md line-range citation while preserving the rest of FR-018's wording and structure. ✅
#915 Add a dated amendment note documenting that the prior three-ground wording was superseded, following the archive and promotion of the amend-marker-declaring-nothing change. ✅

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)
@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="specs/019-modified-block-currency-family/spec.md" line_range="462" />
<code_context>
+  (`openspec/specs/doc-health/spec.md`:1745–1757). The second ground MUST be
   read narrowly, on the exact match and never on the span's position alone, and
   MUST NOT withdraw the carriage arms from the unit the span would have named
   (:1754–1760).
   *(Amended 2026-09-10 to match canon after `amend-marker-defect-reporting`
   (#850); this bullet previously stated the ONE-ground rule — a marker naming a
</code_context>
<issue_to_address>
**issue:** The retained `(:1754–1760)` citation points into canon's fifth-ground prose rather than the second-ground explanation, which canon now places at lines 1771–1778. Readers following FR-018 therefore consult the wrong range for the narrow-reading requirement.

**Suggested fix:** Update the citation to `(:1771–1778)` while preserving the rest of the second-ground clarification.

```suggestion
  (:1771–1778).
```
</issue_to_address>

### Comment 2
<location path="specs/019-modified-block-currency-family/spec.md" line_range="465" />
<code_context>
   (:1754–1760).
   *(Amended 2026-09-10 to match canon after `amend-marker-defect-reporting`
   (#850); this bullet previously stated the ONE-ground rule — a marker naming a
   unit the block still carries — which is now the first of the three.)*
+  *(Amended 2026-09-11 to match canon after `amend-marker-declaring-nothing`
+  (#856/#860; ratified PR #908 → `d32509d3`; archived PR #926 → `114d6e3d`);
</code_context>
<issue_to_address>
**nitpick:** The first amendment note still says the rule's first ground is one of three, contradicting the immediately preceding five-ground requirement and the new amendment note stating that the bullet previously had three grounds.

**Suggested fix:** Change `which is now the first of the three` to `which is now the first of the five`.

```suggestion
  unit the block still carries — which is now the first of the five.)*
```
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: specs/019-modified-block-currency-family/spec.md:462


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

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

Correct the stale historical wording and narrow-ground citation before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Speckit FR-018 record to reflect canon’s five marker-defect grounds.

Changes:

  • Replaces the three-ground wording with the five-ground canonical text.
  • Adds amendment history for the canon update.
File summaries
File Summary
specs/019-modified-block-currency-family/spec.md Updates FR-018 and records amendment provenance.
Review details

Suppressed comments (1)

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

  • Adding the five-ground amendment makes the retained prior note's phrase “which is now the first of the three” inaccurate in the current record. Preserve its historical meaning explicitly (for example, “which was then the first of the three”) or update the phrase to refer to the first of five.
  *(Amended 2026-09-11 to match canon after `amend-marker-declaring-nothing`
  (#856/#860; ratified PR #908 → `d32509d3`; archived PR #926 → `114d6e3d`);
  this bullet previously stated three grounds.)*
  • 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.

…th-ground insertion (refs #915)

Sourcery's review on this PR caught it: `(:1754–1760)` pointed at
"THE SECOND GROUND SHALL BE READ NARROWLY..." only in the THREE-ground
canon this bullet quoted until yesterday. PR #926's promotion inserted the
new fourth- and fifth-ground paragraphs BEFORE that sentence, so in the FIVE-
ground canon this bullet now quotes, the same sentence reads at
`openspec/specs/doc-health/spec.md`:1771–1778 (re-verified on this clone:
"THE SECOND GROUND SHALL BE READ NARROWLY..." through "...in place of it."
spans exactly those eight lines). The wording this citation supports is
untouched — it is still the same second ground of five it was the second
ground of three — only the pointer moves to where canon now holds it.

Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 11, 2026 01:02

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

Sourcery assessment

Approved.

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

Reconcile the second-ground citation with the stated scope in the PR description.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FREEZE. Head 125a7d96 (125a7d9). 0 unresolved review threads (4 total, all resolved: 2 Sourcery, 2 Copilot). closingIssuesReferences == [915], re-verified via GraphQL after the PR-body edit.

Codex — usage-limit refusal, exactly as the brief predicted (absence is the expected outcome). chatgpt-codex-connector commented at 2026-09-11T00:59:57Z, verbatim: "You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings." No review performed; no thread to resolve.

Sourcery — 2 threads on 8a2ed38c, both re-checked against 125a7d96:

Copilot — 2 threads on 8a2ed38c:

  • same stale-citation finding as Sourcery's, independently — TAKEN (same 125a7d96 fix); replied for the record (this thread had auto-resolved before I could reply) and it is resolved.
  • caught that the PR description still said the citation was "deliberately unchanged" after 125a7d96 had in fact changed it — TAKEN: rewrote the PR body to describe the citation correction and regenerated the before/after blocks from current head instead of the first commit. Resolved.

Check rollup (12 contexts, as of this FREEZE):

  • SUCCESS (11): clearing-dispatch-gate, lane-line x3, merge-master-approval, openreposhape-pin, openspec-cli-pin, wallet-validation, release-tag-gate, signed-execution-chain-gate, SonarCloud Code Analysis, Sourcery review.
  • IN_PROGRESS (1): pytest-suite — started ~00:59:34Z, still running at freeze time (~19 min elapsed); this step alone runs 20-27 min on this repo by established norm, so this is expected, not a stall. reviewDecision: APPROVED. mergeStateStatus: BLOCKED, on this one outstanding required check — not on review, not on the lane line.

No merge, no LANDING posted by this lane — that is the orchestrator's act on Brett's word, once this last check clears.

🤖 Generated with Claude Code

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDING PROVENANCE 2026-09-11T01:29:54Z — head 125a7d96, on Brett Heap's blanket word of 2026-09-10 ~15:3xZ, verbatim "do the batch, land each when green". Guard on live values: six required checks SUCCESS (lane-line, openspec-cli-pin, pytest-suite, release-tag-gate, signed-execution-chain-gate, wallet-validation); closingIssuesReferences = [915] exactly; 0 unresolved threads; main's newest decided pytest-suite = success; no other-lane unpaired LANDING into openxFactory main; no openspec/changes/ file touched, so no Rule 6 window. mergeStateStatus BLOCKED = the code-owner-review ruleset that never clears on the author's own account; admin merge with provenance (B2 pattern). Merge = merge commit; #915 closes by it.

@brettheap
brettheap merged commit e1b689e into main Sep 11, 2026
14 checks passed
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