Repository navigation
Declare add-composed-view-authoring's rename with a Merged-into marker: the scenario arm's standing population reaches zero - #444
Merged
Conversation
…s zero
Brett ruled 2026-08-27, in session: "Measure first, then flip", and then
"Marker on add-composed-view-authoring now".
The modified-block-currency family's one standing `warning` on this repository
was `add-composed-view-authoring`'s MODIFIED block for "Composed views are
read-only with a repository jump" omitting canon's scenario title `Gate verbs
hide on a composed view`. The block carries it — renamed to `Tile-bound gate
verbs hide on a composed view` — so the omission was always a RENAME rather
than a loss, and the disposition canon reserves for a rename is a marker.
The marker written is the `Merged into` form, not the `Removed from canon by`
form the packet's § 6.3 predicted. The block ADDS the destination title, and
doc-health canon makes `Merged into` the author's instrument for exactly that
shape while a removal marker beside an added title deliberately suppresses
nothing ("that shape is a retitle, whatever the marker calls it").
**Merged into `Tile-bound gate verbs hide on a composed view` by add-composed-view-authoring (2026-08-27):** `Gate verbs hide on a composed view`
Family over this tree, before -> after:
scenario-title completeness: 1 -> 0 (`warning`, the arm carrying the gate)
carriage ledger: 7 -> 7 (`info`, editorial)
title resolution/ordering: 0 -> 0
marker defects: 0 -> 0
The composed-view LEDGER row survives, and that is correct: a `Merged into`
marker names titles only, so the old scenario's uncarried bullet is a declared
removal nobody has declared. It is an `info` row, not the gated arm.
F3's self-gate applied its own documented zero-state re-aim
(specs/021-modified-block-currency-self-gate/quickstart.md § The end state):
- `_SCENARIO_SUBJECT` is None; the discharged tuple is kept as
`_DISCHARGED_SCENARIO_SUBJECT` because the assertion moves rather than goes.
- `test_the_scenario_arm_names_the_composed_view_rename_and_nothing_else` is
renamed `test_the_scenario_arm_reads_zero_since_the_rename_was_declared` and
asserts the empty band AND the declaration that emptied it — the block's
`Merged into` marker, its destination, and the destination title's presence
among the block's scenario titles, all read back through `active_blocks`.
An empty band alone is the weakest assertion in the file; a broken reader
produces it too.
- THE MOVEMENT PIN NEEDED NO RE-AIM, and that was measured rather than assumed.
Its two vacuity guards are carried by the seven surviving `info` rows, which
still move this family's section and seven ranked-plan rows;
`test_the_report_moves_only_in_this_family_s_lines` was green on the same run
that reddened the gate-bearing test. The re-aim `_moved` describes falls due
at zero FINDINGS, not at zero warnings. Recorded in that test's docstring.
- `_LEDGER_SUBJECTS` untouched — the same seven named subjects.
- `mbc.SCENARIO_TITLE` added to the allowlist in
`test_the_gate_reaches_the_corpus_only_through_the_family`, with its reason.
One more name; still not one regex.
Gates: `python3 -m pytest tests/doc-health -q` 1209 passed (baseline 1209);
the self-gate file green in a CI-shape tree; `openspec validate
add-composed-view-authoring --strict` and `--all --strict` (74 items) pass;
doc-health single-repo with vs `--skip-family modified-block-currency` moves
+0 `warning` / +7 `info` — the figure the § 7.2 flip's evidence needs.
This takes the scenario-title arm's standing population to ZERO on this
repository, which is the § 7.2 flip's precondition. The flip itself is a
separate delta.
Co-Authored-By: Claude Opus 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
This pull request records the declared rename for add-composed-view-authoring using a reserved Merged into marker so the doc-health modified-block-currency scenario-title warning band reaches zero, and updates the corresponding self-gate test to assert the new “discharged” state.
Changes:
- Add a
Merged into …marker paragraph to the active MODIFIED block for “Composed views are read-only with a repository jump”. - Re-aim the
test_modified_block_currency_self_gatescenario-arm assertion from “exactly 1 warning” to “no warnings + positive assertion that the merge marker is present viambc.active_blocks”.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/doc-health/test_modified_block_currency_self_gate.py | Re-aims the self-gate scenario-arm test to assert the warning band is empty and verifies the Merged into declaration via active_blocks. |
| openspec/changes/add-composed-view-authoring/specs/ideation-dashboard/spec.md | Adds the reserved Merged into marker declaring the superseded scenario title and naming the destination title. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
335
to
+339
| # declaring its rename with a `Removed from canon by` marker, which the | ||
| # packet's § 6.3 calls the correct disposition — on that day the warning | ||
| # vanishes and `_SCENARIO_SUBJECT` becomes None with the band asserted empty. | ||
| # | ||
| # THAT DAY WAS 2026-08-27 AND THE FORM WAS `Merged into`, NOT |
…6.3's Three fixes from the review. No behaviour changes; the self-gate file is green at 15 passed before and after. 1. MISATTRIBUTION, CORRECTED. The previous commit said the packet's § 6.3 "predicted"/"named" the `Removed from canon by` form and got it wrong. § 6.3 (archived tasks.md 335-341) does no such thing: it identifies the omission as "a deliberate rename to `Tile-bound gate verbs hide on a composed view`, the case the marker exists for, and NOT claimed as a defect" — the rename, and NO marker form at all. The wrong form came from THIS FILE's own earlier prediction (module docstring, the paragraph three above), which was itself echoing the family's generic action line — "declare the deletion with a `Removed from canon by` marker" — that every arm prints on every finding. Reworded in both places to say so. A correction belongs where the mistake was written, and the mistake was here. The three surviving § 6.3 citations attribute the DISPOSITION — that declaring the rename is correct and the omission is not a defect — which is what § 6.3 actually says. 2. `quickstart.md` § The end state prescribed "an empty warning band, an empty ledger set" as one act. They can empty separately, and they did. Added: "THE TWO HALVES CAN EMPTY SEPARATELY, AND THEY DID. The warning band emptied first, on 2026-08-27 (#444); the ledger has not — the movement-pin re-aim below is conditioned on zero FINDINGS and does not yet apply." 3. DROPPED `assert _SCENARIO_SUBJECT is None`. It was a module literal asserted against itself three hundred lines from where it is written, which is the shape § 4.1's anti-vacuity rule exists to keep out of this file. The instruction it carried — if a live scenario-arm subject ever returns, put its four fields back and assert them by name rather than leaving the zero assertion standing beside a populated constant — moved to the comment beside the constant, where a future editor actually looks. The removal is recorded in the test's own docstring rather than made silently. Also recorded in that docstring: swapping the marker for `Removed from canon by` reds the zero test too (review's second mutation) — the wrong form for a retitle declares nothing. Co-Authored-By: Claude Opus 5 <[email protected]>
Ran the review's second mutation rather than restating it, and it does not do
what the previous commit's docstring line said. Swapping the `Merged into`
marker for a `Removed from canon by` one reds the zero test — but NOT by the
warning returning. The band stays EMPTY: a removal marker naming an absent
scenario title suppresses the title-arm finding exactly as a merge marker does,
because `dh:158-168`'s added-title rule governs the removed title's BULLETS and
not its title. What fails is the declaration half:
subject : the `Merged into` marker declaring 'Gate verbs hide on a composed
view' superseded by 'Tile-bound gate verbs hide on a composed view'
observed : the block carries markers [('removed', None, ['Gate verbs hide on
a composed view'])]
So the second half of this test earns its keep on its own, and the docstring now
says so: an empty band alone would have accepted the wrong instrument silently,
which is the case that turns "assert zero" from a verdict into a shrug.
Docstring only; no assertion changed. 15 passed.
Co-Authored-By: Claude Opus 5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Aug 28, 2026
Second catch-up merge in review (`45ba637a`), and this time the arms' population moved: PR #444 declared `add-composed-view-authoring`'s rename with a `Merged into` marker, discharging the one scenario-arm finding this family had been reporting since it launched. `--family modified-block-currency` now reads **0 warning, 7 info**, classes 0/7/0/0, where it read 1/7/0/0 at `b5fb03f3` and at the first catch-up merge. THIS CHANGES NOTHING THIS PACKET CLAIMS, and the packet now says so where the number lives: `unclassified` read 0 before and after, because the residual has never depended on any arm reading anything. What moved is the figure § 2.13's self-gate reproduces, so § 3.1 now carries the current baseline, the history that produced it, and an instruction not to copy it — the before figure is TAKEN at the realization branch point, since the arms' population moves as active changes land and it has already moved once under this packet. § 2.13 says the same, and "the SAME eight findings" is now seven. The proposal's Impact and its own-delta measurement carry the same correction, with the #444 discharge named as the arm working rather than as movement this change caused. Gates at `45ba637a`: validate --strict valid; --all --strict **77 passed, 0 failed** (25 active + 52 promoted); `pytest tests/doc-health -k "proposal_origin or lifecycle or corpus"` 68 passed; whole-repo run 5 critical / 7 error / 41 warning / 11 info with **0 findings naming this packet**. Co-Authored-By: Claude Opus 5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Aug 28, 2026
…omes one warning, not a silent text row (#446) * An unclassifiable finding becomes one warning, not a silent text row The modified-block-currency family already detects that its own class map has drifted from its arms — `classify` is fail-closed and returns UNCLASSIFIED rather than absorbing an unrecognized rule text into a neighbour — and then reports it in PROSE. The residual row carries no severity, so no `--fail-on` reaches it; it is not a finding, so "Health report contract"'s requirement that every finding appear in the ranked plan as a ready-to-stage work item does not reach it either. The one class of report content this capability produces that cannot become work is the one reporting a defect in its own tooling. One ADDED requirement on doc-health: a nonzero residual emits exactly ONE `warning` per run, naming the count and the first unplaced rule text verbatim, carrying that finding's repo and delta path and the action line "extend the class map, or fix the rule text drift". The finding is itself placed by the map into a FIFTH FindingClass — an unplaced finding about unplaced findings would be counted by the residual it reports, so the count would name itself — and its pattern is ANCHORED at the start of the rule text, because the finding quotes a rule text that may itself begin in the shape of an arm. The residual row stays: it is what makes the tally sum to the rows above it. NO `## MODIFIED Requirements` block, and that is a measurement rather than a preference. Canon states the family's three comparison ARMS and never enumerates the classes, the class map, or the residual — `class map`, `finding classes`, `residual` and `class summary` occur in openspec/specs/doc-health/spec.md at exactly one line between them, the arms sentence. The four-classes-to-three-arms gap lives in the module and nowhere in canon, and the advisory paragraph's severity sentence is already an ARM-to-band map rather than an exhaustive one: marker defects are not an arm, canon requires them reported and states no band. So a second non-arm finding at `warning` leaves that sentence true word for word, and restating 14 scenarios to add two would risk the defect the family exists to catch. Adds no check family; the enumeration and its numerals are untouched. Predicted movement: ZERO in every band. This tree reads `unclassified: 0` today, and the packet carries an ADDED block only, which this family does not read. Measured: `--family modified-block-currency` reads 1 warning / 7 info with and without the packet, class counts 1/7/0/0 and no residual row, no finding naming any path under the packet; `openspec validate --strict` valid and `--all --strict` 75 passed / 0 failed; `pytest tests/doc-health` 1209 passed. Ships ACTIVE; builds as one Speckit feature; archives after realization. Co-Authored-By: Claude Opus 5 <[email protected]> * Packet review: per-shape emit, a fourth severity constant, and a lean body Ten review items, applied in one pass. THE BODY IS LEAN NOW — 70 lines to 36. Every body line of a promoted requirement is carriage-ledger surface a future MODIFIED block must restate byte-for-byte, so rationale a reader can get from the proposal does not belong in canon. The body keeps the SHALLs, the shape definition, the anchor clause and the not-contested clause; the arguments moved to § Orchestrator Decisions D2. ONE FINDING PER DISTINCT UNPLACED RULE SHAPE, not one per run (ruled at packet review). Two drifted shapes are two map entries to write, and a ranked plan is a list of remedies. Shape identity is mechanical and stated in the delta — rule texts equal after every quoted span and every digit run is masked, the same grammar `_CLASS_PATTERNS` is written in. The emitted finding carries the FIRST instance's repo and path; at `warning` that identity never reaches `regressions()`, which matches `critical` and `error` only, so no issue churn. D3 and scenario 2 rewritten; a third scenario pins the grouping both ways, and a fifth pins the anchored pattern against a quotation that begins like an arm's. A FOURTH SEVERITY CONSTANT, `_DRIFT_SEVERITY`. Reusing `_LAUNCH_SEVERITY` would ride § 7.2's flip to `error` — contradicting this packet's own § 4.1 — and the drag would be INVISIBLE, because `FindingClass.band` reads the constant and the registry pin reads the band off the class. The module's `:137` comment ("THREE OF THEM, NAMED APART ON PURPOSE") states exactly this reason for the existing split. THE CLASS CANNOT BE CALLED `unclassified`. `test_a_finding_the_map_cannot_place_ is_counted_and_named` asserts that substring's ABSENCE from a clean summary and a label renders even at zero, so id `unplaced` / label `unplaced-finding drift`, appended last, no gloss. THE PINS ARE NAMED, not discovered: reporting `:115`, `:150`, `:287-294`, `:422`, `:429`, `:538-547`, `:707`; self-gate `:661-702` gains a fourth probe with its positive control; the FR-023 snapshot gains `_DRIFT_SEVERITY` and keeps its public-callable list unchanged, the emit adding no public callable. Eleven stale numerals swept as one task. `:538-547`'s `all(checked.values())` gets a BEHAVIOURAL fixture tree, `modified-block-currency-unplaced`, not an exemption — and the task records why its trigger is a removed pattern rather than a crafted title: every rule text is a fixed prefix plus `{title!r}` and `_TITLE_REPR` admits every repr Python emits. Fuzzed: 13 adversarial plus 4000 random titles times five rule shapes = 20,065 rule texts, 0 unplaceable. THE BYTE-LEVEL REPORT CONTRACT IS AMENDED, not left to drift: `specs/022-modified-block-currency-reporting/contracts/report-section.md` enumerates the four classes four times (`:17-24`, `:33-45`, `:98-109`, `:116-123`); `code_surface` names it and § 2.15's mechanical pathspec can see it. Also: the action line names the code path ("extend the class map in `scripts/doc_health/modified_block_currency.py`, …") and carries no interpolated path, the per-class action being a constant the band/action pin compares against; and the aggregation scope is 14 submodules carrying `openspec/changes/`, not 8. Unchanged and re-measured: `--family modified-block-currency` reads 1 warning / 7 info, classes 1/7/0/0, no residual row, and no finding names any path under the packet. `openspec validate --strict` valid; `--all --strict` 75 passed / 0 failed; `pytest tests/doc-health -k "proposal_origin or lifecycle or corpus"` 67 passed. Co-Authored-By: Claude Opus 5 <[email protected]> * Re-measure at the catch-up merge: the prediction is still zero `origin/main` moved four merges ahead while this packet was in review, bringing `create-ledgerxwallet-overlay-boundary` into the active set, so the measurement the packet's zero-movement claim rests on was re-taken rather than assumed. `--family modified-block-currency` at the merge (`d808974d`): 1 warning, 7 info, classes 1/7/0/0, `unclassified` 0, no residual row, and no finding naming any path under this packet — byte-identical to the `b5fb03f3` reading. Recorded in the proposal's Why and Impact and in tasks § 3.1, with the merge named, because a prediction whose base has moved is a prediction nobody re-checked. `openspec validate --all --strict` now reads 76 (was 75): the ledgerxwallet change added one active item, and this packet is still the other. Co-Authored-By: Claude Opus 5 <[email protected]> * The fixture tree does not exercise the class by existing: five task corrections tasks.md only. No spec text, no measurement, no realization surface added. § 2.8 SAID SOMETHING FALSE BY IMPLICATION. "ALL_TREES globs modified-block-currency*, so the tree joins every corpus-wide pin automatically" reads as though adding the tree discharges reporting:538-547. It does not: `_fixture_findings` calls the family with no seam, so over the unmodified map the tree contributes only PLACED findings and `all(checked.values())` still fails on `unplaced: 0`. The box now says the monkeypatched pass — one pattern removed from `_CLASS_PATTERNS` — is what exercises the class, and that the tree's presence in ALL_TREES does not by itself. AND THAT PASS REDS AS A CRASH UNLESS IT IS WRITTEN FOR IT. `:542` is `by_id[mbc.classify(f)]` and `UNCLASSIFIED` is deliberately not a class id, so the induced-unplaced findings raise KeyError there rather than failing the assertion the pin exists to make. The box now requires the pass to assert explicitly over them, or skip them into the drift count. THE TREE'S TITLES MUST BE PLAIN. F2's CLASSIFIERS (test_modified_block_currency_fixtures.py:139-145) are UNANCHORED substring probes and `test_every_finding_falls_into_exactly_one_class` asserts `len(hits) == 1` over ALL_TREES, so a requirement title carrying another class's phrase would fail that pin from the new tree — the same trap that narrowed F1's `_ledger` helper. Named, with the five phrases. AND IT CARRIES A PROVENANCE README, per F2's convention and its checker `test_every_fixture_tree_this_feature_adds_carries_a_provenance_note`: line 3, `SYNTHESIZED`, case-sensitive and whole-word — this tree is constructed for the class, not reconstructed from history. § 2.7 DROPS `:429`. Its "All four counts read 0" is a DOCSTRING numeral; its assertions survive the fifth class untouched, so it belongs to § 2.12's numeral sweep and not to a roster of pins that red. Corrected in § 3.6's evidence roster too, with the reason, because a pin roster that lists prose is a roster a reader stops trusting. Gates: `openspec validate add-unclassified-finding-class --strict` valid; `--all --strict` 76 passed / 0 failed; `pytest tests/doc-health -k "proposal_origin or lifecycle or corpus"` 68 passed. Co-Authored-By: Claude Opus 5 <[email protected]> * The scenario arm reached zero while this packet waited: re-baseline Second catch-up merge in review (`45ba637a`), and this time the arms' population moved: PR #444 declared `add-composed-view-authoring`'s rename with a `Merged into` marker, discharging the one scenario-arm finding this family had been reporting since it launched. `--family modified-block-currency` now reads **0 warning, 7 info**, classes 0/7/0/0, where it read 1/7/0/0 at `b5fb03f3` and at the first catch-up merge. THIS CHANGES NOTHING THIS PACKET CLAIMS, and the packet now says so where the number lives: `unclassified` read 0 before and after, because the residual has never depended on any arm reading anything. What moved is the figure § 2.13's self-gate reproduces, so § 3.1 now carries the current baseline, the history that produced it, and an instruction not to copy it — the before figure is TAKEN at the realization branch point, since the arms' population moves as active changes land and it has already moved once under this packet. § 2.13 says the same, and "the SAME eight findings" is now seven. The proposal's Impact and its own-delta measurement carry the same correction, with the #444 discharge named as the arm working rather than as movement this change caused. Gates at `45ba637a`: validate --strict valid; --all --strict **77 passed, 0 failed** (25 active + 52 promoted); `pytest tests/doc-health -k "proposal_origin or lifecycle or corpus"` 68 passed; whole-repo run 5 critical / 7 error / 41 warning / 11 info with **0 findings naming this packet**. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Aug 28, 2026
…e-docs.sh comment reattributed; 021 artifacts carry the #444 superseded-note (#471) - docs/doc-health.md: "nineteen families" -> "twenty-two"; extend the disclosure sentence to name families 20-22 alongside the existing 13-17/19 lineage gap; append one-sentence lineage notes for duplicate-packet (archived 2026-08-25-add-duplicate-packet-check), family-enumeration (archived 2026-08-27-add-family-enumeration-check), and modified-block-currency (archived 2026-08-27-add-modified-block-currency-check, ADVISORY at launch, plus the fifth `unplaced` class from archived 2026-08-28-add-unclassified-finding-class), each citing its canon requirement in openspec/specs/doc-health/spec.md. - scripts/ideation_dashboard/gate_routes.py: reword the stale "validate-docs.sh" comment (that script lives in codexFactory and no longer runs this tree) using the same reattribution PR #403 already applied in pytest.ini / tests/hermeticity.py. - specs/021-modified-block-currency-self-gate/: add a dated 2026-08-27 (#444) note at the top of quickstart.md's WHEN THE GATE FAILS section and one line in tasks.md's Hand-off to F4 section, saying the composed-view rename was declared with a `Merged into` marker (not `Removed from canon by`) and the scenario-arm test was re-aimed to test_the_scenario_arm_reads_zero_since_the_rename_was_declared; the five pre-#444 sites (quickstart.md, plan.md, spec.md, contracts/self-gate-contract.md, pr-body.md) are left as history per precedent (PR #434). Gates: python3 -m pytest tests/doc-health -q -k "proposal_origin or lifecycle or corpus" (71 passed); python3 -m pytest tests/ideation-dashboard/test_gate_routes.py -q (55 passed); OPENSPEC_TELEMETRY=0 openspec validate --all --strict (75 passed, 0 failed). Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]>
This was referenced Sep 5, 2026
brettheap
added a commit
that referenced
this pull request
Sep 9, 2026
…gs, one root
THE BENCH FOUND TWO THINGS AND THEY WERE ONE DEFECT. Codex raised (1) that a
citation with prose before its path — `the packet at openspec/changes/foo/tasks.md`
— was classified as ANOTHER REPOSITORY'S on the strength of having more than one
token, so `check_citations` never opened it and a rename under it exited 0; and
(2) that a single-key mapping does not round-trip through `f"{key}: {value}"`, so
the admitted line `openspec/missing.md: false` came back `openspec/missing.md:
False`, whose last token `False` read as prose while the dangling path passed at
exit 0. Both are real, both are reproduced below, and both were the LAST-TOKEN
RULE — an arm that took one token of a citation as its referent, and took it from
`yaml.safe_load`'s VALUE where the pin's grammar, its own reader and its own
printed report all carry the LINE.
AND THE ROOT RAN DEEPER THAN EITHER REPORT. Measured on the live pin: a lossless
reconstruction would NOT have closed (2) — `openspec/gone.md: gone` rejoins byte
for byte and its last token is still `gone`, so the path still went unopened; and
the parser loses referents on this corpus in a second way nobody had named, since
a ` #` is a YAML COMMENT and three live citations (`PR #444`, `codexFactory PR
#216` twice) come back TRUNCATED to `'PR'` / `'codexFactory PR'` with the referent
cut off. A citation whose path sat after a `#` would never have been opened at
all. So the fix is not a better reconstruction; it is to stop reading the parser's
value.
WHAT NOW HAPPENS, AND ITS GROUND IN THE FIELD'S OWN GRAMMAR. The pin's header
says of `cited_to:` exactly that it "is required and must be non-empty"; the whole
of the rest is its own reader's production — `^ - (\S.*)$`, the remainder of
the line, verbatim, one citation per line, whose members it deliberately never
parses because flattening them "would make the reader guess a delimiter that a
citation could itself contain" — and that line is what its disposition report
prints for a human to open. So:
* `citation_lines_in` reads the `cited_to:` LINES from the pin's bytes.
* `check_citations` ALIGNS them one-to-one, in file order, against the citations
`yaml.safe_load` parsed, so a finding still names the entry and item it
belongs to. The alignment is PROVED, not assumed: if the two counts disagree
the whole field is refused with one finding instead of classified, because an
off-by-one would attach every finding to the wrong item and a flow sequence or
a two-line citation is a form the pin's own reader does not admit either.
* `read_citation` reads EVERY token of the line's referent region and decides
the kind by FORM, in order: `://` is a URL, `#` is a forge reference (tested
first, because `owner/repo#12` carries a slash too), `/` is a repo-relative
path. A token with no `/` names no directory and is not read as one.
* A QUALIFIER IS A DECLARED REPOSITORY NAME AND NOTHING ELSE, which is the
bench's first finding answered at its root. `repository_qualifiers` reads the
vocabulary out of the pin's own `repo:` fields — the field its verifier
matches against a tree identity read from `git config --get remote.origin.url`
— and only such a name, IMMEDIATELY before a path, makes that path another
tree's. A name meaning THIS repository (`OWN_REPOSITORY_SPELLINGS`, restated
from `scripts/doc_health/pin_class.py` and pinned equal to it by a test)
qualifies nothing away. Two boundaries are stated rather than hidden: a
non-adjacent qualifier is not read as one, and a repository the pin never
declares is not in the vocabulary, so its path is resolved here and reported
missing — a loud finding a reader answers by declaring the repository, over a
silent pass on a path nobody opened.
* The readers' DISAGREEMENT is still measured and named for a successor
(`WARN`, exit code untouched: 5 lines truncated at a `#`, 2 read as single-key
mappings), because quoting those scalars changes what the pin's line reader
CAPTURES in a file vendored byte-identical into three sibling repositories —
a governed repair with a re-vendor cost. But no verdict rests on it any more.
The gloss after the em dash is still not scanned, and the reason is now written
down where the cost falls: prose carries slashes that are not paths (`and/or`, a
date, `§5.1/§12.0`, the quoted `Totals: 23 passed, 2 failed (25 items)`), and no
citation in this corpus writes its referent after the dash.
MEASURED. `validate-pin-registrations.py` on this tree: exit 0, 21 citations
naming 17 referents (9 in-tree paths, 3 forge references, 5 qualified to another
repository, 4 citations naming no machine referent), 7 WARN lines, every in-tree
path resolves. On the PRE-REPAIR pin: the same two named findings and exit 1 —
unchanged from the first author's measurement, with the classifier rewritten under
it. `pytest tests/pin_registrations tests/manifest_digests -q`: 53 passed (26 on
`main`, 41 as first written). The arm AS FIRST WRITTEN fails 17 of this file's
citation tests. Mutations, each red: the resolve check dropped (8 tests, and the
pre-repair tree exits 0 — the pre-#840 state exactly); the last-token rule
restored (8, including the live register); the parser's value classified instead
of the line (2); the qualifier rule dropped (5); the alignment proof dropped (2);
containment bypassed (2); the trailing-colon trim dropped (3).
`validate-openspec-cli-pin.py --all --no-cache`: `Totals: 102 passed, 2 failed
(104 items)`, exit 0 — unchanged. `validate-manifest-digests.py`: 189 digests
verify. `doc-health --single-repo .`: BYTE-IDENTICAL to before this commit — 10
critical, 9 error, 57 warning, 16 info, 0 new regressions.
The repair of the two dangling citations stands as the first author left it, and
its ground was re-measured here rather than inherited: the pin's header carries no
rule that a recorded disposition is never edited — searched for `immutable`,
`append-only`, `frozen`, `never edited`, `once recorded` — while it does say
entries are ADDED by a human reading, RE-DERIVED at every bump, and DELETED when
their finding goes stale. Only the pointer moved, because only the pointer's
referent moved. `scripts/validate-openspec-cli-pin.py` is still not edited; no
`openspec/` path is touched.
Refs #840 (closed by the pull request that carries this commit).
Continuation: the first author died on a rate limit mid-fix-round at c599c90,
having named both findings and their shared root; this commit is that rewrite.
Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_011pPD2SfAZtmh8qC3VAimXw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ruling
Brett ruled 2026-08-27, in session — multiple choice "Measure first, then flip", then the follow-up selection "Marker on add-composed-view-authoring now" — that the active change
add-composed-view-authoring's known rename be DECLARED with a reserved marker, taking the modified-block-currency scenario-title arm's standing population to ZERO on this repository.This is the § 7.2 flip's population-to-zero precondition (measure-then-flip, ruled 2026-08-27). The flip itself is a separate delta; this PR only discharges its precondition and records the evidence.
The marker, verbatim
Added as one paragraph in the MODIFIED block for
Composed views are read-only with a repository jump, inopenspec/changes/add-composed-view-authoring/specs/ideation-dashboard/spec.md. Nothing else in that file changed.Why
Merged intoand notRemoved from canon byThe self-gate's module docstring predicted a
Removed from canon bymarker for this day, and that prediction named the wrong one of the two reserved forms. It was the test file's own, echoing the family's generic action line ("declare the deletion with aRemoved from canon bymarker", printed on every finding of every arm) — not the packet's § 6.3, which names the rename and no marker form at all. Corrected in29c625f2; the surviving § 6.3 citations attribute only the disposition (that declaring the rename is correct and the omission is not a defect), which is what § 6.3 actually says. The block adds the destination title, and doc-health canon is explicit about that shape:The destination is written as a code span and is not a named unit, so it does not report itself.
<change-id>isadd-composed-view-authoring— the change doing the declaring.Family output, before → after
python3 scripts/doc-health.py --single-repo . --family modified-block-currencywarning, the gated arm)info, editorial)warning)info)Headline:
0 critical, 0 error, 1 warning, 7 info→0 critical, 0 error, 0 warning, 7 info. No new finding of any class appeared.Before — the one row that went away:
After — the composed-view LEDGER row remains, and that is correct rather than a miss:
Canon: "A
Merged intomarker names titles only, so a bullet a merge makes redundant is a declared removal, not a permanent editorial row — but it has to be declared as a bullet, one at a time." Nothing here tries to silence it. It is aninforow, not the gated arm.The self-gate re-aim (F3)
tests/doc-health/test_modified_block_currency_self_gate.pypredicted this exact day and told the next engineer what to do. Applied as written (specs/021-modified-block-currency-self-gate/quickstart.md§ The end state, § WHEN THE GATE FAILS):_SCENARIO_SUBJECT→None, per the quickstart. The discharged tuple is kept as_DISCHARGED_SCENARIO_SUBJECT— the assertion MOVES rather than goes.test_the_scenario_arm_names_the_composed_view_rename_and_nothing_else→ renamedtest_the_scenario_arm_reads_zero_since_the_rename_was_declared(the archive act's own precedent for a re-aimed test: rename, and record the old name in the docstring). It now asserts:warningband is empty, failing through_movedwith any offending subject named — the same named mechanism;mbc.active_blocks: the block carries exactly oneMerged intomarker, itsdestinationisTile-bound gate verbs hide on a composed view, itsnamesare exactly['Gate verbs hide on a composed view'], and that destination is present among the block's scenario titles. An empty band alone is the weakest assertion in the file — a broken reader produces one too._movedand the quickstart both warn that the two vacuity guards —assert f"### {mbc.FAMILY}" in differingandassert plan_moved— become true of the desired state at zero. The scenario arm reaching zero is not that moment: the seven survivinginforows still move this family's section and seven ranked-plan rows, so both guards still bite, and the band comparison reads(0, 0, 0, 7)correctly with no change.test_the_report_moves_only_in_this_family_s_lineswas green on the same run that reddened the gate-bearing test. Recorded in that test's docstring: the guards fall due when the LEDGER empties too._LEDGER_SUBJECTSuntouched — the same seven named subjects, composed-view row included. Verified by the ledger test's exact-set comparison passing unchanged.assert _SCENARIO_SUBJECT is None. The first cut carried one; it was a module literal asserted against itself three hundred lines from where it is written — the shape § 4.1's anti-vacuity rule exists to keep out of this file. Dropped in29c625f2, with the instruction it carried moved to the comment beside the constant and the removal recorded in the test's docstring.mbc.SCENARIO_TITLEadded to the allowlist intest_the_gate_reaches_the_corpus_only_through_the_family, with its reason beside it. One more name; still not one regex.contracts/,tasks.md,pr-body.md) are left as history, matching the precedent set when the archive act re-aimed three assertions in this same file and touched no spec artifact.quickstart.md§ The end state is the exception — it is a live runbook, and it prescribed "an empty warning band, an empty ledger set" as one act. They can empty separately, and they did, so29c625f2adds: "THE TWO HALVES CAN EMPTY SEPARATELY, AND THEY DID. The warning band emptied first, on 2026-08-27 (Declare add-composed-view-authoring's rename with a Merged-into marker: the scenario arm's standing population reaches zero #444); the ledger has not — the movement-pin re-aim below is conditioned on zero FINDINGS and does not yet apply."Mutation round
Both run in a CI-shape scratch tree (
git archive HEAD | tar -x+git init).test_the_scenario_arm_reads_zero_since_the_rename_was_declaredFAILS —observed: 1 warning(s): [('add-composed-view-authoring', 'ideation-dashboard', 'Composed views are read-only with a repository jump') …]. The warning returns.Merged intoforRemoved from canon by(review's mutation)dh:158-168's added-title rule governs the removed title's bullets, not its title). It is the declaration half that fails:observed: the block carries markers [('removed', None, ['Gate verbs hide on a composed view'])]. Measured, not restated — and it is why the positive assertion earns its keep: an empty band alone would have accepted the wrong instrument silently.Gate verbs hide…→Gate verbs hides…)Gates
python3 -m pytest tests/doc-health -q74513daf), worktree and CI-shapegit archive HEAD+git init)OPENSPEC_TELEMETRY=0 openspec validate add-composed-view-authoring --strictOPENSPEC_TELEMETRY=0 openspec validate --all --strictb5fb03f3, so the item count did not move; the brief's "75" is stale--skip-family modified-block-currencywarning/ +7info(5 critical, 7 error, 40 warning, 11 infovs… 4 info); 4 hunks, 24 changed linesThe last row is the figure the § 7.2 flip's evidence needs: with the arm discharged, this family contributes no warning at all to a full report of this repository.
🤖 Generated with Claude Code