Repository navigation
Archive add-notebook-projection-identity: the estate is migrated, the seven seats are granted, and the one blocker is carried in the open - #539
Conversation
… 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
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
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Archives the add-notebook-projection-identity OpenSpec change by moving it into openspec/changes/archive/2026-08-31-add-notebook-projection-identity/, promoting its spec deltas into canon, and updating the repository’s indices/tests/docs to reflect the archive and the intentionally-carried open item.
Changes:
- Update canon specs (
lifecycle-notebook-projection,credential-contracts) with the promoted requirement/scenario text that was previously carried as a delta. - Move the change’s packet into the archive namespace and update repo indices (README + staging index) and citations to point at the archived location.
- Adjust doc-health’s modified-block-currency self-gate carriage ledger test to reflect the archive removing one named subject.
Reviewed changes
Copilot reviewed 9 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/doc-health/test_modified_block_currency_self_gate.py | Retires the carriage-ledger row for the now-archived packet and updates the expected ledger population to seven subjects. |
| README.md | Moves add-notebook-projection-identity from Active to Archived and records the archive’s “standing disposition” + successors. |
| openspec/specs/lifecycle-notebook-projection/spec.md | Promotes the packet’s lifecycle-notebook-projection deltas into canon (declared hosting identity + related scenarios/text adjustments). |
| openspec/specs/credential-contracts/spec.md | Promotes the custody generalization for “operated identities” into canon. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/tasks.md | Records the archive act decisions, including tick/disposition status and successor linkage. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/specs/lifecycle-notebook-projection/spec.md | Archived delta snapshot for lifecycle-notebook-projection. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/specs/credential-contracts/spec.md | Archived delta snapshot for credential-contracts. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/review/retirement-gate-clearance-2026-08-26.md | Adds the archived decision record supporting the retirement gate clearance evidence chain. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/review/ratification-2026-08-23.md | Adds the archived ratification record for the packet. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/proposal.md | Adds the archived proposal record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/design.md | Adds the archived design/evidence record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/.openspec.yaml | Adds the archived machine-readable origin metadata for the packet. |
| ideation/staging/INDEX.md | Marks the staged topic as archived/retired from staging and records the two carried items + successors. |
| examples/lifecycle-notebook-workspaces.yaml | Updates a citation to the archived review record location. |
| docs/notebooklm-sync-open-item.md | Adds a dated update that the change is archived while the unattended-auth item remains open and points to #537. |
| docs/notebook-projection-retirement-runbook-step8.md | Repoints “Backed by” to the archived review record path. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| prefixes, and chat framing SHALL be treated as contract conformance, not | ||
| implementation preference. | ||
|
|
||
| The sync SHALL run under the install's DECLARED hosting identity, selecting the `nlm` CLI profile bound to that identity rather than taking the tool's default profile. Which account the projection is created in is contract conformance, not an incidental property of the host the sync happens to run on: the CLI is profile-aware, so the selection is between existing mechanisms, and an implementation that cannot name the account it is writing to cannot claim conformance. |
| **2026-08-31 — THE CHANGE IS ARCHIVED AND THIS ITEM IS STILL OPEN.** | ||
| `add-notebook-projection-identity` archived that day at | ||
| `openspec/changes/archive/2026-08-31-add-notebook-projection-identity`, with the | ||
| migration, the parity proof and the legacy-book retirement all done. Its § 5.1 — | ||
| the box whose whole job was to close THIS item — was **deliberately not ticked** |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 251c50a588
ℹ️ 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".
| The "method that works" section above still describes the way in, and its | ||
| step 2 warning about the wrong host is now the *reason* the CLI's own login | ||
| fails rather than an operator footgun. |
There was a problem hiding this comment.
Remove the broken login path from the recovery instructions
The document now establishes that nlm login --cdp-url times out after the provider rebrand, yet it claims the preceding method still works and later instructs operators to use that exact command on notebooklm.google.com (lines 186–192). The alternative harness is also hard-coded to the old host in scripts/nlm_auth.py (NB_URL and the page-selection predicate), so an operator following this operational recovery document can still be sent through the failure that keeps the item open. Update the method/resume instructions to distinguish any verified working harness route from the known-broken CLI route instead of presenting both as usable.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…ared 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
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 79728dbe09
ℹ️ 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".
| * the sibling row `notebook-access-wallet-governance` said both | ||
| `add-notebook-projection-identity` and | ||
| `add-notebook-hosting-credential-custody` "are ACTIVE with | ||
| ratified-but-unpromoted deltas this topic would amend" — a sentence this | ||
| act makes half false. **Only the projection-identity half is corrected**: |
There was a problem hiding this comment.
Reconcile the dependent credential changes at this archive
This archive makes the bookkeeping in two active packets immediately stale: add-notebook-hosting-credential-custody/tasks.md lines 109–111 and add-binding-consumer-identity/tasks.md lines 617–618 explicitly require reconciliation when this change archives, while their design/related metadata still says this generalization is ACTIVE and unpromoted. Because both packets build later credential-contracts deltas on the promoted result, leaving those obligations unchecked preserves the wrong release-ordering base; update and record both reconciliations as part of this archive.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| **The topic folder `ideation/staging/notebook-projection-identity/` is | ||
| RETAINED as provenance, not deleted** — unlike | ||
| `substantive-review-lane-questions`, which was named-not-linked because its | ||
| tracked proposal's origin was `ad_hoc`. This topic's origin IS `staged` and | ||
| the fragment remains readable in place; deleting staged source is a separate | ||
| disposition nobody has ruled. This row and section are KEPT as the topic's |
There was a problem hiding this comment.
Retire the live candidate markers with the topic
Keeping this folder as-is leaves its primary fragment at Status: staged with four live xspec:candidate fences even though their deltas have been promoted. fam_staged_candidate_aging exempts an archived exit only from the topic-folder aging loop, then independently scans every candidate marker at scripts/doc_health/families.py:840-856; consequently these already-converted markers will produce warnings after 30 days and errors after 90. Mark the fragment retired/superseded and remove or convert those candidate fences, or move immutable provenance outside the active staging area.
Useful? React with 👍 / 👎.
…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
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 19 changed files in this pull request and generated no new comments.
Suppressed comments (3)
Previously missed (3) — in code that hasn't changed since the last review.
openspec/specs/lifecycle-notebook-projection/spec.md:432
- This scenario hard-codes a specific hosted account (
[email protected]) into the canonical contract text. That conflicts with the operated-identity custody rule inopenspec/specs/credential-contracts/spec.md(“Contract artifacts SHALL NOT hard-code the identity itself…”), and it also makes the requirement less reusable for other installs.
#### Scenario: An operating party declares the company account
- **WHEN** an install's intake declares operator-hosted and names a Google Workspace user account in the operating party's own domain
- **THEN** the declaration is valid, and every book, alias and session notebook of that install is created under the named account
- **AND** Opensoft's own install is such a declaration, naming `[email protected]`
openspec/specs/lifecycle-notebook-projection/spec.md:152
- This requirement is written unconditionally (“The sync SHALL run under the install's DECLARED hosting identity”), but later in the same spec the new hosting-identity requirement explicitly allows undeclared installs to fall back to the CLI default profile. Reword this sentence to apply only when a hosting identity is actually declared so the requirements are not internally contradictory.
The sync SHALL run under the install's DECLARED hosting identity, selecting the `nlm` CLI profile bound to that identity rather than taking the tool's default profile. Which account the projection is created in is contract conformance, not an incidental property of the host the sync happens to run on: the CLI is profile-aware, so the selection is between existing mechanisms, and an implementation that cannot name the account it is writing to cannot claim conformance.
README.md:1654
- The README evidence line shows
openspec --all --strictbut the CLI invocation elsewhere in the repo (and in this PR description) isopenspec validate --all --strict. As written, it reads like a missing subcommand rather than a real command.
`tests/notebooklm`, `tests/doc-health`, `tests/ideation_dashboard`; `openspec
--all --strict` 72/72; dashboard validator 0 error / 4 warning; hosting
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: adab707947
ℹ️ 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".
| 3. Get a live session via full CDP extraction, using the harness — either | ||
| `python .../nlm_auth.py bootstrap --profile personal --channel chrome` | ||
| (sign into the books account once, on notebooklm.google.com), or connect to | ||
| an already-signed-in Chrome with `... refresh --profile personal | ||
| --cdp-url http://127.0.0.1:9444`, or `nlm login --cdp-url | ||
| http://127.0.0.1:9444 --profile personal` (non-default port, browser on | ||
| notebooklm.google.com). | ||
| (sign into the books account once; either NotebookLM URL is fine, the old | ||
| one redirects), or connect to an already-signed-in Chrome with | ||
| `... refresh --profile personal --cdp-url http://127.0.0.1:9444`, which is |
There was a problem hiding this comment.
Authenticate the profile that now owns the books
After the archived migration, examples/notebook-projection-hosting.yaml declares the completed projection under profile company, but this recovery command still writes the refreshed credentials to personal. The harness also does not update auth.default_profile, so the subsequent sync in step 5 will be refused by enforce_hosting_identity() when the active profile is not company (scripts/sync-notebooklm-books.py:2260-2278). Operators following this runbook therefore cannot resume the current projection; use --profile company and include the required nlm login switch company before running the sync.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
…he 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.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd1b7e6420
ℹ️ 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".
| 4. Verify with a real `nlm notebook list` (not `login --check`), and confirm the | ||
| list it returns is the xFactory books. |
There was a problem hiding this comment.
Switch to the company profile before verifying it
When the active default remains personal—the recovery scenario this section explicitly anticipates—the bare nlm notebook list queries the legacy account because the harness does not update auth.default_profile; the switch to company occurs only in the following step. Move the switch before this verification or pass --profile company, otherwise operators verify the wrong notebook estate and may mistake legacy books for successful company authentication.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| this packet's `.openspec.yaml` still describes that dependency as "RATIFIED | ||
| 2026-08-23, ACTIVE ... unpromoted until it archives". It is archived; it is |
There was a problem hiding this comment.
Update the dependency status after the archive
Fresh evidence in this revision is the added note itself: it acknowledges that this packet's .openspec.yaml still declares add-notebook-projection-identity ACTIVE and unpromoted even though this commit archives and promotes it, but deliberately leaves that state-bearing metadata unchanged; the custody packet similarly retains the false sequencing claims in design.md. Keeping the eventual full reconciliation checkbox open does not require preserving an already-false dependency status, which now gives readers the wrong release-ordering base until these later packets archive.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12a6ca2fd5
ℹ️ 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".
| only the profile name: `profiles/company/metadata.json` records | ||
| `email: [email protected]` — set from the vault-held username during the | ||
| migration, since the harness writes that field null — and a name pointed at | ||
| some other account is refused too (`profile_account()`, :2035-2051; refusal at |
There was a problem hiding this comment.
Preserve the account address when refreshing the company profile
When an operator follows the new step 3, scripts/nlm_auth.py:139-147 rewrites profiles/company/metadata.json with email: null, erasing the address claimed here immediately before the sync. profile_account() treats that null as unknown and enforce_hosting_profile() then permits the run based only on the profile name (scripts/sync-notebooklm-books.py:2283-2297), so accidentally authenticating the company store as another Google account—including the legacy account that still contains xFactory-titled books—can send sync additions and deletions to the wrong estate instead of producing the promised refusal. Populate or restore the authenticated address as part of the harness/resume flow before allowing the sync.
Useful? React with 👍 / 👎.
…ss 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.
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 22 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/specs/lifecycle-notebook-projection/spec.md:152
- This sentence states unconditionally that the sync "SHALL run under the install's DECLARED hosting identity", but the same spec later defines an undeclared install as a supported (nonconforming) transition state where the sync must fall back to the CLI default profile. As written, these two requirements conflict (undeclared installs both must and cannot run under a declared identity).
The sync SHALL run under the install's DECLARED hosting identity, selecting the `nlm` CLI profile bound to that identity rather than taking the tool's default profile. Which account the projection is created in is contract conformance, not an incidental property of the host the sync happens to run on: the CLI is profile-aware, so the selection is between existing mechanisms, and an implementation that cannot name the account it is writing to cannot claim conformance.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d01f4d367a
ℹ️ 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".
| `openxfactory-f5`, by explicit multi-choice: the condition is **unmeetable | ||
| today**, so this box archives **standing as a disposition** rather than closed, | ||
| and the work moves to a **named successor** outside the packet. That is the | ||
| #535 route, and it is what makes the archive lawful — an archive may carry a |
There was a problem hiding this comment.
Point the disposition to the actual successor
This identifies #535 as the route carrying the unresolved authentication work, but the same task and every other updated handoff name openxFactory#537; #535 is only the earlier add-signed-execution-chain archive precedent cited later in this file. Correct this reference so readers of the archived open-box disposition are not sent to an unrelated PR instead of the authoritative successor.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
…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
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 22 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/specs/lifecycle-notebook-projection/spec.md:152
- This requirement states unconditionally that the sync must run under the install's declared hosting identity and not the CLI default profile, but later this spec explicitly allows undeclared installs to fall back to the CLI default profile (as a nonconforming transition state). Making the requirement conditional on a declaration will avoid conflicting normative readings and keep the nonconforming-fallback behavior coherent.
The sync SHALL run under the install's DECLARED hosting identity, selecting the `nlm` CLI profile bound to that identity rather than taking the tool's default profile. Which account the projection is created in is contract conformance, not an incidental property of the host the sync happens to run on: the CLI is profile-aware, so the selection is between existing mechanisms, and an implementation that cannot name the account it is writing to cannot claim conformance.
…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]>
…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]>
|
Provenance: merging on Brett's in-session authorization (session openxfactory-f5, 2026-08-31) — the archive of add-notebook-projection-identity, step B of his ruled full-chain order, with his explicit rulings encoded (4.7 Gmail grantee dropped at 7/7; 5.1 dispositioned and carried as #537; vault-write dispositioned per residency). Clear is measured: all four checks pass at tip 0794be2; SIX substantive Codex rounds converged on this PR (every finding fixed: the #535-route dispositions, the recovery-doc truth repairs, the wrong-estate P1 mitigated + filed as #543, the P3 reference fix Codex itself dictated); the remaining unreviewed delta is that one-word fix plus the catch-up merge whose resolution converges this branch onto #541's already-merged state (peer-packet diffs empty by construction). Codex is currently PROVIDER-REFUSED on usage limits — recorded per the standing rule, not read as clean; Brett's hybrid ruling held this PR for a Codex round and it received six. The orphaned three-packet reconciliation is carried as #545. reviewDecision REVIEW_REQUIRED per the standing browser-approve pattern; admin merge per the recorded resolution lane. |
…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]>
… does (#1191) (#1192) Runs every sealed execution in the nightly refresh finalize job (the probe and strict validator runs and the pre-dispatch render) inside a container with the seal mounted read-only, under Brett Heap's ruling of 2026-09-27, verbatim "(b) for the finalize job too", the parent-side twin of xFactory#526: one fresh writable output, read-only root with noexec tmpfs, no network, init and rm, non-root, all capabilities dropped, no-new-privileges, resource limits, a digest-pinned image with lock-hashed wheels built by a new step and passed as SEALED_IMAGE, the docker CLI by absolute path under a minimal environment, sealed output bounded and fenced, and a final sweep of this run's containers and image. A lane from before this change, still pinned by the aggregation, seals nothing and records the refusal, so the nightly pauses fail-closed until the aggregation pin-sync carries this. 80 of 80 mutants killed; real-docker containment proof 45 of 45. Closes #1191. Refs #1161. Landed on the word of 2026-09-27, verbatim "land #1191 and #539 when green". Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
Archived on Brett Heap's rulings of 2026-08-31, taken in session
openxfactory-f5by explicit multi-choice. The realization has been merged since 2026-08-23; what held this packet open was two boxes, and both were ruled that day.Catch-up merge after #541
origin/mainmoved under this branch while it ran its fix rounds. PR #541 merged and ARCHIVED bothadd-notebook-hosting-credential-custody(d02ef5a5) andadd-binding-consumer-identity(b09e59da), in that order, on Brett Heap's ROUTE-1 ruling of 2026-08-31 and rebuilt on the #538 sweep.origin/mainis now2f1cd139; this branch carries a merge commit for it. That lane's landed choices govern and nothing here re-litigates them.Five files' worth of this branch's round-2/round-4 correction notes are DROPPED, not carried. They edited the two peer packets at their ACTIVE paths —
add-notebook-hosting-credential-custody/{design.md,proposal.md,tasks.md}andadd-binding-consumer-identity/{tasks.md,.openspec.yaml}— which #541 has since moved toopenspec/changes/archive/2026-08-31-*/.A mechanical hazard worth naming: git's rename detection carried FOUR of the five edits silently into the archived paths with no conflict raised at all — only
.../add-binding-consumer-identity/tasks.mdconflicted textually, and only.../add-notebook-hosting-credential-custody/tasks.mdsurfaced as modify/delete. Each of the five was restored fromorigin/mainexplicitly.git diff origin/main -- openspec/changes/archive/2026-08-31-add-*/is empty.Per-conflict resolution
design.md,proposal.md,tasks.mdtasks.md,.openspec.yamlREADME.mdgit diff origin/main -- README.mdcarries this branch's move aloneopenspec/specs/lifecycle-notebook-projection/spec.mdopenspec/specs/credential-contracts/spec.mdWhat the peer lane's archived copies carry — read, not assumed
The obligation is not lost; the step order is inverted by events. Custody § 6.2 and the dependent's § 7.3 are both still UNTICKED in #541's archived copies, and both name
add-notebook-projection-identity's archive — this pull request — as where they discharge, each restated 2026-08-31 as "whoever archivesadd-notebook-projection-identitydischarges both." Steps C and D landed first; step B is last.No archived copy needed an edit, and none received one. Their "is STILL ACTIVE and still
Status: ratified" clauses were TRUE when #541 landed and go stale only when this PR merges — and the very sentence that goes stale is the one directing a reader to this act, so it points at the truth rather than away from it. A dated record of a read is not amended because the world moved after it.But this act does NOT discharge § 6.2 / § 7.3, and the packet now says so — a third entry in the archived
tasks.md§ 8, "WHAT THIS ARCHIVE DID NOT CLOSE". What is owed is the FULL read-together of the three packets'credential-contractstext now that all three are promoted: a reading act with findings of its own, 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 cannot be ticked from here: they sit inside archived records, which is the same doctrine that made this branch drop its own notes inside those packets. It wants a successor act (and probably an issue) of its own.Four corrections this branch owes ITSELF
Only to text still this PR's to correct. This packet is not yet merged; the two peer packets are records.
ideation/staging/INDEX.md, sibling rownotebook-access-wallet-governance. This branch corrected the projection-identity half and deliberately left the custody half, on the ground that it "changes at CUSTODY's own archive, not at this one". Custody archived. The custody half is corrected here citing Rebuilt on the sweep: the basis archives first, and the dependent block now drops nothing at all #541, and the row now records that no half of the original sentence survives. (This supersedes the § 6.1 line in "The six boxes, as disposed" above.)tasks.md§ 6.1, where that leave-it-alone reasoning is 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, and the note names it.tasks.md§ 8, which gains the third not-closed item described just above.tests/doc-health/test_modified_block_currency_self_gate.py— see below.The carriage ledger: MEASURED, and a claim inside it falsified
The ledger needed no change, and that is a measurement.
doc-health --family modified-block-currencyover the merged tree reports 0 scenario-title / 7 carriage ledger / 0 title-resolution / 0 marker / 0 unplaced — exactly the seven subjects the file names, in the exact set it compares with==. #541 moved NO row: custody's deltas are pure ADDED so this arm has no MODIFIED block of its to read, and the dependent's MODIFIED block drops nothing and so never carried a finding.The falsified claim. The row-retirement comment asserted "a same-clock doc-health run against an
origin/mainbaseline reported ZERO new findings and exactly this one INFO gone." The second half is true; the first half is true only of the METHOD used — comparing severity counts of two independent reports. Run the way the runner itself computes it, with--previous-report:2f1cd139, standalone--previous-reportThe extra error is the archive act's own mechanical shadow: the carriage finding is
contested, so its disappearance re-emits throughreport.uncited_resolutionsas anuncited-resolutionERROR 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.yamlresolves asctx.agg_root / "health" / "dispositions.yaml", andctx.agg_rootisNoneon the--single-repoself-gate a PR runs, so the file is never loaded in this mode at all. That is precisely the shapedocs/archive-record-discrepancies.md§ "What a disposition actually buys" already records, disposition entry and all.Pre-existing, not introduced by the merge, proved by isolation: the same single
uncited-resolutionis emitted byte-identically by the pre-merge branch tip8d0853c2against the pre-merge merge-base8f986c39; and a run baselined on8d0853c2with the merged tree as head reports[]. The catch-up merge adds nothing.Gates, re-run on the merged tree
OPENSPEC_TELEMETRY=0 openspec validate --all --strictproposal-support verify(whole-corpus)pytest tests/doc-health -qpytest tests/ -q -m "not postgres"2f1cd139(both dirs namedopenxFactory)[]against the pre-merge branch tip); against2f1cd139the oneuncited-resolutionabove, byte-identical to the pre-merge measurementAlso now true again, having briefly stopped being so: the "Surface" section's claim that no delta file of
add-binding-consumer-identity,add-notebook-hosting-credential-custody,add-wallet-carried-review-authority, the keycloak/openxpki packets orgovern-sibling-added-modified-deltasis touched. The fix rounds broke it; dropping those corrections restores it.The two full-suite failures are load artefacts, and the proof is that they are not the same test. Run 1 reddened
tests/ideation-dashboard/test_session_gates.py::test_active_declared_origin_releases_cleanup_without_a_pick_edge; run 2 reddenedtests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]. Each was isolated rather than argued away:2f1cd139test_active_declared_origin_releases_cleanup_without_a_pick_edgetest_release_mode_field_is_preserved_on_the_real_repositorysubprocess.TimeoutExpired— a 30-second wall-clock limit on a child, not an assertionThe second is the pre-existing environmental failure this PR body already named; it is now re-confirmed against the NEW
origin/main. The first passed in run 2 and passes in isolation. Neither is reachable from this branch's surface, which touches no runtime code at all.The two rulings
(i) § 4.7 — the Gmail grantee is DROPPED; re-scope to 7/7 and tick.
The box recorded 7 of 14 grants landed:
[email protected]grantededitoron all seven company books and verified after the fact,[email protected]refused by the provider on all seven withAPI error (code 7)(PERMISSION_DENIED) — retried with the undotted[email protected]and refused identically, so it is the ACCOUNT that is refused and not the string. Brett ruled the second reader is not wanted. The satisfying set is therefore the seven grants that landed: 7 of 7, ticked.Consistent with two prior rulings, cited rather than invoked:
docs/lifecycle-notebook-projection.md§ "The legacy books: WIND-DOWN BY OWNER DELETION"). A ruling that ends that account's access to the OLD books cannot sit beside a task granting it edit on the NEW ones.The provider refusal survives as a finding, not a debt; nothing measured is retracted, and nobody is owed the act it blocked. The box's two embedded questions were already ruled and are recorded as such: the sitting question (legacy-owner access) was ruled 2026-08-27 as wound down, and task 2.5's 2026-08-15 request was DISCHARGED AS DENIED 2026-08-27.
(ii) § 5.1 — DISPOSITIONED AND CARRIED FORWARD, deliberately NOT ticked.
The box's own strategic direction is a machine account "so xFactory can re-authenticate unattended from a persistent profile". The account moved; the property did not. Three grounds:
[email protected]is an interactive browser flow.nlm loginis broken upstream by the notebook.google.com rebrand —_is_notebooklm_url()'s allow-list accepts onlynotebooklm.google.com/notebooklm.cloud.google.com, sois_logged_in()reports false for a browser that IS signed in andnlm login --cdp-urldies on "Login timeout";NOTEBOOKLM_BASE_URLcannot be repointed because it is validated against the same allow-list.add-notebook-hosting-credential-custodystates custody governs who may obtain the credential and does not deliver automation.It archives standing as a disposition, carried to #537, with
docs/notebooklm-sync-open-item.mdleft OPEN and pointing there.Why the #535 route, quoted
Identical here: 5.1 stands by ruling, and this change has no
supporting-docs/at all, so packaging is a no-op by construction rather than by argument. Earlier precedents:2026-08-28-declare-sentinel-pin-vocabulary§ 4 and the three sibling archives of 2026-08-27.The mechanism:
OPENSPEC_TELEMETRY=0 openspec archive add-notebook-projection-identity --yes(openspec 1.2.0) →credential-contracts: update,lifecycle-notebook-projection: update,Totals: + 3, ~ 3, - 0, → 0. It reportedTask status: 26/27and warned on the one incomplete task, which is correct and expected: § 5.1.Verify, both sides
proposal support verification okproposal support verification okproposal support verification okproposal support verification ok.openspec.yamlblobc1adfc19290d55b6dc52926e34c8985c90f984e3identical across the move — the CLI hazard did not fire.The six boxes, as disposed
git ls-remote --heads origin refs/heads/draft/subject-document-estate refs/heads/draft/company-provisioning-ledger-estate-subject-onboarding-intakereturns nothing, andrefs/heads/draft/*returns nothing at all. F3 (thelive_session_targetsrefusal) was fixed the same day, covered bytest_session_ref_sees_a_session_opened_from_a_feature_worktree. The residual live--session-sweepread needs interactive auth and rides #537.provider_notebook_idfields updated, record ids key-derived and unchanged, none retired — exactly one active record per live book. Code gap filed at #536.substantive-review-lane-questionsandstaged-topic-outline-template); folder retained as provenance. The sibling rownotebook-access-wallet-governancesaid both this change and custody "are ACTIVE with ratified-but-unpromoted deltas" — only the projection-identity half is corrected; custody's half is still true and changes at CUSTODY's archive, not this one.Promotion, measured
6 delta requirements in, 6 out; all six bodies BYTE-IDENTICAL; 32 delta scenarios carried.
lifecycle-notebook-projection+3 added / ~2 modified (17 requirements, 70 scenarios after);credential-contracts~1 modified (7 requirements, 27 scenarios after). No sibling capability touched, no capability directory added.Successors filed
ensure_workspace_record()returns without registering a replacement when the key-derivedrecord_idis found bound to a differentprovider_notebook_id— § 4.3's code half_is_notebooklm_url()allow-list defect AND the machine-account unattended-re-auth property, kept as two distinct halves because only the second closes anything — § 5.1 in fullGates
openspec validate --all --strictproposal-support verifytests/doc-health tests/notebooklm tests/ideation-dashboard tests/ideation_dashboard tests/proposal-supportpytest tests/ -q -m "not postgres"origin/mainbaseline clone (both dirs namedopenxFactory)The one full-suite failure is PRE-EXISTING AND ENVIRONMENTAL, proved by isolation rather than asserted.
tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]fails withsubprocess.TimeoutExpired ... timed out after 30 seconds(child SIGKILLed,returncode: -9) — a wall-clock limit on a subprocess, not an assertion. It fails identically on an untouchedorigin/mainclone, run isolated after the load cleared. Three concurrent full suites were on this host. Skips are 21, exactly the pinned count.Doc-health: one finding GONE, and it is the archive's own
The single info finding that disappeared is
modified-block-currencyonopenspec/changes/add-notebook-projection-identity/specs/lifecycle-notebook-projection/spec.md— a moved-with-the-archive finding, classified honestly: the arm reads ACTIVE changes only, and this change stopped being one. It did not disappear because anything was hidden; the block was promoted byte-identical, so the two units it named as uncarried are carried by construction.That is why
tests/doc-health/test_modified_block_currency_self_gate.pymoves in this PR. Its 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. The test is designed to fall due here — "an archive that removes a subject and a new proposal that adds one are both legible" — and it is green onorigin/main, red on commit one, green again on commit two. Both halves were 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 undersha256:0f60e48c5fb977c5265d3fa10ed794cc08e82c476b82d0df75d2c2e7fff2220a.One citation left stale ON PURPOSE
The move makes
openspec/changes/add-notebook-projection-identitya stale spelling in exactly three places. Two are repointed here — theBacked by:header ofdocs/notebook-projection-retirement-runbook-step8.mdand the comment citation inexamples/lifecycle-notebook-workspaces.yaml.The third is not, and the reason is recorded rather than hoped.
docs/notebook-projection-migration-evidence-2026-08-24.mdcarriesStatus: record, and doc-health'srecord-immutabilityfamily 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, and the record's whole value is that it says what was true at capture. Nothing resolves it mechanically; a reader follows it to the archive in one step. Recorded in the archivedtasks.md§ 8.specs/021-modified-block-currency-self-gate/plan.md:147names this change in the 021 packet's own planning table. Left untouched: it is another packet's historical plan artifact, and it records what was true at plan time.Surface
Deliberately narrow, to stay clear of the concurrent marker-sweep branch: the projection-identity change dir,
README.md,ideation/staging/INDEX.md, three doc/example path fixes, and the one test file the archive act itself falls due on. No delta file ofadd-binding-consumer-identity,add-wallet-carried-review-authority, the keycloak/openxpki packets,add-notebook-hosting-credential-custody, orgovern-sibling-added-modified-deltasis touched. If that sweep also needs the carriage ledger, the conflict is one row in one file.🤖 Generated with Claude Code
https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc