Skip to content

Speckit F3: the self-gate — the modified-block-currency family reads this repository, names its findings, proves it examines its own packet, and moves the report in its own lines only - #427

Merged
brettheap merged 7 commits into
mainfrom
021-modified-block-currency-self-gate
Aug 27, 2026

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Speckit F3: the modified-block-currency self-gate — what the family says about THIS repository, by name

Realizes § 4 (4.1–4.5) of add-modified-block-currency-check, ratified
2026-08-27 by Brett ("Ratify as-is") on the packet as written at 06c7475a.
Third of four Speckit features. F1 (019-…, 19e3f6b5) built and registered
the family; F2 (020-…, 76a2ad27) built the regression catalogue; F4 owns
reporting and the workflow boundary and is not started.

Tests and specs only. No module change.
git diff --stat $(git merge-base HEAD origin/main) -- scripts/ openspec/ .github/
is empty.

What this adds, and why fixtures were not enough

tests/doc-health/test_modified_block_currency_self_gate.py — 15 tests.

Fixtures prove the RULES. Nothing proved the VERDICT. F1's 97 tests and F2's
regression catalogue both assert over synthetic trees; neither says a word about
what the family reports over the corpus the nightly report is computed on. This
feature is that measurement, asserted by named subject — which change, which
capability, which requirement, and for the gate-bearing warning the omitted
scenario title itself — because the packet's own § 4.1 forbids a bare count.

Three independent guards, and the independence is the design:

  1. The resolver — the tree measured is the tree the test file lives in,
    confirmed by markers and cross-checked against git rev-parse --show-toplevel.
  2. The discovery floor — the MODIFIED-block population is non-empty,
    asserted in its own test naming no severity, no change and no requirement.
  3. The named subjects — one warning by all four of its fields, nine info
    as an exact set, three empty classes by the module's own rule text with a
    positive control on each probe.

Guard 3 alone passes on a clean corpus read by a broken family. Guard 2 alone
passes when every finding is wrong. Guard 1 alone passes on the right tree read
by a broken family.

The gates

gate result
pytest tests/doc-health 1115 → 1130 (+15)
openspec validate --all --strict 76 passed (24 changes + 52 specs)
report movement vs --skip-family modified-block-currency 0 critical, 0 error, +1 warning, +9 info
report lines moved 24, in 5 hunks, in 3 sections — headline, this family's section, ranked plan
everything else in the report byte-identical
F1's, F2's and the enumeration suites 176 passed, unchanged
CI shape — bare checkout, no aggregation ancestor 15 passed (pre-fix: 1 failed / 14 passed)

Full commands and numbers: specs/021-modified-block-currency-self-gate/evidence/self-gate.md.

THE PACKET'S § 4 FIGURES WERE STALE — four defects, four decisions

Recorded as orchestrator decisions D1–D5 in plan.md, flagged for veto. None
is backed by a ruling; reverting any is an edit to this feature.

  1. § 4.1's count. It predicted "1 scenario-arm finding, 11
    carriage-ledger findings" from a spike at 9be81a40 over 23 MODIFIED
    blocks. That tree no longer exists —
    add-hermes-customer-subject-runtime-contract and add-shared-identity-seeds
    archived since. Re-measured at 76a2ad27 over 22 blocks: +1 warning,
    +9 info
    . The gate asserts what the tree produces and names the packet's
    numbers in its docstring as history. (D1)
  2. § 4.2's basis. It asks that § 2.1's block be asserted "measured against
    add-family-enumeration-check's outcome". That sibling ARCHIVED at
    f027d3b3 (PR Archive add-family-enumeration-check: realized on main, promoted 8 → 8, unblocking the 22nd family #419) before F1 registered the family, so there is no sibling
    outcome in this tree and F1's T052 wrote the block against CANON. The gate
    asserts the basis that exists (status == "canon") and the sibling's
    absence, so § 4.2's wording is visibly history rather than silently unmet.
    (D2)
  3. § 4.5 contradicts itself — "+1 warning, +11 info … headline unchanged",
    where the headline is the line those counts are printed on. Implemented as:
    the error and critical BANDS do not move (so --fail-on error is
    unaffected by construction) and census/inventory/catalog are untouched.
    (D3) § 4.5 also says "diffed against the same run on main"; the
    before-state used is this tree with the family skipped, because no other
    family's behaviour changed and diffing another worktree would compare two
    corpora and blame the difference on this change.
  4. F1's own-packet hook does not exist. F1's tasks.md:235 records T057
    (test_the_family_reads_its_own_packet_s_delta) as [x] and its § Hand-off
    tells F3 the assertion "is live". It is not — grep -rn "reads_its_own_packet" tests/ returns nothing. F3 wrote the assertion.
    F1 residue finding 6, after F2's five, and the only one with a
    behavioural consequence. (D5)

D4 is method: the gate is not revision-addressed.
harden-ideation-readiness-check reads both sides out of git archive because
its subject PINS a revision; this family measures the checkout by contract, and
F1's test_the_promoted_reader_cannot_reach_a_measurement_basis asserts
structurally that it has no way to reach a ref. What is mirrored is the resolver
DISCIPLINE — under-test first, named failure, no ancestor walk.

The combined review found a blocker, and it was a required check going red

B1. The first cut of the resolver's negative test searched ROOT.parents for
a real checkout carrying .gitmodules and xFactories/ and asserted one was
found — an assertion about the developer's filesystem, not about the
resolver. It passes in a worktree under the aggregation checkout and fails in
pytest-suite
, which runs against a bare $GITHUB_WORKSPACE/openxFactory with
no such ancestor. A green branch would have reddened a required check on main.

Reproduced and closed, both halves measured in the same tree:

CI=<scratch>/ci-shape/openxFactory
mkdir -p $CI && git archive HEAD | tar -x -C $CI
cd $CI && git init -q . && git add -A && git commit -q -m "CI shape"
python3 -m pytest tests/doc-health/test_modified_block_currency_self_gate.py -q
pre-fix file (0a15bee7):  1 failed, 14 passed   ← exactly what the review measured
fixed file:              15 passed

The fix is a tmp_path decoy carrying the aggregation markers and neither of
the family's, so the real content — "aggregation markers without the family
markers are refused" — holds in every environment. The repository's standing
answer to an environment-dependent proof is a skip
(test_session_harness.py:251, test_aggregation_register_instance.py:25-27),
and both are right for a proof that NEEDS a real aggregation tree; this one does
not, and a skip would have meant the assertion never ran in CI at all. Removing
the dependence beats guarding it.

The harness reproduces one CI property (no aggregation ancestor) and breaks
another (full history, fetch-depth: 0), so the whole-suite run inside it reads
4 failed — all four are git-history readers and all four are artifacts of
git archive | git init, named and explained in evidence/self-gate.md § 7a.
"15 of 15 in the harness" is the claim; "the suite is green in CI shape" is
not, and is not made.

Six further findings, all fixed. Two structural pins had SURVIVED mutants and
now die: the context probe missed getattr(ctx, "git", None) (the spelling the
disposition reader itself uses), and count("load_dispositions(ctx") == 1 proved
one known collaborator is called once rather than that there is one collaborator.
A third pinned PROSE — the allowlist scan ran over raw source while its docstring
said "matched on use" — and the first fix for it reproduced the same defect in a
comment
. That makes three separate times a probe in this family's suite has been
caught matching a mention; evidence/self-gate.md § 6a records all of them,
because the pattern is clearly not learnable by intention alone.

Also closed: a once-a-day flake (the report's dated H1 fell outside _SECTION
and was compared verbatim, so two runs straddling midnight would fail the
movement pin), the fact that the documented zero end-state was unreachable by
the documented mechanism
(the movement pin's two vacuity guards are true at
zero and must be re-aimed in the same commit), and this change's own archival
— nearer than the composed-view rename, reds four assertions, previously
unmentioned, now carrying an expected disposition in quickstart.md and the F4
hand-off.

OPEN QUESTION FOR BRETT — the blast radius of a named-subject set in a required check

Not decided here. _LEDGER_SUBJECTS is an exact set of nine live corpus
triples
and pytest-suite is a REQUIRED check, so any PR that adds a lossy
MODIFIED block, archives one of the twelve changes in the table, or edits canon in
a way an active block quotes will red this gate — on a branch whose author may
have nothing to do with doc-health. That is § 4's PR-gate intent working as
written, and it is a cost nobody has priced.

The option, if the cost is judged too high: a marker routing the six
corpus-facing tests to the nightly doc-health lane, keeping the resolver guard,
the discovery floor and the four structural pins in pytest-suite. The trade is
explicit — it gives up catching a lossy block before it merges. Arguments both
ways are recorded in tasks.md § OPEN QUESTION FOR BRETT. Pending his call the
tests stay in pytest-suite
, with _moved()'s message as the mitigation.

The mutation round found the thing worth knowing

This machine carries fifteen other measurable openxFactory checkouts. So
"point the resolver at another checkout" is not a hypothetical mutant. Pointed at
/home/brett/projects/xFactory/openxFactory — the shared submodule tree, exactly
the tree harden-ideation-readiness-check's ancestor walk always landed on — the
module imports cleanly and four tests kill it independently. That tree is a
genuinely different corpus: two warnings instead of one, five ledger subjects
this branch does not have, and add-family-enumeration-check still ACTIVE in it.
A gate without the resolver guard would have reported its verdict as this
branch's.

Six mutants, all killed. Two tests also went RED on their own first run, both on
the same mistake in opposite directions — matching a probe on a MENTION rather
than a USE. One was the positive control on the zero-class probes doing exactly
its job. Both are recorded as evidence rather than quietly fixed.

This gate is EXPECTED to fall due

Its subjects are live corpus content. When add-composed-view-authoring declares
its rename with a Removed from canon by marker — which the packet's § 6.3
already calls the correct disposition — the warning vanishes and
test_the_scenario_arm_names_the_composed_view_rename_and_nothing_else fails.
That is designed behaviour. Every corpus assertion's failure message names the
tree, the subject, that corpus movement is the expected cause, the re-measure
command, and the end state:

if the family now reads ZERO over this tree, that is the DESIRED end state —
assert zero by this same named-subject mechanism and keep the discovery floor,
which is then the only assertion distinguishing a clean corpus from a broken
reader.

quickstart.md § WHEN THE GATE FAILS is the runbook. Do not "fix" a fallen-due
assertion by loosening it.

The self-finding is evidence and MUST NOT be dispositioned

The family draws exactly one info against this change's own § 2.1 block, naming
canon's two stale numeral sentences (twenty-one check families,
Four of the twenty-one). The packet predicted it (§ 6.6), F1's O2 recorded that
the self-gate must treat it as evidence, and a disposition would hide the proof
that the family reads its own packet. The gate also asserts that no disposition
CAN apply in the single-repo scope it runs in, so that silence is understood
rather than discovered.

THIS CHANGE DOES NOT CLOSE #330

Packet § 7.1 requires the PR to say so, and it stays open. Its shape 1 — the
post-archive safety net, diffing a promoted spec against its own prior state
across the archive commit — is not built here (D1 of the packet): it needs a
third measurement basis inside a family whose promoted requirement obliges it to
declare which of TWO it measured. OWNER: the doc-health steward, at the next
family change touching promotion_fidelity.py.

Packet § 7.4 also stands: the domain factories are unmeasured. This
feature's evidence is openxFactory's own active changes. What the eighteen pinned
domains' active changes will say is unknown, which is why the launch is advisory
and why F4's first instruction is to run the aggregation pass before tuning
anything.

Analyze pass

Eleven findings, no CRITICAL. Five fixed before implementation, six
dispositioned; all eleven in tasks.md § Analyze pass. The one worth naming: the
spec's own motivating paragraph claimed a broken active_blocks would leave every
fixture test green. It would not — the fixture trees carry openspec/changes/,
an archive/ directory and a proposal.md each. An overstatement in a document
about lossy restatement is recorded rather than quietly corrected.

Still open after this

  • § 5 (F4): the report section rendering, the action line, and the workflow
    boundary pin. .github/ has no diff on this branch and must not gain one.
  • § 7.2: the advisory-to-enforcing flip of the scenario-title arm — error
    severity AND the contested classification, moved together, never apart. The
    standing population to discharge first is the one warning this gate names.
  • § 8: the archive act, after this realization merges and is green.
  • The five packet-level orchestrator decisions (its § 1.2) remain
    not-vetoed rather than affirmatively ruled.

Issues: Refs, not Closes — and the citation for that

Refs #357 · Refs #329 · Refs #330

The packet does not claim any of the three closes at this feature's landing,
and I checked rather than assumed:

So all three are Refs. The right place for Closes #357 / Closes #329, if
they are to close at all, is the archive commit that packet § 8.1 describes —
after F4, after the merge, and after § 8.2's byte-for-byte promotion check.

brettheap and others added 5 commits August 27, 2026 12:56
Speckit F3 of add-modified-block-currency-check, phases specify and plan.
No test code yet.

Re-measured at 76a2ad2, through the family itself: 22 active MODIFIED
blocks, +1 warning / +9 info, 0 unresolved, 0 ordering, 0 marker defects.
The packet's § 4.1 figure (11 info) was taken at 9be81a4 over 23 blocks
and no longer describes any tree; § 4.2's basis
(add-family-enumeration-check's outcome) archived at f027d3b before the
family registered, so § 2.1's block is measured against CANON. Both are
recorded as orchestrator decisions D1 and D2, flagged for veto.

Also recorded: F1's task T057 (test_the_family_reads_its_own_packet_s_delta)
is ticked [x] in F1's tasks.md and its hand-off calls the assertion "live",
but no such function or assertion exists anywhere under tests/. F3 writes
it rather than duplicating nothing (D5), and this is F1 residue finding 6
after F2's five.

Co-Authored-By: Claude Opus 5 <[email protected]>
…alse

Speckit F3 phases tasks and analyze. 31 tasks, no test code yet.

The analyze pass returned eleven findings, no CRITICAL. Five fixed before
implementation, six dispositioned; all eleven are recorded in tasks.md
§ Analyze pass rather than in a separate file.

The one worth naming here: the spec's motivating paragraph claimed that a
broken active_blocks would leave every fixture test green. It would not —
the fixture trees carry openspec/changes/, an archive/ directory and a
proposal.md each, so they route through the same discovery. The accurate
case is stronger and is now written: fixtures prove the RULES, nothing
proved the VERDICT. An overstatement in a document about lossy restatement
is worth recording rather than quietly correcting.

Two smaller ones changed the task list: FR-001 had no assertion (T024a
now asserts the gate reaches the corpus only through the family), and
FR-018 was stated at a level its mechanism did not cover (the family's own
module reads ONE context attribute; agg_root is read transitively by the
disposition reader, and T024 now pins both levels).

Co-Authored-By: Claude Opus 5 <[email protected]>
…s tree

Speckit F3 of add-modified-block-currency-check, § 4.1-4.5. One new test
module, tests/doc-health/test_modified_block_currency_self_gate.py. No
module change; scripts/, openspec/ and .github/ show no diff.

Gates: pytest tests/doc-health 1115 -> 1130 (+15); openspec validate
--all --strict 76 passed; the single-repo report moves 0 critical,
0 error, +1 warning, +9 info against the same run with the family
skipped, in 24 lines across three sections and nowhere else. F1's, F2's
and the enumeration suites read 176, unchanged.

The verdict is asserted by NAMED SUBJECT, never by count: the one warning
by all four of its fields (add-composed-view-authoring / 'Composed views
are read-only with a repository jump' omitting canon's 'Gate verbs hide
on a composed view'), the nine info as an exact set of (change,
capability, requirement) triples, and three empty classes by the module's
own rule text with a positive control on each probe. A discovery floor is
asserted separately, naming no severity and no subject, so no assertion
here can pass on an empty read.

Four things in the packet's § 4 were wrong as written, each recorded as an
orchestrator decision flagged for veto:

- § 4.1's count (11 info) was taken at 9be81a4 over 23 MODIFIED blocks;
  this tree carries 22 and reads 9. (D1)
- § 4.2 asks the block be measured against add-family-enumeration-check's
  outcome; that sibling archived at f027d3b before the family registered,
  so the basis is CANON and the gate asserts both the basis that exists
  and the sibling's absence. (D2)
- § 4.5 asks for "+1 warning, +11 info ... headline unchanged", and the
  headline is the line those counts print on. Implemented as: the error
  and critical bands do not move. (D3)
- F1's T057 own-packet hook is ticked [x] and does not exist. F3 wrote
  the assertion. F1 residue finding 6. (D5)

The mutation round's finding is worth the commit message: this machine
carries FIFTEEN other measurable openxFactory checkouts, so pointing the
resolver at another tree is not a hypothetical. Pointed at the shared
submodule checkout -- exactly the tree harden-ideation-readiness-check's
ancestor walk always landed on -- four tests kill it independently, and
that tree is a genuinely different corpus: two warnings, five ledger
subjects this branch does not have, and add-family-enumeration-check
still ACTIVE in it.

Six mutants, all killed. Two tests went RED on their own first run, both
on the same mistake in opposite directions: matching a probe on a MENTION
rather than a USE. One was the positive control on the zero-class probes
doing exactly its job. Both are recorded rather than quietly fixed.

This gate is EXPECTED to fall due when add-composed-view-authoring
declares its rename, which packet § 6.3 already calls the correct
disposition. Every corpus assertion's failure message says so and names
the re-measure command and the zero end state. Do not loosen it.

This change does NOT close #330 (packet § 7.1), and the domain factories
remain unmeasured (§ 7.4).

Co-Authored-By: Claude Opus 5 <[email protected]>
…estor

Combined review of add-modified-block-currency-check F3: one blocker and six
findings. Tests and specs only; scripts/, openspec/ and .github/ still show
no diff.

B1, THE BLOCKER. test_the_resolver_fails_on_a_checkout_it_cannot_confirm_
and_never_walks_up searched ROOT.parents for a real checkout carrying
.gitmodules and xFactories/ and asserted one was FOUND. That is an
assertion about the developer's filesystem, not about the resolver: it
passes in a worktree under the aggregation checkout and fails in the
required pytest-suite check, which runs against a bare
$GITHUB_WORKSPACE/openxFactory with no such ancestor. A green branch would
have reddened a required check.

The repository's standing answer to an environment-dependent proof is to
skip it (test_session_harness.py:251,
test_aggregation_register_instance.py:25-27), and both are right for a
proof that NEEDS a real aggregation tree. This one does not. Its content
is "aggregation markers without the family markers are refused", which a
tmp_path decoy states in every environment with no skip and no filesystem
assumption. Removing the dependence beats guarding it.

N1: the context-surface pin had two holes and both survived a mutant. The
attribute probe matched only ctx.<attr>, so getattr(ctx, "git", None) --
the spelling the disposition reader itself uses -- went unseen; and
source.count("load_dispositions(ctx") == 1 proved one known collaborator
is called once rather than that there is one collaborator, so a second
_second_reader(ctx) survived beside it. Now a union of both read shapes
and a SET of callees. Tightening the callee regex to \(ctx\s*[,)] was
needed too: \(ctx\b collected `sorted`, from sorted(ctx.repo_paths.items()).

N2: the allowlist pin matched MENTIONS while its own docstring said
"matched on use" -- naming a family attribute in any docstring reddened
it. Then the FIX for it reddened it the same way, because the first
_without_docstrings did not strip comments either. _code_only now strips
docstrings and whole-line comments, and both directions are proven: a
mention passes, the same name in real code still fails.

N6: the report's H1 is `# Doc-Health Report — <date>`, which _SECTION does
not match (its em dash is outside the heading class), so it landed in
(preamble) and was compared verbatim. Two report runs ~7s apart straddling
midnight would have failed the movement pin for a reason unrelated to this
family. The title is dropped by name rather than matched -- widening
_SECTION would let it parse `### Requirement:`, which another test forbids
on purpose -- and the caller asserts both reports carried one, so the drop
cannot hide a change it was not written for.

N3: the documented zero end-state was unreachable by the documented
mechanism. At zero findings the movement pin's two vacuity guards are TRUE
of the desired state, so quickstart § The end state and _moved()'s
guidance now name those two lines as the ones to re-aim.

N4: this change's OWN archival after F4 reds four assertions, nearer than
the composed-view rename and previously unmentioned. Recorded in
quickstart § WHEN THE GATE FAILS and in the F4 hand-off with the expected
disposition -- re-aim at the archived path (a change of subject, since the
family excludes archive/) or retire with a dated record. Deleting silently
is the one wrong answer.

N7: five len(...)==1 asserts sit beside the brief's one permitted count.
The scenario-arm docstring now says why joint count-and-subject assertions
are the sanctioned reading of § 4.1's anti-vacuity rule rather than a
drift from it.

N5 lands in F1's file, where F1's owner reads: residue finding 6 appended
to the numbered list after F2's five, and the false `- [x] T057` box
downgraded to `[~]` with a pointer to the two F3 tests that do the work.
Verified phantom: `git grep -n reads_its_own_packet origin/main --
tests/` is empty. The progress line claiming T001-T057 done is corrected.
The lesson is the packet's own: a ticked box is a restatement, and a
restatement can be lossy.

N8: evidence § 2 now names the openspec item behind 75 -> 76 --
govern-derived-pin-reachability, PR #416, merge d2ed6d3, proven absent at
F1's branch point 19e3f6b.

Also recorded as an OPEN QUESTION FOR BRETT in the F4 hand-off, not
decided here: _LEDGER_SUBJECTS is an exact set of nine live corpus triples
in a REQUIRED check, so any PR adding or archiving a lossy MODIFIED block
reds this gate. The option is a marker routing the six corpus-facing tests
to the nightly lane; it trades away § 4's PR-gate intent. Pending his
call the tests stay in pytest-suite.

Gates: pytest tests/doc-health 1130; openspec validate --all --strict 76.

Co-Authored-By: Claude Opus 5 <[email protected]>
Evidence and PR body for the combined review's fixes.

§ 7a CI shape records the blocker's reproduction and closure, both halves
measured in the same tree: git archive HEAD into a scratch dir, git init,
no aggregation ancestor (confirmed by walking every parent), then the
pre-fix file from 0a15bee reading "1 failed, 14 passed" and the fixed
file reading "15 passed".

It also records what the harness does NOT reproduce, because that run is
not green: the whole doc-health suite reads 4 failed there, and all four
are git-history readers (F2's two historical reconstructions and the two
readiness proofs) failing on a tree with exactly one commit. git archive
| git init discards history on purpose; real CI checks out at
fetch-depth: 0. So "15 of 15 in the harness" is the claim and "the suite
is green in CI shape" is not, and is not made.

§ 6a records the second mutation round with the mutants that proved each
fix, including the one worth remembering: the fix for the prose-matching
allowlist REPRODUCED the defect it was fixing, because the comment
explaining it named a family attribute. That is three separate times a
probe in this family's suite has been caught matching a mention rather
than a use, so the pattern is recorded rather than trusted to intention.

The PR body carries the CI-shape proof, the blast-radius open question
for Brett, and the issue decision: Refs #357, Refs #329, Refs #330 --
NOT Closes. Checked rather than assumed. #330 is explicitly held open by
proposal.md:311-313 and tasks.md § 7.1. #357 and #329 carry no closure
claim anywhere in the packet (the only clos* matches are #318's origin
ruling and the two #330 disclaimers), and substantively neither is
discharged: § 8.1 makes the archive a separate later act after F4 and the
merge, and #329's blocks are reported-and-standing under § 7.2's advisory
launch. An issue about text that is still lost is not closed by a check
that now mentions it.

Gates: pytest tests/doc-health 1130; openspec validate 76; CI shape 15;
scope diff over scripts/, openspec/ and .github/ empty.

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

@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

This pull request adds a corpus-facing “self-gate” for the modified-block-currency doc-health family by introducing a new pytest module that runs the family against this repository’s real checkout and asserts the resulting findings by named subject. It also adds a complete Speckit feature packet under specs/021-... documenting the design, evidence, and maintenance/runbook, and updates the original F1 tasks record to correct the mistakenly-ticked “own packet” hook.

Changes:

  • Add tests/doc-health/test_modified_block_currency_self_gate.py with 15 real-corpus tests, including a resolver guard, discovery floor, named-subject assertions, and a report “movement pin”.
  • Add the specs/021-modified-block-currency-self-gate/ feature documentation set (spec/plan/tasks/research/evidence/runbook/contract).
  • Amend specs/019-modified-block-currency-family/tasks.md to downgrade T057 from done to not-written and record the residue finding.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/doc-health/test_modified_block_currency_self_gate.py New self-gate test suite that measures this repo’s real corpus and asserts the family’s verdict and report movement boundaries.
specs/021-modified-block-currency-self-gate/tasks.md Task plan and execution record for building the self-gate and collecting evidence.
specs/021-modified-block-currency-self-gate/spec.md Feature specification describing the self-gate’s intent, requirements, and acceptance scenarios.
specs/021-modified-block-currency-self-gate/research.md Research notes and measured rationale for design decisions (resolver discipline, context surface, report subprocess use).
specs/021-modified-block-currency-self-gate/quickstart.md Runbook for executing and re-measuring the gate locally.
specs/021-modified-block-currency-self-gate/pr-body.md Prepared PR body text summarizing scope, decisions, evidence, and open questions.
specs/021-modified-block-currency-self-gate/plan.md Implementation plan capturing measured figures, decisions, structure, and sequencing.
specs/021-modified-block-currency-self-gate/evidence/self-gate.md Evidence log of gates, counts, diffs, RED-first demonstrations, and mutation results.
specs/021-modified-block-currency-self-gate/data-model.md Definitions of the values/entities manipulated by the gate (root, named subject, floor, movement).
specs/021-modified-block-currency-self-gate/contracts/self-gate-contract.md Contract table mapping each test to subject and RED form.
specs/021-modified-block-currency-self-gate/checklists/requirements.md Spec quality checklist snapshot for the feature’s spec.
specs/019-modified-block-currency-family/tasks.md Corrects progress status for T057 and appends an F3 residue section documenting the phantom test.
Suppressed comments (2)

specs/021-modified-block-currency-self-gate/evidence/self-gate.md:221

  • Constitution IV forbids committing host-absolute paths (see .specify/memory/constitution.md:72-73). The captured output snippet includes a developer-specific /home/brett/... path; consider replacing it with a placeholder (e.g., <resolved-root>) since the exact absolute location is not semantically important to the evidence.
```text
the gate resolved /home/brett/projects/xFactory/openxFactory but this test file
  lives in …/openxFactory-worktrees/021-modified-block-currency-self-gate

specs/021-modified-block-currency-self-gate/evidence/self-gate.md:214

  • Constitution IV forbids committing host-absolute paths (see .specify/memory/constitution.md:72-73). This section hard-codes /home/brett/... when describing the alternate checkout used for mutation evidence; consider describing it as the aggregation checkout’s openxFactory submodule instead of a specific filesystem location.
*M2b, the resolver pointed at a DIFFERENT VALID openxFactory CHECKOUT* —
`/home/brett/projects/xFactory/openxFactory`, the shared submodule tree, which is
**exactly** the tree `harden-ideation-readiness-check`'s ancestor walk always

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

Comment on lines +3 to +4
Every command below runs from the worktree root
`/home/brett/projects/xFactory/openxFactory-worktrees/021-modified-block-currency-self-gate`.
Comment on lines +6 to +8
**Tree**: `/home/brett/projects/xFactory/openxFactory-worktrees/021-modified-block-currency-self-gate`,
branch `021-modified-block-currency-self-gate`, merge base `76a2ad27`
(F2's merge, PR #426).
Comment on lines +171 to +172
`/home/brett/projects/xFactory/openxFactory` — the shared submodule tree, exactly
the tree `harden-ideation-readiness-check`'s ancestor walk always landed on — the
Copilot AI review requested due to automatic review settings August 27, 2026 18:22
…t names

pytest-suite on PR #427 read 1 failed, 6985 passed. The failure was
test_every_carriage_ledger_finding_over_the_real_tree_is_named, reporting by
name that ('qualify-avatar-live-voice', 'repo-boundary-governance', 'Neutral
avatar-client repository boundary') was no longer reported.

PR #424 (realize-pin-reachability) merged to main while this was open. Its
commit 7e4e2f9 -- "The client was extracted three weeks early under another
name, so canon learns to say openAvatar" -- renamed xfactory-avatar-client to
openAvatar in CANON and in the active delta that quotes it, in one commit.
That is the correct authoring move and it is exactly what the carriage arm is
advisory about: the block now carries all twelve of canon's units, so the
family correctly reports nothing for that requirement.

Fixed the way _moved()'s own message says to: merge origin/main (no rebase),
re-measure, update one row, record the cause and the commit beside it in the
source. NOTHING WAS LOOSENED -- the set is still an exact == comparison and
the tests are still in pytest-suite.

Verified before deleting, and the verification caught my own error. A first
ad-hoc probe reported "UNCARRIED: 12", the opposite conclusion, because
mbc.carried() returns the UNCARRIED units; F1's
test_case_and_trailing_punctuation_are_significant settles the direction. Read
correctly it returns none, and canon's sentence and the block's are
byte-identical. No triple was removed on the strength of a misread probe.

Re-measured at the merged head: 22 blocks, +1 warning / +8 info, 0 unresolved,
0 ordering, 0 marker defects, 0 error, 0 critical. Report 22 lines in 5 hunks
in the same three sections. Suite 1163 -> 1178 (+15, baseline re-derived by
moving this file aside rather than by subtracting -- the absolute numbers moved
by 48 because the merge brought in PR #424's own test_pin_reachability.py).
openspec validate 76. Scope diff over scripts/, openspec/ and .github/ empty.

Every figure in plan.md § THE FIGURES and evidence/self-gate.md now carries
BOTH measurements with the tree each was taken at.

This also answers the blast-radius open question with real data and settles
nothing, which is how it is recorded: evidence for keeping the tests in
pytest-suite (the gate worked; the remedy cost one merge and one line because
the message named the subject and the remedy) and evidence for moving them to
the nightly lane (the failing PR was authored by someone who already knew what
the gate was for, and the next one will not be). Brett's call, now on evidence
rather than on a hypothetical.

Co-Authored-By: Claude Opus 5 <[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.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (5)

specs/021-modified-block-currency-self-gate/evidence/self-gate.md:8

  • Committed files must not contain host-absolute paths. This Tree: value hard-codes a developer machine path; per the repository constitution, prefer repo-relative wording or runtime resolution (e.g., git rev-parse --show-toplevel).
**Tree**: `/home/brett/projects/xFactory/openxFactory-worktrees/021-modified-block-currency-self-gate`,
branch `021-modified-block-currency-self-gate`, merge base `76a2ad27`
(F2's merge, PR #426).

specs/021-modified-block-currency-self-gate/quickstart.md:4

  • Committed files must not contain host-absolute paths. The repository constitution explicitly forbids them; please replace this /home/... path with a repo-relative description or a runtime-resolved path (e.g., via git rev-parse --show-toplevel).
Every command below runs from the worktree root
`/home/brett/projects/xFactory/openxFactory-worktrees/021-modified-block-currency-self-gate`.

specs/021-modified-block-currency-self-gate/pr-body.md:211

  • Committed files must not contain host-absolute paths. This example path should be expressed generically (e.g., $HOME/... or a placeholder) rather than hard-coding /home/brett/....
`/home/brett/projects/xFactory/openxFactory` — the shared submodule tree, exactly

specs/021-modified-block-currency-self-gate/evidence/self-gate.md:223

  • Committed files must not contain host-absolute paths. Replace this hard-coded /home/brett/... path with a generic form (e.g., $HOME/...) or a placeholder.
`/home/brett/projects/xFactory/openxFactory`, the shared submodule tree, which is

specs/021-modified-block-currency-self-gate/evidence/self-gate.md:230

  • Committed files must not contain host-absolute paths. This captured output line embeds /home/brett/...; please sanitize it to a generic $HOME/... form or a placeholder so the file remains portable.
the gate resolved /home/brett/projects/xFactory/openxFactory but this test file

@brettheap
brettheap merged commit f728d57 into main Aug 27, 2026
3 checks passed
brettheap pushed a commit that referenced this pull request Aug 27, 2026
…ion holds

`govern-derived-pin-reachability` landed as pull request #428 while this packet
stood open, promoting its three requirements into `ideation-cross-reference` and
`doc-health`. Main is merged in, so this delta is now authored against canon as
PROMOTED rather than as proposed — and the hazard argument in design.md § 1,
which turned on a MODIFIED block over unpromoted text, becomes historical while
its conclusion gets stronger: the promoted requirements say what the repair route
is and what the verification covers, and none of them says what the verification
does once the owed act lands. That is still the only thing this delta adds, still
with no MODIFIED block and no restatement.

Two totals moved for reasons worth recording rather than restating away.
`openspec validate --all --strict` reads 76 where it read 77, one item fewer
because a packet archived. `tests/doc-health` reads 1183 where it read 1168,
fifteen tests arriving with #427 and #428. Both pairs are kept. The pin-class
module alone is still 53 on the merged head, and the archived-changes count the
delta-less argument rests on is 108 of 108 rather than 107 of 107.

One README conflict, resolved the only way it could be: this packet's active
entry kept, the archived packet's entry dropped, main having already dropped it.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 27, 2026
…realized

Ruled at the archive gate, against this session's first instinct to leave the
thirty-two build boxes open with a record of why. A cold reader meeting an
archived change that carries open build boxes reads it as
archived-UNREALIZED, which is a worse record than a tick that names its
evidence.

So every box in groups 2, 3, 4 and 5 is ticked and each group header carries ONE
dated discharge line naming its Spec Kit feature, its pull request and its squash
commit — F1 specs/019-modified-block-currency-family (#420, `19e3f6b5`), F2
specs/020-modified-block-currency-fixtures (#426, `76a2ad27`), F3
specs/021-modified-block-currency-self-gate (#427, `f728d57f`), F4
specs/022-modified-block-currency-reporting (#433, `4def2274`). The per-task
evidence, the RED-first records and the mutation rounds stay where they were
written rather than being copied into the packet.

Six boxes were NOT discharged as written and say so where they stand, ticked
with a `RECONCILED` clause naming the feature decision that disposed each 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 and 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, 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 § 8.1 record's sentence about the unticked groups is replaced by the ruling
and its six exceptions, and the file's authoring preamble is left as written with
a dated archive-state paragraph beside it. § 7 and § 1.2/§ 1.3 are untouched and
stay open with their text.

Gates: `pytest tests/doc-health -q -k "proposal_origin or lifecycle or corpus"`
67 passed, 1142 deselected (the archived tasks.md is corpus);
`openspec validate --all --strict` 75 passed, 0 failed.

Co-Authored-By: Claude Opus 5 <[email protected]>
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 021-modified-block-currency-self-gate 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.

promotion-fidelity blind spot: scenarios LOST from a promoted spec are invisible, because the family only compares delta to spec

2 participants