Skip to content

Rebuilt on the sweep: the basis archives first, and the dependent block now drops nothing at all - #541

Merged
brettheap merged 2 commits into
mainfrom
change/archive-credential-contracts-pair
Aug 31, 2026
Merged

brettheap merged 2 commits into
mainfrom
change/archive-credential-contracts-pair

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Supersedes #540, which is CONFLICTING and will be closed. Its branch archived these packets as they stood before the §6 sweep. PR #538 (squash 3a6a16e9) amended five ratified packets under one Brett Heap consent — both of these included — one minute before #540 could merge. This branch is rebuilt from 3a6a16e9 against the amended packets, not reconciled as a textual union.

Brett Heap ruled ROUTE 1 on 2026-08-31: the basis archives first, the requirement enters canon, and the dependent block becomes a block over canon like any other. The order is preserved as two commits — d02ef5a5 (basis) then b09e59da (dependent).

What #538 changed, and what that makes untrue in #540's record

Four things I previously reported are now wrong. Listing them rather than silently re-measuring:

# reported on #540 corrected here why
1 custody promotes 14 scenarios; credential-contracts 24 → 34 13 scenarios; 24 → 33 #538 §6.6 struck custody's fifth scenario, "The published binding shape cannot yet express the access identity" — falsified in every clause by contract-v2.4 — leaving a dated amendment note in its place
2 binding carriage: 6 canon / 6 block, 5 byte-identical, 1 deliberate retitle 5 canon / 6 block, NOTHING dropped, 5 carried byte-identical, 1 ADDITION with the falsified scenario struck, the sixth stops being a substitution and becomes a pure addition. A change of kind, not of arithmetic
3 modified-block-currency 0 → 1 → 0 across the three states 0 → 0 → 0 (8 / 9 / 8 info) the strike removed the transient error entirely
4 DO NOT SQUASH — squashing reintroduces a promotion-fidelity error moot; both shapes now measure 0 findings custody's delta no longer carries a scenario canon lacks, so the _authoritative() folder-name fallback is harmless

Correction 4 retires the P1 I accepted from Codex on #540. That finding was correct on the tree it was raised against and is simply no longer live. Re-verified explicitly, as asked: two commits → 0 critical, 0 error, 0 warning, 0 info; squashed into one → identical. A merge commit is still preferable so the safe order stays legible in history, but it is no longer load-bearing.

Codex's round-2 P1 on #540 — "Amend the falsified basis scenario before archiving" — was independently right, and #538 is exactly that amendment. It is discharged rather than outstanding.

The one-PR rationale, restated because its original ground is gone

The transient error that justified combining the two archives no longer exists. The pair still rides one pull request, but for the ordering dependency alone: the dependent packet cannot be archived — cannot even be prepared green — until the basis is on main, because openspec archive aborts on it. Two PRs would mean a second PR that is unpreparable until the first merges. If you would rather have them separate now, say so and I will split them.

The §7.2 assertion

Not a soft check. Before the basis archived:

credential-contracts MODIFIED failed for header "### Requirement: Each consuming
system reaches a shared operated identity through its own binding" - not found
Aborted. No files were changed.

grep -c over canon: 0 before d02ef5a5, 1 after. §7.2's conversion clause was not exercised — govern-sibling-added-modified-deltas (8f986c39) calls an unpaired conversion "a breach", and #538 says the same from the other side: "custody archives first, and add-binding-consumer-identity stays held while the title is unpromoted."

Stage 1 — sibling check

No open PR or live branch archiving or realizing either change. change/realize-notebook-hosting-credential-custody exists but its PR #395 is MERGED and it is not an ancestor of main. No competing claim from the notebook-projection lane.

Stage 2 — realization was already complete, verified not trusted

  • target_release: none, and it held: git diff origin/main -- contracts/ empty, bundle still contract-v2.5. No cut owed, none taken.
  • Code surface landed 2026-08-26, PR Realize custody §1–§3: the binding named, the secrets refused by name #395 (merge 1dd822ea, an ancestor of main) — the archive gate was already met.
  • Every §1–§3 box checked against the tree: the custody: block naming the binding and never the secret (session_state_in_custody: false, self_hosted exempt); _check_custody plus the secret-shaped refusal over the whole hosting block; tests/notebooklm/test_validate_hosting.py; the three doc surfaces, including the nlm profile is refreshable session state and is NOT a custody subject.
  • No gap found, nothing built.

Promotion, verified byte-for-byte

Basis — no scenario-completeness exposure to measure: both deltas are pure ADDED, no MODIFIED/REMOVED/RENAMED anywhere. Measured anyway: 3 requirements in, 3 out, all three byte-identical (3/3), 13 scenarios in, 13 out. credential-contracts 7 → 9 requirements, 24 → 33 scenarios; lifecycle-notebook-projection +1.

Dependent — measured per scenario against canon: canon 5, block 6, nothing dropped, five carried byte-identical, one addition. Promotion: 4 of 4 delta requirements byte-identical in canon (1 MODIFIED + 3 ADDED, 36 scenarios); credential-contracts 9 → 12 requirements, 33 → 64 scenarios.

.openspec.yaml moved rather than lost in both packets — blobs 36d76fdc and b9263449, each identical across its move.

Two disclosures

  1. Canon now carries one Modified over marker paragraph (credential-contracts line 226), promoted verbatim with the block The four standing pairs declare their bases: the §6 sweep, custody's falsified scenario struck, one ruling consenting to five packets #538 marked. That is faithful promotion — stripping it would edit ratified text and break the byte-for-byte equality above — but it means a delta-authoring device outlives the pairing it declared. The other three pairs The four standing pairs declare their bases: the §6 sweep, custody's falsified scenario struck, one ruling consenting to five packets #538 marked will do the same at their archives, so whether markers should be stripped at promotion belongs to the govern-sibling-added-modified-deltas lane, not to this PR.
  2. The basis's dated AMENDED 2026-08-31 note is promoted by commit 1 and superseded out of canon by commit 2 — correct, the note being a packet-level amendment record rather than requirement text.

Open boxes — none ticked, none presented as done

Gates

gate result
openspec validate --all --strict 81 → 80 → 79 passed, 0 failed
proposal-support verify (per-change + whole-corpus) ok, both sides of both moves
validate-notebook-projection-hosting.py 0 error(s)
validate-credential-contracts.py . 0 error(s) -> PASS
doc-health --family promotion-fidelity 0 findings (two commits and squashed)
doc-health --family modified-block-currency 0 error / 8 info
contracts/ byte-untouched; bundle stays contract-v2.5

Mechanism: openspec archive --yes for both rather than proposal-support archive — that wrapper refuses any ^- [ ] line and cannot tell an operator act or a cross-change obligation from unfinished work. Its two additions were run anyway on both sides of both moves. Precedent: 2026-08-28-declare-sentinel-pin-vocabulary and the three sibling archives of 2026-08-27.

brettheap and others added 2 commits August 31, 2026 14:50
…alsified scenario

ARCHIVED ON BRETT HEAP'S ROUTE-1 RULING OF 2026-08-31, first of two archives in
this pull request and deliberately its own commit so the history shows the basis
reaching canon before the dependent block promotes.

REBUILT, NOT RECONCILED. A first attempt archived this packet at `bd2ccbc3` on
the pre-sweep tree. PR #538 (squash `3a6a16e9`) then amended five ratified
packets under one Brett Heap consent — this one included — one minute before
that attempt could merge. The work was rebuilt from `3a6a16e9` against the
AMENDED packet rather than resolved as a textual union. What #538 changed here
is §6.6: this block's fifth scenario, "The published binding shape cannot yet
express the access identity", is STRUCK and not re-scoped — falsified in every
clause by contract-v2.4 — with a dated amendment note in its place. So the
block now carries FIVE scenarios where the first attempt archived six.

THE ARCHIVE GATE WAS ALREADY MET AND WAS RE-READ RATHER THAN INHERITED. The
code surface landed 2026-08-26 in PR #395 (merge `1dd822ea`, an ancestor of
main). Every §1-§3 box was verified against the tree: the `custody:` block
naming the binding and never the secret, with `session_state_in_custody: false`
and `self_hosted` left free of the obligation; `_check_custody` plus the
secret-shaped refusal over the whole hosting block; the both-directions tests;
and the three documentation surfaces including the rule that the `nlm` profile
is refreshable session state and is NOT a custody subject. No gap was found and
nothing was built here.

`target_release: none` AND IT HELD: `git diff origin/main -- contracts/` empty,
bundle still contract-v2.5, no CHANGELOG entry, no manifest row, no inventory,
no tag.

PROMOTION VERIFIED BYTE-FOR-BYTE, with no scenario-completeness exposure to
measure: both deltas are pure ADDED — no MODIFIED, REMOVED or RENAMED block
anywhere. Measured anyway: 3 requirements in, 3 out, all three bodies
byte-identical (3/3), 13 scenarios in, 13 out (thirteen post-sweep, fourteen
before it); credential-contracts 7 -> 9 requirements and 24 -> 33 scenarios;
lifecycle-notebook-projection +1 requirement. Neither ADDED title existed in
canon beforehand, checked by grep. doc-health --family promotion-fidelity
reports No findings.

THE MECHANISM WAS `openspec archive`, NOT `proposal-support archive`: that
wrapper refuses any `^- [ ]` line and cannot tell an operator act from
unfinished work, and §4.4 is an operator act no author may tick. Its two
additions were run anyway on both sides — proposal-support verify ok per-change
and whole-corpus, and packaging, a lawful no-op. Precedent:
2026-08-28-declare-sentinel-pin-vocabulary and the three sibling archives of
2026-08-27.

The CLI reported `Task status: 9/18` when it ran; this act closed §4.5, §5.1,
§5.2 and §6.1 and added §8.1, so the archived file ends at 14/19. FIVE BOXES
SURVIVE UNTICKED BY DECISION, each with a restated disposition: §4.1 the
declined fixture, §4.2/§4.3 the residency statements, §4.4 the OPERATOR ACT
placing the password into `kv-opensoft-xfactory-qa` which nothing here performs
or witnesses, and §6.2 which attaches to add-notebook-projection-identity's
archive. §4.5 DID close: its owed successor is add-binding-consumer-identity,
whose `consumer:` block is published and cut as contract-v2.4 (#516
`5e8a33cf`, #526 `afdf0e88`) — and that same release is what falsified the
scenario #538 struck.

WHAT THIS UNBLOCKS: add-binding-consumer-identity's §7.2 pre-archive grep read
0 before this commit and reads 1 after it; `openspec archive` had aborted on
that packet with "MODIFIED failed for header ... - not found". That archive is
the next commit. #538 says the same in its own words: custody archives first,
and add-binding-consumer-identity stays held while the title is unpromoted.

`.openspec.yaml` moved rather than being lost, blob
`36d76fdc56b58b46333d9d20ad210e0584c9119c` identical across the move.
`openspec validate --all --strict` 81 passed before, 80 after, 0 failed either
side.

Co-Authored-By: Claude Fable 5 <[email protected]>
…nothing at all

Second of the two archives in this pull request and deliberately the second
commit: the basis reached canon in the commit before this one, which is the
whole content of Brett's Route-1 ruling of 2026-08-31.

WHY IT COULD NOT ARCHIVE BEFORE. This change's MODIFIED block is written over a
requirement add-notebook-hosting-credential-custody ADDS. While that packet was
active §7.2's pre-archive grep read 0 and `openspec archive` ABORTED:
"credential-contracts MODIFIED failed for header ... - not found. Aborted. No
files were changed." After the previous commit the grep reads 1 and the block
applies cleanly. §7.2's conversion clause was NOT exercised, by ruling:
`govern-sibling-added-modified-deltas` (`8f986c39`) holds that "An UNPAIRED
conversion SHALL NOT be taken. Where one is taken it is a breach."

REBUILT AGAINST #538, NOT RECONCILED. PR #538 (squash `3a6a16e9`) amended five
ratified packets under one Brett Heap consent, this one included, one minute
before the first attempt at `bd2ccbc3` could merge. It touched this packet
twice: it placed the `Modified over` marker declaring the basis, and it
re-measured this preamble after striking the basis's falsified fifth scenario.

THE MEASUREMENT CHANGED IN KIND, AND THE CHANGE IS THE POINT. Measured per
scenario against canon: canon states FIVE scenarios for the modified
requirement, the block states SIX, NOTHING IS DROPPED, all five are carried
BYTE-IDENTICAL, and the sixth is an ADDITION. Before the sweep the sixth
REPLACED a scenario contract-v2.4 had falsified and the carriage read
six-in/six-out with one retitle. The earlier reading was correct for the tree it
was taken on; the strike turned a substitution into a pure addition. #538 left
this packet's §7.4 carriage re-run owed "at its archive gate" — it is discharged
here.

PROMOTION VERIFIED BYTE-FOR-BYTE: 4 of 4 delta requirements (1 MODIFIED + 3
ADDED, 36 scenarios) identical in canon; credential-contracts 9 -> 12
requirements and 33 -> 64 scenarios. The basis's dated AMENDED note, promoted by
the previous commit, is superseded out of canon by this block — correctly, being
a packet-level amendment record and not requirement text.

WHY BOTH ARCHIVES RIDE ONE PULL REQUEST, AND WHY THE REASON CHANGED. doc-health
--family modified-block-currency across three states: pristine main 0 error / 8
info; basis archived alone 0 error / 9 info; both archived 0 error / 8 info.
Before #538 the middle state carried 1 ERROR, and that transient finding was the
original justification for one pull request. The strike removed it. The pair
still rides one PR for the ORDERING dependency alone: this packet cannot be
archived, or even prepared green, until the basis is on main.

Four incomplete tasks when the CLI ran (§7.1-§7.4); this act closed §7.1, §7.2
and §7.4 and added §9.1, so the archived file ends at 56/57. The one open box is
§7.3, the reconciliation owed at add-notebook-projection-identity's archive —
still active — which is the mirror of the basis packet's §6.2.

`.openspec.yaml` moved rather than being lost, blob
`b92634493cc714558ad5e95229aef7d10994026e` identical across the move.
`openspec validate --all --strict` 79 passed, 0 failed; proposal-support verify
ok per-change and whole-corpus on both sides.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 31, 2026 18:54

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

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

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 archives two OpenSpec changes in the required dependency order (basis add-notebook-hosting-credential-custody first, then dependent add-binding-consumer-identity) and promotes their spec deltas into canon, updating the repository’s OpenSpec Records index accordingly.

Changes:

  • Move both packets from openspec/changes/ into dated openspec/changes/archive/2026-08-31-* locations with updated archive-act bookkeeping.
  • Promote the custody/per-system-binding requirements into openspec/specs/credential-contracts/spec.md and the hosting-custody requirement into openspec/specs/lifecycle-notebook-projection/spec.md.
  • Update README.md OpenSpec Records by removing the two entries from Active and adding them to Archived.

Reviewed changes

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

Show a summary per file
File Description
README.md Moves the two packets from Active changes to Archived changes and records the archive narrative/ordering.
openspec/specs/lifecycle-notebook-projection/spec.md Promotes the hosting-record custody-by-reference requirement into canon.
openspec/specs/credential-contracts/spec.md Promotes custody/per-system-binding requirements (and the dependent block’s additions) into canon.
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/tasks.md Archived tasks state and archive-act bookkeeping for the custody packet.
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/specs/lifecycle-notebook-projection/spec.md Archived delta adding the lifecycle-notebook-projection requirement.
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/specs/credential-contracts/spec.md Archived delta adding the custody/per-system-binding requirements (and amended scenario note).
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/review/ratification-2026-08-23.md Archived ratification record for the custody packet.
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/proposal.md Archived custody proposal (frontmatter + rationale).
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/design.md Archived design record for custody packet.
openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/.openspec.yaml Archived origin metadata for custody packet.
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/tasks.md Archived tasks updates (README move, ordering obligation discharge, carriage re-run discharge).
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/specs/credential-contracts/spec.md Archived delta modifying/adding credential-contracts requirements for consumer identity.
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/review/ratification-2026-08-29.md Archived ratification record for the dependent packet.
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/realization-evidence.md Archived realization evidence record for the dependent packet’s realization/cut.
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/proposal.md Archived dependent proposal text.
openspec/changes/archive/2026-08-31-add-binding-consumer-identity/.openspec.yaml Archived origin metadata for dependent packet.
openspec/changes/add-notebook-hosting-credential-custody/tasks.md Removes the now-archived tasks from the active change location.

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

Comment on lines +206 to +210
#### Scenario: A binding names the concrete vault
- **WHEN** a per-client binding instance names its provider, vault, secret reference, owner and rotation policy
- **THEN** that is conforming: the binding is exactly where a concrete estate fact belongs
- **AND** the same values appearing in a contract artifact or lane definition would not be

Comment on lines +243 to +246
#### Scenario: The access log is asked which system read the secret
- **WHEN** the secret store's access log is examined after a fetch
- **THEN** it names which consuming system's identity performed it, because each has its own

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: b09e59daff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

Bot round — Copilot's two flags REFUTED on the bytes (same finding as #540, same answer)

Both lines are grammatical ellipsis, not truncation, and neither was authored here — both are ratified text promoted verbatim:

  • credential-contracts/spec.md:209 — "AND the same values appearing in a contract artifact or lane definition would not be" → would not be [conforming], completing the preceding THEN ("that is conforming: the binding is exactly where a concrete estate fact belongs"). Source: the basis packet's ratified delta — and it was already on main before this PR, verified with git show origin/main:….
  • credential-contracts/spec.md:245 — "THEN it names which consuming system's identity performed it, because each has its own" → each has its own [identity]. Source: the dependent packet's ratified delta, byte-identical.

Three reasons to decline, not one:

  1. Neither line is new. This PR archives packets; it authors no requirement text.
  2. "Completing" either sentence would edit RATIFIED text — the amendment route for that is an owner-consented in-place amendment (which is exactly what The four standing pairs declare their bases: the §6 sweep, custody's falsified scenario struck, one ruling consenting to five packets #538 did for a different line, under Brett Heap's consent), not a reviewer-suggested rewrite inside an archive commit.
  3. It would break the byte-for-byte promotion this PR verifies — 3/3 and 4/4 delta requirements identical in canon. Changing a promoted byte would make that measurement false and would surface as a promotion-fidelity finding.

Note the line numbers in the review comments (210 / 246) are off by one against the file; the actual lines are 209 and 245. Doesn't change the answer.

Sourcery remains the private-repo upsell stub, not a review.

Local full suite at this tip: 8363 passed, 21 skipped, 0 failed.

@brettheap

Copy link
Copy Markdown
Contributor Author

Bot round closed — CI green, Codex silent, and its two prior findings both discharged

CI at b09e59da: all four pass — merge-master-approval, pytest-suite (18m31s), wallet-validation, signed-execution-chain-gate. Local full suite at the same tip: 8363 passed, 21 skipped, 0 failed.

Codex: SILENT. Review requested at 18:55:12Z; no review, no comment and no 👍 reaction after ~25 minutes. Recorded rather than waited on indefinitely, on the precedent this estate already set for a silent Codex round (codexFactory #150 round 3). Its substance is not unaddressed, though — Codex reviewed this work twice on the predecessor #540 and both findings are discharged:

Codex finding on #540 status here
P1 round 1 — a squash reintroduces a promotion-fidelity error via _authoritative()'s folder-name fallback RETIRED: correct on the tree it was raised against; #538's strike removed the mismatch, and both merge shapes now measure 0 findings. Re-verified explicitly.
P1 round 2 — "Amend the falsified basis scenario before archiving" PERFORMED, independently and before this branch existed: #538 §6.6 struck it under Brett Heap's consent. Codex reached the same conclusion the sweep did.

Copilot: one review, two flags, both refuted above on the bytes (grammatical ellipsis in ratified text, pre-existing on main, promoted verbatim). Sourcery: private-repo upsell stub, not a review.

Ready to merge. A merge commit is still preferable so the two-commit safe order stays legible in history — d02ef5a5 (basis) then b09e59da (dependent) — but as recorded above that is now a legibility preference and no longer load-bearing.

@brettheap

Copy link
Copy Markdown
Contributor Author

Provenance — merged on Brett Heap's standing in-session word ("merge when green"), 2026-08-31

Supersedes #540 (closed CONFLICTING after #538 amended the packets mid-flight). Rebuilt from 3a6a16e9 with #538 read first: it reaffirms the Route-1 order in its own text, places the Modified-over basis declaration, and strikes custody's falsified scenario — the rebuild's four corrections to #540-era claims are stated in the PR record, not silently re-measured. All four checks green; promotion byte-for-byte basis 3/3 + dependent 4/4, nothing dropped (the carriage is now a pure addition); full suite 8363/0; §7.2's grep 0→1 across commit 1; dependent §7.4 discharged exactly as #538 left it owed. Bot round: both prior Codex P1s discharged (one retired by the strike, one performed by #538), round-2 silence recorded per precedent; Copilot's flags refuted on the bytes. Merge commit chosen for history legibility (the squash hazard re-measured moot). Operator act basis §4.4 (password into kv-opensoft-xfactory-qa) remains open and honestly unticked.

@brettheap
brettheap merged commit 2f1cd13 into main Aug 31, 2026
5 checks passed
brettheap pushed a commit that referenced this pull request Aug 31, 2026
…not carried

CATCH-UP MERGE OF origin/main (`2f1cd139`) AFTER THE PEER LANE LANDED. While
this branch ran its Codex fix rounds, PR #541 merged and ARCHIVED both
`add-notebook-hosting-credential-custody` (`d02ef5a5`) and
`add-binding-consumer-identity` (`b09e59da`), in that order, on Brett Heap's
ROUTE-1 ruling of 2026-08-31 and rebuilt on the #538 sweep (custody's falsified
fifth scenario STRUCK, so 13 scenarios promoted; the dependent block measures 5
canon / 6 delta with NOTHING DROPPED and one pure addition). THAT LANE'S LANDED
CHOICES GOVERN. Nothing here re-litigates them.

WHAT THIS BRANCH'S ROUND-2 AND ROUND-4 CORRECTION NOTES EDITED IS NOW ARCHIVED
RECORD, SO THE NOTES ARE DROPPED RATHER THAN CARRIED. Those notes said, in
substance, "the triggering event has happened, so this obligation is now DUE
rather than contingent, and it is sequenced at step C (custody's archive) and
step D (the dependent's archive)". C AND D HAVE SINCE HAPPENED — that is
exactly what #541 is. A note whose whole content is "the due date has arrived"
is discharged by the arrival of the thing it was pointing at; carrying it into
the archived copies would leave a live-tense correction inside a record of a
completed act. And the archived copies are RECORDS OF THE PACKETS AS THE PEER
LANE LANDED THEM: amending an archived record after the fact is forbidden by
the same doctrine those very notes cited when they refused to touch
`review/ratification-2026-08-23.md`. The discipline is applied to them.

Note the mechanical hazard this resolution had to defeat: git's rename
detection carried four of the five edits SILENTLY into the archived paths
without raising a conflict at all (only `.../add-binding-consumer-identity/tasks.md`
conflicted textually and only `.../add-notebook-hosting-credential-custody/tasks.md`
came through as modify/delete). Each of the five was restored from
`origin/main` explicitly and verified byte-identical to it; `git diff
origin/main -- openspec/changes/archive/2026-08-31-add-*/` is EMPTY.

PER-FILE RESOLUTION

- `add-notebook-hosting-credential-custody/{design.md,proposal.md,tasks.md}`
  and `add-binding-consumer-identity/{tasks.md,.openspec.yaml}` — MAIN'S
  ARCHIVE STATE WINS; this branch's corrections are dropped, per the above.
- `README.md` — THREE-WAY UNION, no loss: #541's two rows moved to Archived by
  main, this branch's `add-notebook-projection-identity` row moved by this
  branch. All three moves survive; `git diff origin/main -- README.md` carries
  this branch's move alone.
- `openspec/specs/lifecycle-notebook-projection/spec.md` — BOTH-APPEND UNION.
  Main appended custody's one ADDED requirement ("The hosting record declares
  where the hosting identity's credential is held, by reference only"); this
  branch appended projection-identity's three. Both blocks kept, custody's
  first in chronological archive order. Nothing else in the file conflicted:
  this branch's two MODIFIED-delta replacements merged cleanly.
- `openspec/specs/credential-contracts/spec.md` — clean auto-merge, checked
  rather than trusted: the two lanes MODIFY DIFFERENT REQUIREMENTS. This
  branch generalizes the vault-operator execution-binding requirement to
  operated identity; #541's dependent block modifies "Each consuming system
  reaches a shared operated identity through its own binding", a requirement
  custody ADDS. No overlap.

WHAT THE PEER LANE'S ARCHIVED COPIES CARRY, READ RATHER THAN ASSUMED: custody
§6.2 and the dependent's §7.3 are BOTH STILL UNTICKED there, and both point at
`add-notebook-projection-identity`'s archive as where they discharge — i.e. at
THIS pull request. The step order in the dropped notes is therefore inverted by
events: steps C and D landed first, and step B is last. The obligation is not
lost, it has simply come home to the packet this branch archives.

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

THREE CORRECTIONS THIS BRANCH OWES ITSELF AFTER THE CATCH-UP MERGE OF `2f1cd139`,
and only to text that is still THIS pull request's to correct. The two archived
peer packets are records and were left exactly as PR #541 landed them.

1. `ideation/staging/INDEX.md`, the sibling row `notebook-access-wallet-governance`.
   That row said both `add-notebook-projection-identity` and
   `add-notebook-hosting-credential-custody` "are ACTIVE with
   ratified-but-unpromoted deltas this topic would amend". This branch corrected
   the projection-identity half and DELIBERATELY LEFT THE CUSTODY HALF, on the
   stated ground that it was "still true and it changes at CUSTODY's own archive,
   not at this one". #541 archived custody — and its dependent
   `add-binding-consumer-identity` — on 2026-08-31 under Brett Heap's ROUTE-1
   ruling. The custody half is therefore corrected here, citing #541 as its
   author, and the row now records that NO half of the original sentence
   survives: this topic has no ratified-but-unpromoted delta left to wait on.

2a. The archived packet's `tasks.md` § 8, "WHAT THIS ARCHIVE DID NOT CLOSE",
   which gains a THIRD item arriving from another lane. #541's two archived
   copies each leave ONE box unticked and both point HERE — custody § 6.2 and
   the dependent § 7.3, one reconciliation seen from two sides, each restated
   2026-08-31 as "whoever archives `add-notebook-projection-identity`
   discharges both". THIS ACT DOES NOT DISCHARGE THEM and now says so rather
   than letting silence read as done: what is owed is the FULL read-together of
   three packets' `credential-contracts` text, a reading act with findings of
   its own and not a side effect of moving a directory. What this act does
   supply is the precondition it always held — the operated-identity
   generalization is CANON as of this landing — so the reconciliation is
   performable by anyone and blocked on nothing. Their boxes are not ticked
   from here either, and could not be: they sit inside archived records.

2. The archived packet's `tasks.md` § 6.1, which is where the leave-it-alone
   reasoning was written down. A dated amendment is appended UNDER the original,
   which stands word for word: the reasoning was sound and still is — this step
   did not produce custody's archived state and still has not; another lane did.
   What changed is the world, and the note says which lane changed it. Archived-
   record discipline applies to this branch's own archive too, but this packet is
   NOT YET MERGED, which is exactly the distinction that lets its text be
   corrected while the peer packets' may not be.

3. `tests/doc-health/test_modified_block_currency_self_gate.py` — THE LEDGER WAS
   MEASURED, NOT RECOMPUTED ON PAPER, AND A CLAIM INSIDE IT WAS FALSIFIED.

   THE LEDGER ITSELF NEEDED NO CHANGE, and that is a measurement rather than an
   assumption: `doc-health --family modified-block-currency` over the MERGED tree
   reports 0 scenario-title / **7 carriage ledger** / 0 title-resolution / 0
   marker / 0 unplaced — exactly the seven subjects this file names, in the exact
   set it compares with `==`. #541 archived two packets and moved NO row of this
   ledger: custody's deltas are pure ADDED, so this arm has no MODIFIED block of
   its to read at all, and the dependent's MODIFIED block drops nothing and so
   never carried a finding. `pytest tests/doc-health` is green with the ledger as
   this branch already wrote it.

   THE FALSIFIED CLAIM. The row-retirement comment asserted that "a same-clock
   doc-health run against an `origin/main` baseline reported ZERO new findings
   and exactly this one INFO gone". The second half is true. THE FIRST HALF IS
   NOT, and it was true only of the METHOD used to check it — comparing the
   severity counts of two INDEPENDENT reports (baseline 5/4/38/11 vs head
   5/4/38/10, so nothing looks new). Run the way the runner itself computes it,
   with `--previous-report`, the head reads 5 critical / **5** error / 38 warning
   / 10 info and "New regressions vs previous report: 1". The extra error is the
   archive act's OWN MECHANICAL SHADOW: the carriage finding is `contested`, so
   its DISAPPEARANCE re-emits through `report.uncited_resolutions` as an
   `uncited-resolution` ERROR naming the ACTIVE path this packet no longer has.

   IT IS NOT SUPPRESSIBLE FROM THIS REPOSITORY AND NO ATTEMPT IS MADE TO SUPPRESS
   IT. `health/dispositions.yaml` resolves as
   `ctx.agg_root / "health" / "dispositions.yaml"` — the AGGREGATION checkout's
   file — and `ctx.agg_root` is `None` on the `--single-repo` self-gate a pull
   request runs, so the file is never loaded at all in this mode. That is
   precisely the shape `docs/archive-record-discrepancies.md` § "What a
   disposition actually buys" already records, disposition entry and all, for the
   2026-08-22 register ruling. The comment now states what the run prints.

   PRE-EXISTING, NOT INTRODUCED HERE, PROVED BY ISOLATION: the same single
   `uncited-resolution` is emitted BYTE-IDENTICALLY by the pre-merge branch tip
   `8d0853c2` against the pre-merge merge-base `8f986c39`, and a run baselined on
   `8d0853c2` with the merged tree as head reports `[]`. The catch-up merge adds
   nothing.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Aug 31, 2026
… seven seats are granted, and the one blocker is carried in the open (#539)

* Archive add-notebook-projection-identity: the estate is migrated, the seven seats are granted, and the one blocker is carried in the open

The declared-hosting-identity change reaches canon. Both MODIFIED deltas are
promoted — `lifecycle-notebook-projection` (+3 added, ~2 modified) and
`credential-contracts` (~1 modified) — measured rather than assumed: 6 delta
requirements in, 6 out, all six bodies byte-identical, 32 delta scenarios
carried.

Four boxes were disposed before the move, so the archived copy carries them:

- 4.2 TICKED on the procedure branch of its own disjunction. The two held
  sessions named in the migration evidence are gone from origin (verified:
  `refs/heads/draft/*` returns nothing), F3 was fixed the same day, and the
  residual live read rides the 5.1 successor.
- 4.3 TICKED on the landed per-record procedure — the migration it deferred the
  code to has RUN (evidence Step 6: all seven `provider_notebook_id` fields
  updated, none retired). The code gap is filed at #536.
- 4.7 RE-SCOPED TO 7 OF 7 by Brett Heap's ruling of 2026-08-31 (in session,
  `openxfactory-f5`): the Gmail grantee is DROPPED and the second reader is not
  wanted. Consistent with his 2026-08-27 wind-down-by-owner-deletion and his
  2026-08-24 sole-grantor posture. The provider's account-level refusal survives
  as a finding rather than a debt.
- 5.1 DISPOSITIONED, NOT TICKED — it archives standing, per the #535 route.
  Unattended re-authentication is unmeetable today on three grounds (interactive
  Google sign-in; `nlm login` broken upstream by the notebook.google.com
  rebrand; custody ratified as not delivering automation). Carried to #537.
- 6.1/6.2 ticked with evidence: the staging INDEX row and detail section retired
  in the file's own style (folder retained as provenance), the sibling
  `notebook-access-wallet-governance` row corrected on its projection-identity
  half ONLY — custody's half is still true and changes at custody's own archive
  — and the README row moved from active to archived.

`proposal-support.py verify` ok per-change and whole-corpus on both sides of the
move; `openspec validate --all --strict` 81 -> 80 passed, 0 failed; the
`.openspec.yaml` blob is identical across the move (`c1adfc19`), so the CLI
hazard did not fire.

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

* The honest record of what that archive did not close

Second commit of the #501/#535 two-commit shape. The first moved the packet; this
one writes down what the move left standing, so nothing depends on a reader
finding it in a commit message.

- Archived `tasks.md` gains § 8: the #535-route justification, the two filed
  successors (#536 for 4.3's code gap, #537 for 5.1 in full), the deliberately
  stale citation and its reason, and a list of what the packet does NOT claim.
- `docs/notebooklm-sync-open-item.md` STAYS OPEN and gains a dated pointer to
  #537 with the three grounds. It closes when unattended re-authentication
  actually works, which is exactly what 5.1 refused to pretend.
- Two of the three stale `openspec/changes/add-notebook-projection-identity`
  paths repointed at the archive: the `Backed by:` header of
  `docs/notebook-projection-retirement-runbook-step8.md` and the comment
  citation in `examples/lifecycle-notebook-workspaces.yaml`.
- The third is left stale ON PURPOSE.
  `docs/notebook-projection-migration-evidence-2026-08-24.md` carries
  `Status: record`, and doc-health's `record-immutability` family raises a
  CRITICAL on any substantive line change to a captured record — excepting only
  markdown-link pairs, which a backticked path is not. Repointing it would trade
  a stale path for a broken immutability guarantee. Recorded in § 8.
- `tests/doc-health/test_modified_block_currency_self_gate.py`: the carriage
  ledger drops from eight named subjects to seven, in the file's own retirement
  style and on the same condition the three rows above it retired under. BOTH
  HALVES VERIFIED BEFORE THE ROW WAS DELETED: the packet archived, and canon's
  "The session namespace is reconciled against live sessions" is byte-identical
  to the promoted delta body
  (`sha256:0f60e48c5fb977c5265d3fa10ed794cc08e82c476b82d0df75d2c2e7fff2220a`).
  That test is designed to fall due on exactly this act — "an archive that
  removes a subject and a new proposal that adds one are both legible" — and it
  is green on `origin/main`, red on commit one, green again here.

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

* The recovery document stops recommending the dead path it itself declared dead

The 2026-08-31 archive note establishes, as ground 2, that `nlm login
--cdp-url` times out after the provider's notebook.google.com rebrand — and the
document then went on to claim the section above "still describes the way in"
and to instruct that exact command in "How to resume". An operator following
this recovery document was sent down a dead path.

Corrected within the document:

- "The method that works" step 3 now names the harness `scripts/nlm_auth.py`
  as THE route — the one that actually authenticated the 2026-08-24 hosting
  migration — and demotes `nlm login --cdp-url` to a BROKEN-do-not-run note
  citing F1 in the migration evidence and successor #537.
- Step 2's host warning is inverted by the rebrand and is corrected: the live
  host IS `notebook.google.com`, the L-M URL redirects there, and the old
  spelling now matters only to the tooling that still matches on it.
- Ground 2 no longer asserts the preceding section stands; it says what was
  corrected and why.
- "How to resume" step 3 drops the dead command and says plainly not to use it.

The harness is recorded as not host-clean either — `NB_URL` and its `--cdp-url`
page-selection predicate hard-code the old host, and it survives only because
the predicate's miss falls through to a navigation the redirect rescues. That
correction is #537's too, so the successor carries both halves. No code is
touched here; this is an archive PR.

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

* Apply the Codex round: the archive tells its dependents it happened, and the staged fragment retires with its candidates

Two P2 findings from the round-2 bench on this archive, both minimal and both
recorded under Brett Heap's standing one-sweep consent of 2026-08-31 to amend
these ratified packets.

**Finding 1 — the two dependent packets went stale the moment this archive
landed.** `add-notebook-hosting-credential-custody` § 6.2 and
`add-binding-consumer-identity` § 7.3 each carry an obligation to reconcile
with `add-notebook-projection-identity` "at ITS archive", while the metadata
around them still describes that change as ACTIVE and unpromoted — custody in
`design.md`'s Ruling 2, bci in its `.openspec.yaml` dependency comment. That is
now false. Each site gains a dated correction note saying so, naming the
archived path, and recording that the obligation is DUE rather than contingent.

Neither box is ticked and neither obligation text is altered, deliberately:
those reconciliations are the FULL read-together, and Brett's ruled chain
sequences them at each packet's own archive — custody at step C, bci at step D,
after this archive at step B. Doing either here would be running a later step
early. bci's § 7.2 ordering obligation is left exactly as written, because the
custody half of it is still true.

**Finding 2 — the retired topic's folder still advertised live candidates.**
`ideation/staging/notebook-projection-identity/` kept `Status: staged` and four
live `xspec:candidate` fences whose deltas are now promoted.
`fam_staged_candidate_aging` exempts an archived exit only from its topic-folder
loop, then scans every candidate marker independently, so those four would have
warned at 30 days and errored at 90.

The fragment now reads `Status: superseded` — the lifecycle's value for material
"kept for provenance; header names the successor", which is what this is; it was
promoted, not withdrawn — with `Superseded by:` and `Exit taken:` naming the
archived change. The four fences are CONVERTED to `xspec:supersedes` markers
carrying `change=add-notebook-projection-identity`, each keeping the capability
it always targeted; closing fences become plain end-of-block comments. Deleting
them was rejected on the `split-openxwallet-repo` precedent, which ruled that
dropping markers "would silently drop blocks out of the conversion queue" — here
they leave it by having been converted. No prose, claim, question, disposition,
idea note or conflict is edited.

Two claims this change itself falsified are corrected in place rather than left:
the fragment's own conflict note calling its markers LIVE, and the INDEX's Files
bullet saying the same. The INDEX's exit record also now states that the
fragment was brought into line with the "RETIRED FROM STAGING" it had already
asserted.

Gates: `openspec validate --all --strict` 80/80; `pytest tests/doc-health` 1347
passed. Docs-only commit — the full suite is left to CI.

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

* Apply the Codex round: recovery authenticates the profile that owns the books

The migration moved the projection to [email protected] on the `company`
profile and `examples/notebook-projection-hosting.yaml` declares it, but this
doc's live instructions still refreshed credentials into `personal`. An
operator following them reached a signed-in legacy account and then had
step 5's sync refused by `enforce_hosting_profile()` — the runbook could not
resume the projection it is for.

The Account section and the resume steps now name `company`, and the resume
gains the step the harness does not perform: `nlm auth`'s selection is
process-global through `auth.default_profile`, so `nlm_auth.py --profile
company` writes the store and `nlm login switch company` binds the CLI. Both
are needed, and the refusal text and its code lines are quoted so a reader who
skips one recognizes what they are looking at.

`personal` is kept, named for what it now is: the legacy account, read
deliberately by the step-8 retirement runbook and holding the two session
notebooks migration step 5 HELD. Historical statements about past
personal-profile runs are untouched — they are records, not instructions, and
the doc now says so.

* Apply the Codex round: the dependents' metadata stops describing an archive that already happened as future

The earlier round corrected the two dependent packets' tasks.md and named,
without touching, the metadata sites still calling `add-notebook-projection-identity`
ACTIVE and unpromoted. Codex's point, accepted: keeping the full-reconciliation
CHECKBOXES open — steps C and D of the ruled chain — does not require preserving
an already-false dependency STATUS, and a reader takes their release-ordering
base from exactly these sites.

Corrected in place, dated, and scoped to the status claim only:

- `add-binding-consumer-identity/.openspec.yaml`'s `related:` row now records
  the 2026-08-31 archive and its promoted deltas, with the correction note
  carried as YAML comment beneath the row (the file still parses).
- `add-notebook-hosting-credential-custody/design.md` gains a dated correction
  after Ruling 2's first reason and after its sequencing note. The ruling text
  and the sequencing fact are UNCHANGED — they are the record of what was ruled
  and what the 2026-08-23 read was shown; only their description of the
  dependency's standing is corrected.
- The sweep found two more falsified present-tense claims about the same
  dependency in that packet's `proposal.md` (the Impact bullet's "ratified but
  NOT YET PROMOTED" and the honest-gaps bullet's "is unpromoted until ...
  archives"); both get the same treatment.
- `review/ratification-2026-08-23.md` is deliberately untouched and said to be:
  it makes the same claim as a dated record of what was before the ratifier at
  that read, and a record of an act is not amended because the world moved after
  it.
- Both prior-round notes are updated where this sweep falsified their own
  "still describes"/"still reads" wording.

No reconciliation is performed. Both boxes stay unticked: custody's read-together
is step C at its own archive, the three-packet one is step D at
`add-binding-consumer-identity`'s. Recorded under Brett Heap's standing one-sweep
consent of 2026-08-31 to amend these ratified packets.

Gates: `openspec validate --all --strict` 80/80; `.openspec.yaml` parses with all
seven `related:` entries intact; same-clock doc-health vs `origin/main` 2f1cd13
shows zero NEW findings (the one info finding that disappears is this PR's own
archive of the projection-identity MODIFIED block). Docs and metadata only — the
pytest suite is left to CI.

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

* Apply the Codex round: the refresh must not silently disarm the address check, and until the harness is fixed the operator restores it by hand

The resume flow told an operator to re-authenticate the `company` profile
with `scripts/nlm_auth.py` and then sync. `write_native_profile()` writes
`"email": None` unconditionally (:139-149) — it never reads the file it
replaces, in `refresh` no less than `bootstrap` — so that step ERASES the
address the migration hand-set. `profile_account()` reads a null as UNKNOWN
(sync-notebooklm-books.py:2035-2050), which makes the address refusal at
:2285-2292 skippable by its own `if signed_in and …` guard, and the run
proceeds on the profile NAME alone (:2293-2299). A name proves nothing about
which Google account signed in: authenticate `company` as the legacy account
that still holds the archive-renamed xFactory-titled books and `--apply`
sends its additions and its deletions into the wrong estate, with none of the
refusal this doc promises.

The code defect is real but is not this archive PR's to fix — it is filed as
#543, with both candidate remedies stated and neither
chosen (preserve/populate the address in the harness, or refuse a null-email
hosting profile in the sync), cross-referenced to #537 as adjacent work in
the same file.

What lands here is the mitigation the operator can actually run: a mandatory
step 5, placed where the sync cannot be reached without passing it, that
re-asserts `email` in the profile store by merging the field (rewriting the
file would drop the csrf/session just captured), reads it back with
`nlm login profile list` — which prints `Unknown` for a null, so it proves
the check is armed and nothing more — and leaves the proof of ESTATE with
`nlm notebook list --profile company`, run with the flag because the CLI's
default profile is not bound until the following step. Named as a hand-repair,
not a fix: the next harness run erases the field again. The harness
description and the Account section carry the same warning forward.

* Apply the Codex round: the disposition points at its successor, not at the precedent

Fix the § 5.1 disposition text in the archived tasks.md: the work moves to
the named successor (#537), not to #535 (which is only the
add-signed-execution-chain archive-route precedent cited later in this
same file at line 539).

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

* The custody half fell in the peer lane, so this packet's own text says so

THREE CORRECTIONS THIS BRANCH OWES ITSELF AFTER THE CATCH-UP MERGE OF `2f1cd139`,
and only to text that is still THIS pull request's to correct. The two archived
peer packets are records and were left exactly as PR #541 landed them.

1. `ideation/staging/INDEX.md`, the sibling row `notebook-access-wallet-governance`.
   That row said both `add-notebook-projection-identity` and
   `add-notebook-hosting-credential-custody` "are ACTIVE with
   ratified-but-unpromoted deltas this topic would amend". This branch corrected
   the projection-identity half and DELIBERATELY LEFT THE CUSTODY HALF, on the
   stated ground that it was "still true and it changes at CUSTODY's own archive,
   not at this one". #541 archived custody — and its dependent
   `add-binding-consumer-identity` — on 2026-08-31 under Brett Heap's ROUTE-1
   ruling. The custody half is therefore corrected here, citing #541 as its
   author, and the row now records that NO half of the original sentence
   survives: this topic has no ratified-but-unpromoted delta left to wait on.

2a. The archived packet's `tasks.md` § 8, "WHAT THIS ARCHIVE DID NOT CLOSE",
   which gains a THIRD item arriving from another lane. #541's two archived
   copies each leave ONE box unticked and both point HERE — custody § 6.2 and
   the dependent § 7.3, one reconciliation seen from two sides, each restated
   2026-08-31 as "whoever archives `add-notebook-projection-identity`
   discharges both". THIS ACT DOES NOT DISCHARGE THEM and now says so rather
   than letting silence read as done: what is owed is the FULL read-together of
   three packets' `credential-contracts` text, a reading act with findings of
   its own and not a side effect of moving a directory. What this act does
   supply is the precondition it always held — the operated-identity
   generalization is CANON as of this landing — so the reconciliation is
   performable by anyone and blocked on nothing. Their boxes are not ticked
   from here either, and could not be: they sit inside archived records.

2. The archived packet's `tasks.md` § 6.1, which is where the leave-it-alone
   reasoning was written down. A dated amendment is appended UNDER the original,
   which stands word for word: the reasoning was sound and still is — this step
   did not produce custody's archived state and still has not; another lane did.
   What changed is the world, and the note says which lane changed it. Archived-
   record discipline applies to this branch's own archive too, but this packet is
   NOT YET MERGED, which is exactly the distinction that lets its text be
   corrected while the peer packets' may not be.

3. `tests/doc-health/test_modified_block_currency_self_gate.py` — THE LEDGER WAS
   MEASURED, NOT RECOMPUTED ON PAPER, AND A CLAIM INSIDE IT WAS FALSIFIED.

   THE LEDGER ITSELF NEEDED NO CHANGE, and that is a measurement rather than an
   assumption: `doc-health --family modified-block-currency` over the MERGED tree
   reports 0 scenario-title / **7 carriage ledger** / 0 title-resolution / 0
   marker / 0 unplaced — exactly the seven subjects this file names, in the exact
   set it compares with `==`. #541 archived two packets and moved NO row of this
   ledger: custody's deltas are pure ADDED, so this arm has no MODIFIED block of
   its to read at all, and the dependent's MODIFIED block drops nothing and so
   never carried a finding. `pytest tests/doc-health` is green with the ledger as
   this branch already wrote it.

   THE FALSIFIED CLAIM. The row-retirement comment asserted that "a same-clock
   doc-health run against an `origin/main` baseline reported ZERO new findings
   and exactly this one INFO gone". The second half is true. THE FIRST HALF IS
   NOT, and it was true only of the METHOD used to check it — comparing the
   severity counts of two INDEPENDENT reports (baseline 5/4/38/11 vs head
   5/4/38/10, so nothing looks new). Run the way the runner itself computes it,
   with `--previous-report`, the head reads 5 critical / **5** error / 38 warning
   / 10 info and "New regressions vs previous report: 1". The extra error is the
   archive act's OWN MECHANICAL SHADOW: the carriage finding is `contested`, so
   its DISAPPEARANCE re-emits through `report.uncited_resolutions` as an
   `uncited-resolution` ERROR naming the ACTIVE path this packet no longer has.

   IT IS NOT SUPPRESSIBLE FROM THIS REPOSITORY AND NO ATTEMPT IS MADE TO SUPPRESS
   IT. `health/dispositions.yaml` resolves as
   `ctx.agg_root / "health" / "dispositions.yaml"` — the AGGREGATION checkout's
   file — and `ctx.agg_root` is `None` on the `--single-repo` self-gate a pull
   request runs, so the file is never loaded at all in this mode. That is
   precisely the shape `docs/archive-record-discrepancies.md` § "What a
   disposition actually buys" already records, disposition entry and all, for the
   2026-08-22 register ruling. The comment now states what the run prints.

   PRE-EXISTING, NOT INTRODUCED HERE, PROVED BY ISOLATION: the same single
   `uncited-resolution` is emitted BYTE-IDENTICALLY by the pre-merge branch tip
   `8d0853c2` against the pre-merge merge-base `8f986c39`, and a run baselined on
   `8d0853c2` with the merged tree as head reports `[]`. The catch-up merge adds
   nothing.

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

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 1, 2026
…al does not (#547)

The reconciliation the inverted archive order orphaned is performed. Custody
§6.2 and add-binding-consumer-identity §7.3 each restate it as owed at
add-notebook-projection-identity's archive; that archive's §8 says in terms
that it does NOT perform it and names a successor act; #545 is the filing.
This is the record that act owed.

Twelve promoted requirement blocks read against their archived deltas at
origin/main 4290cad. Eleven stand byte-identical. The twelfth is the one
title two packets write, and canon carries the later of the two whole — which
is what a MODIFIED-over-a-sibling's-ADDED pair promoting in the safe order is
supposed to look like.

(a) Custody's 13 scenarios all stand, and the struck fifth is absent: 0
occurrences under openspec/specs/, surviving only in its own dated amendment
note and in one line of the successor's design that quotes it to call it false.
(b) The dependent's block is five carried scenarios, each byte-identical, plus
one addition carrying the consumer: framing — zero units lost, zero
substituted, its §7.4 claim re-verified against canon rather than against the
sibling's delta. (c) The operated-identity generalization closed a reference
that was DANGLING: custody's "the existing prohibition on hard-coding an
operated identity's credential" pointed at nothing in canon for the two
commits between b09e59d and 4290cad, and credential-contracts:137 supplies
it now. (d) Every cross-reference resolves — one path, one change id, fourteen
contract tokens; four path-shaped strings are globs and name fragments,
verified in context.

(e) ONE DEFECT, REPORTED AND NOT REPAIRED. The promoted Modified over marker
at credential-contracts:248 says the successor was named "three times". The
same packet's proposal enumerates FIVE sites, its ratification record says
five in the identical sentence, and the shipped contract-v2.4 schema says
five; after #538 struck the first of those five, the surviving count is FOUR.
The numeral matches nothing. It sits in promoted canon and is mirrored in a
closed archived delta, so correcting it is an amendment act with its own
consent — not this record's to take. #545 stays open on it.

One observation is written down rather than left inside an archived record:
OQ-3's singular custody pointer was ruled leave-singular "with a named home",
and the home is named only as the owning capability. No issue, no successor,
no other document carries it.

Neither archived box is ticked, and neither could be. The record is their
discharge; the boxes are the honest state of two closed records.

Gates: openspec validate --all --strict 78/78; doc-health same-clock
(--as-of 2026-08-31) against a baseline at origin/main byte-identical, zero
new findings; pytest tests/doc-health 1347 passed. Documentation-only, so the
full suite is left to CI.

Refs #538, #539, #541, #545


Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc

Co-authored-by: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 1, 2026
… has archived

Merge `origin/main` (`1c1dcbbe`) into the packet branch so the ratification is
taken against the tree as it now stands rather than against a five-day-old
merge-base. One conflict, in `README.md`'s "Active changes:" list, where both
sides inserted a new entry at the head: resolved as a UNION, this packet's entry
first and `add-chain-attestation`'s after it, both texts byte-unchanged.

**NO PACKET FILE MOVES IN THIS COMMIT.** `proposal.md`, `tasks.md`,
`.openspec.yaml` and `specs/credential-contracts/spec.md` are byte-identical to
`deb72c8e`, the tip Codex reviewed. The measured claims this merge makes stale
are re-measured in the ratification commit that follows, not here, so a reader
can see the merge and the amendment apart.

WHAT MOVED UNDER THE PACKET, recorded because the ratification turns on it: PR
#541 archived `add-binding-consumer-identity` and
`add-notebook-hosting-credential-custody` (basis first), so
`openspec/specs/credential-contracts/spec.md` grew from SEVEN promoted
requirement titles to TWELVE and now carries both titles this packet measured as
absent. The bundle version did NOT move — `contracts/manifest.yaml:3` still
declares `contract-v2.5` — so `target_release` and tasks § 6.1 stand as written.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc
brettheap pushed a commit that referenced this pull request Sep 1, 2026
…1 is TWO CODES (#523)

**RATIFIED 2026-09-01 BY DIRECT RULING** — Brett Heap (repository owner), in
session via an explicit multi-choice put, session `openxfactory-f5`. Record:
`openspec/changes/add-requirement-ref-resolution-integrity/review/ratification-2026-09-01.md`.

**AD-1 IS RULED TWO CODES, AS DRAFTED.** Zero-resolving and ambiguous are
reported apart, under distinct codes, because their remedies live in different
files — a reference resolving to nothing is repaired at the reference, one
resolving to several in the requirements document. **The twelve-item
AD-1/ONE-CODE AMENDMENT SET IS DECLINED AND NOT EXECUTED**: not one of its items
is applied, and it is DELIBERATELY LEFT STANDING in the proposal as the record of
the alternative that was rulable rather than struck. AD-2 … AD-6 stand as
drafted; OQ-1 … OQ-4 REMAIN OPEN, the ruling having reached the decisions without
reaching the questions.

**THE SPEC DELTA IS BYTE-UNCHANGED FROM `deb72c8e`**, the reviewed tip. This
commit moves only the sites that assert the packet's own standing, plus ONE
measurement the catch-up merge falsified.

**NO §7.4 SITTING, AND NONE WAS PRESCRIBED.** tasks § 2.3 put the question rather
than the answer and he took the DIRECT path — the #504/#497-family precedent's
direct branch, the same one `govern-sibling-added-modified-deltas` took on
2026-08-31. No seat sat, no ballot was cast, nothing here is a council
disposition. § 2's four boxes carry measured dispositions and TWO DO NOT TICK:
2.2 (the AD side discharged in full, the OQ side never taken) and 2.3 (a question
answered "no" is not a question performed).

**THE REVIEW EVIDENCE IS RECORDED AGAINST THE TRUE COUNT: THREE Codex rounds, not
one.** Rounds 1 and 2 on `1d6d58f7` raised two P2s, both REPAIRED at `deb72c8e`
(the three-byte "one-byte control", and a one-code branch that would have
ratified a permission and a prohibition together). **ROUND 3 READ THE FIX TIP
ITSELF** at 2026-08-31 23:54 UTC and returned a THIRD P2 that is **OPEN**: the
frozen `resolve_requirement` matches `index.get(requirements_document_ref)`, so
one id in TWO documents resolves `ok` from either, leaving the CROSS-DOCUMENT arm
of the now-promoted ambiguity scenario unmet while tasks § 3.4 freezes that
resolver. It is ROUTED to a new tasks § 9.4 with a pointer at § 3.4, NOT repaired
and NOT closed — it falsifies nothing ratified here, it lands on a realization
row, and the gap is INHERITED from the shipped validator rather than introduced.
Eight of eleven `@codex review` requests were PROVIDER-REFUSED on org usage
limits (four before round 3, four after), so no bench has read the routing.

**THE CATCH-UP MERGE RE-MEASURED, RATHER THAN RATIFYING A FALSE CLAIM.** PR #541
archived `add-binding-consumer-identity`, so the promoted spec went from SEVEN
titles to TWELVE and now carries BOTH titles the packet had measured as absent.
§ The sibling rule, measured keeps both measurements: the CHOICE (all-ADDED) is
unchanged and only its REASON moved — first because a marker plus an
archive-order hold would have been owed, now because the basis has archived and
neither would be. Neither ADDED title collides with the twelve; the bundle
version did not move.

GATES: `openspec validate --strict` VALID; `--all --strict` 80 passed / 0 failed;
doc-health single-repo vs the `origin/main` baseline `1c1dcbbe` — ZERO NEW
FINDINGS, sixty-two rows identical in both directions, totals 5 critical /
4 error / 39 warning / 14 info. `pytest tests/doc-health` 1346 passed / 1 failed
the ONE failure being `test_every_carriage_ledger_finding_over_the_real_tree_is_named`,
whose unnamed subject is `add-chain-attestation`'s block from PR #510 — PROVEN
PRE-EXISTING by running it against an untouched `origin/main` checkout, where it
fails identically. It is not this packet's to fix and is not fixed here. The full
suite is left to CI, this commit being documentation-only.

Ratification authorizes realization and performs none of it: no validator line,
no fixture, no bundle number, no deprecation row. It does not close #523, and the
packet states no intent to — that is realization's act.

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 Sep 1, 2026
… to nothing is its own finding (#523) (#542)

* Propose add-requirement-ref-resolution-integrity: a ref that resolves to nothing is its own finding (#523)

Brett ruled 2026-08-30, recorded on PR #516 and anchored at issue #523: the
successor carries its OWN resolution-integrity code. A `consumer.requirement_ref`
that resolves to zero requirements or to more than one is reported today only
where two bindings share a `secret_ref`, because `resolve_requirement` has
exactly one caller and that caller is the six-condition lift.

Reproduced on a fresh clone of origin/main at 3a6a16e: two bindings with
DISTINCT secret refs, one naming an id no record carries and one naming an id
two records carry with different access modes, validate `0 warning(s),
0 error(s) -> PASS`. One byte — making the two secret refs equal — produces the
error naming the very same unresolvable reference.

Two ADDED requirements over twelve scenarios, NO MODIFIED block: the two
requirements a reconciling MODIFIED delta would have named are carried by no
promoted spec and are ADDED by the active add-binding-consumer-identity, so a
MODIFIED block would be govern-sibling-added-modified-deltas' governed shape
(a `Modified over` marker plus an archive-order hold). A pure ADDED requirement
serves, so the packet takes it.

Proposal-only, on the #497 -> #516 pattern. No validator line moves here.

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

* Re-measure three citations rather than inherit them, and split the control in two

The versioning-policy class citation was carried over from the sibling packet at
`:242-255`; that range is now the contract-v1.36 breach record. § Change Classes
sits at `:293-306`, and reading it fresh says something stricter than the
inherited line did: two new validator warnings answering a refusal declared for
the major is the DEPRECATING (minor) bullet, not only the Additive one, so the
removal version and the migration path are OWED in the CHANGELOG rather than
optional. Tasks § 6.3 moves with it.

The "one byte" control claimed more than one edit made. Split into Control A
(the byte alone — refused, but on the FOURTH lift condition, before resolution
is consulted) and Control B (plus the acknowledgment — the refusal now says
"resolves to no requirement in the repository under validation"). README
corrected the same way.

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

* Apply the Codex round: the control is honest about its bytes, and AD-1's branches are both executable

Two P2 findings on PR #542, both repaired in the packet; no validator line,
fixture or policy row moves, the change staying proposal-only.

THE CONTROL CLAIMED ONE BYTE AND SPENT THREE. § What was measured spaced the
reproduction's two secret references `example-secret-one` / `example-secret-two`
and called Control A a one-byte edit — it is three, so a reader rerunning the
control as specified would have been measuring something the text did not
describe, and the delta scenario's "one byte" rested on it. The reproduction was
REBUILT on `example-secret-a` / `example-secret-b` and RE-RUN against
`scripts/validate-credential-contracts.py` at this branch's merge-base
`3a6a16e9`: the two binding templates are now the same length (1318 bytes) and
differ at EXACTLY ONE OFFSET (byte 980), the requirements document is
byte-identical across the trees, and every recorded output in § 1 and § 2 is that
run's rather than the old one's — reflowed to the column and otherwise verbatim,
with the elisions the earlier draft carried removed so nothing is hidden. The
reproduction also now states that its `dispatch_only` record carries TRIGGER-ONLY
scopes, without which `dispatch-scope-ceiling` fires and the tree is not a silent
one — the trap this rerun walked into first. The delta scenario "The shipped
check is silent on both of them today" states the single-byte spacing in its
WHEN, so "one byte" is a condition of the scenario rather than a claim beside it.
And § What was measured gains § 6, which writes BOTH REPRODUCTION FILES OUT IN
FULL: the run is now re-executable from this packet alone rather than from a
description of a tree nobody kept.

AD-1 OFFERED A BRANCH IT COULD NOT EXECUTE. As drafted, a one-code ruling struck
ONE scenario — while the delta still obliged zero and more-than-one to be "NAMED
APART" with separate remedies, tasks § 3.3/§ 4.1/§ 4.2/§ 5.1 still bought two
codes and three fixtures, and `code_surface` still said `DEPRECATION_CODES` grows
from EIGHT to TEN. Ratifying that is ratifying a permission and a prohibition
together. AD-1 now carries the COMPLETE AD-1/ONE-CODE AMENDMENT SET — twelve
numbered items naming the delta paragraph and the two scenarios (one rewritten
rather than struck, so the scenario arity and tasks § 1.1's TWELVE hold), the
four `code_surface` sentences, the § 5 and § Impact counts, the § What this
changes clause, the five task rows and the README clause — with the text each
becomes, so a one-line ruling is executed mechanically in the ratifying commit.
The packet states plainly that AS DRAFTED it carries the TWO-CODE SHAPE AS
NORMATIVE and that the one-code branch is that amendment set. Tasks § 2.2 and
§ 3.3 point at it, so an implementer cannot reach realization holding a one-code
ruling and a two-code delta.

THE DRAFTED RECOMMENDATION IS UNCHANGED: TWO CODES. Writing the branch out did
not weaken it — it showed the one-code shape survives only by moving the fault's
name out of the CODE and into the MESSAGE, which is what this family's "a refusal
shall name the fault it found" rule was written against.

Swept for staleness: the README active entry (names the byte, and records that
the one-code branch is rulable in one sentence), tasks § 7.6's control
description, and a new tasks § 1.9 recording the round.

Gates: `openspec validate add-requirement-ref-resolution-integrity --strict` and
`--all --strict` green (82 passed, 0 failed); the reproduction and both controls
re-run against the shipped validator with the outputs pasted into the proposal;
`python3 -m pytest tests/doc-health -q` green (1347 passed); same-clock doc-health
against baselines at BOTH this branch's merge-base `3a6a16e9` and the current
`origin/main` `2f1cd139`, in identically named `openxFactory` directories — ZERO
new findings against either (5 critical / 4 error / 38 warning / 11 info, matched
exactly). Docs-only, so the full pytest suite is left to CI.

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

* Ratify add-requirement-ref-resolution-integrity by direct ruling: AD-1 is TWO CODES (#523)

**RATIFIED 2026-09-01 BY DIRECT RULING** — Brett Heap (repository owner), in
session via an explicit multi-choice put, session `openxfactory-f5`. Record:
`openspec/changes/add-requirement-ref-resolution-integrity/review/ratification-2026-09-01.md`.

**AD-1 IS RULED TWO CODES, AS DRAFTED.** Zero-resolving and ambiguous are
reported apart, under distinct codes, because their remedies live in different
files — a reference resolving to nothing is repaired at the reference, one
resolving to several in the requirements document. **The twelve-item
AD-1/ONE-CODE AMENDMENT SET IS DECLINED AND NOT EXECUTED**: not one of its items
is applied, and it is DELIBERATELY LEFT STANDING in the proposal as the record of
the alternative that was rulable rather than struck. AD-2 … AD-6 stand as
drafted; OQ-1 … OQ-4 REMAIN OPEN, the ruling having reached the decisions without
reaching the questions.

**THE SPEC DELTA IS BYTE-UNCHANGED FROM `deb72c8e`**, the reviewed tip. This
commit moves only the sites that assert the packet's own standing, plus ONE
measurement the catch-up merge falsified.

**NO §7.4 SITTING, AND NONE WAS PRESCRIBED.** tasks § 2.3 put the question rather
than the answer and he took the DIRECT path — the #504/#497-family precedent's
direct branch, the same one `govern-sibling-added-modified-deltas` took on
2026-08-31. No seat sat, no ballot was cast, nothing here is a council
disposition. § 2's four boxes carry measured dispositions and TWO DO NOT TICK:
2.2 (the AD side discharged in full, the OQ side never taken) and 2.3 (a question
answered "no" is not a question performed).

**THE REVIEW EVIDENCE IS RECORDED AGAINST THE TRUE COUNT: THREE Codex rounds, not
one.** Rounds 1 and 2 on `1d6d58f7` raised two P2s, both REPAIRED at `deb72c8e`
(the three-byte "one-byte control", and a one-code branch that would have
ratified a permission and a prohibition together). **ROUND 3 READ THE FIX TIP
ITSELF** at 2026-08-31 23:54 UTC and returned a THIRD P2 that is **OPEN**: the
frozen `resolve_requirement` matches `index.get(requirements_document_ref)`, so
one id in TWO documents resolves `ok` from either, leaving the CROSS-DOCUMENT arm
of the now-promoted ambiguity scenario unmet while tasks § 3.4 freezes that
resolver. It is ROUTED to a new tasks § 9.4 with a pointer at § 3.4, NOT repaired
and NOT closed — it falsifies nothing ratified here, it lands on a realization
row, and the gap is INHERITED from the shipped validator rather than introduced.
Eight of eleven `@codex review` requests were PROVIDER-REFUSED on org usage
limits (four before round 3, four after), so no bench has read the routing.

**THE CATCH-UP MERGE RE-MEASURED, RATHER THAN RATIFYING A FALSE CLAIM.** PR #541
archived `add-binding-consumer-identity`, so the promoted spec went from SEVEN
titles to TWELVE and now carries BOTH titles the packet had measured as absent.
§ The sibling rule, measured keeps both measurements: the CHOICE (all-ADDED) is
unchanged and only its REASON moved — first because a marker plus an
archive-order hold would have been owed, now because the basis has archived and
neither would be. Neither ADDED title collides with the twelve; the bundle
version did not move.

GATES: `openspec validate --strict` VALID; `--all --strict` 80 passed / 0 failed;
doc-health single-repo vs the `origin/main` baseline `1c1dcbbe` — ZERO NEW
FINDINGS, sixty-two rows identical in both directions, totals 5 critical /
4 error / 39 warning / 14 info. `pytest tests/doc-health` 1346 passed / 1 failed
the ONE failure being `test_every_carriage_ledger_finding_over_the_real_tree_is_named`,
whose unnamed subject is `add-chain-attestation`'s block from PR #510 — PROVEN
PRE-EXISTING by running it against an untouched `origin/main` checkout, where it
fails identically. It is not this packet's to fix and is not fixed here. The full
suite is left to CI, this commit being documentation-only.

Ratification authorizes realization and performs none of it: no validator line,
no fixture, no bundle number, no deprecation row. It does not close #523, and the
packet states no intent to — that is realization's act.

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

* The ambiguity the minor detects is the one its resolver can see: per-document by ruling, cross-document filed (#553)

The third Codex round's P2 was routed OPEN by the 2026-09-01 ratification.
Brett Heap ruled it the same day, in session `openxfactory-f5`, by an explicit
multi-choice put with the whole contradiction before him: the packet was already
`Status: ratified`, its ambiguity scenario said "matching more than one
requirement record" with no document named, and `tasks.md` § 3.4 freezes a
resolver that matches `index.get(requirements_document_ref)` — so one id in two
schema-valid documents resolves `ok` from either and the cross-document arm was
UNMEETABLE by this packet's own realization, not merely unbuilt.

RULED: SCOPE TO PER-DOCUMENT. The cross-document arm is filed as the named
successor, openxFactory issue #553, carrying the finding, the resolver mechanics
by file and line, the ruling, and the choice that arm owes.

Because the packet is ratified this is a POST-RATIFICATION CONSENTED AMENDMENT
by the ratifying owner himself, and the consent is recorded at every touched
site: two dated **AMENDED 2026-09-01** notes in the delta, a dated addendum in
review/ratification-2026-09-01.md, tasks header/§ 1.1/§ 2.5/§ 3.4/§ 9.4,
proposal `code_surface` + `Amended:` line + § Standing + § What was measured § 4
+ § What this changes + § What this deliberately does not change + AD-1 +
§ Impact, `.openspec.yaml`'s `approved_by`, and the README active entry.

WHAT MOVED IS SCOPE AND NOTHING ELSE. AD-1's TWO-CODE ruling stands, AD-2 … AD-6
stand, OQ-1 … OQ-4 stay open, the phasing / removal target / corpus / all-ADDED
shape stand, and the scenario count is UNCHANGED at TWELVE — the ambiguity
scenario was NARROWED and RETITLED, never struck, so no site asserting twelve
had to move. § 9.4 stays UNTICKED on § 9's own terms: a ruling that DEFERS a
subject to a named successor is not a closing of it.

Gates: `openspec validate add-requirement-ref-resolution-integrity --strict`
VALID and `--all --strict` 80 passed / 0 failed; `pytest tests/doc-health`
1346 passed / 1 failed, the failure being the inherited carriage-ledger
self-gate over add-chain-attestation's #510 block, PROVEN pre-existing by
running that module alone against an untouched origin/main checkout at
`1c1dcbbe` (1 failed / 14 passed, identical unnamed subject); same-clock
doc-health single-repo against that same origin/main baseline, both trees in
identically named `openxFactory` directories — the two reports are BYTE-IDENTICAL,
62 finding rows line for line, totals unchanged at 5 critical / 4 error /
39 warning / 14 info, ZERO NEW FINDINGS. The full suite is left to CI, this
commit being documentation-only — no .py, no fixture and no workflow file moves.

Refs #523, #553

---------

Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: brettheap <[email protected]>
brettheap added a commit that referenced this pull request Sep 1, 2026
…ision classes (#558)

* F1+F2: the pairing class, the collision class, and the third reserved marker

Realizes `govern-sibling-added-modified-deltas` §§ 2 and 3 in the one module
both features touch. They are two separately vetoable features and ONE file,
so the code lands in one commit and the fixtures, the tests and the byte-level
documents follow in their own.

F1 — the `Modified over` marker and the pairing class:

* `parse_marker` gains a THIRD reserved form, recognized by a COMPLETE prefix
  like the other two and for the same stated reason (this packet's own delta
  text and `document-lifecycle`'s both print the template in prose that
  promotes). Recognition ENDS AT THE CLOSING COLON: neither the ` — <reason>`
  tail nor the equality of the `by` identifier to the carrier is a parse
  condition, because folding either in would drop a plainly-marked block back
  to the body units and hand its author the absent-marker remedy.
* The form NAMES NO UNITS — `names` is empty — so it suppresses nothing, can
  never reach the marker-defect class, and is a carriage unit in neither
  direction. The reason is the WHOLE TAIL after ` — `, harvested always, and an
  absent or whitespace-only tail is a VALUE the classifier reports rather than
  a parse outcome.
* `sibling_titles` returns the adding change, its declared standing (through
  the module's existing `_standing` path, never a private regex) and whether an
  ADDITION or a rename's `TO:` half put the title there. The KEYS are unchanged,
  so `resolve` is untouched and its own-rename precedence still resolves a
  rename-and-amend block against canon under the OLD name one step earlier.
* `if status == "pending": continue` becomes a pairing emit and the SAME
  `continue`. The three comparison arms still do not run against a pending
  block and no requirement text is compared anywhere in this path; the
  2026-08-27 ruling against synthesising a basis from the sibling's ADDED text
  is untouched. What changes is that the block is no longer dropped before
  anything looks at it, so the arms' silence stops reading as clearance.
* Four reported states in one ORDERED classification, exactly one per block:
  the carrier's own ADDITION first (a fact about the delta, not the marker),
  then the marker COUNT, then the single marker's basis, `by`, REASON and
  disclosure. The reason precedes the disclosure because the disclosure is a
  word looked for IN the reason clause.

F2 — the ADDED-over-canon collision class: an active `## ADDED Requirements`
block, or an active rename's `TO:` half, naming a title canon ALREADY carries.
The `FROM:` half is never read. It runs BEFORE the family's `if not blocks`
guard, because the repository most likely to hold this evidence is one whose
modifying packet has already archived.

Registration, per the fifth-class rule: two `_ArmTemplate`s (one each, so the
pairing class's four states stay ONE shape and ONE remedy), two `FindingClass`
entries INSERTED BEFORE `unplaced` so the gate-bearing arm still reads first
and the drift class still reads last, two anchored `_CLASS_PATTERNS` entries,
and two severity plus two action constants named apart from `_LAUNCH_SEVERITY`
— whose § 7.2 flip at `7f656980` moved it alone, which is the demonstration
that separate constants were the right shape. Both classes launch `warning`.

Stale numerals swept: FIVE -> SEVEN classes in the docstring enumeration,
"FIVE ENTRIES FOR SIX RULE SHAPES" -> "SEVEN ENTRIES FOR EIGHT RULE SHAPES",
and the arms-versus-classes counts in `_arm_marker_defects` and `FindingClass`.

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

* The two fixture trees: every reported state, both silent ones, and both carves

SYNTHESIZED, and each tree's README carries the table. This corpus carries no
instance of most of these shapes, which is itself the reason they are worth
pinning before one arrives.

`-pairing` (§ 2.9), seventeen change directories over one capability whose
canon carries exactly ONE requirement — a title canon carries resolves `canon`
and never reaches this check:

* undeclared; self-referential with NO marker and again WITH a marker naming
  the change itself (the exclusivity case: without the ordering, a
  self-referential block carrying no marker satisfies UNDECLARED too and the
  run emits two remedies for one defect);
* all four misdeclared grounds — a basis that adds nothing, a basis naming the
  CARRIER itself, a right basis under a WRONG `by` (the false-provenance case,
  which PASSES on a classifier checking the basis alone), and TWO markers one
  of which is VALID, asserted to emit exactly ONE finding on the COUNT ground,
  with its PAIR carrying that same valid marker alone and asserted SILENT;
* the reason ground in three fixtures — no separator at all, an EMPTY-REASON
  TWIN carrying a separator and whitespace, and THE ORDER'S OWN: the same
  prefix-only marker over an UNRATIFIED basis, asserted misdeclared on the
  reason ground and NOT undisclosed, which is what a classifier reading the
  disclosure first fails;
* undisclosed over a `draft` basis and over a basis whose proposal declares no
  standing this reader can resolve;
* BOTH silent states — a ratified basis correctly declared, and an unratified
  one whose reason carries the word the form reserves;
* and BOTH sides of the own-rename carve: `mod-rename-amend`, whose one dropped
  clause proves the comparison arms RAN against canon under the OLD name rather
  than that the pairing check merely stayed quiet; and
  `mod-own-rename-unpromoted`, whose rename's `FROM:` half canon does NOT
  carry, so the precedence never fires and the block is placed by the absence
  of a marker. That second one was added BY THE MUTATION ROUND: widening the
  self-addition condition to a carrier's own rename survived every other
  assertion in the suite, because on every other fixture the precedence hid it.

`-collision` (§ 3.4): the unsafe archive order reconstructed in both basis
forms — an active ADDED block and an active rename's `TO:` half over titles
canon now carries — plus the NEGATIVE control, a lawful rename whose `FROM:`
title canon carries and whose `TO:` title it does not. The tree carries NO
active MODIFIED block at all, deliberately: that is the repository the family's
`if not blocks` guard would have hidden, and it is exactly the repository whose
modifying packet has already archived.

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

* The tests, and every standing pin MOVED BY NAME rather than loosened

§ 2.10, § 2.11, § 3.3 and the rule assertions for both new classes.

THE PINS THAT MOVED, each with its own reason written where it moved:

* the class-registry pin — FIVE -> SEVEN ids, and the two new rows INSERTED
  before `unplaced`, with both new bands read from the module's own constants;
* the rule-shapes pin — renamed `..._six_rule_shapes_...` -> `..._eight_...`,
  because a count in a FUNCTION NAME the code contradicts is the same defect
  the numeral sweep removes from the prose;
* the verbatim class-row list and the `len(block)` pin — 6 -> 8 lines;
* the `_ARM_TEMPLATES` count — 6 -> 8;
* the FR-023 severity snapshot — the tuple gains both new constants, because
  its job is to be COMPLETE over the module's severity constants;
* `TREE_RESOLUTION` and `TREE_RICH` gain `sibling-pairing`. The second says
  something the first does not: `add-mo-modifier` DOES name its adder in its own
  proposal and is still UNDECLARED, so the cross-reference is measurably not
  the marker;
* `test_a_title_pending_on_a_sibling_s_addition_is_quiet` is renamed with the
  claim it makes. The COMPARISON half of `dh:278-280` is unchanged; the empty
  list was pinning the DROP rather than the ruling;
* the self-gate's scenario-arm pin selected on `severity == WARNING`, which two
  later acts each falsified WITHOUT reddening it — § 7.2's flip took that arm
  to `error`, and this packet adds two `warning` classes it would then have
  started selecting. It now selects on the CLASS, which is what it was always
  about.

THE TWO NEW ZERO ASSERTIONS, EACH WITH A POSITIVE CONTROL, because an empty
band is produced by a working check and a broken one alike:

* `_PAIRING_SUBJECTS`, a NAMED EXACT SET beside `_LEDGER_SUBJECTS` and under
  the same movement discipline, comparing with `==`. It LAUNCHES EMPTY, and by
  D4's route 1 rather than by luck: § 6's sweep landed at `3a6a16e9` (PR #538)
  and declared three of the four standing pairs, and PR #541 archived the
  fourth in the SAFE order. Its control reads the tree's own pending blocks
  through the family's own resolver, asserts each is silent BECAUSE it is
  declared and resolving, then strips one block's markers and asserts the class
  reports it UNDECLARED — the state the corpus was in before the sweep.
* the collision class reads zero, and its control feeds the corpus's own active
  additions to the family's own emit against a promoted index that DOES carry
  one of their titles.

AND § 2.8's NEGATIVE, verified first and then KEPT as a test: with each new arm
template registered and its `_CLASS_PATTERNS` entry absent, the fifth class
fires and QUOTES the new rule text — ONE drift finding for thirteen unplaced
pairing findings and ONE for two collision ones, which is also what says the
pairing class's four states are one shape and one remedy.

`specs/020-.../contracts/coverage-audit.md` row A13 is re-aimed at the renamed
test rather than left citing a name that exists nowhere.

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

* The two documents the new classes would otherwise make false

§ 2.12 and § 2.13. Neither is optional: `report-section.md` is BYTE-LEVEL and
enumerates the classes FOUR TIMES OVER, and a class landing without amending it
would leave the corpus carrying a contract that is false about the code it
describes — which is the class of defect the family it describes exists to
catch. That reasoning is the 2026-08-28 amendment's own, applied again.

`specs/022-.../contracts/report-section.md`: both new rows added to the bullet
template, to both worked examples, to the class map and to the action-line
table, with the templates registry and the "six templates" sentence moved to
eight. `added-over-canon` is the one map entry that cannot use `<TITLED>` and
the contract says why — its subject is an ADDED block or a rename's `TO:` half,
so it spells its own opening and is anchored to the same DEPTH: from the start
of the rule and past the closing quote of the title's `repr`.

`docs/doc-health.md`: the family paragraph named three arms, a marker-defect
class and a fifth `unplaced` class. It now names both new classes, the canon
requirement each realizes, the marker form, and the fact the three comparison
arms still do NOT run against a pending block.

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

* Tick §§ 2, 3 and the four § 4 boxes this build's evidence answers

§ 2.1-2.13 and § 3.1-3.4 are built, tested and mutation-proved. § 4.1-4.4 are
ticked with their measurements RE-TAKEN at this build rather than copied, and
§ 4.1's are the ones that moved.

**§ 4.1 — 20/16/4 IS HISTORY; THE TREE READS 20/17/3.** Both movements are acts
taken after the figure was written, and neither is drift:

* PR #541 archived `add-binding-consumer-identity` and
  `add-notebook-hosting-credential-custody` together on 2026-08-31, in the SAFE
  order, so that pair left the pending set with the requirement promoted.
* § 6's own sweep landed at `3a6a16e9` (PR #538) and the remaining THREE pairs
  each carry one `Modified over` marker naming a ratified basis that adds the
  title, under the carrying change's own `by` identifier and with a nonempty
  reason.

So the pairing class launches at a population of ZERO — D4's route 1,
PERFORMED — and § 2.11's exact set launches EMPTY with a positive control,
which is that task's D4-sequencing branch rather than its fallback. The three
markers were written by the sweep and are read back by the parser this build
adds, which is the evidence that the form as authored and the form as
recognized are one form.

§ 4.2: both of this packet's own MODIFIED blocks still resolve `canon` and the
family names neither delta path; the tree's count moved 7 -> 8 for a reason
outside this packet (`add-chain-attestation` landed a MODIFIED block on main).
§ 4.3: the collision class reads zero across both basis forms, measured through
the BUILT class rather than through a spike. § 4.4: no family is registered, so
`families.py` is untouched and the enumeration and its numerals are unmoved.

NOT TICKED, and deliberately: § 5 is the nightly aggregation read, which
happens after this lands; § 6 was already ticked on main by the sweep; § 4.5
and § 4.6 are statements about this packet's own delta design rather than
evidence a build produces; § 1.1, § 1.2, § 7 and § 8 are unchanged.

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

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
@brettheap
brettheap deleted the change/archive-credential-contracts-pair branch September 2, 2026 18:54
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