Skip to content

add-structured-scope-substrate: scope_globs parser, floor-agnostic dialect validator, trust-root floor doc (ratified) - #525

Merged
brettheap merged 7 commits into
mainfrom
change/add-structured-scope-substrate
Aug 31, 2026
Merged

brettheap merged 7 commits into
mainfrom
change/add-structured-scope-substrate

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

What this is

add-structured-scope-substrate — the machine-readable path-scope substrate.
MODIFIES the release-realization capability to add the OPTIONAL front-matter
sibling scope_globs:, a per-repository map of repository-relative globs in the
merge-gate envelope dialect. Absence is fail-closed (an absent map is never
read as "all paths"). One MODIFIED requirement plus four ADDED: structured
declaration, dialect validation, trust-root integrity, scope retention at
archive, and floor primacy at check time.

Ratification

RATIFIED 2026-08-28 by Brett Heap (convener). The proposal carries
Status: ratified; the ratification is recorded in the change's tasks.md
1.6 (convener ratification read, Open Questions 1-6 resolved) and 1.7 (Status
set and listed in the README OpenSpec Records block). This PR carries that
README entry.

Built surface

Built post-ratification via Speckit — the change's code surface is entirely
in-repo and neutral:

  • scripts/scope_globs.py — the scope_globs front-matter schema + parser
  • scripts/validate-scope-globs.py — floor-agnostic dialect validator
  • docs/scope-globs-trust-root-floor.md — the never-clearable trust-root floor doctrine
  • tests/scope_globs/ — schema, validate, integrity and dialect-lockstep suites

The glob dialect mirrors the single codexFactory authority
(scripts/merge_master/envelope.py) byte-for-behaviour rather than importing it
— importing across a sibling submodule with a stale pin would make the check
SKIP on the CI runner, and pytest-suite pins an exact skip count. The mirror is
held in lockstep by tests/scope_globs/test_dialect_lockstep.py, pinned against
transcribed literals and codexFactory's own accept/reject fixtures.

The codexFactory provenance-tie verifier that consumes scope_globs is
downstream (B's realization) and explicitly NOT this change's surface.

Consumer / dependency criterion

Consumed by codexFactory realize-provenance-gated-autonomous-merge as
dependency 0.2. Its satisfaction criterion is: merged + green on
openxFactory main, plus the codexFactory stack.yaml contract_ref advance.

This PR's diff

A catch-up merge of origin/main (the branch was 6 ahead / 143 behind).
Exactly one file conflicted — README.md, the OpenSpec Records index block —
resolved as a union: main's README verbatim plus this branch's 18 added
lines (the docs/scope-globs-trust-root-floor.md doc-index link and the
add-structured-scope-substrate Active-changes entry, placed in the list's
newest-first date order after the two 2026-08-29 entries). Verified
entry-by-entry: 222 list entries vs main's 220, nothing lost, no duplicates.
History is preserved by merge (not rebase) — the ratified tip 08e38796 is a
parent of the merge commit.

Test and validator results

Run in an isolated worktree at the merge commit, submodules initialised.

Check Result
pytest tests/scope_globs/ 51 passed, 0 failed
pytest tests/ -q -m "not postgres" (the pytest-suite gate's own invocation) 8284 passed, 0 failed, 18 skipped, 338 deselected, 46 subtests passed (25:00)
openspec validate add-structured-scope-substrate --strict valid
openspec validate --all --strict 79 passed, 0 failed (79 items)
scripts/validate-scope-globs.py passed (all active changes conform)
scripts/validate-trust-anchor.py 0 errors, 0 warnings
scripts/validate-document-catalog.py 0 errors, 0 warnings
openXwallet/scripts/validate-openxwallet.py . (consumer gate) 0 errors, 0 warnings

Honest note on one transient: a first full-suite run was started before the
merge was committed and reported one failure,
tests/doc-health/test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice,
along with a validate-trust-anchor.py pin-gitlink-mismatch REFUSE. Both read
the committed tree (pin_class.verify(REPO_ROOT) and the openXwallet
gitlink read from HEAD), which at that moment was still the pre-catch-up tip
08e38796 while the working tree already held main's content. Both pass on the
committed merge; neither is a defect in this change. experiments/ collection
errors seen on a bare pytest from the repo root are out of the gate's scope —
the gate runs pytest tests/.

Do not merge without Brett's gate — merging openxFactory main is his call.

🤖 Generated with Claude Code

brettheap and others added 7 commits August 28, 2026 06:21
…path scope

First exit of the staged topic structured-scope-substrate. MODIFIES
release-realization to add an OPTIONAL front-matter sibling scope_globs: (a
per-repository map of envelope-dialect globs) so the provenance-tie verifier in
add-provenance-gated-autonomous-merge can mechanically bound a PR's changed
paths. Resolves B's Open Question 2 in favour of an additive, non-breaking
sibling field (not amending code_surface). Honors B's folded CRITICAL #1: the
scope declaration is base-read, ratification-covered, non-author-mutable
(floored openspec/changes surface), and frozen at archive. Proposal artifacts
only; the openspec-validate extension is built later via Speckit (house rule:
OpenSpec ratifies, Speckit builds).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Feature 1 of add-structured-scope-substrate. scripts/scope_globs.py provides
the scope_globs shape (repo -> non-empty unique glob list), a front-matter
reader for the realization-axis block, and a ScopeGlobs data model other
tooling can call. Absence reads as None (fail-closed, never all-paths).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…oup 3)

Feature 2 of add-structured-scope-substrate. Mirrors the codexFactory
merge-gate envelope glob dialect (scripts/merge_master/envelope.py, the single
authority) byte-for-behaviour: rejects leading '/', negation '!', the universal
patterns, and complement/denylist keys; requires each glob compile under the
shared engine; enforces code_surface cross-consistency; stays FLOOR-AGNOSTIC.
scripts/validate-scope-globs.py is run over the live corpus by the pytest gate
(openspec CLI is external and cannot be extended in-tree). Parity to the live
authority (HEAD 3143f34d) proven: constants identical, 0 mismatches.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…oup 4)

Feature 3 of add-structured-scope-substrate. scope_retention_at_archive mirrors
the 'Origin retention at archive' gate — comparing the ratified git snapshot of
scope_globs against the working tree and rejecting any post-ratification mutation
as a contested-class failure. docs/scope-globs-trust-root-floor.md records the
CRITICAL #1 (iv) trust-root property (openspec/changes/ a never-clearable floor
member of every enrolled repo, base-read, no autonomous merge writes it) plus the
check-time floor override, and states which halves openxFactory asserts vs which
each enrolled repo must enforce. Linked in the README doc index.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 31, 2026 03:25

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

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 PR introduces a machine-readable structured path-scope substrate (scope_globs) for the release-realization capability, including an in-repo validator + schema/parser, a ratified “trust-root floor” doctrine record, and a test suite that pins the glob dialect to the codexFactory envelope authority.

Changes:

  • Add scripts/scope_globs.py (schema, front-matter parser, dialect validator, archive freeze check) and scripts/validate-scope-globs.py (house validator).
  • Add a dedicated test suite (tests/scope_globs/) covering schema, dialect conformance, corpus validation wiring, integrity/freeze behavior, and dialect lockstep.
  • Update documentation and OpenSpec records (ratified doctrine doc + README index entry + change packet artifacts).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/scope_globs/test_validate.py Validates dialect conformance, cross-consistency, floor-agnostic behavior, and corpus-wide validator wiring.
tests/scope_globs/test_schema.py Tests shape/schema validation and front-matter extraction behavior for scope_globs.
tests/scope_globs/test_integrity.py Tests archive freeze semantics and asserts presence/linkage of the ratified trust-root floor doctrine doc.
tests/scope_globs/test_dialect_lockstep.py Pins the mirrored dialect constants/fixtures to the codexFactory envelope authority behavior.
scripts/validate-scope-globs.py Adds a CLI validator that scans active changes and provides an archive-gate mode.
scripts/scope_globs.py Implements the scope_globs substrate: parsing, validation, dialect mirroring, and retention/freeze checks.
README.md Adds the trust-root floor doc link and the ratified change entry in the OpenSpec Records index.
openspec/changes/add-structured-scope-substrate/tasks.md Records the post-ratification build plan and the implemented features.
openspec/changes/add-structured-scope-substrate/specs/release-realization/spec.md Defines the modified/added release-realization requirements for structured scope and integrity properties.
openspec/changes/add-structured-scope-substrate/proposal.md Ratified proposal documenting motivation, requirements, and impact.
openspec/changes/add-structured-scope-substrate/design.md Captures design decisions, trade-offs, and open questions for the substrate.
openspec/changes/add-structured-scope-substrate/.openspec.yaml Declares the staged origin and metadata for the OpenSpec change packet.
docs/scope-globs-trust-root-floor.md Ratified doctrine record describing trust-root floor requirements and enforcement boundaries.

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

Comment thread scripts/scope_globs.py
Comment on lines +389 to +405
def _git_toplevel(path: Path) -> Path:
out = subprocess.run(
["git", "-C", str(path if path.is_dir() else path.parent),
"rev-parse", "--show-toplevel"],
capture_output=True, text=True, check=True,
)
return Path(out.stdout.strip())


def scope_globs_at_ref(repo_root: Path, ref: str, proposal_rel: str) -> object | None:
"""Read the `scope_globs` value from `proposal_rel` as it stood at git `ref`
(the ratified snapshot). Returns None when the field is absent at that ref."""
out = subprocess.run(
["git", "-C", str(repo_root), "show", f"{ref}:{proposal_rel}"],
capture_output=True, text=True, check=True,
)
return read_scope_globs(out.stdout)
Comment on lines +78 to +85
def _archive_gate(change_dir: Path, ratified_ref: str) -> int:
problem = sg.scope_retention_at_archive(change_dir, ratified_ref)
if problem is not None:
print("scope_globs SCOPE-RETENTION gate FAILED (contested):")
print(f" - {problem}")
return 1
print("scope_globs scope-retention gate passed (scope unchanged since ratification).")
return 0
@brettheap
brettheap merged commit 121b4ae into main Aug 31, 2026
4 checks passed
@brettheap
brettheap deleted the change/add-structured-scope-substrate branch August 31, 2026 07:01
brettheap pushed a commit that referenced this pull request Aug 31, 2026
…he two days since 91cf0a4 spent (#502)

MECHANICAL CLEANUP ONLY. `Status: draft` is unchanged, no `Ratified:` line is
added, no § 1 task is ticked, and D1/D2/D3/D5's rulings are untouched. The
packet sat orphaned for two days while `main` moved 67 commits under it; every
fix below is a claim that measurement made false, corrected to what the tree at
the merge now says.

1. RE-MEASURED AT THE MERGED TIP, as tasks.md § 4.2 obliges at every catch-up
   rather than permits. Run with the currency family's own `resolve` at
   `7f656980`, the `main`-side parent of the catch-up merge: **20 active
   MODIFIED blocks, 16 `canon`, 4 `pending`** (was 19/15/4 at `91cf0a46`).
   THE PENDING SET DID NOT MOVE — the same four pairs #502 measured, zero
   markers, all four adding siblings still `ratified`. The twentieth block is
   `add-structured-scope-substrate`'s (#525) over `release-realization`'s
   "Realization axis declaration", a DIFFERENT requirement of the same spec,
   resolving `canon`. Over the branch tree WITH this packet present the same
   resolver reads 21/17/4, the twenty-first being this packet's own block
   resolving `canon` — § 4.2 measured, not restated. Every `91cf0a46` anchor in
   proposal.md, tasks.md § 4.1/§ 4.2 and the README row is re-anchored, and
   § 7.5's "stays owed" is corrected to SPENT: § 7.2's reserved flip landed at
   `7f656980` (#529).

2. THE MARKER FORM'S DATE FIELD NOW AGREES WITH ITS OWN DELTA (Copilot's
   finding). The README row wrote `(<date>)`; `document-lifecycle`'s ADDED
   requirement requires `(<YYYY-MM-DD>)`. The README row spells it the way the
   normative text does.

3. THE `release-realization` DELTA PREAMBLE NAMES ITS NEIGHBOUR INSTEAD OF
   BEING TRUE BY SILENCE. "no other active change writes it" now reads "no
   other active change writes THIS REQUIREMENT", and names
   `add-structured-scope-substrate`, which holds an active MODIFIED block on
   the same specification over "Realization axis declaration" — a different
   requirement this block neither restates nor touches, raising no ordering
   question because the currency family's ordering arm groups by
   `(capability, requirement)`.

4. THE `FAMILY_RESOLUTION` CONTRADICTION, RECONCILED TO MEASURED REALITY.
   The packet asserted in § Impact and in the `doc-health` delta that the family
   "stays absent from `FAMILY_RESOLUTION`". It does not: `families.py:117`
   carries `"modified-block-currency": CONTESTED`, landed at `7f656980`
   (#529, 2026-08-31) as the second half of § 7.2's flip. That table has NO
   PER-CLASS GRAIN — `runner.main` applies it by `Finding.family` alone — so it
   reaches both classes this change adds; measured, all 8 findings the family
   emits on this tree carry `class="contested"`.
   THE CONSEQUENCE IS CARRIED RATHER THAN DROPPED. A pairing finding discharged
   by its marker is a `contested` finding that vanishes, and
   `report.uncited_resolutions` keys on `(family, repo, path)` — and it is
   measured that NONE of the four pending delta paths carries another finding of
   this family (each change holds exactly one MODIFIED block, and a pending
   block is dropped before the arms run), so all four keys would vanish outright
   and raise an `error` on the night each marker lands.
   THE ANSWER IS WORKED FROM HOW THIS FAMILY'S EXISTING CLASSES DISCHARGE TODAY,
   in two limbs: (i) § 6's marker sweep is SEQUENCED BEFORE the class lands, so
   it launches at a population of zero — a finding never emitted never vanishes,
   and this is the discipline `promotion-fidelity`, `duplicate-packet` and this
   family's own scenario-title flip each observed before joining the table;
   (ii) where sequencing is unavailable, the act that ADDS the marker records
   the citation the contested-finding rule already requires, in the same act.
   § 6.4's prohibition is NARROWED to what it always guarded — no disposition
   standing IN PLACE OF a marker — not lifted. New tasks § 6.5 (the sequencing)
   and § 2.11 (the exact set launches empty) carry it.
   AND THE CANON/CODE CONTRADICTION IS NAMED RATHER THAN INHERITED: #529 landed
   the row and amended no specification, so promoted canon still reads "The
   family SHALL remain absent from `FAMILY_RESOLUTION`"
   (`openspec/specs/doc-health/spec.md:2088`, scenario at `:2126`). NOT this
   packet's to resolve; D4's design is stated so it is sound under either limb.
   D4 STAYS A FLAGGED DECISION, re-argued from the true ground rather than
   silently redesigned: the band half is unchanged and still vetoable, the
   absence half is spent, and the veto's cost is now named.

Consequently § 8.1's archive gate and § Impact's predicted movement are stated
as the CONDITIONAL they now are: `0 warning` under the sequencing D4 asks for,
`+4 warning` against the population undischarged, and a run matching neither is
the finding.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` valid;
`--all --strict` 80 passed, 0 failed; `pytest tests/doc-health` 1339 passed;
`validate-manifest-digests.py` 150 digests verify; same-clock doc-health against
an origin/main clone — 0 NEW findings, 0 gone, identical severity lines.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc
brettheap added a commit that referenced this pull request Aug 31, 2026
…rker for MODIFIED-over-a-sibling's-ADDED (#502) (#504)

* Propose govern-sibling-added-modified-deltas: the MODIFIED-over-a-sibling's-ADDED shape gets a rule, an arm and a marker (#502)

PROPOSAL ONLY. `Status: draft`, no `Ratified:` line. Brett authorized the
DECISION TO FILE on 2026-08-29, verbatim "file the successor now", out of the
§7.4 sitting on PR #497; `.openspec.yaml` records that and says plainly that it
does not reach this packet's content. Five decisions are flagged for veto and
five open questions are routed to the sitting.

THE THREE HOLES ISSUE #502 MEASURES, AND WHAT THIS PACKET DOES ABOUT EACH.

1. NO NORMATIVE RULE REACHES IT. `release-realization`'s "Ordered deltas and
   branch vocabulary" has the antecedent "already MODIFIED by an active ratified
   change", in its body and in its only scenario; a sibling that ADDS does not
   satisfy it. Two of the four live pairs cite that rule in their own delta
   preamble — one as though it applied, the other carrying the corrected reading
   only because a seat caught it. The packet MODIFIES that requirement to EXTEND
   the antecedent to a requirement an active ratified change ADDS (the two
   antecedents are disjoint by construction, a requirement being either one canon
   carries or one it does not), and adds the archive-ordering obligation in the
   same requirement. Both promoted body sentences and both promoted scenarios are
   restated byte-identical; everything added is new text, so the currency family
   reports zero against this packet's own delta and `_LEDGER_SUBJECTS` gains no
   row — measured, not argued.

2. NO ARM EVALUATES IT. `modified_block_currency.py` drops the block at
   `if status == "pending": continue`, before any arm runs, so the arms' silence
   is uncomparability rather than clearance. The packet adds a `doc-health`
   requirement for a new finding class that evaluates the PAIRING — undeclared,
   misdeclared, self-referential; SILENT on the fourth state, declared and
   resolving, because a standing row for a correct pair is an advisory nobody
   should act on. THE 2026-08-27 RULING IS NOT REOPENED: nothing compares
   requirement text and no fourth comparison arm is added. `warning` at launch,
   the family staying absent from `FAMILY_RESOLUTION`; the flip follows the
   discharge of the standing four and is not proposed here. The class renders
   through a registered `_ArmTemplate` per the fifth-class rule — one template,
   one shape, one map entry — with the three states carried in one interpolated
   clause on the `TEMPLATE_UNRESOLVED` precedent.

3. NO MARKER DECLARES IT, AND THE ORDERING HAS NO BACKSTOP. `document-lifecycle`
   gains a THIRD reserved form,
   `**Modified over `<basis change-id>`'s addition by <change-id> (<date>):**`,
   one paragraph inside the MODIFIED block, recognized by a complete prefix and
   never by prose, naming NO units and therefore never a suppression, never a
   defective marker, and never a carriage unit. The proposal cross-reference
   stays owed and is explicitly not a substitute: it exists in 4 of 4 today and is
   measured over-broad — the same four proposals each name two to three other
   active changes as whole tokens, only one of which is the adder. For the
   ordering, `doc-health` gains a second class reporting an active ADDED block for
   a title canon already carries, which is the surviving evidence of the unsafe
   archive order and the only mechanical backstop that can exist from inside a
   health run; its population is ZERO today, which is the argument for landing it
   before the first instance rather than after.

MEASURED AT 91cf0a46: 19 active MODIFIED blocks, 15 `canon`, 4 `pending`, zero
markers, all four adding siblings `ratified`. Predicted movement +4 `warning`,
zero in every other band. Four is the live number and eight the cumulative one —
LQ-C5 counted the docstring's historical seven plus #497's block; LA-C2's own
return says four.

IT DOES NOT CLOSE #502 HERE, and the proposal says why: both seats bound the
change that SURFACED the gap not to close it, and an unratified proposal closing
a governance issue would be the shape #502 complains about. It states that it MAY
say `Closes #502` on archive, as intent rather than as an act.

Validated: `openspec validate govern-sibling-added-modified-deltas --strict` and
`--all --strict` (79 passed, 0 failed); `python3 -m pytest tests/doc-health`
1333 passed; the family run over this tree reports 0 `warning` and 8 `info`, none
of them naming this packet's delta.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Re-anchor the packet at the catch-up merge, and correct four claims the two days since 91cf0a46 spent (#502)

MECHANICAL CLEANUP ONLY. `Status: draft` is unchanged, no `Ratified:` line is
added, no § 1 task is ticked, and D1/D2/D3/D5's rulings are untouched. The
packet sat orphaned for two days while `main` moved 67 commits under it; every
fix below is a claim that measurement made false, corrected to what the tree at
the merge now says.

1. RE-MEASURED AT THE MERGED TIP, as tasks.md § 4.2 obliges at every catch-up
   rather than permits. Run with the currency family's own `resolve` at
   `7f656980`, the `main`-side parent of the catch-up merge: **20 active
   MODIFIED blocks, 16 `canon`, 4 `pending`** (was 19/15/4 at `91cf0a46`).
   THE PENDING SET DID NOT MOVE — the same four pairs #502 measured, zero
   markers, all four adding siblings still `ratified`. The twentieth block is
   `add-structured-scope-substrate`'s (#525) over `release-realization`'s
   "Realization axis declaration", a DIFFERENT requirement of the same spec,
   resolving `canon`. Over the branch tree WITH this packet present the same
   resolver reads 21/17/4, the twenty-first being this packet's own block
   resolving `canon` — § 4.2 measured, not restated. Every `91cf0a46` anchor in
   proposal.md, tasks.md § 4.1/§ 4.2 and the README row is re-anchored, and
   § 7.5's "stays owed" is corrected to SPENT: § 7.2's reserved flip landed at
   `7f656980` (#529).

2. THE MARKER FORM'S DATE FIELD NOW AGREES WITH ITS OWN DELTA (Copilot's
   finding). The README row wrote `(<date>)`; `document-lifecycle`'s ADDED
   requirement requires `(<YYYY-MM-DD>)`. The README row spells it the way the
   normative text does.

3. THE `release-realization` DELTA PREAMBLE NAMES ITS NEIGHBOUR INSTEAD OF
   BEING TRUE BY SILENCE. "no other active change writes it" now reads "no
   other active change writes THIS REQUIREMENT", and names
   `add-structured-scope-substrate`, which holds an active MODIFIED block on
   the same specification over "Realization axis declaration" — a different
   requirement this block neither restates nor touches, raising no ordering
   question because the currency family's ordering arm groups by
   `(capability, requirement)`.

4. THE `FAMILY_RESOLUTION` CONTRADICTION, RECONCILED TO MEASURED REALITY.
   The packet asserted in § Impact and in the `doc-health` delta that the family
   "stays absent from `FAMILY_RESOLUTION`". It does not: `families.py:117`
   carries `"modified-block-currency": CONTESTED`, landed at `7f656980`
   (#529, 2026-08-31) as the second half of § 7.2's flip. That table has NO
   PER-CLASS GRAIN — `runner.main` applies it by `Finding.family` alone — so it
   reaches both classes this change adds; measured, all 8 findings the family
   emits on this tree carry `class="contested"`.
   THE CONSEQUENCE IS CARRIED RATHER THAN DROPPED. A pairing finding discharged
   by its marker is a `contested` finding that vanishes, and
   `report.uncited_resolutions` keys on `(family, repo, path)` — and it is
   measured that NONE of the four pending delta paths carries another finding of
   this family (each change holds exactly one MODIFIED block, and a pending
   block is dropped before the arms run), so all four keys would vanish outright
   and raise an `error` on the night each marker lands.
   THE ANSWER IS WORKED FROM HOW THIS FAMILY'S EXISTING CLASSES DISCHARGE TODAY,
   in two limbs: (i) § 6's marker sweep is SEQUENCED BEFORE the class lands, so
   it launches at a population of zero — a finding never emitted never vanishes,
   and this is the discipline `promotion-fidelity`, `duplicate-packet` and this
   family's own scenario-title flip each observed before joining the table;
   (ii) where sequencing is unavailable, the act that ADDS the marker records
   the citation the contested-finding rule already requires, in the same act.
   § 6.4's prohibition is NARROWED to what it always guarded — no disposition
   standing IN PLACE OF a marker — not lifted. New tasks § 6.5 (the sequencing)
   and § 2.11 (the exact set launches empty) carry it.
   AND THE CANON/CODE CONTRADICTION IS NAMED RATHER THAN INHERITED: #529 landed
   the row and amended no specification, so promoted canon still reads "The
   family SHALL remain absent from `FAMILY_RESOLUTION`"
   (`openspec/specs/doc-health/spec.md:2088`, scenario at `:2126`). NOT this
   packet's to resolve; D4's design is stated so it is sound under either limb.
   D4 STAYS A FLAGGED DECISION, re-argued from the true ground rather than
   silently redesigned: the band half is unchanged and still vetoable, the
   absence half is spent, and the veto's cost is now named.

Consequently § 8.1's archive gate and § Impact's predicted movement are stated
as the CONDITIONAL they now are: `0 warning` under the sequencing D4 asks for,
`+4 warning` against the population undischarged, and a run matching neither is
the finding.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` valid;
`--all --strict` 80 passed, 0 failed; `pytest tests/doc-health` 1339 passed;
`validate-manifest-digests.py` 150 digests verify; same-clock doc-health against
an origin/main clone — 0 NEW findings, 0 gone, identical severity lines.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Close the two routes around the archive order, and dispose the live pair by the rule rather than by hand (#502)

THE RULE AS DRAFTED WAS STRICTLY NARROWER THAN THE PER-PACKET TEXT IT CLAIMS TO
SUBSUME, and the live pair proves it. `add-binding-consumer-identity` is fully
realized — PR #516 squash `5e8a33cf`, the cut `contract-v2.4` at `afdf0e88`,
tag published and verified — and its archive is blocked by exactly this rule's
shape: its task 7.2 greps canon for the requirement title and FAILS BY DESIGN
while `add-notebook-hosting-credential-custody` is unarchived. That same 7.2
carries a CONVERSION CLAUSE ("if the order ever inverts, the block CONVERTS TO
ADDED first") which the general rule did not reach at all. A general rule that
reaches less than the per-packet text it replaces is a narrowing wearing a
generalization's label.

Both amendments ADD to the already-open MODIFIED block; the restated canon text
is untouched and still byte-identical, verified with the family's own derivation
(8 canon units, 0 not carried, 0 scenario titles missing).

A. THE CONVERSION CLAUSE — one body paragraph plus
   `#### Scenario: The modifying change converts its block rather than waiting`.
   Re-shaping the block to `## ADDED` does NOT dissolve the obligation: the
   antecedent attaches to the PAIRING, not to the block's form, and conversion
   leaves two changes adding one requirement — the ordering question unresolved
   and no longer declared anywhere. Conversion is lawful ONLY AS A PAIRED ACT
   ruled by the authority that ratified both packets: one ruling amends BOTH,
   the adding change strikes or re-scopes its addition, and the converting block
   RETAINS the `Modified over` marker as provenance. That retention is a
   retention, not a new marker obligation — `document-lifecycle` scopes the
   form's requirement to MODIFIED blocks and this widens it in no way. An
   unpaired conversion is a breach whose surviving evidence is the D5 collision
   class's own subject: an active addition for a title canon then carries. The
   "SHALL NOT be read as the source" paragraph is widened to name the per-packet
   conversion clauses alongside the pre-archive `grep`, so the subsumption is
   stated rather than assumed.

B. THE FALSIFIED-SCENARIO OBLIGATION — one body paragraph plus
   `#### Scenario: Landed reality falsifies the adding change's scenario before
   its archive`. The SAFE order holds the adding change open while the
   repository moves under it, so a cut contract, a merged realization or a
   promoted specification may falsify a scenario the archive would then promote.
   The ADDING change SHALL amend that scenario BEFORE it archives, by the route
   a ratified packet's amendments take and with its owner consenting; the
   ordering obligation is UNCHANGED by the falsification, which is never itself
   licence to invert the order or to convert the block.

C. THE WORKED DISPOSITION — new proposal.md section "The one live pair this rule
   already disposes". DISPOSED AS (a), CHAIN ORDER:
   `add-notebook-projection-identity` → `add-notebook-hosting-credential-custody`
   → `add-binding-consumer-identity` (custody's own task 6.2 holds it open on
   projection-identity; #516's task 7.3 records the same dependency from the far
   end). Three obligations, all STATED and none PERFORMED here:
   * CUSTODY OWES THE FIFTH-SCENARIO AMENDMENT under (B). Its ADDED scenario
     "The published binding shape cannot yet express the access identity" says
     "the shape carries no consumer or access-identity field". `contract-v2.4`
     FALSIFIED IT: the published schema now declares `consumer:` with
     `holder_ref` and `fetch_identity`
     (`contracts/schemas/xfactory-credential-contracts.schema.yaml:185-229`;
     `contracts/CHANGELOG.md` § `contract-v2.4 — 2026-08-31`). Archiving custody
     unamended IN THE CHAIN ORDER would promote a scenario the repository's own
     published schema contradicts — the safe order delivering the loss the
     unsafe order was supposed to have a monopoly on. New tasks § 6.6 carries it.
   * `add-binding-consumer-identity` OWES THE MARKER, already § 6.1; § 6.2 now
     records that its own § 7.4 obliges the carriage diff to be re-run because
     the marker touches the block (a marker is not a carriage unit, so the
     answer does not move).
   * CONVERSION WITHOUT PAIRING was considered and is FORBIDDEN by (A). It is
     the one route that would unblock #516's packet today without waiting on
     custody.
   § Why, § What Changes and § What this proposal does NOT claim are corrected
   where they called all four pairs benign — that is now false for this one, and
   the falsification is named rather than averaged back in.

D. OQ-3 STAYS OPEN, with the note that disposition (a) creates no second-ADDED
   population — chain order leaves exactly one addition for the title throughout
   — and that (A) forecloses the unpaired route into it. The population stays
   zero by this packet's own disposition rather than by luck.

NOT DONE, DELIBERATELY: OQ-1/2/4/5 unsettled, D1/D2/D3/D5 untouched, no § 1 task
ticked, and NOTHING written into `add-binding-consumer-identity`'s or
`add-notebook-hosting-credential-custody`'s change directories — both amendments
are post-ratification acts on ratified packets that this change only OBLIGES.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` valid;
`--all --strict` 80 passed, 0 failed; same-clock doc-health against an
origin/main clone — 0 NEW findings.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: the disposition retires with its basis, and canon catches up with #529's row (#502)

TWO FINDINGS, BOTH ABOUT A REMEDY THIS PACKET PRESCRIBED WITHOUT READING THE
MACHINERY THAT WOULD CARRY IT. Neither is a wording repair.

P1 — THE PRESCRIBED DISPOSITION OUTLIVED ITS PURPOSE AND SILENCED THE ARMS.
`fam_modified_block_currency` calls `promotion_fidelity.disposed(...)` BEFORE it
calls `resolve(...)`, and dispositions match `(repo, path)` with an optional
`(requirement)` narrowing and NO finding-class grain
(`promotion_fidelity.py:714-773`). So the entry the packet told an author to
record for a pairing finding does not stop at that finding: it drops the block
before it is resolved, and it goes on dropping it AFTER the declared basis
archives and the requirement enters canon — the first moment the three
comparison arms can read that block at all. A stale MODIFIED block could then
delete newly promoted clauses and scenarios unreported, which is the exact
defect family those arms exist for. The remedy would have ended by disabling the
checks its own subject had finally become eligible for.

  THE FIX WORKS WITH THE MACHINERY'S GRAIN RATHER THAN AROUND IT, in the
  `doc-health` pairing requirement:

  * THE TWO ROUTES ARE ORDERED, NOT OFFERED. "THE CLASS'S REMEDY IS THE MARKER,
    AND THE TWO ROUTES TO IT ARE ORDERED RATHER THAN OFFERED" — (1) SEQUENCING
    IS THE ROUTE (declare before the check runs; "a finding never emitted never
    vanishes and owes no citation, so this route ends the question rather than
    answering it"), and only then (2) THE CITATION IS THE EXCEPTION, AND IT
    CARRIES ITS OWN RETIREMENT. § 6.5 already sequenced the sweep first; the
    delta now says so normatively instead of leaving the two side by side.
  * GRAIN. "The entry SHALL name the REQUIREMENT and not the delta path alone,
    so that it reaches the one block it answers rather than every finding this
    family raises against a delta file that may carry several blocks."
  * RETIREMENT, WITH AN OWNER AND AN EVIDENCE. "The entry SHALL be retired when
    the declared basis archives, that being the act after which it silences a
    comparison instead of answering a disappearance. The retirement is an
    obligation of THE ARCHIVING CHANGE — the act that promotes the requirement
    is the act that makes the arms able to read the block — and it is evidenced
    at that change's own archive gate. The MODIFYING change's archive gate SHALL
    confirm that no such entry stands over its block." The ORDER of the two
    archive acts stays `release-realization`'s and is neither restated nor
    widened, per D1.
  * FALSIFIABLE, by scenario. New
    `#### Scenario: The declared basis archives while a pairing disposition
    still stands` — the entry MUST be retired by the archiving act, "the run's
    silence on that block MUST NOT be read as those arms clearing it, the
    disposition being read before the block resolves so that the silence is
    suppression rather than comparison", and the modifying change MUST NOT meet
    its archive gate while it stands. The existing dispositioned-finding
    scenario is amended to say the entry reaches THE WHOLE BLOCK rather than the
    class, and to require the requirement narrowing.

P2 — THE PACKET NAMED A CANON/CODE CONTRADICTION AND ARCHIVED INTO IT.
Promoted `doc-health` says the family "SHALL remain absent from
`FAMILY_RESOLUTION`" (`openspec/specs/doc-health/spec.md:2088`) and rests a MUST
on that absence at `:2126`. `7f656980` (PR #529, 2026-08-31) added
`"modified-block-currency": CONTESTED` at `families.py:117` and amended NO
specification. An ADDED-only delta requiring both new classes to be `contested`
while that requirement stands would archive two mutually contradictory
requirements into one specification — and this packet is not a bystander to the
row: both its classes are `contested` BY it and its whole discharge design is
built on it being real.

  THE FIX IS A `## MODIFIED Requirements` BLOCK over "A modified-block-currency
  finding its own class map cannot place is itself a finding", superseding the
  absence rule honestly and PRESERVING what it protected:

  * THE ROW IS RECORDED, CITED. "THE FAMILY IS PRESENT IN `FAMILY_RESOLUTION`,
    AND THIS REQUIREMENT RECORDS THAT ROW RATHER THAN CONTRADICTING IT" —
    `families.py` reads the row "as of `7f656980` (PR #529, 2026-08-31)", the
    table "has NO PER-CLASS GRAIN", and "the finding this requirement defines is
    `contested` from that landing".
  * THE PROTECTIVE INTENT IS KEPT AND RE-SEATED. "THE PROTECTION THE ABSENCE
    BOUGHT IS OWED STILL, AND IT IS NOW OWED BY THE ACT RATHER THAN BY THE
    TABLE": a finding designed to stop being emitted as soon as the class map is
    extended SHALL NOT become an uncited-resolution error for having worked, so
    the act that EXTENDS THE MAP records the citation in the same act, and SHALL
    NOT record it IN PLACE OF the extension.
  * RECONCILED WITH P1. The citation "SHALL be scoped so that it cannot outlive
    the disappearance it answers", at requirement grain, "retired once the report
    that first omits the finding has been rendered, that report being the last
    one the entry can be read on" — the same mechanical reason, stated once in
    each place it binds.
  * The scenario bullet at `:2126` is REPLACED rather than dropped: "the
    disappearance MUST NOT be reported as an uncited resolution, AND the act
    that extended the map MUST carry the citation that makes it so, the family
    being PRESENT in `FAMILY_RESOLUTION`". One new scenario
    (`The family's resolution class is read from the table and not from this
    requirement`) pins where a reader gets the answer.
  * THIS REGULARIZES #529 rather than reverting it. No code moves: the row and
    `_LAUNCH_SEVERITY` stay exactly where that PR put them; what moves is
    promoted text, which is what #529's landing left owed.

THE THIRD `FAMILY_RESOLUTION` MENTION IS NAMED AND LEFT STANDING, AS A DECISION.
Canon says `FAMILY_RESOLUTION` three times; two are superseded. The third is
`:1726`, inside "Currency of an active change's MODIFIED requirement blocks" —
the requirement D2 declines to open. It is not in the same position, and the
difference is in the promoted text: `:1726` sits under "This family SHALL be
advisory AT LAUNCH" and its own paragraph RESERVES the reversal ("Raising the
scenario-completeness arm to `error` and adding the contested classification are
ONE later decision taken together by ruling, and SHALL follow the discharge of
the standing population rather than precede it") — which is exactly what
`7f656980` took, together, on a measured population of zero. A launch state a
requirement provides for leaving is SPENT when the reserved act is taken;
`:2088` provides for nothing, being an unconditional SHALL with a MUST resting on
it. Superseding `:1726` anyway means restating a ~290-line requirement with 14
scenarios — the cost D2 measured and declined. Recorded in the delta preamble,
in D2 and as tasks § 4.6, so a seat can reverse it.

CARRIAGE OF THE NEW MODIFIED BLOCK — DERIVED, NOT TRANSCRIBED. The carried lines
were sliced from the promoted spec itself, so byte-identity is a property of the
construction. Canon carries 35 units for that requirement (10 body sentences, 6
scenario titles, 19 scenario bullets). THIRTY-THREE are restated byte-identical.
TWO are dropped and both are named as code spans by ONE marker:

  **Removed from canon by govern-sibling-added-modified-deltas (2026-08-31):**
  the `FAMILY_RESOLUTION`-absence body sentence, and the last bullet of "The
  class map grows the pattern the drift named"

Measured with the family's own `promoted`/`resolve`/`suppression` and its three
arms over this tree: status `canon`, 2 units suppressed, 0 defective markers,
0 scenario-title findings, 0 ledger findings, 0 marker-defect findings. The
marker's reason clause carries no code span, so it parses as a reason and the
marker names exactly the two units (an earlier draft put backticks in the reason
and silently turned them into two junk names). The `release-realization` block
is unchanged and still reads zero.

PROSE BROUGHT FORWARD. proposal.md: § Why's branch-tree read moves 21/17/4 →
22/18/4 (the twenty-second block is this packet's own `doc-health` one, and it
resolves `canon`); § What Changes gains the MODIFIED-block bullet; § Impact's
affected-specs, own-delta-reads-zero and `FAMILY_RESOLUTION` bullets are
re-measured for two blocks; D2 keeps its measurement and gains "D2 IS ABOUT
THOSE TWO REQUIREMENTS AND NOT ABOUT THE CAPABILITIES" plus the third-mention
decision; D4 is re-argued from this ground and
its limb 2 gains the grain and the retirement; the "one finding this packet will
not quietly inherit" paragraph becomes "the contradiction this packet will not
leave standing under itself"; a new NOT-CLAIMED line refuses any reversal of
#529. tasks.md: 4.2 re-measured for both blocks, NEW 4.5 (the canon/code
reconciliation) and NEW 4.6 (the third mention, left standing on purpose), with
2.11, 6.4, 6.5, 7.5 and 8.3 updated. README's active-change row
carries the MODIFIED block, the ordered discharge path and the bounded citation.

NOT DONE, DELIBERATELY: no code, no test and no fixture moves — F1/F2 remain
unbuilt features; D1/D3/D5 untouched; OQ-1..OQ-5 unsettled; no § 1 task ticked;
nothing written into any other change's directory.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` valid;
`--all --strict` 80 passed, 0 failed; `pytest tests/doc-health -q` 1339 passed;
full `pytest tests/ -q -m "not postgres"` 8281 passed, 21 skipped (the
exact CI pin), 338 deselected, 0 failed; same-clock doc-health
against an origin/main clone at `7f656980` — 58 findings each side, 0 NEW and 0
gone, headline unchanged at 5 critical / 4 error / 38 warning / 11 info.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: the unratified basis discloses or is reported (#502)

Codex's only round-2 finding: `document-lifecycle` requires the reason clause
of a `Modified over` marker naming an unratified basis to state that standing,
and nothing read it. The pairing class fell silent the moment a marker named a
matching sibling, so a marker that names its basis and says nothing about its
acceptance passed as DECLARED AND RESOLVING — the disclosure obligation was
declared in one capability and enforced in none.

TAKEN AS A FOURTH REPORTED STATE, not as marker validation folded into
MISDECLARED. MISDECLARED is defined by a basis that does not exist — "the
change it names neither ADDS nor RENAMES to the title" — and its remedy is to
name a different change. Here the basis exists, the pairing is right, and what
is missing is a warning to the reader; one class row carrying two unrelated
remedies would be the wrong finding wearing the right band. The states share
one `_ArmTemplate` and one map entry either way, so the fourth state costs the
registry nothing: it is one more branch of the interpolated `why`.

  UNDISCLOSED — a marker names an active change, other than this one, that
  does add or rename to the title, that change is NOT `ratified`, and the
  marker's reason clause does not carry the disclosure `document-lifecycle`
  requires of it.

`document-lifecycle` stays the SOURCE and gains the FORM the check needs: the
reason clause discloses by carrying the word `unratified`, read
case-insensitively, in prose or as a code span. A checker asked to decide
whether a sentence discloses would be the prose rule this whole marker design
refuses; a reserved word is what the two existing forms already trade on.

The enumerations move together: the doc-health requirement body ("EXACTLY FOUR
STATES, and be silent on the fifth"), its arm-template paragraph, the
"correctly declared" scenario (now scoped to a `ratified` basis) plus two new
scenarios — the state reported, and its complement silent — the
`## What Changes` bullets, § Impact's predicted movement, the README row, and
tasks 2.2, 2.3, 2.5, 2.6, 2.9, 4.1, 6.1 and 8.1. The per-class counts do not
move: two templates, two `FindingClass` entries, two `_CLASS_PATTERNS` entries,
as before.

LAUNCH POPULATION ZERO, MEASURED: all four live pairs have `ratified` bases
(§ 4.1), so no marker the § 6 sweep writes owes the disclosure and the new
state moves neither of § 8.1's figures. Two implementation facts follow and are
recorded rather than left to be rediscovered — `sibling_titles` must carry the
adding change's DECLARED STANDING (`active_blocks` never reads it for a pure
adder), and the `Modified over` reason must be the whole tail after ` — `,
because the `Removed from canon` path takes the reason from after the LAST code
span and would swallow a code span written inside it.

Gates: `openspec validate` strict green for the change and `--all` (80/80);
`pytest tests/doc-health` green; full suite green; same-clock doc-health over
the branch tree reads 5 critical / 4 error / 38 warning / 11 info, identical to
both a baseline clone at the branch's merge-base with main (`7f656980`) and a
worktree at the pre-edit tip — zero new findings against either.

* Apply the Codex round: one block one state, and the marker's by-hand is the carrier (#502)

Two P2 spec-text findings from the round-3 bench, both in this packet's
ADDED requirements. The doc-health MODIFIED block over promoted canon is
untouched and its three arms still read zero.

FINDING 1 — the four states overlapped. A change carrying both an ADDED and
a MODIFIED block for one title with no marker satisfied UNDECLARED and
SELF-REFERENTIAL at once, and their scenarios' WHEN clauses overlapped too,
so an implementation could emit two findings with two remedies for one
defect and still claim to report "EXACTLY FOUR STATES". The states are now
MUTUALLY EXCLUSIVE BY DEFINITION: classification is ORDERED, the
self-addition condition is examined FIRST and excludes the block from every
state below it, and each state's antecedent carries that exclusion in its
own words so the branch and the delta text say the same thing. The two
scenarios' WHEN clauses are disjoint and the self-referential scenario
asserts exactly one finding.

FINDING 2 — only the basis was validated. A marker with the right basis and
a `by` naming an unrelated change passed as DECLARED AND RESOLVING and
promoted with FALSE PROVENANCE. document-lifecycle now REQUIRES the `by`
identifier to EQUAL the change whose delta carries the block — the reading
the other two reserved forms already have, and the reading the conversion
clause's marker retention already assumes, the converting change being the
same change that wrote the block — and doc-health folds the comparison into
MISDECLARED, widened to two halves with the remedy prose split per half so
each stays singular. The state count stays FOUR.

Tasks 2.1 (resolvable -> equal to the carrier, with recognition kept apart
from validation so a wrong `by` reports misdeclared instead of falling back
to undeclared), 2.5, 2.6 and 2.9 carry both fixes; the enumeration sweep
moves proposal.md's code_surface and summary bullets and the README row.

Catch-up merge of origin/main first (PR #504 was CONFLICTING on README's
active-changes list; resolved as a union). Section 4.2's re-measure
obligation re-run against the new main-side parent 9af98c4d: openspec/specs/
is byte-identical to 7f656980, both of this packet's MODIFIED blocks still
resolve canon, the population still reads 20/16/4 with the same four pairs,
zero markers and four ratified adders, and the family emits the same 8
findings, none against this packet.

Gates: openspec validate --strict and --all --strict green (81/81);
tests/doc-health 1339 passed; full suite 8343 passed, 21 skipped (pin), 338
deselected, 0 failed; same-clock doc-health against a baseline at 9af98c4d
identical at 5 critical / 4 error / 38 warning / 12 info, ZERO new findings.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: a map extension cites nothing, because nothing disappears (#502)

One P1 from the round-4 bench, on the doc-health MODIFIED block over the
promoted unplaced-class requirement. The round-2 catch-up re-seated the
absence's protection as an obligation — "THE PROTECTION THE ABSENCE BOUGHT
IS OWED STILL, AND IT IS NOW OWED BY THE ACT" — requiring the act that
extends the class map to record a health/dispositions.yaml citation in the
same act. Measured against the machinery, that rule fires on no reachable
state, and obeying it is itself the defect.

THE MEASUREMENT, taken before the rewrite rather than reasoned from the
shape of the rule. report.uncited_resolutions keys a resolution on
(family, repo, path) — Finding.match_key(), which reads neither rule text
nor severity — and _drift_findings constructs the unplaced-class finding
from the repo and path of the very finding it names. The two therefore
share a key, verified directly against the module: extending the class map
changes what classify() PLACES and nothing an arm EMITS, so the named
finding is still emitted at that same key on the next run, the key never
leaves `current`, and uncited_resolutions returns []. No citation could
ever have been owed.

AND RECORDING ONE WOULD HAVE BEEN THE DEFECT. promotion_fidelity.disposed
is consulted at modified_block_currency.py:1386-1390, BEFORE resolve(), at
family/repo/path grain with an optional requirement narrowing and no
finding-class grain — so the entry would suppress the three comparison arms
over that block, hiding the SURVIVING finding on every report until
retirement. A map extension classifies a defect; it does not fix one.

THE REWRITE states the prohibition Codex asks for: an act extending the
class map SHALL NOT record a disposition for the finding it reclassifies.
Three body paragraphs replace the two removed — the measurement, the
prohibition, and what the uncited-resolution rule still reaches unchanged
(some OTHER act emptying a (repo, path) the previous report carried, which
promoted canon already governs and which this requirement neither widens
nor restates). The replacement bullet of "The class map grows the pattern
the drift named" now says no citation AND no disposition is recorded, and
a new scenario makes the prohibition falsifiable from both sides.

THE PAIRING DISPOSITION DESIGN IS UNDISTURBED, and it is load-bearing for
the opposite mechanical reason: a pairing finding sits on a `pending` block
whose three arms do not run, so when the marker discharges it NOTHING
replaces it at that key — measured in the proposal as all four pending
delta paths carrying no other finding of this family. There the
disappearance is real and the citation genuinely owed; its grain and
retirement bound an entry that would otherwise silence the arms once the
basis archives. One mechanism ends a key, the other never touches it, and
the two texts now say so distinctly. § 6.4 and 2.11 are unchanged.

CARRIAGE RE-DERIVED with the family's own suppression() after the rewrite,
since the operative text moved: canon still 35 units (10 body, 6 scenario
titles, 19 scenario bullets); the block's own units 45 -> 56 (body 16 -> 23,
titles 7 -> 8, bullets 22 -> 25); the SAME two units missing and the SAME
two suppressed by the SAME single marker; 0 defective. All three arms read
zero — the rewrite touched only text canon does not carry. The delta
preamble's new-text tally moves to four body paragraphs, one replacement
bullet and two scenarios, and the marker's tail to "the four paragraphs
above".

Prose sweep: proposal.md § What Changes, D2, D4 (which gains the explicit
two-mechanisms contrast) and § does-not-claim; tasks 4.2 (the re-derived
figures) and 4.5; the README row.

Gates: openspec validate --strict valid, --all --strict 81 passed / 0
failed; pytest tests/doc-health 1339 passed; full pytest -m "not postgres"
8342 passed, 21 skipped (the pin), 338 deselected, 1 failed — the
--require-realization arm of test_release_mode_field_is_preserved_on_the_
real_repository, a 30s subprocess timeout that REPRODUCES IDENTICALLY on
this branch's merge-base 9af98c4d, so it is environmental and not this
round's. Same-clock doc-health against a merge-base baseline tree also
named openxFactory: 59 rows on each side, byte-identical, ZERO new findings.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: a rename is a basis everywhere or nowhere, and one's own rename is not a collision with oneself

Two P2 findings, both on the RENAMED-basis seam, both verified against the
code and the promoted text before a word moved.

SELF-REFERENTIAL IS THE CARRIER'S OWN ADDITION, AND NOTHING ELSE. The state
read "the change that carries the block is itself a change that ADDS or
RENAMES to the block's title", which labels the rename-and-amend shape a
defect. Promoted canon decides that shape the other way:
`openspec/specs/doc-health/spec.md:1568-1574` resolves a MODIFIED title FIRST
against the carrying change's own `## RENAMED Requirements` block and runs the
three comparison arms against canon under the OLD name, with the scenario at
`:1783-1786` resting a MUST on it — and `modified_block_currency.resolve()`
implements exactly that order (canon, own-rename, pending, unresolved), so the
own-rename branch returns `own-rename` with a real basis and never reaches the
`pending` shape this class reads. The literal reading would therefore have
added a spurious warning where it reached and stood as unreachable words where
it did not. The state is now the carrier's OWN `## ADDED Requirements` block
for the title, because the defect is TWO TEXTS FOR ONE REQUIREMENT and a
`## RENAMED` block carries a pair of titles rather than a second text; a new
paragraph states the precedence, cites both promoted spans, and says what
becomes of the residual shape whose rename names a `FROM:` title canon does not
carry. The exclusivity ordering from the prior round survives verbatim, and
MISDECLARED's basis half is rewritten as the EXACT NEGATION of the silent
state's — a marker naming the carrier itself is misdeclared — so the narrowing
leaves no block outside all five states.

THE ORDERING RULE AND ITS BACKSTOP ARE EXTENDED, NOT NARROWED. The pairing
side already accepted a basis that RENAMES to the title and
`document-lifecycle`'s marker is already owed wherever "an active change ADDS
or RENAMES to that title", but `release-realization`'s new ordering obligation
reached additions alone and the D5 collision class scanned only ADDED blocks —
so a rename-based pair had neither the pre-archive hold nor the post-archive
finding. The antecedent and its operative text now reach a requirement an
active ratified change ADDS OR RENAMES TO; the basis change (adding or
renaming) archives first; the conversion clause amends the BASIS change's
addition or rename; and the falsification clause says plainly that it reaches
the adding case, a `## RENAMED` block carrying no scenarios of its own to
falsify. The collision class now reads active ADDED blocks AND the `TO:`
titles of active RENAMED blocks — the direction stated and argued: the `FROM:`
half is a title canon is EXPECTED to carry, so reading it would report every
lawful rename, while the `TO:` half is the collision, which is the half canon's
own resolution rule reads.

MEASURED, NOT ASSUMED. Collision population re-measured across both basis
forms on this tree: 159 active `## ADDED Requirements` blocks, zero naming a
title the promoted specification carries; ZERO active `## RENAMED
Requirements` pairs, so the `TO:` half is zero by an empty set. Recorded in
tasks 4.3, proposal § Impact and the delta.

CARRIAGE RE-DERIVED. The `release-realization` MODIFIED block moved: canon
still 8 units (2 body sentences, 2 scenario titles, 4 scenario bullets); the
block's own units 40 -> 52 (body 17 -> 23, titles 6 -> 7, bullets 17 -> 22);
ZERO uncarried, ZERO suppressed, ZERO markers, ZERO defective — all three arms
read zero. The `doc-health` MODIFIED block was not touched by this round (its
edits are all inside the two ADDED requirements) and re-measures unchanged at
56 block units with the same two units suppressed by the same single marker.
Both recorded in tasks 4.2.

SWEPT FOR ONE VOCABULARY: proposal `code_surface` (the collision reader gains
RENAMED `TO:` titles; `sibling_titles` gains the ADDED-vs-rename
discriminator the narrowed self-addition state needs), § Why hole 3 and its
order table, § What Changes, § Impact, D5, OQ-3, the worked disposition;
tasks 2.3, 2.4, 2.5, 2.6, 2.9, 3.1, 3.4, 4.2, 4.3; the README row;
`document-lifecycle`'s marker requirement and its self-reference scenario,
which already read "ADDS or RENAMES" and now say what the rename-and-amend
shape is instead.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` and
`--all --strict` green (81/81); `pytest tests/doc-health -q` 1339 passed;
full `pytest tests/ -q -m "not postgres"` 8342 passed, 21 skipped
(the pinned count), 338 deselected, 46 subtests passed, and ONE failure — the
known environmental `test_release_mode_field_is_preserved_on_the_real_repository`
30s subprocess timeout, re-run in isolation on this branch (1 failed, 1 passed)
and on the merge-base `9af98c4d` baseline, where it fails IDENTICALLY (1 failed,
1 passed), so it is not this branch's; same-clock doc-health against a
merge-base (`9af98c4d`) baseline byte-identical after path normalization —
zero new findings. No catch-up merge: PR #504 reports MERGEABLE.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: one pairing one marker, and the citation opens only where the arm is silent (#502)

Round 6 on PR #504. Two P2 findings, both in the `doc-health` delta, each
answered from the module rather than from the shape of the rule.

FINDING 1 — MULTIPLE PAIRING MARKERS HAD NO CLASSIFICATION. `derive_units`
preserves EVERY recognized marker in `block.markers`
(`scripts/doc_health/modified_block_currency.py:777-790`), but the five states
reasoned about a singular marker. A block carrying one valid `Modified over`
marker and one naming a wrong basis satisfied MISDECLARED and DECLARED AND
RESOLVING at once — the exactly-one-state promise broken, and the same false
provenance accepted or refused according to which marker an implementation
reached.

BOUNDED AT THE SOURCE, ON THE PRECEDENT THAT EXPLAINS THE OTHER TWO FORMS.
Neither promoted canon nor this packet bounded the count of any reserved form,
and the reason is structural: `Removed from canon by` and `Merged into` NAME
UNITS, so their declarations ACCUMULATE — both are read, each voided per NAME
rather than wholly — and a bound on their count would bound how many units a
change may lawfully remove. This form names no units; it declares ONE RELATION,
so a second marker states a SECOND BASIS for one text and a block resting on two
bases rests on neither. `document-lifecycle` therefore admits AT MOST ONE marker
of this form per block, with its own scenario.

`doc-health` NOW READS THE WHOLE MARKER SET AND READS ITS COUNT FIRST. The
checks run: the carrier's own addition; then the COUNT of pairing markers; then,
for the single marker a lawful block carries, its basis, its `by`, its
disclosure. A block is DECLARED AND RESOLVING, or UNDISCLOSED, ONLY where
EXACTLY ONE pairing marker stands and passes every check above it; otherwise it
is placed by the FIRST check it fails. The number of REPORTED states stays FOUR
— multiplicity is MISDECLARED's first GROUND, one state with one action and one
template, the three grounds differing only in the interpolated clause.

FINDING 2 — THE CITATION ROUTE COULD HIDE A CONCURRENT ORDERING DEFECT.
`_arm_ordering` is armed by a COUNT of `ratified` writers and returns nothing
below two of them, runs BEFORE resolution (`:1381-1387`), emits one finding per
ratified block against that block's own delta path, and its findings are
filtered through the SAME family/repository/path disposition read narrowed by
the SAME requirement title. So a citation-route entry recorded for a pairing
finding also hid the ordering finding over that block, and the packet's
"suppresses nothing" was FALSE in that corner.

FIXED BY AVAILABILITY, NOT BY MACHINERY — class-grained dispositions would have
widened the code surface into `promotion_fidelity`, which this packet refuses.
THE CITATION ROUTE SHALL NOT BE TAKEN while any active change OTHER THAN the
block's own carrier, whose declared standing is `ratified`, writes a MODIFIED
block for the same capability and requirement title; there SEQUENCING IS THE
ONLY ROUTE. An entry can then exist only where the ordering arm has NO SUBJECT,
so "suppresses nothing" is true BY CONSTRUCTION rather than asserted. The bound
reads the arm's SUBJECT and not its current emit, and refuses at ONE other
ratified writer rather than at two, because standing and the declaration between
two writers are each one proposal edit away from turning silence into a finding
a standing entry would then hide. POPULATION MEASURED ZERO: no
capability-and-requirement title on this tree carries more than one active
MODIFIED block at all. The retirement clause no longer claims the pre-archive
interval is quiet by the pending state alone — it is quiet by this bound.

CARRIAGE UNDISTURBED, RE-RUN AND ALL ZEROS. Every edit is inside the two
`doc-health` ADDED requirements and `document-lifecycle`'s ADDED one.
`release-realization`: 8 canon units, 52 block units, 0 markers, 0 suppressed,
0 defective. `doc-health`: 35 canon units, 56 block units, 1 marker, the SAME 2
suppressed, 0 defective. 0 title, 0 ledger and 0 marker-defect findings against
either path.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` and
`--all --strict` green (81/81); `pytest tests/doc-health` 1339 passed; full
suite 8342 passed, 21 skipped, 338 deselected, 46 subtests passed, with the ONE
known failure `test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`
— a `subprocess.TimeoutExpired` after 30 seconds — ISOLATED and re-run on the
merge-base `9af98c4d` baseline, where it fails IDENTICALLY (1 failed, 1 passed),
so it is not this round's; same-clock doc-health against that same merge-base
baseline, both trees in directories named `openxFactory`, BYTE-IDENTICAL — zero
new findings. No catch-up merge: PR #504 reports MERGEABLE.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Apply the Codex round: disclosure warns the reader, it does not open the gate (#502)

Round 7 on PR #504. One P1 finding, in the `doc-health` delta at `:421`, and it
is answered by widening the HOLD rather than by making the disclosed state noisy.

THE FINDING. Writing the word `unratified` in a marker's reason clause moved the
block into the silent state — while `document-lifecycle` excluded an unratified
basis from the only archive-ordering obligation there is, whose antecedent
(release-realization) attached to "a requirement an active RATIFIED change ADDS
or RENAMES TO". So a disclosed pairing over a DRAFT basis was governed by
nothing: the modifying change could archive FIRST and promote a requirement
whose text no authority had accepted — the exact unsafe order the rule exists to
prevent — with only the post-hoc collision check to report the damage.

THE HAZARD KEYS ON THE UNPROMOTED TITLE, NOT ON THE BASIS'S STANDING, and the
packet's own doctrine already said so everywhere but here. The collision class —
"an active change still writing that title into canon" — carries no standing
condition at all; the pairing class's action line already reads "hold the
archive until the declared change promotes". The exclusion was the one clause
out of step, and it left the backstop reporting the breach of an obligation that
did not exist for that basis.

`release-realization` — THE HOLD NOW BINDS FOR A BASIS OF ANY STANDING. The
SHALL-NOT sentence is re-keyed off the back-reference and onto the title: a
change carrying a MODIFIED block for a requirement the promoted specification
does not carry SHALL NOT archive while that requirement is unpromoted, wherever
an ACTIVE change ADDS it or RENAMES a promoted requirement TO its title. A new
paragraph states why the requirement's two halves are keyed APART on purpose:
the reference-and-declare half names a RATIFIED change because deltas are
declared against an OUTCOME, and a packet no authority has accepted has none;
the archive half asks that no requirement enter canon through a block written
over text canon does not carry, a loss that is WORSE where the basis is a draft.
An unratified basis SHALL RATIFY AND ARCHIVE before the modifying change's gate
opens, and the hold ends in exactly three ways — that, the paired conversion on
its own terms, or withdrawal of the modifying block. New scenario for the
draft-basis-at-the-gate case.

`document-lifecycle` — THE DISCLOSURE STAYS AND STOPS BEING AN EXEMPTION. The
sentence scoping the ordering obligation away from an unratified basis is
struck; the marker, the reason clause and the reserved word are unchanged. A new
paragraph says what the disclosure IS: the reader's warning that no authority
has accepted the text, discharging THIS requirement and nothing else — never a
lifting of the hold, a consent to archive, or a claim that the requirement is
settled. The scenario bullet that read the exclusion now reads the opposite, and
a second bullet keeps this requirement out of stating the hold it defers to.

`doc-health` — THE SILENT COMPLEMENT STAYS SILENT, AND THE PACKET SAYS WHERE THE
HOLD IS ENFORCED. Keeping the disclosed-unratified case actionable would
mis-locate it twice: the identical hold stands over EVERY pending pairing the
check passes — ratified bases included — so one run's silence would mean two
different things at two titles; and it would stand a permanent advisory over a
block in good order whose only remedy, the basis's own archive, belongs to
another packet and another owner. The hold is enforced where the act it forbids
is taken, at the modifying change's archive gate, and the fact that gate reads is
THIS FAMILY'S OWN RESOLUTION: while the block resolves `pending` the title is
unpromoted and the gate is shut; when the basis archives the block resolves
against canon, the three arms run, and the gate opens with them. Falsifiable
without a finding over a correct pairing, with the collision class as the
evidence a breach leaves. Two scenarios: the silent state's silence is not
clearance, and the disclosed pairing at the gate is held and then released by
the promotion. The "wider than the ordering obligation" sentence now names the
HALF it is wider than.

POPULATION — ZERO, MEASURED. The family's own resolver over this branch reads 22
active MODIFIED blocks, 18 `canon`, 4 `pending`; at the merge-base `9af98c4d` it
reads 20/16/4, the two extra being this packet's own blocks. All four bases —
`add-notebook-hosting-credential-custody`, `add-substantive-review-lane`,
`add-identity-brokering`, `add-trust-anchor` — resolve `ratified` through
`_standing`, so NO live pairing is held by the widening and the case it reaches
is prospective. § 4.1 records the measurement and obliges its re-take at every
catch-up merge, a base whose standing MOVES being the one input it exists to
catch. No code moves: no class, no arm, no read is added, so `code_surface` and
the § Impact and § 8.1 figures are unchanged.

CARRIAGE, RE-DERIVED. The `release-realization` block's text moved and no
other's: canon still 8 units, the block's own 52 -> 64 (body 23 -> 30, scenario
titles 7 -> 8, scenario bullets 22 -> 26), ZERO uncarried, ZERO suppressed, ZERO
markers, ZERO defective. The `doc-health` block was untouched (its edits are
inside the two ADDED requirements) and re-reads at 56 units, 1 marker, the same
2 suppressed, 0 defective. Recorded in § 4.2; the preamble's figures move to
SEVEN body paragraphs and SIX scenarios.

GATES. `openspec validate govern-sibling-added-modified-deltas --strict` and
`--all --strict` (81/81) green; `pytest tests/doc-health` 1339 passed; the full
suite green at the pinned skip count; a same-clock doc-health run over the branch
and over the merge-base is byte-identical — zero new findings.

* Apply the Codex round: a declaration without its reason is defective, not complete (#502)

Round 8's only finding (P2, tasks.md :34): the marker specification requires
the complete prefix to be followed by ` — <reason>`, but recognition (2.1)
ended at the prefix and the harvest (2.2) only optionally took a reason, so a
paragraph reading `**Modified over ...:**` and nothing else was a recognized
marker that named its basis, carried the carrier's own `by`, and reached
DECLARED AND RESOLVING. A malformed declaration promoted as a complete one.

THE FIX FOLLOWS THE PACKET'S OWN RECOGNITION-VS-VALIDATION DOCTRINE, the one
2.1 already records for the `by` identifier. Recognition still ends at the
closing colon; the tail is REQUIRED by `document-lifecycle` and VALIDATED by
`doc-health`. Folding it into recognition would drop the paragraph to a body
unit and report the block UNDECLARED — the absent-marker remedy handed to a
block that plainly carries one.

`document-lifecycle` (the source) now states that the ` — <reason>` tail with a
NONEMPTY reason is required for the declaration to be complete, that a
paragraph carrying the complete prefix without the separator or with an empty
one is a RECOGNIZED marker whose declaration is DEFECTIVE — never a non-marker,
never silently complete — and that the requirement is THIS FORM'S ALONE: the
other two carry their whole declaration in the units they name, while this one
names none, so the reason is the only place it says why and the only clause the
`unratified` disclosure can live in. A marker with no reason discloses nothing
and CAN disclose nothing; the disclosure is neither vacuously satisfied by an
absent clause nor waived by it. Round 6's definition is kept: the reason is the
whole tail after ` — `. New scenario: the marker carries the prefix and no
reason.

A GROUND, NOT A STATE. `doc-health` makes it MISDECLARED's FOURTH ground —
where round 7 put multiplicity, and where grounds accumulate cleanly: one wrong
marker with one paragraph to repair, one band, one action, one arm template,
one map entry, and the reported-state count stays FOUR. The ordered
classification is now self-addition -> COUNT -> basis -> `by` -> REASON ->
disclosure. THE REASON MUST PRECEDE THE DISCLOSURE, and that is a condition of
the disclosure being readable rather than a preference: the disclosure is a word
looked for IN the reason clause, so a marker with none offers it nothing to look
in. Read the other way, an unratified basis under a prefix-only marker would be
reported UNDISCLOSED and told to add a word to a sentence that does not exist,
while the identical marker over a ratified basis passed in silence — one defect
named two ways at two titles and unnamed at one of them; reading both would emit
two findings for one missing tail, which the exactly-one-state rule forbids.
UNDISCLOSED accordingly gains the reason as a PRECONDITION and not a test.

Scenarios: a prefix-only marker over a ratified basis is reported MISDECLARED on
the reason ground and never DECLARED AND RESOLVING nor UNDECLARED; a prefix-only
marker over an UNRATIFIED basis emits exactly one finding, on that same ground
and not UNDISCLOSED; the well-formed case is unchanged in outcome and states the
reason among its conditions; the two UNDISCLOSED scenarios carry the
reason-present precondition explicitly, and the disclosed-basis scenario no
longer lets a `ratified` basis excuse a missing tail.

Sweep: 2.1 (recognition ends at the closing colon), 2.2 (harvest ALWAYS and
validate — an absent reason is a value, not a parse outcome), 2.5 (the fourth
ground, the field order, and why the reason precedes the disclosure), 2.6 (four
grounds in one interpolated `why`, no second shape and no second map entry), 2.9
(three fixtures: prefix-only over a ratified basis, its empty-reason twin, and
the ordering fixture over an unratified one), proposal.md's `code_surface`,
§ What Changes and § Impact, tasks 4.1 and 8.1, and the README row.

POPULATION: ZERO, BY AN EMPTY SET. This tree carries no marker of the form at
all — § 6's sweep has not run — so no marker can be missing its tail. Recorded
where the packet records such reads: § 4.1 for the launch population, § Impact
and § 8.1 for the band movement, which the ground does not touch.

CARRIAGE: both MODIFIED blocks re-measured, unchanged and all zeros — the edits
are inside the ADDED requirements. `release-realization` 8 canon units, 64 block
units, 0 markers, 0 suppressed, 0 defective, 0 uncarried; `doc-health` 35 canon
units, 56 block units, 1 marker, the same 2 suppressed, 0 defective, 0 uncarried
after suppression. § 4.2 therefore unamended.

Gates: `openspec validate govern-sibling-added-modified-deltas --strict` valid;
`--all --strict` 81 passed / 0 failed; same-clock doc-health single-repo runs
against the `9af98c4d` merge base and the branch are byte-identical (5 critical,
4 error, 38 warning, 12 info on both) — zero new findings; the family run over
the branch emits 8 info findings, none against either of this packet's delta
paths.

Full suite: 8342 passed, 21 skipped (the pinned count), 338 deselected, 46
subtests passed; one failure —
`tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`,
a `subprocess.TimeoutExpired` after 30s — ISOLATED ON BOTH TREES and failing
identically on the unmodified `9af98c4d` merge base. It is the known
environment timeout under load, not this change.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

* Ratify govern-sibling-added-modified-deltas by direct ruling: D1–D5 as drafted, the sitting declined, nine rounds converged (#502)

Brett Heap ruled in session on 2026-08-31, via an explicit multi-choice put,
verbatim "Direct — accept D1–D5 (Recommended)". All five orchestrator
decisions flagged for veto are ACCEPTED AS DRAFTED as they stand at tip
`3d776c67` — the three spec deltas are byte-unchanged from it, and this commit
moves only the sites that assert the packet's own standing.

THE §7.4 SITTING THIS PACKET PRESCRIBED FOR ITSELF WAS DECLINED by that same
choice. No seat sat, and `tasks.md` §1 says so rather than ticking a box that
would put a sitting in the record that never happened: 1.1 and 1.2 carry their
measured dispositions UNTICKED (the sitting declined; nothing to route), 1.3
and 1.4 tick as done.

OQ-1..OQ-5 REMAIN OPEN, routed as the proposal routes them. The ruling took the
five DECISIONS without reaching the five QUESTIONS, and OQ-4's routing of the
§6 sweep is the one it most visibly leaves live.

Convergence recorded: nine adversarial Codex rounds over the tips
a3dc59ec → 7ba87817 → 2db20313 → 727a14f6 → b926e7f5 → 04c432a3 → 9f25e09d →
3d776c67, twelve findings, every one fixed, none repeated; two catch-up merges
of main; CI green at every reviewed tip; round 9 clean.

The record is review/ratification-2026-08-31.md, `Status: ratified` with a
citation per document-lifecycle's "A review record records a ratification".
It settles no open question, performs no archive, does not close #502, and
authorizes no realization beyond what tasks.md states.

Gates: openspec validate --strict valid, --all --strict 81/0, doc-health tests
1339 passed, full suite 8343 passed / 21 skipped / 0 failed, doc-health zero
new findings against merge-base 9af98c4d.

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants