Skip to content

Archive add-signed-execution-chain: nine requirements reach canon, and the two boxes that confer everything stay open - #535

Merged
brettheap merged 2 commits into
mainfrom
change/archive-add-signed-execution-chain
Aug 31, 2026
Merged

brettheap merged 2 commits into
mainfrom
change/archive-add-signed-execution-chain

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Archived on Brett Heap's order of 2026-08-31 ("archive both realized changes after the pin-sync", the pin-sync having landed).

The sibling archive of add-binding-consumer-identity is NOT in flight, and that is a finding rather than an omission — it is mechanically un-archivable today. See the last section.

The archive gate, read rather than inherited

docs/release-realization-flow.md § The Archive Gate wants a code-surface change's code merged on the implemented target plus a green run.

act evidence
act one — the surface PR #524, squash 9af98c4d
act two — the cut PR #533, squash 58fd7a4f
the tag contract-v2.5, object f0ed3f3b, peels from the remote to 58fd7a4f
green check-runs API at this act: both final heads (69509939, e7a37064) report success on all five — pytest-suite, wallet-validation, signed-execution-chain-gate, merge-master-approval, copilot-pull-request-reviewer

Two boxes did not close, and nothing here pretends they did

  • 4.5 — the OPERATOR act. Make signed-execution-chain-gate REQUIRED in the branch ruleset. A merged workflow file is NOT evidence; only the live ruleset state is (the distinction add-wallet-carried-review-authority task 2.5 established for wallet-validation, org ruleset 21538893).
  • 4.6 — its canary evidence, BLOCKED ON 4.5 BY CONSTRUCTION. Three of four conjuncts are producible today; the fourth cannot be read until the ruleset changes, and a box closed on three of four would be the closure-on-intention this family refuses.

Until 4.5 is performed, requirement 9 is UNMET rather than partially met, the shipped declaration records is_required_in_ruleset: false, and the named reader emits a standing reader-not-required warning on every run. That agreement between the requirement and the estate is what makes the archive lawful — the capability reaches canon meeting its own degraded case rather than evading it — and it is not a claim that the act is done.

Both are restated as dispositions in the archived tasks.md § 4.5, § 4.6 and § 6.1, and carried forward at #534 so an open operator act is not written down only inside an archived packet. 4.5 remains Brett's act; performing it dissolves the obligation honestly and unblocks 4.6. The three § 5 successors survive unticked as a separate and weaker class (tranche two and tranche three, gated on Q7 and on Q3/Q6 and on layers that do not exist yet).

Promotion, verified byte-for-byte

The delta had no scenario-completeness exposure at all: it is pure ADDED into a capability that did not previously exist, so there was no canon scenario set to restate and nothing could be silently dropped — the #331/#329/#330 failure mode is structurally absent here. Measured anyway, delta preimage against the promoted spec:

  • 9 requirements in, 9 out; all nine titles an identical set; all nine bodies BYTE-IDENTICAL (9/9)
  • 45 scenarios in, 45 out
  • one new capability directory openspec/specs/signed-execution-chain/; no sibling capability touched

The mechanism, and why it is not the wrapper

OPENSPEC_TELEMETRY=0 openspec archive add-signed-execution-chain --yes (openspec 1.2.0) → signed-execution-chain: create, + 9 added, Totals: + 9, ~ 0, - 0, → 0. It reported Task status: 22/27 and warned on five incomplete tasks, which is correct and expected: § 4.5, § 4.6 and the three § 5 successors.

proposal_support.archive_change refuses any change whose tasks.md still carries a ^- [ ] line — a blanket gate that cannot tell a ruled-open follow-up or a deliberately-open operator act from unfinished work. The two things that wrapper adds were run anyway, on both sides of the move: the origin gate (proposal-support verify <change> → ok before and after; whole-corpus verify → ok before and after) and packaging, a lawful no-op for a staged origin with no supporting-docs/. The recorded precedents for exactly this route are 2026-08-28-declare-sentinel-pin-vocabulary § 4 and the three sibling archives of 2026-08-27, each of which carried unticked follow-ups through the archive and said so in terms.

Gates

gate result
openspec validate --all --strict 80 passed, 0 failed before AND after
pytest tests/ -q -m "not postgres" 8363 passed, 21 skipped, 0 failed (baseline)
reactive subsets after the act 1709 passed (tests/doc-health tests/signed_execution_chain tests/intent-compliance)
proposal-support verify ok, both sides, per-change and whole-corpus
.openspec.yaml CLI hazard did not fire — blob 57f45fe1cf17b8eacfdf941d2bb0d184de813a8c identical across the move, so it moved rather than being lost

Fifty-six stale paths, deliberately left standing

The move makes openspec/changes/add-signed-execution-chain a stale spelling in 56 places. Nothing breaks, and that was checked rather than hoped:

  • In the packaged corpus the string is a subject_ref — an opaque subject identifier the named reader compares field-to-field against the actor reference (scripts/validate-signed-execution-chain.py:1254) and never resolves on disk. No fixture and no gate depends on the directory existing.
  • The two genuine prose citations are contracts/CHANGELOG.md:16 and contracts/signed-execution-chain/README.md:6. contracts/CHANGELOG.md is a member of the PUBLISHED contract-v2.5 digest inventory, so editing it without rebuilding that inventory raises HGR-RELEASE-DIGEST-MISMATCH — the way main went red at 8924838d once before — and rebuilding a bundle's inventory after its tag is published is a strictly larger defect than a stale path in a sentence.
  • This is an established class, not a new one: thirteen already-archived changes carry the same stale active-path spelling in contracts/ or docs/, including add-model-capability-vocabulary (Archive add-model-capability-vocabulary: two requirements reach canon at 533 #501) and add-release-inventory-drift-check (the Archive add-release-inventory-drift-check: the drift gate is canon (delta corrected scenario-complete by ruling) #331 precedent). The repository's own answer for references that must survive an archive is a fallback resolver (tests/avatar_client_validator/test_f0_archive_fallback.py) or a live-and-archived glob pair (supersede-lost-pin-baseline), not a rewriting sweep at archive time.

Why add-binding-consumer-identity is not archived beside this

It was ordered in the same breath and it cannot be archived today — proven mechanically, not judged:

$ openspec archive add-binding-consumer-identity --yes
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.

Its MODIFIED block is declared relative to add-notebook-hosting-credential-custody, which is still ACTIVE and unrealized, so the requirement it modifies is not in canon — grep -c over openspec/specs/credential-contracts/spec.md returns 0. That grep is not my invention: the packet's own ratified task § 7.2 prescribes it as a pre-archive assertion and says "This change SHALL NOT archive before it does; if the order ever inverts, the block CONVERTS TO ADDED first." The assertion fails, and the conversion is a content edit to a ratified spec delta — reported before it is made, never made silently. Its realization is otherwise complete and verified (#516 5e8a33cf; cut contract-v2.4 at #526 afdf0e88, tag published; its cut-dependent boxes § 5.2/§ 5.3/§ 6.3/§ 6.5 are all ticked with v2.4 evidence; the only open boxes are § 7.1–§ 7.4, the archive-time bookkeeping). This is issue #502's gap biting in practice.

…d the two boxes that confer everything stay open

Archived on Brett Heap's order of 2026-08-31, once the pin-sync had landed.

THE ARCHIVE GATE, READ RATHER THAN INHERITED. `docs/release-realization-flow.md`
wants a code-surface change's code merged on the implemented target plus a green
run. Act one is PR #524, squash `9af98c4d`; act two is the cut, PR #533, squash
`58fd7a4f`, whose annotated tag `contract-v2.5` (object `f0ed3f3b`) peels from
the remote to that commit. Green was taken from the check-runs API at this act,
not from a merge notification: on both final heads (`69509939`, `e7a37064`) all
five checks report success.

TWO BOXES DID NOT CLOSE, AND NOTHING HERE PRETENDS THEY DID. Task 4.5 is the
OPERATOR act making `signed-execution-chain-gate` REQUIRED in the branch ruleset
— a merged workflow file is not evidence, only the live ruleset state is — and
4.6 is its canary evidence, blocked on 4.5 by construction because three of its
four conjuncts are producible today and the fourth cannot be read until the
ruleset changes. Until 4.5 is performed requirement 9 is UNMET rather than
partially met, the shipped declaration records `is_required_in_ruleset: false`,
and the reader warns on every run. So the capability reaches canon MEETING ITS
OWN DEGRADED CASE rather than evading it, which is what makes the archive
lawful. Both are restated as dispositions in the archived tasks.md (4.5, 4.6,
6.1) and carried forward at issue #534, so an open operator act is not written
down only inside an archived packet. 4.5 remains Brett's act.

PROMOTION VERIFIED BYTE-FOR-BYTE, and the delta had no scenario-completeness
exposure at all: it is pure ADDED into a capability that did not previously
exist, so there was no canon scenario set to restate and nothing could be
silently dropped. Measured anyway — 9 requirements in, 9 out, titles an
identical set, all nine bodies byte-identical (9/9), 45 scenarios in, 45 out,
one new capability directory, no sibling capability touched.

THE MECHANISM WAS `openspec archive --yes`, NOT `proposal-support archive`, AND
THE CHOICE IS THE RECORDED CONVENTION. That wrapper refuses any change whose
tasks.md still carries a `^- [ ]` line — a blanket gate that cannot tell a
ruled-open follow-up or a deliberately-open operator act from unfinished work.
The two things it adds were run anyway on both sides of the move: the origin
gate via `proposal-support verify` (ok before and after, per-change and
whole-corpus), and packaging, a lawful no-op for a staged origin with no
supporting-docs folder. Precedents: 2026-08-28-declare-sentinel-pin-vocabulary
and the three sibling archives of 2026-08-27.

Gates: `openspec validate --all --strict` 80 passed / 0 failed before and
after; `pytest tests/ -q -m "not postgres"` 8363 passed / 21 skipped / 0 failed
at the baseline, and 1709 passed on the reactive subsets after; `.openspec.yaml`
moved rather than being lost, proved by identical blob id `57f45fe1`.

Fifty-six paths still name the old home and are deliberately left standing: in
the corpus the string is an opaque `subject_ref` the reader compares
field-to-field and never resolves on disk, `contracts/CHANGELOG.md` is a member
of the published contract-v2.5 digest inventory so editing it would raise
HGR-RELEASE-DIGEST-MISMATCH, and thirteen already-archived changes carry the
same stale spelling — this joins a standing class rather than introducing one.

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

@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

Archives the realized OpenSpec change packet add-signed-execution-chain into the openspec/changes/archive/2026-08-31-… location, promotes its (additive) requirements into canon under openspec/specs/signed-execution-chain/, and updates repository indices/records to reflect the archived state while explicitly carrying forward the two deliberately-open operator/canary boxes.

Changes:

  • Move add-signed-execution-chain into the archive tree and restate archive-time dispositions (notably §4.5/§4.6 carried forward).
  • Add the promoted canon spec at openspec/specs/signed-execution-chain/spec.md.
  • Update README.md OpenSpec Records: remove from “Active changes” and add to “Archived changes”.

Reviewed changes

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

Show a summary per file
File Description
README.md Moves the change’s index entry from Active → Archived and records archive evidence/dispositions.
openspec/specs/signed-execution-chain/spec.md Adds the promoted canon specification for the new capability.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/tasks.md Adds archive-act restatements and dispositions, including carry-forward to issue #534.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/specs/signed-execution-chain/spec.md Preserves the delta spec content inside the archived packet.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/review/ratification-2026-08-29.md Copies the ratification record into the archived packet.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/realization-evidence.md Annotates realization evidence to reflect the subsequent archive event.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/proposal.md Copies the proposal into the archived packet (with archive-context).
openspec/changes/archive/2026-08-31-add-signed-execution-chain/design.md Copies the design record into the archived packet.
openspec/changes/archive/2026-08-31-add-signed-execution-chain/.openspec.yaml Copies the origin/approval metadata into the archived packet.
Suppressed comments (1)

openspec/changes/archive/2026-08-31-add-signed-execution-chain/tasks.md:550

  • This block quotes openspec archive as reporting Task status: 22/27, but the same paragraph immediately states the archived tasks file ends at 23/28. Since the archive act adds §6.1 (and therefore changes the task count), this is currently internally inconsistent unless you explicitly label 22/27 as the CLI output at the time of the run vs the post-restatement file state.

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

# signed-execution-chain Specification

## Purpose
TBD - created by archiving change add-signed-execution-chain. Update Purpose after archive.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

https://github.com/opensoft/openxFactory/blob/9547f640a5fa156736d062b7d0118edaa3337d1d/openspec/changes/archive/2026-08-31-add-signed-execution-chain/proposal.md#L3
P2 Badge Record the release that actually realized the archive

Set target_release to contract-v2.5, preserving the originally proposed v2.3 value separately if its history is needed. The archive now records and links the v2.5 realization, while docs/release-realization-flow.md:19-24 defines this field as where realization lands; moreover, scripts/ideation_dashboard/generator.py:380-387 reads this exact header and the dashboard renders it as the change's target release, so archived views will incorrectly report v2.3 even though that bundle contains none of this family.

AGENTS.md reference: AGENTS.md:L9-L10

ℹ️ 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".

Comment thread README.md
Comment on lines +1448 to +1450
- [add-signed-execution-chain](openspec/changes/archive/2026-08-31-add-signed-execution-chain/proposal.md)
— **ARCHIVED 2026-08-31 on merged-plus-green PLUS THE CUT, WITH TWO BOXES
DELIBERATELY LEFT OPEN AND CARRIED FORWARD.** Ratified 2026-08-29 by Brett Heap

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the live staging record after archiving this exit

When this new archive entry becomes authoritative, ideation/staging/INDEX.md:1872-1874 still calls the same packet an active change and points to the now-deleted active proposal, while line 1909 likewise points to the removed ratification path. That makes the repository's live staged-topic status and navigation contradict this archive record; update those current-state references to the archived location/status while retaining any deliberate aging of the unfinished later tranches.

AGENTS.md reference: AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

…erived-view consequence the target_release decision had not considered

COPILOT — ACCEPTED. The archive-act record quoted the CLI's `Task status:
22/27` and then said the file ends at 23/28 without labelling them as two
different readings. They now say so in terms: 22/27 is the CLI's reading at
the moment it ran, before § 6.1 existed; 23/28 is this file's end state after
the restatement adds § 6.1 as the twenty-third tick and twenty-eighth box; the
five open boxes are the same five in both. Neither is a correction of the
other — recording only the second would hide what the tool actually said, and
only the first would misdescribe the file a later reader opens.

CODEX P2 — THE PRESCRIBED FIX IS REFUSED, THE FACT BEHIND IT IS RECORDED.
Codex asked that `proposal.md`'s `target_release: contract-v2.3` be rewritten
to `contract-v2.5`. The realization session had already decided the opposite in
terms, and that decision stands: rewriting a RATIFIED proposal's front-matter
to agree with today's state is the move this repository refuses everywhere
else, and doing it inside an ARCHIVE commit would make the archived packet
differ from the text that was ratified — a worse defect than a superseded
number. The line is also not false: it says on its own face that the number
remains allocated at realization by merge order and is confirmed against the
manifest at the realization's tip.

But Codex surfaced a consequence the realization session's reasoning did NOT
consider, and it verifies: `scripts/ideation_dashboard/generator.py`
`_release_frontmatter` (:378-387) lifts the field into the dashboard snapshot
(:542-547), and archived folders are in scope (`_archived_change`, :202-214),
so the dashboard tile for this ARCHIVED change reports the proposal-time
number. `_header_value` returns the whole physical line, so what renders
carries the allocation caveat inline rather than a bare "v2.3" — which bounds
the defect without dissolving it. Every authoritative surface says
contract-v2.5: manifest, CHANGELOG, tasks 4.7, the published tag, the README
archived row. The gap is now written down in realization-evidence.md instead of
waiting to be rediscovered, and its honest home is a derived-view question —
should the dashboard prefer a realization-confirmed number over a
proposal-time one — not an edit to a ratified line.

Re-gated: openspec validate --all --strict 80 passed / 0 failed;
proposal-support verify ok; pytest tests/doc-health tests/ideation-dashboard
6024 passed, 18 skipped, 0 failed.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 31, 2026 15:48
@brettheap

Copy link
Copy Markdown
Contributor Author

Bot round 1 — one accepted, one refuted-with-the-fact-recorded (tip ac971a82)

Copilot — ACCEPTED. The record quoted the CLI's Task status: 22/27 and then said the file ends at 23/28 without labelling them as two different readings. They now say so in terms: 22/27 is the CLI's reading at the moment it ran, before § 6.1 existed; 23/28 is the file's end state once the restatement adds § 6.1 as the twenty-third tick and twenty-eighth box. The five open boxes are the same five in both readings, and neither number corrects the other — recording only the second would hide what the tool actually said, and only the first would misdescribe the file a later reader opens.

Codex P2 (target_release → contract-v2.5) — THE PRESCRIBED FIX IS REFUSED; THE FACT BEHIND IT IS RECORDED.

The realization session had already decided this in terms, and the decision stands (archived realization-evidence.md § What is NOT here): rewriting a RATIFIED proposal's front-matter to agree with today's state is the move this repository refuses everywhere else, and doing it inside an archive commit would make the archived packet differ from the text that was ratified — a worse defect than a superseded number. The line is also not false: it says on its own face that the number "remains ALLOCATED AT REALIZATION BY MERGE ORDER … and the realization confirms the number against the manifest at ITS tip".

But the review surfaced a consequence that reasoning did not consider, and it verifies rather than being waved off. scripts/ideation_dashboard/generator.py _release_frontmatter (:378-387) lifts the field into the dashboard snapshot (:542-547), and archived folders are in scope (_archived_change, :202-214) — so the dashboard tile for this archived change reports the proposal-time number. Two things bound it: _header_value returns the whole physical line, so what renders carries the allocation caveat inline rather than a bare v2.3; and every authoritative surface says contract-v2.5 — contracts/manifest.yaml, contracts/CHANGELOG.md, tasks.md § 4.7, the published tag, and the README archived row.

The gap is now written down in the archived realization-evidence.md instead of waiting to be rediscovered, and its honest home is a derived-view question — should the dashboard prefer a realization-confirmed number over a proposal-time one? — not an edit to a ratified line.

Re-gated at ac971a82: openspec validate --all --strict 80 passed / 0 failed; proposal-support verify ok; pytest tests/doc-health tests/ideation-dashboard 6024 passed, 18 skipped, 0 failed. Sourcery is the known private-repo upsell stub, not a review.

@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

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

Suppressed comments (1)

openspec/specs/signed-execution-chain/spec.md:5

  • The promoted spec leaves the Purpose section as a "TBD" placeholder. Since this is now canonical documentation under openspec/specs/, it should have a concrete purpose statement (and match the formatting used by other specs: blank line after the Purpose heading).
## Purpose
TBD - created by archiving change add-signed-execution-chain. Update Purpose after archive.
## Requirements

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac971a8288

ℹ️ 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".

Comment on lines +601 to +602
and the move makes those spellings stale. **NOTHING BREAKS, AND THAT WAS
CHECKED RATHER THAN HOPED**: in the packaged corpus the string is a

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Retarget the non-corpus citations after archiving

Separately from the staging INDEX references already reported, the assertion that nothing breaks only checks packaged subject_ref values and overlooks repository-document citations: the active add-chain-anchoring convening appendix explicitly directs reviewers to openspec/changes/add-signed-execution-chain/{proposal,specs,review} (review/convening-packet-2026-08-30.md:967-972), and ideation/brainstorm/medxchain-blockchain-medical-records.md:147-153 cites the deleted spec and design paths. After this move those authoritative source pointers resolve nowhere, so readers cannot reproduce the successor packet's governing-text review; retarget the mutable pointers or provide an archive fallback/correction for record documents.

AGENTS.md reference: AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

@brettheap

Copy link
Copy Markdown
Contributor Author

Disclosure: the promoted spec carries the CLI's placeholder Purpose, deliberately left

openspec/specs/signed-execution-chain/spec.md opens with the stub openspec archive writes for a new capability:

## Purpose
TBD - created by archiving change add-signed-execution-chain. Update Purpose after archive.

Left standing because it is the repository's settled pattern, not an oversight: at least 10 of the 53 promoted capabilities carry the identical stub — including release-surface-integrity, the capability created by add-release-inventory-drift-check in the #331 archive that is this PR's own cited precedent for scenario-complete promotion. Writing a bespoke Purpose here would make this one capability diverge from the rest of canon on a line the tooling generates.

Flagging it rather than fixing it silently: if the estate wants these Purposes written, that is a sweep across all ten, not a one-off in an archive PR.

@brettheap

Copy link
Copy Markdown
Contributor Author

Bot round 2 — clean, and the one repeat is refuted by measurement

Codex at ac971a8288 — NO SUGGESTIONS. Round 1's single P2 (target_release) was answered by refutation-plus-disclosure and is not re-raised.

Copilot at ac971a8288 — "generated no new comments", with one suppressed repeat of the Purpose placeholder. Both of its limbs are refuted by counting the corpus rather than by argument:

claim measurement over openspec/specs/
the TBD placeholder should be replaced 10 of 53 promoted capabilities carry the identical stub — including release-surface-integrity, created by the #331 archive this PR cites as its own precedent
it should "match the formatting used by other specs: blank line after the Purpose heading" 53 specs have ## Purpose; only 8 have a blank line after it. 45 of 53 (85%) do not — this file matches the majority convention, and adopting the minority one would make it the odd file out

So the promoted spec is byte-consistent with canon as canon actually is. If the estate wants real Purpose text, that is a sweep across all ten stubs with its own change, not a one-off edit inside an archive commit — flagged, not fixed silently.

Independent confirmation of the promotion, from the repository's own checker: python3 scripts/doc-health.py --single-repo . --family promotion-fidelity → No findings. Same for record-immutability, ideation-routing, status-validity and succession-integrity.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Provenance — merged on Brett Heap's standing in-session order, 2026-08-31 ("run the archives after the pin-sync" / merge-on-green)

All four checks green at tip ac971a82; two bot rounds closed (round 2: Codex no suggestions; Copilot's remaining ask refuted by measurement). Scenario-complete promotion verified 9/9 requirements byte-identical + 45/45 scenarios, independently confirmed by doc-health promotion-fidelity (no findings). Tasks 4.5/4.6 NOT ticked — dispositioned in the archived packet and carried forward at issue #534 (4.5 = the operator ruleset act; requirement 9 lands in canon meeting its own degraded case, reader warning every run). The openspec archive mechanism (not the proposal-support wrapper) follows the repo's recorded 2026-08-28 precedent for packets with ruled-open follow-ups, with the compensating proposal-support verify run before and after, both ok.

@brettheap
brettheap merged commit cfda2af into main Aug 31, 2026
5 checks passed
brettheap pushed a commit that referenced this pull request Aug 31, 2026
…t 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
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
brettheap deleted the change/archive-add-signed-execution-chain 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