Skip to content

Archive add-family-enumeration-check: realized on main, promoted 8 → 8, unblocking the 22nd family - #419

Merged
brettheap merged 1 commit into
mainfrom
change/archive-add-family-enumeration-check
Aug 27, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/archive-add-family-enumeration-check

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Why now

add-modified-block-currency-check (ratified 2026-08-27, PR #407, merge d03c03c2) registers doc-health's twenty-second family. Its D5 and its tasks.md § 2.1 price this archive as a precondition: fam_family_enumeration checks every ACTIVE change's restatement of "Deterministic check families" against the live registry, and this packet's own delta says twenty-one. A proposal registers no family, so the currency-check packet cannot lawfully carry a twenty-two block while this one is active — its enumeration block is owed at its realization, relative to this packet's outcome, 8 → 8.

add-family-enumeration-check § 2.5 ("ARCHIVE AFTER REALIZATION") was the only build task still open.

Realization — re-verified ancestors of main at the gate, not read out of a PR body

PR merge sha what it shipped
#340 253c5e87 the family itself, advisory at launch (§1, §2.1–§2.4, §3, §4.1–§4.8, §4.10–§4.12). Its own commit is bc779dcc.
#343 1bf16533 § 5.2's ruled FAMILY_IDS repair — 61 findings that had been counted in the headline while rendering under no section.

Both confirmed with git merge-base --is-ancestor <sha> origin/main. The advisory launch is intact in the live tree, re-read rather than assumed: family-enumeration registered in FAMILIES (21 entries), present in FAMILY_IDS (21 entries, § 5.2's repair holding), and absent from FAMILY_RESOLUTION — so § 5.1's flip is still owed and still unticked.

Gate numbers — all measured in this worktree at base 501a3ae0

gate before the act after the act
python3 -m pytest tests/doc-health -q 980 passed, 0 failed 980 passed, 0 failed
OPENSPEC_TELEMETRY=0 openspec validate --all --strict 76 passed, 0 failed (76 items) = 24 active + 52 specs 75 passed, 0 failed (75 items) = 23 active + 52 specs
python3 scripts/doc-health.py --single-repo . 5 critical, 8 error, 42 warning, 6 info. New regressions vs previous report: 0. byte-identical — 5 critical, 8 error, 42 warning, 6 info, 0 new regressions
... --family family-enumeration 0 critical, 0 error, 0 warning, 0 info —

The proposal predicted the severity counts move by nothing at all. They did. The whole single-repo report diff is eight lines and none of them is a finding: canon words 203344 → 204720 (+1376, the promoted block), governance words 656227 → 657603 (+1376 — the same words moving from active-change prose to promoted prose), canon share 31.0% → 31.1%, and the promoted-specs row of the per-source table.

Per-requirement promotion verification — done BEFORE the archive act

This is the defect class the estate is fighting (#329 / #351), and § 2.5 demanded the pass explicitly: three sibling archives needed exactly this check and two of them halted on it.

Canon had not moved. Canon's "Deterministic check families" requirement is byte-identical between fe34b73c — the branch point the delta was written against — and 501a3ae0: extracted from both trees and diffed, 0 hunks. The one commit touching the promoted spec since fe34b73c (ad2f2c5a, harden-ideation-readiness-check's archive) appended requirements at the end of the file and left this one alone. So the block reverts nothing.

delta op requirement canon scenarios block scenarios titles canon body units absent from block block-only units
MODIFIED Deterministic check families 8 8 identical set, identical order 2 — both numeral sentences, reworded (below) 5 sentences + 1 AND bullet, all this packet's own
ADDED The family enumeration is derived, not restated on trust n/a 8 title collides with nothing in canon n/a whole requirement

MODIFIED block, scenario by scenario

scenario canon bullets block bullets verdict
A run executes the check families 11 12 +1 bullet, this change's own (**AND** family enumeration MUST verify this requirement's own family enumeration and counts against the code registry …)
Lifecycle conformance checks fire 2 2 byte-identical
A register carries staged status 2 2 byte-identical
Drift checks fire 2 2 byte-identical
Catalog conformance checks fire 2 2 byte-identical
Routing conformance checks fire 2 2 byte-identical
Origin conformance checks fire 2 2 byte-identical
Roster composition is checked across domains 3 3 byte-identical

8 of 8 restated, 7 byte-identical, the eighth differing by exactly one AND bullet.

The two body-unit differences, verbatim, and their disposition

The currency check's spike found two ledger units on this packet's block. Both were found here independently by whitespace-normalized sentence comparison, and both are deliberate rewordings this packet owns — the count chain tasks.md § 1.3 declares it moves — not canon movement the block would revert.

(1) the total sentence and the enumeration list

CANON:  The doc-health deterministic pass SHALL implement twenty check families over
        the whole factory family's governance corpus: status validity, ...,
        promotion fidelity, release-inventory drift, and duplicate packet.

BLOCK:  The doc-health deterministic pass SHALL implement twenty-one check families over
        the whole factory family's governance corpus: status validity, ...,
        promotion fidelity, release-inventory drift, duplicate packet, and family enumeration.

(2) the scan-set arithmetic sentence

CANON:  Four of the twenty — status validity, standard backing, ratified provenance,
        and succession integrity — SHALL additionally read the lifecycle scan set ...;
        the other sixteen families and every corpus census, word count, ...

BLOCK:  Four of the twenty-one — status validity, standard backing, ratified provenance,
        and succession integrity — SHALL additionally read the lifecycle scan set ...;
        the other seventeen families and every corpus census, word count, ...

Disposition: PROCEED. Each is verified against the live registry rather than re-typed:

claim block says live registry verdict
total twenty-one len(FAMILIES) = 21 agrees
enumeration names 21 names 21 families agrees — 0 fail to resolve; one declared alias (client-identity-roster-composition → client-identity-composition, § 4.8)
subset-of-total Four of the twenty-one 21 agrees
remainder the other seventeen 21 − 4 = 17 agrees

Five block-only sentences and no others: the family's own "reads THIS REQUIREMENT and the code registry" figure sentence, and the four sentences of the appended FOURTH RESTATEMENT note. Canon's three existing self-repair notes are restated verbatim.

Canon diff after the act — what the block implies and nothing else

git diff openspec/specs/doc-health/spec.md → 1 file changed, 128 insertions(+), 6 deletions(-). All six deletions are the re-wrapped lines of the two numeral sentences plus the one continuation line the new figure sentence extends:

-The doc-health deterministic pass SHALL implement twenty check families over
-identity roster composition, promotion fidelity, release-inventory drift, and
-duplicate packet.
-an advisory report. Four of the twenty — status validity, standard backing,
-sixteen families and every corpus census, word count, canon-share figure,
-none of those figures either.

Requirements 32 → 33 (the ADDED one), file-level scenarios 133 → 141 (+8, the ADDED requirement's own eight), per-requirement counts unchanged everywhere else, "Deterministic check families" 8 → 8, no requirement lost.

One test re-aimed by the act, not deleted

test_this_changes_own_delta_is_the_statement_under_test was the anti-vacuity guard on § 4.1's self-gate: it asserted the delta half found this change's own active delta. The archive act promoted that block, so no active change restates the requirement and _delta_statements legitimately returns nothing — the guard's subject moved into canon with the statement. It is now test_canon_is_the_statement_under_test, the same three assertions one document over (canon parses, total reads twenty-one, 21 names against 21 families), with the history in its docstring. The delta half's own discovery stays covered by § 1's fixture tests, which is where it always belonged. test_the_real_corpus_reads_zero_on_both_halves keeps its historical claim as written and carries an appended line saying it now reads canon alone. Both 980-figures above are with that re-aim in place.

Task boxes

  • § 2.5 TICKED with the dated archive record: the two realization merges, the gate numbers, the verification table, and the two dispositioned differences.
  • § 5.3 TICKED as DISCHARGED-ELSEWHERE, not as work done here — add-modified-block-currency-check is exactly the scenario-completeness half this box named, adds the promoted authoring obligation to document-lifecycle, and its gate arm is scenario-title completeness. Its spike found the two ledger units on this packet's block that this gate then dispositioned.
  • § 5.1 STAYS UNTICKED. The flip to enforcing is owed on a measured population that by construction cannot be taken in advance; leaving the box open is what keeps it visible instead of letting it become a silent later commit.

README

Entry moved from the active list to the top of the archived list, in the precedents' voice (— **ARCHIVED 2026-08-27** …), pointing at openspec/changes/archive/2026-08-27-add-family-enumeration-check/proposal.md. The add-modified-block-currency-check active entry gains one clause recording that its precondition is now discharged.

🤖 Generated with Claude Code

The packet's § 2.5 was the last open build box and it named its own gate:
merge-plus-green, with the MODIFIED block re-verified scenario-by-scenario
against the canon of the day. Both halves hold.

WHY NOW. `add-modified-block-currency-check` (ratified 2026-08-27, PR #407,
merge d03c03c) registers doc-health's twenty-second family, and its D5 plus
its tasks.md § 2.1 price this archive as a precondition: fam_family_enumeration
checks every ACTIVE change's restatement of "Deterministic check families"
against the live registry, and this packet's own delta says twenty-one. The
twenty-second family's enumeration block is owed at ITS realization, relative
to this outcome.

REALIZATION, re-verified ancestors of origin/main at the gate rather than read
out of a PR body: PR #340 -> 253c5e8 (the family, advisory at launch; its own
commit bc779dc) and PR #343 -> 1bf1653 (§ 5.2's ruled FAMILY_IDS repair).
The advisory launch is intact in the live tree: family-enumeration registered
in FAMILIES (21), present in FAMILY_IDS (21), ABSENT from FAMILY_RESOLUTION.

GATE NUMBERS, all measured in this worktree at base 501a3ae. Before:
pytest tests/doc-health 980 passed / 0 failed; openspec validate --all --strict
76 passed, 0 failed (76 items) = 24 active + 52 specs; doc-health --single-repo
5 critical, 8 error, 42 warning, 6 info, 0 new regressions; the family alone
0/0/0/0. After: pytest 980 passed / 0 failed; validate 75 passed, 0 failed
(75 items) = 23 active + 52 specs; the severity headline BYTE-IDENTICAL. The
whole report diff is eight non-finding lines: canon words 203344 -> 204720
(+1376, the promoted block), governance words 656227 -> 657603 (+1376, the same
words moving from active-change prose to promoted prose), canon share 31.0% ->
31.1%, and the promoted-specs row of the per-source table.

PER-REQUIREMENT PROMOTION VERIFICATION, before the act. Canon's "Deterministic
check families" requirement is byte-IDENTICAL between fe34b73 — the branch
point the delta was written against — and 501a3ae: extracted from both trees
and diffed, 0 hunks. Canon did not move under this packet, so the block reverts
nothing. Scenarios 8 -> 8: identical title set and order; `A run executes the
check families` 11 -> 12 bullets, the twelfth this change's own family-
enumeration AND bullet; the other seven byte-identical bullet for bullet.

THE TWO BODY-UNIT DIFFERENCES, named rather than glossed — both this packet's
declared numeral rewording, which is the count chain § 1.3 says it moves:
(1) `SHALL implement twenty check families ... release-inventory drift, and
    duplicate packet.` -> `twenty-one ... duplicate packet, and family
    enumeration.`
(2) `Four of the twenty ... the other sixteen families` -> `Four of the
    twenty-one ... the other seventeen families`
Verified against the LIVE registry rather than re-typed: len(FAMILIES) = 21,
block total `twenty-one`, 21 enumerated names with 0 failing to resolve (one
declared alias, client-identity-roster-composition -> client-identity-
composition), and 21 - 4 = 17.

CANON AFTER THE ACT is what the block implies and nothing else: 128
insertions, 6 deletions — every deletion a re-wrapped line of those two
sentences plus the continuation line the new figure sentence extends.
Requirements 32 -> 33, file scenarios 133 -> 141 (+8, the ADDED requirement's
own eight), per-requirement counts unchanged everywhere else.

ONE TEST RE-AIMED BY THE ACT, NOT DELETED, and recorded as a consequence rather
than a defect. test_this_changes_own_delta_is_the_statement_under_test was the
anti-vacuity guard on § 4.1's self-gate: it asserted the DELTA half found this
change's own active delta. The act promoted that block, so no active change
restates the requirement and _delta_statements legitimately returns nothing —
the guard's subject moved into canon with the statement. It is now
test_canon_is_the_statement_under_test, the same three assertions one document
over, with the history in its docstring. The delta half's own discovery stays
covered by § 1's fixture tests.

§ 5.3 IS TICKED AS DISCHARGED-ELSEWHERE, not as work done here:
add-modified-block-currency-check is exactly the scenario-completeness half
this box named, and its spike found two ledger units on this packet's own block
— the two dispositioned above. § 5.1, the flip to enforcing, stays UNTICKED:
it is owed on a measured population that by construction cannot be taken in
advance, and leaving the box open is what keeps that visible.

Co-Authored-By: Claude Opus 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 27, 2026 12:49

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

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.

Pull request overview

Archives the realized add-family-enumeration-check OpenSpec packet by promoting its doc-health delta into canon, updating the OpenSpec index in README.md, and re-aiming the self-gate test so it remains meaningful after the delta is no longer active.

Changes:

  • Promotes the “twenty-one check families” restatement (and the added requirement defining the family-enumeration check) into openspec/specs/doc-health/spec.md.
  • Moves the packet into an openspec/changes/archive/2026-08-27-... record set (proposal/design/spec delta/tasks/.openspec.yaml), ticking the realization/archive task box.
  • Updates tests/doc-health/test_family_enumeration.py to assert against canon (since the delta statements are now empty post-archive) and updates README.md to reflect the archive.

Reviewed changes

Copilot reviewed 4 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/doc-health/test_family_enumeration.py Re-aims the anti-vacuity guard to read canon after the archive act; updates historical notes in docstrings.
README.md Moves add-family-enumeration-check from Active → Archived and records the archive as a prerequisite discharge for the 22nd-family packet.
openspec/specs/doc-health/spec.md Promotes the updated deterministic-family enumeration (20 → 21), adds the figure sentence, and adds the new “derived, not trusted” requirement.
openspec/changes/archive/2026-08-27-add-family-enumeration-check/tasks.md Records realization evidence and ticks the “archive after realization” task; marks adjacent work as discharged elsewhere where applicable.
openspec/changes/archive/2026-08-27-add-family-enumeration-check/specs/doc-health/spec.md Archives the doc-health delta (MODIFIED + ADDED requirements) corresponding to the promoted canon change.
openspec/changes/archive/2026-08-27-add-family-enumeration-check/proposal.md Archives the ratified proposal text for the packet.
openspec/changes/archive/2026-08-27-add-family-enumeration-check/design.md Archives the design/decision record for the packet.
openspec/changes/archive/2026-08-27-add-family-enumeration-check/.openspec.yaml Adds the archive packet’s origin metadata and approval record.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +159 to +163
**AFTER THE ARCHIVE ACT (2026-08-27) THIS READS CANON ALONE.** The
paragraph above is the historical claim and is kept as written; the block
it describes was promoted, so "both halves" is now canon plus an empty
active-delta set. Twenty-one families, `twenty-one` in canon, zero
findings.
@brettheap
brettheap merged commit f027d3b into main Aug 27, 2026
3 checks passed
brettheap added a commit that referenced this pull request Aug 27, 2026
… promoted byte-for-byte (8 → 8 + two ADDED), the check verified its own block

The archive act for `add-modified-block-currency-check`, ratified 2026-08-27 and
realized on `main` by four Speckit features. No behaviour changes: this promotes
two deltas into canon, moves the packet into `openspec/changes/archive/`, and
disposes the five tests the act made fall due.

## Gate (§ 8.1) — merged-plus-green, re-verified from `main`

All four merges re-confirmed ancestors of `origin/main` with
`git merge-base --is-ancestor` (exit 0 on each) rather than read off a PR page:

| feature | merge | what landed |
| --- | --- | --- |
| F1 `019-…-family` | **`19e3f6b5`** (#420) | the family module, three registrations, and § 2.1's own MODIFIED block in the same commit |
| F2 `020-…-fixtures` | **`76a2ad27`** (#426) | the regression catalogue, #351 and #329 reconstructed from history |
| F3 `021-…-self-gate` | **`f728d57f`** (#427) | the self-gate against this repository, by named subject |
| F4 `022-…-reporting` | **`4def2274`** (#433) | the report section, the action-line pin, the workflow-boundary pin |

| gate | before the act | after the act |
| --- | --- | --- |
| `python3 -m pytest tests/doc-health -q` | **1209 passed, 0 failed** | **1209 passed, 0 failed** |
| `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **76 passed, 0 failed** (24 active + 52 specs) | **75 passed, 0 failed** (23 active + 52 specs) |
| doc-health single-repo | 5 critical, 7 error, 41 warning, 12 info, 0 new regressions | 5 critical, 7 error, 41 warning, **11** info, 0 new regressions |
| the same run `--skip-family modified-block-currency` | 5 critical, 7 error, 40 warning, 4 info | 5 critical, 7 error, 40 warning, 4 info |
| **movement** | **+1 `warning`, +8 `info`, 0 `error`, 0 `critical`** | **+1 `warning`, +7 `info`, 0 `error`, 0 `critical`** |

The gated bands do not move in either measurement, so a `--fail-on error` run is
unaffected by construction — which is what D3's advisory launch claimed. The
advisory launch is intact in both halves, re-read rather than assumed:
`modified-block-currency` is in `FAMILIES` (22) and `FAMILY_IDS`, and ABSENT
from `FAMILY_RESOLUTION`.

§ 4.5's authored prediction of `+11 info` is **history** — measured at
`9be81a40` over 23 blocks, re-measured 9 then 8 as the corpus moved under it.
The invariant that holds at every figure is that the movement EQUALS the
family's own per-severity counts and that `error`/`critical` do not move.

**The one `info` the act removed is the family's own self-finding**, and its
departure is the promotion working: active MODIFIED blocks examined 22 → 21.

**The whole report diff is seven lines and only two of them are a finding**:
canon words 208551 → 213280 (+4729), governance words 664611 → 669340 (the same
+4729, moving from active-change prose into promoted prose), canon share 31.4% →
31.9%, the promoted-specs row of the per-source table, the headline `info`
12 → 11, the family's class subtotal `carriage ledger: 8` → `7`, and the finding
row plus its ranked-plan row. Nothing new is reported anywhere, by any family.

## § 8.2 — the promotion verified byte-for-byte, per requirement, in both capabilities

A change whose subject is lossy promotion had to prove it did not promote
lossily. Both tables were derived independently of the family and then checked
against what the family itself said.

### `doc-health`

| requirement | canon before | delta | canon after | verdict |
| --- | --- | --- | --- | --- |
| `Deterministic check families` (MODIFIED) | 8 scenarios; 12 body units + 27 scenario bullets = 39 units | 8 scenarios restated; 13 body units + 28 bullets | 8 scenarios | **8 → 8**; titles an identical SET in identical ORDER; 7 of 8 byte-identical bullet for bullet; all 3 dated bold notes byte-identical; exactly SIX differences |
| `Currency of an active change's MODIFIED requirement blocks` (ADDED) | absent | 14 scenarios | 14 scenarios | pure append; the title collides with NONE of canon's 34 |
| the other 33 requirements | — | untouched | unchanged | bytes identical per requirement, and the file order of all 34 pre-existing titles preserved |
| FILE | 34 requirements, 145 scenarios | — | 35 requirements, 159 scenarios | +1 requirement, +14 scenarios |

**The six differences, verbatim.**

1. the total numeral — canon `SHALL implement twenty-one check families` → block `SHALL implement twenty-two check families`
2. the enumeration gains one name — canon `… duplicate packet, and family enumeration.` → block `… duplicate packet, family enumeration, and modified-block currency.`
3. `Four of the twenty-one` → `Four of the twenty-two`
4. `the other seventeen families` → `the other eighteen families`
5. ONE new body sentence: `The modified-block currency family reads ACTIVE CHANGE DELTAS, the promoted SPECS they have not yet replaced, and each active change's own `proposal.md` — the last read only to resolve whether one active writer declares its deltas relative to another, which `release-realization` governs — so it likewise takes neither the governed corpus nor the lifecycle scan set as its document list, and it moves no census, word count, canon-share figure, inventory entry, or catalog record either.`
6. ONE new `AND` bullet in `A run executes the check families` (12 → 13 bullets): `- **AND** modified-block currency MUST compare each active change's `## MODIFIED Requirements` blocks against the promoted requirements they replace as its owning requirement below defines`

Differences 1–2 are ONE canon sentence and 3–4 are ANOTHER, so exactly TWO canon
body units are not carried.

**And that is exactly what the family itself reported against this block — the
check verified its own block.** Before the act it drew ONE `info` against
`openspec/changes/add-modified-block-currency-check/specs/doc-health/spec.md`
reading "does not carry **2 of the 39** body units and scenario bullets", quoting
canon's `twenty-one check families` sentence and canon's `Four of the twenty-one`
sentence — canon's wording, not the block's, which is the correct direction. This
gate's independent derivation agreed unit for unit, 39 for 39.

Scenario-by-scenario, 8 → 8: `A run executes the check families` 12 → 13 bullets
(difference 6; the other twelve byte-identical), and `Lifecycle conformance
checks fire` 2/2, `A register carries staged status` 2/2, `Drift checks fire`
2/2, `Catalog conformance checks fire` 2/2, `Routing conformance checks fire`
2/2, `Origin conformance checks fire` 2/2, `Roster composition is checked across
domains` 3/3 — all seven IDENTICAL.

### `document-lifecycle`

| requirement | canon before | delta | canon after | verdict |
| --- | --- | --- | --- | --- |
| `A MODIFIED requirement block restates the requirement as canon currently states it` (ADDED) | absent | 5 scenarios | 5 scenarios | pure append; the title collides with NONE of canon's 16 |
| the 16 pre-existing requirements | — | untouched | unchanged | bytes identical per requirement, order preserved |
| FILE | 16 requirements, 72 scenarios | — | 17 requirements, 77 scenarios | +1 requirement, +5 scenarios |

The delta carries ONLY an `## ADDED Requirements` section — no MODIFIED, no
REMOVED, no RENAMED — so there is no direction in which it could delete
anything.

### The § 2.1 ordering, resolved by the recorded D5 sequencing

Not "whichever archives first". `add-family-enumeration-check` archived **FIRST**,
at `f027d3b3` (#419) — the precondition D5 priced and that packet's own § 2.5
records paying, because a proposal registering no family cannot lawfully restate
the requirement at twenty-two. Its enumeration was therefore already CANON when
F1 wrote § 2.1's block, so the block was written relative to canon:
`release-realization`'s "declare relative to that change's outcome" discharged by
the outcome having BECOME canon, not by a two-writers basis substitution. Proven,
not reasoned — canon's requirement is byte-IDENTICAL between `f027d3b3` and base
`4def2274` (extracted from both trees and diffed, **0 hunks**), and the only
commit touching the spec since (`49f0c18c`) appended a requirement at the end.
Measured through the ordering arm too: **0** two-MODIFIED pairs, no basis
override, no finding.

### Canon after the act is what the deltas imply and nothing else

`git diff openspec/specs/` → **2 files changed, 404 insertions(+), 5
deletions(-)**. All five deletions are in `doc-health` and all five are
re-wrapped lines of the two numeral sentences plus the one continuation line the
new basis sentence extends; `document-lifecycle` has **zero** deletions. Proven
per requirement and then as a **byte diff of the remainder** — the remainder
being the whole document minus the one MODIFIED requirement and the one appended
requirement, each requirement running from its `### Requirement:` line to the next
one or to EOF. Byte-identical before and after, **raw and again after
trailing-newline normalization**: `doc-health` 88197 vs 88197 raw and 88196 vs
88196 normalized; `document-lifecycle` 48653 vs 48653 raw and 48652 vs 48652.
Preambles identical, no title removed, every pre-existing title still in position,
and both files still ending in a blank line before and after — so no appended
requirement consumed an EOF newline.

> **Review finding N2 is recorded as CONTESTED rather than applied**, per
> `document-lifecycle`'s contested-finding rule. N2 read this equality as holding
> only after trailing-newline normalization, at raw 88343 vs 88342 and 48731 vs
> 48730, the appended requirement having consumed each file's EOF blank line.
> Re-derived at the review: the raw remainders ARE equal, both documents still end
> in a blank line before and after the act, and no remainder definition this gate
> could construct yields 88343 or 48731. Writing a figure this gate cannot
> reproduce into the record of a change whose subject is unverified restatement is
> the one thing this packet exists to prevent, so the definition is made explicit
> and both figures are recorded instead. **N2 is owed a re-derivation or a
> withdrawal.**

## The five tests the act made fall due — four predicted, one not, none deleted

F3's `quickstart.md` § WHEN THE GATE FAILS named this exact day FIRST among the
movements it expected and recorded the disposition: re-aim to the ARCHIVED path
where the family's reader can be pointed there without a module change (a change
of SUBJECT, the family excluding `archive/`), else retire with a dated record —
never delete silently. **No module changed.**

| test | disposition | why |
| --- | --- | --- |
| `_LEDGER_SUBJECTS`' self-finding triple | dropped, **8 → 7**, dated comment | the block promoted, so the family reports nothing against it; verified before deleting the row |
| `_own_block()` → `_archived_block()` | **RE-AIMED** | read at the archived path through `mbc.parse_delta` + `mbc.derive_units`, the two calls `active_blocks` itself makes — the gate still owns no second parser |
| `…own_delta_is_among_the_blocks_the_family_examined` → `…own_block_sits_at_its_archived_path_and_out_of_reach` | **RE-AIMED** | the discovery claim one document over, both directions: readable at the archived path, and no active block from this change or any archived path — pinning the reader's exclusion against the REAL tree for the first time |
| `…own_delta_is_measured_against_canon_and_no_sibling_basis_exists` → `test_the_archived_block_still_resolves_to_canon_and_no_active_writer_holds_it` | **RE-AIMED** | all three claims about the tree as it now stands: basis `openspec/specs/doc-health/spec.md` status `canon`; both packets archived exactly once; no basis override, active writers on the requirement 1 → **0**. Deliberately NOT coupled to canon's TEXT, which moves with every new family |
| `…self_finding_quotes_this_change_s_two_stale_numeral_sentences` → `test_the_self_finding_is_retired_by_the_archive_act` | **RETIRED with a dated record** | the only one that cannot be re-aimed: the others are about DOCUMENTS, this one is about a FINDING, and the family draws findings against ACTIVE deltas only. Manufacturing an archived counterpart would widen the family inside a test instead of inside its module. Two residual assertions replace it — no finding names either path this packet ever had, and the frozen archived block carries the `twenty-two` forms and not the `twenty-one` ones, preserving the DIRECTION claim |
| **the fifth, in F2's file** — `test_the_packets_own_marker_templates_are_not_marker_form` | **RE-AIMED** to `openspec/specs/doc-health/spec.md` | not on F3's list. It read the packet's own ACTIVE delta to prove the two marker TEMPLATE bullets are ordinary carriage units; its docstring argued the strict anchor matters "precisely because these paragraphs promote into canon" — and now they have, so the re-aim is that claim arriving, and what the test reads is the promoted text rather than a prediction about it |

Untouched, and it matters which: the resolver guard, the discovery floor, the
scenario-arm subject, the three zero-read classes, the structural pins on the
advisory launch, the movement pin (stated as a DIFFERENCE against the family's
own counts, so `+1 / +7` needed no edit), and the two-attribute context pin. The
gate's regex set is unchanged — three names joined the `mbc.*` allowlist
(`ActiveBlock`, `derive_units`, `parse_delta`) and not one pattern.

`fam_family_enumeration` now reads canon alone and reads **zero**: no active
change restates the requirement, so `_delta_statements` is empty and its own
re-aimed `test_canon_is_the_statement_under_test` measures canon — `twenty-two`,
22 names, 22 registered, 0 unresolved.

CI-shape run of the self-gate file, outside a worktree (`git archive HEAD | tar
-x` into a bare dir + `git init -q .`), per F3's own lesson: **15 passed**.

## What stays open

- **#330 was closed by hand on 2026-08-27 (16:43Z)** — by `brettheap`, with no
  PR keyword involved. Not reopened. **§ 7.1 stands as the record of what this
  change did NOT build**: shape 1, the post-hoc lost-scenario check, which needs a
  third measurement basis inside a family whose promoted requirement obliges it to
  declare which of TWO it measured. The archived `tasks.md` § 7.1 text is left
  frozen as authored.
- **§ 7.2 — the flip is owed.** Raising the scenario-title arm to `error` plus
  the `contested` classification, moved together in one commit, on a standing
  population of one finding (`add-composed-view-authoring`'s deliberate rename,
  named and never claimed a defect). No flip is proposed for the carriage ledger.
- **§ 7.4 — the domain factories are UNMEASURED.** This change's evidence is
  openxFactory's active changes and a fixture corpus, which is why the launch is
  advisory.
- **§ 1.2 — the five orchestrator decisions were NOT VETOED, which is not the
  same as affirmatively ruled.** The flags stay where they were.
- **Groups 2–5 are TICKED, each group header naming its evidence** — ruled at
  this gate, against this session's first instinct to leave them open with a
  record: an archived change carrying thirty-two open build boxes reads as
  archived-UNREALIZED to a cold reader, which is a worse record than a tick that
  names its evidence. Every box in groups 2, 3, 4 and 5 is ticked, and each group
  header carries ONE dated discharge line:

  > Discharged 2026-08-27 by Speckit F1 = specs/019-modified-block-currency-family (PR #420, squash `19e3f6b5`); per-task evidence, RED-first records and the mutation round live in that feature's tasks.md and evidence.
  > Discharged 2026-08-27 by Speckit F2 = specs/020-modified-block-currency-fixtures (PR #426, squash `76a2ad27`); per-task evidence, RED-first records and the mutation round live in that feature's tasks.md and evidence.
  > Discharged 2026-08-27 by Speckit F3 = specs/021-modified-block-currency-self-gate (PR #427, squash `f728d57f`); per-task evidence, RED-first records and the mutation round live in that feature's tasks.md and evidence.
  > Discharged 2026-08-27 by Speckit F4 = specs/022-modified-block-currency-reporting (PR #433, squash `4def2274`); per-task evidence, RED-first records and the mutation round live in that feature's tasks.md and evidence.

  **Six boxes were not discharged as written and say so where they stand**, each
  ticked with a `RECONCILED` clause naming the feature decision that disposed it
  rather than ticked silently: § 2.1's sibling-outcome basis (F1 plan O10, F3
  plan D2 — the sibling had archived at `f027d3b3`, so the block was written
  relative to canon); § 3.2's revert (F2 review finding B4 + plan D2 — no revert
  exists and no ratified document claimed one; the truncation was caught
  pre-commit and rewritten inside archive commit `38b548d4` itself, so the
  fixture is byte-faithful from that commit's parent `d5f447e8`); § 4.1 and
  § 4.5's `+11 info` (F3 plan D1 — a figure taken over 23 blocks against a tree
  carrying 22, re-measured rather than asserted); § 4.2's sibling basis (F3 plan
  D2, and disposed a second time by this act); and § 5.2's action line (F4 Phase
  0 — already landed by F1, so realized as a PIN, with the singular's
  imprecision recorded beside it). The per-task evidence, RED-first records and
  mutation rounds stay where they were written rather than being copied into the
  packet. **§ 7 and § 1.2/§ 1.3 are untouched.**
- `Status: ratified` is left as it stands in the archived proposal, per
  precedent.

## Scope

`openspec/` (the archive move plus the two promoted specs), `README.md`, and two
test files. **Nothing under `scripts/` or `.github/`** — the module is unchanged,
and F4's pin that no workflow option reaches this family still holds.

Closes #329 — its ask was detection; both instances are disposed and the class is
now detected before an archive rather than at one.

Refs #357 — **`Refs`, not `Closes`, by ruling.** That issue's own remedy asked for
a CONTESTED-class finding. This family launched ADVISORY and absent from
`FAMILY_RESOLUTION`, with § 7.2 owing exactly that flip, so closing #357 now would
mark done a remedy whose stated form is unbuilt.

Refs #330 — closed by hand on 2026-08-27 (16:43Z), not by this change.

**Note on the first commit's message.** `7b36604e` was written before this ruling
and its body still reads the `Closes` keyword for #357. It is already pushed and is not being
rewritten; this body is the authority, and #357 is to stay open. If this PR is
merged by commit messages rather than by this body, #357 must be reopened.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@brettheap
brettheap deleted the change/archive-add-family-enumeration-check branch August 28, 2026 09:10
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