Repository navigation
Disposition notebook-projection-identity: the five hosting-identity questions ruled - #272
Conversation
…uestions ruled All five questions in the staged topic now carry a disposition, each with a dated paragraph beneath its status line. Brett Heap ruled Q2 and the account timing in session: the hosting identity is a dedicated Google Workspace USER account in the operating tenant's own domain (working name [email protected], address confirmed at creation), never a consumer Gmail, and the account is created now/soon. Q1, Q3, Q4 and Q5 are architect adjudications on executed evidence. Q3 is the centerpiece: the mapping the question named as its own settling method was actually run against the realized client-identity-roster schema and its validator. Stated honestly the share-out facts produce 11 errors; a force-fit variant with eight marked lies passes with one grantee and fails with two on duplicate-identity-key, because the grantee is not in the uniqueness tuple. The shapes are transposed — one principal / many scopes against one scope / many principals — so the share-out roster is its own small contract. Two fragment claims were wrong and are corrected in place with dated notes, not silently rewritten: Q1's context (and the Impact section's matching clause) said the two-case custody fork lived only in a runbook doc, when credential-contracts already promotes it as a requirement; and Q3's context treated add-client-identity-roster as in flight when it had archived. The exit is now one combined change, raised on Brett's confirmation that the opensoft.one account exists. The topic stays staged-and-dispositioned until then. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4e873d7716
ℹ️ 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".
| retirement runbook is the template, applied step for step. Re-create the | ||
| books under the declared account on the next `--apply` after the declared | ||
| field is readable — ONE run, because the projection is derived (precedent: |
There was a problem hiding this comment.
Migrate live session notebooks during the account cutover
When any branch sessions are live at cutover, the promised single --apply run cannot recreate their notebooks: scripts/sync-notebooklm-books.py enters the one-session path only with --session-ref and returns before the lifecycle-book loop, while an ordinary --apply never enumerates live sessions for creation. The migration plan therefore needs to enumerate and sync every live session separately (or add a bulk migration mode) before the old account is retired; otherwise those active notebooks remain hosted only under the personal account.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Accepted and verified. The script agrees with you in its own words: the --session-ref branch handles exactly one named session and exits before the lifecycle loop ("A SESSION run is only ever about one session's notebook: it never syncs a lifecycle book"), --session-sweep reconciles and retires but never creates, and a plain --apply never enumerates live sessions for creation. Q5's own context named the live session books explicitly, so the one-run claim was under-scoped.
Recorded as realization fact (3) in the Q5 disposition: the one run covers the lifecycle books only, and every live xf-session-* notebook needs its own run — or a bulk migration mode — before the personal account is retired. It carries into the eventual change's migration tasks.
| holds, retire the personal-hosted books by RECORDED MANUAL ACT, exactly as | ||
| 2026-08-10 did: archive-rename the legacy book, DELETE its alias (never | ||
| repoint it), and retire its workspace record in place. |
There was a problem hiding this comment.
Preserve workspace registration for replacement books
For every existing lifecycle book, the replacement in the new account has the same BookSpec.key but a different provider ID. On creation, ensure_workspace_record() detects the existing record ID, prints DIFFERENT provider_notebook_id, and returns without registering the replacement; following this instruction to retire that existing record then leaves the company-hosted book with no active external_source_workspace record. Unlike the split precedent, whose successors had new record IDs, this cutover needs an explicit record replacement/versioning step rather than simply retiring the old record.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Accepted and verified, including the reason the precedent does not cover it. ensure_workspace_record() derives record_id from spec.key, which is unchanged in the new account; finding that id already present with a different provider_notebook_id it prints "reconcile by hand" and returns without registering the replacement. Retiring the old record on top of that would leave the company-hosted book with no active external_source_workspace record. The 2026-08-10 split precedent escaped this because its successors were new per-repo keys with new record ids, so nothing collided — exactly your point.
Recorded as realization fact (4) in the Q5 disposition: the cutover needs a declared workspace-record replacement (or versioning) step, not retirement alone.
There was a problem hiding this comment.
Pull request overview
This PR finalizes the staged topic notebook-projection-identity by recording dispositions for all five hosting-identity questions (including dated correction notes), and then propagates that “no questions remain open” state into the staging index and the operational NotebookLM sync open item.
Changes:
- Added dated disposition paragraphs (and
Dispositioned-by:lines) for Q1–Q5 in the staged topic, plus in-place corrections for previously-misstated context. - Updated
ideation/staging/INDEX.mdto mark the topic as dispositioned and to summarize the executed-mapping evidence and exit path. - Added a dated pointer from
docs/notebooklm-sync-open-item.mdto the staged topic dispositions while keeping the operational item open.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ideation/staging/notebook-projection-identity/notebook-projection-identity.md | Records dispositions for Q1–Q5, adds correction notes, and updates the exit narrative accordingly. |
| ideation/staging/INDEX.md | Updates the staging index entry and detail block to reflect the topic’s dispositioned state and summarized evidence. |
| docs/notebooklm-sync-open-item.md | Adds a dated cross-reference to the dispositioned staged topic without closing the operational open item. |
Suppressed comments (1)
ideation/staging/notebook-projection-identity/notebook-projection-identity.md:416
- The share-out mapping evidence cites "fourteen
additionalProperties: falseclosures", but the schema file contains 11additionalProperties: falsekeys. Please correct the number (or drop it) so this disposition doesn't encode an incorrect fact about the contract surface.
`vendor_tenant_multi`; `consent_ref` must resolve intra-repo against a
consent-instrument record and here resolves to nothing; and
`granted_by`, `granted_at` and the hosting account have nowhere to live
under the schema's fourteen `additionalProperties: false` closures.
- Force-fit variant (eight fields knowingly falsified, each marked as a
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| schema is open where the mapping would have to land: one | ||
| `additionalProperties: false` closure in | ||
| `contracts/schemas/xfactory-credential-contracts.schema.yaml`, against | ||
| fourteen in the client-identity-roster schema Q3 tested. Neither |
There was a problem hiding this comment.
Correct, and the correction is applied. My count came from a raw grep -c "additionalProperties: false", which returns 14 — but three of those hits are prose inside the schema's own header describing the closure convention (lines 37, 40, 43), not keys. Parsing the YAML and counting objects whose additionalProperties is literally false gives 11 for the roster schema and 1 for xfactory-credential-contracts.schema.yaml, so the open-vs-closed comparison stands unchanged while the number was wrong.
Fixed in both places you flagged (the Q1 and Q3 dispositions), with the grep-vs-parse trap named in the text so the next reader does not repeat it.
| credential vault operator is an execution binding, never contract | ||
| content"), not merely runbook prose, so the custody delta GENERALIZES an | ||
| existing requirement and needs no new record kind (that schema has one | ||
| closure against the roster schema's fourteen); the one-vs-two-changes |
There was a problem hiding this comment.
Same correction applied here. The INDEX summary now reads "one closure against the roster schema's eleven — parsed counts, corrected 2026-08-23 on Copilot's review note". Parsed values: 11 for the roster schema, 1 for the credential-contracts schema; the raw grep's 14 included three prose mentions in the schema header.
…r notes Brett confirmed the account the same day he ruled its shape: [email protected], a Google Workspace user in opensoft.one. The working name [email protected] was never created and is marked superseded rather than deleted. The exit precondition is met, Opensoft's install is the declared Case A instance, and Brett authorized raising the combined change. Copilot caught a real numeric error. The closure counts are 11 for the client-identity-roster schema and 1 for credential-contracts at the parsed level; the 14 I cited came from a raw grep that also matches three prose mentions in the roster schema's own header. Corrected in the Q1 and Q3 dispositions and in the INDEX summary, with the grep-vs-parse trap named so the next reader does not repeat it. The comparison it supports is unchanged. Codex found two realization gaps in Q5's migration plan, both verified against the script and recorded as facts (3) and (4). A plain --apply never creates live xf-session-* notebooks: --session-ref handles one named session and returns before the lifecycle loop, and --session-sweep only retires — so each live session notebook needs its own run, or a bulk mode, before the personal account is retired. And ensure_workspace_record() derives its record id from spec.key, which is unchanged in the new account; finding that id with a different provider_notebook_id it returns without registering the replacement, so retiring the old record would leave the company-hosted book unregistered. The 2026-08-10 precedent escaped this because its successors carried new record ids. Co-Authored-By: Claude Fable 5 <[email protected]>
| Correction 2026-08-23: this context, and the Recommended answer below, | ||
| treat `add-client-identity-roster` as an in-flight proposal whose shape | ||
| could not yet be tested against. It is neither in flight nor untestable | ||
| now — it ratified and archived as | ||
| `openspec/changes/archive/2026-08-15-add-client-identity-roster`, and both |
There was a problem hiding this comment.
Fair catch, fixed. The context line now reads "ratified 2026-08-14; then active at openspec/changes/add-client-identity-roster/, archived since — the live path is in the correction below", so it records what was true at capture and still routes a reader to the archived location without rewriting the captured text.
Copilot's second-round note: the context still cited openspec/changes/add-client-identity-roster/, which the archive move emptied. The line now says where it was at capture and that the live path is in the correction below, so navigation works without rewriting what the capture recorded. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 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.
ideation/staging/INDEX.md:1470
add-notebook-projection-identityis referenced as the concrete OpenSpec change the topic “exits via”, but there is currently no correspondingopenspec/changes/add-notebook-projection-identity/directory in this repo. To avoid implying an already-raised change (and to prevent readers from searching a non-existent path), consider wording this as a planned/to-be-raised change name (or omit the specific slug until it exists).
surface (the sync's profile selection). The account precondition is MET:
Brett confirmed `[email protected]` on 2026-08-23 and authorized
raising the change, so the topic exits via `add-notebook-projection-identity`
rather than waiting. Opensoft's install is the declared Case A instance
…opposite ways Copilot's #273 note claims 14 closures where #272's claimed 11; eleven is the one that survives checking. A raw grep returns 14 because three matches are backtick-quoted prose inside the roster schema's own header block scalar (lines 37, 40, 43) explaining the closure convention rather than applying it. Parsing the schema gives 11 objects whose additionalProperties is false, and 1 for credential-contracts. design.md Ruling 1 now states that explicitly and Ruling 2 points at it; the proposal carries the short form. The open-vs-closed comparison is unchanged. Co-Authored-By: Claude Fable 5 <[email protected]>
…ation ruling Brett Heap ratified in-session on 2026-08-23, ruling two things in the one read: ratify the requirement set as it stands, and realization mode = DIRECT (the add-roster-device-admission-surface precedent, not a Speckit flow). The three items this proposal flagged for the read were all before him and he ratified with them in view: the generalized credential-contracts requirement keeps its vault-specific header, because renaming it is a remove-plus-add the disposition did not ask for; the share-out roster's artifact form stays a realization call, to be decided and flagged during realization; and the direct route is the one chosen. review/ratification-2026-08-23.md records the decision, the provenance of the two acts (the disposition round merged as PR #272, then this read), what happened to each flagged item, the pre-ratification bot rounds — Codex's three real encoding defects fixed before the read, Copilot's count note refuted — and four conscious-acceptance notes, including that authenticating a Workspace account to the nlm CLI is unsolved and the live migration is therefore gated on Brett's interactive login. The change stays ACTIVE: target_release: implementation_pending archives it only on merged code with green realization evidence. Co-Authored-By: Claude Fable 5 <[email protected]>
…entity becomes a declared two-case intake fact (#273) * Propose add-notebook-projection-identity: the projection's hosting identity becomes a declared two-case intake fact The single exit of the staged topic notebook-projection-identity, raised the day its last precondition was met. Brett confirmed the hosting account — [email protected], a Google Workspace user in opensoft.one — and authorized raising the change. The whole governed projection is created today under one person's personal consumer Gmail, because the nlm CLI's default profile is whoever ran nlm login first. This makes the hosting identity a declared two-case intake fact: operator-hosted (a company-owned Workspace USER account in the operating party's own domain) or self-hosted, both legitimate. A user account is a platform constraint, not a preference — NotebookLM has no API and a service account cannot drive its consumer web UI. Five ADDED/MODIFIED requirements on lifecycle-notebook-projection: the declared identity, share-out from the account with the roster as the record of each governed share act, the migration/retirement obligation, the sync running under the declared profile, and the ratified shared-account premise restated as a declared one. Both MODIFIED requirements keep every original scenario byte-identical. One MODIFIED requirement on credential-contracts generalizes vault-operator custody to operated-identity custody, with the vault named as its first instance — no new record kind. design.md carries the executed Q3 mapping as the roster decision's evidence, the Q1 context correction, the Q4 unification, the rejected alternatives, and an open naming question the ratification read should settle: the generalized credential-contracts requirement keeps its vault-specific header, and renaming it would be a remove-plus-add the disposition did not ask for. tasks.md sequences realization behind ratification, with Opensoft's own cutover as the evidence gate and the two review-verified migration gaps carried as scope. Status: draft. Ratification is Brett's separate act. Co-Authored-By: Claude Fable 5 <[email protected]> * Say which count the closure evidence means, since two passes read it opposite ways Copilot's #273 note claims 14 closures where #272's claimed 11; eleven is the one that survives checking. A raw grep returns 14 because three matches are backtick-quoted prose inside the roster schema's own header block scalar (lines 37, 40, 43) explaining the closure convention rather than applying it. Parsing the schema gives 11 objects whose additionalProperties is false, and 1 for credential-contracts. design.md Ruling 1 now states that explicitly and Ruling 2 points at it; the proposal carries the short form. The open-vs-closed comparison is unchanged. Co-Authored-By: Claude Fable 5 <[email protected]> * Take Codex's three notes: the retirement no longer retires the replacement P1, and the sharpest of the round: the requirement inherited "retire its workspace record in place" from the 2026-08-10 runbook while also requiring the replacement step to reuse the same key-derived record id. Followed in order, the retirement would retire the replacement and reproduce exactly the unregistered-book failure the replacement exists to prevent. The runbook only worked there because its successors carried new record ids. Retirement now archive-renames the legacy book, deletes its alias, and retires the legacy provider notebook with the act preserved in the record's history; retiring a workspace record in place survives only where a migration leaves a genuinely separate record under a distinct id. The undeclared install was described as legal under a requirement opening with an unconditional SHALL declare, leaving an install both conforming and violating. It is now an explicitly nonconforming transition state: the sync still does not break on one, but reports it as unmet rather than as a third legitimate case. And the roster's uniqueness key included role, granted_at and granted_by, which contradicted the same paragraph's claim that approving updates the entry — a re-approval or role change would have minted a second live record and let the roster assert a stale grant beside a current one. Uniqueness is now the stable (hosting_account, user, book_or_alias) triple with the decision fields as attributes and superseded decisions kept as history. All six fields still ride on the entry and the grantee is still in the key, which is the finding the disposition rests on, so this refines the tuple rather than reopening the ruling — recorded as a refinement in design.md Ruling 1. Copilot's count note is refuted on the record and the packet now says which count it means. Co-Authored-By: Claude Fable 5 <[email protected]> * Ratify add-notebook-projection-identity, and record the direct-realization ruling Brett Heap ratified in-session on 2026-08-23, ruling two things in the one read: ratify the requirement set as it stands, and realization mode = DIRECT (the add-roster-device-admission-surface precedent, not a Speckit flow). The three items this proposal flagged for the read were all before him and he ratified with them in view: the generalized credential-contracts requirement keeps its vault-specific header, because renaming it is a remove-plus-add the disposition did not ask for; the share-out roster's artifact form stays a realization call, to be decided and flagged during realization; and the direct route is the one chosen. review/ratification-2026-08-23.md records the decision, the provenance of the two acts (the disposition round merged as PR #272, then this read), what happened to each flagged item, the pre-ratification bot rounds — Codex's three real encoding defects fixed before the read, Copilot's count note refuted — and four conscious-acceptance notes, including that authenticating a Workspace account to the nlm CLI is unsolved and the live migration is therefore gated on Brett's interactive login. The change stays ACTIVE: target_release: implementation_pending archives it only on merged code with green realization evidence. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
The canon narrowing that section 6.3 actually requires is authored where the canon lives: codexFactory PR #272, filed by the same lane on the same word. Tasks 2.1/2.1a/2.1b are therefore authored (boxes still unticked — that packet is a proposal and its ratification is owed); 2.2 through 2.8 remain unauthored realization. Refs #745 Refs opensoft/codexFactory#232 Lane: openxfactory-2
…026-09-07, "ratify 746 and 272 as recommended when green, then land them" Recorded 2026-09-07T12:32:44Z on openxFactory #745 (and on #746, codexFactory #272, codexFactory #232). A PAIR WORD over this packet and its codexFactory companion #272 together; applied at head 6ebd7b2 with all NINE checks green and ZERO open review threads, so the "when green" condition was met BEFORE the word rather than after it. DECISIONS N-1..N-5 STAND AS RECOMMENDED, no veto: N-1 admits the codexFactory REGENERATION lane ONLY; N-2 measured admission conditions with no diff-shape condition invented; N-3 ordering recorded, no new mechanism; N-4 sticky-comment observability and the candidate entry as the one-edit kill switch; N-5 the companion carries the code surface. OQ-2/OQ-C1: the admitting act is RECOMMENDED as a Gate-Rules Council record. RATIFICATION PERFORMS NO REALIZATION. No candidate is enrolled, no envelope file is edited, no floor path moves, no ruleset changes, no auto-merge is armed, and every box in tasks.md stays unticked. (d) and (e) are recorded as not taken rather than foreclosed; the openxFactory re-pin lane stays under a human merge word. NO REQUIREMENT TEXT MOVES IN THIS COMMIT, verified mechanically: git diff 6ebd7b2 over specs/, design.md and tasks.md is EMPTY. Only proposal.md (Status/Ratified headers + dated note), README.md (the standing of the entry), .openspec.yaml (the kept-and-answered statement, its pre-ratification sentence put in PAST tense per the #676 lesson) and the new record move. Named honestly: this takes the .openspec.yaml statement in THIS commit, one file more than the archived mirror-floor-addition-grace precedent and exactly as mirror-floor-regeneration-automation did. Catch-up merge of origin/main d5a549e carried in the same act: no conflict, no README collision. Main advanced by PR #747 alone — a review-lane-repin-bot advance of the pinned core to aced582b, i.e. THE BOT LANE THIS PACKET IS ABOUT LANDED ON MAIN BY A HUMAN CLICK DURING THE RATIFICATION OF THE PACKET ABOUT IT, which is the cost N-1 measures. It added no change directory, so the sweep ledger needed no re-seeding: --ledger-diff reports "per-change sweep ledger consistent with the corpus (179 rows)", our row intact at moved_by "#745" / moved_on 2026-09-07 / depth 2, and pytest tests/sequenced_after -q reports 163 passed. Validate at the pinned CLI, failure set unchanged vs main: --change --strict Totals: 1 passed, 0 failed (1 items) --all --strict Totals: 96 passed, 2 failed (98 items) both failures the same two ACCEPTED dispositioned exceptions (add-chain-attestation, add-composed-view-authoring). Refs #745 Refs opensoft/codexFactory#232 Lane: openxfactory-2
Found by the packet-wide sweep Copilot asked for on the codexFactory companion (#272, PRRT_kwDOTGZ-Gc6f6zEi): this half carried the identical defect, and it is fixed here rather than left to come back as its own round. design.md said a bare "Status: draft" while proposal.md, tasks.md and the README entry all say ratified. THE FIX IS THE PRECEDENT'S OWN FORM, not an invention: both ratified option-(b) packets (mirror-floor-regeneration-automation here, add-floor-regeneration-automation in codexFactory) keep their design.md at "Status: draft (nothing here is ratified by being authored)" AFTER ratification. A design document is not ratified by the packet's ratification, and that parenthetical is exactly what stops the bare word reading as a contradiction. So the line is NOT changed to ratified — deliberately — it is made unambiguous. Sweep result for this packet, so this is the last round: every other "Status: draft" here is a past-tense statement about this packet at authoring (.openspec.yaml:41) and is correct as it stands; proposal.md and tasks.md are Status: ratified and the record is Status: record. No requirement text moves. Verified: pinned CLI --change --strict -> Totals: 1 passed, 0 failed (1 items); --all --strict -> Totals: 96 passed, 2 failed (98 items), the same two accepted dispositioned exceptions main carries (main: 95 passed, 2 failed (97 items)). Refs #745 Refs opensoft/codexFactory#232 Lane: openxfactory-2
… bot lanes (§ 6.3) (#746) * Author the proposal for extending the merge-master envelope to the floor bot lanes PROPOSAL ONLY. Nothing is enrolled, no envelope file is edited, no floor path moves. Governing issue openxFactory #745, first-cycle record codexFactory #232. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Record the measured envelope mechanics and decisions N-1..N-5 Three refusals stand between the bot lanes and the envelope, all verified in the tree: the floor is composed OVER the envelope and contracts/review-lane-pin.yaml is a never-clearable member; code-owner review is ACTIVE in both repositories over every path either lane writes; and codexFactory's envelope admits neither this author nor this surface. The brief's premise that openxFactory's envelope approves the doc-health nightly is corrected — it enrols intent-rolling-custody. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Add the spec deltas: neutral enrolment rules and the two floor lanes' admission roles-authority-model gains five ADDED requirements (per-lane enrolment, floor composed over the envelope with the carve-not-removal rule, judge-writing lanes behind named safeguards, one-edit kill switch, approval is not a merge). review-lane-floor-mirror gains three (measured admission, default-branch-head ordering, recorded facts). Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Add tasks.md and .openspec.yaml — every box unticked Five groups: proposal, the codexFactory companion realization, the first envelope-approved landing of each kind, archive evidence, owner's acts. Group 5.3 is the enabling act without which an enrolment lands nothing: Require Code Owner Review is ACTIVE in both repositories over every path either bot lane writes, and an App cannot be a code owner. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Register the change: README OpenSpec Records entry and its sweep ledger row The ledger row is seeded through the sanctioned writer (scripts/validate-sequenced-after.py --seed-ledger) with --moved-on in UTC; it reads declares: [mirror-floor-regeneration-automation, codexFactory:add-floor-regeneration-automation, add-substantive-review-lane], depth 2. Validate at the pinned CLI, failure set unchanged vs main: main Totals: 95 passed, 2 failed (97 items) branch Totals: 96 passed, 2 failed (98 items) both failures the same two ACCEPTED dispositioned exceptions (add-chain-attestation, add-composed-view-authoring). Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Correct the packet for a fourth refusal: promoted canon forbids BOTH lanes codexFactory openspec/specs/merge-master-approval/spec.md:175-186 "Bounded autonomous surface" is PROMOTED and says the mechanism MUST NOT approve any pull request on a CODEOWNERS-scoped path. Every path either bot lane writes is one, and the active add-regular-pr-council-clearance reaffirmed the clause ("CODEOWNERS-scoped governance paths remain absolutely forbidden", proposal.md:527). So NEITHER LANE IS A CONFIGURATION CHANGE — the framing in section 6.3, in the governing issue and in this packet's own first draft. Admitting either requires a ## MODIFIED to a promoted requirement re-declared absolute eleven days ago. The asymmetry survives and N-1 still recommends the regeneration lane (one ground weakened, not two, and no decision-core carve). Added: design section 2.2a with the citation, a corrected cost table, N-1 (e) — satisfy the canon by moving the generated block off the code-owned surface, the only option that weakens nothing — tasks 2.1a/2.1b/5.5a, and an OQ-2 recommendation for a council record over a word. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Cross-link the authored codexFactory companion (draft #272) The canon narrowing that section 6.3 actually requires is authored where the canon lives: codexFactory PR #272, filed by the same lane on the same word. Tasks 2.1/2.1a/2.1b are therefore authored (boxes still unticked — that packet is a proposal and its ratification is owed); 2.2 through 2.8 remain unauthored realization. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Re-measure every CODEOWNERS citation, and correct one that was a wrong MECHANISM Copilot round 1, PRRT_kwDOTAvnrs6fxJsr. The root cause of the bad line numbers: the original measurement read a comment-stripped view of the file (grep -v '^#') and cited positions in THAT output, so every openxFactory citation in the packet was off. Re-measured with grep -n on the file itself; all four corrected: /.github/merge-approval-envelope.yml 8 -> 35 (design.md:17) .github/workflows/ 1 -> 2 (design.md:161) /contracts/review-lane-pin.yaml 6 -> 20 (design.md:162) /contracts/review-lane-floor-snapshot.yaml 7 -> 27 (design.md:163) codexFactory's /scripts/ at :29 was measured correctly the first time (it was grepped with -n) and is unchanged, here and in the companion packet. THE SWEEP FOUND A SECOND ERROR AND IT IS SUBSTANTIVE, not a citation. The row for tests/merge-master/test_repository_gate_floor.py claimed the path was code-owner gated "per the note at :107". IT IS NOT. Under /tests, codexFactory CODEOWNERS names only /tests/browser-ui-repair/ fixtures/ (:119) and /baselines/ (:120); the note at :107-109 says something different — that /tests/** sits on the enrolled rule's never-clearable floor and outside the tier-1 allowlist. A fail-closed bar, but the GATE RULE'S floor plus the allowlist, not CODEOWNERS. No conclusion changes: the mirror is still not autonomously approvable and still must be enumerated in the candidate class. What changes is WHICH bar applies — so of the regeneration lane's two writable paths only the floor document carries the CODEOWNERS bar that section 2.2a's promoted requirement names. Recorded as a dated correction under the table rather than restated silently, because a reader reasoning about which bar to narrow needs the distinction. Verified: pinned CLI --change --strict -> Totals: 1 passed, 0 failed (1 items); --all --strict -> Totals: 96 passed, 2 failed (98 items), the same two accepted dispositioned exceptions main carries. Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Ratify extend-merge-master-envelope-to-floor-bot-lanes: Brett Heap, 2026-09-07, "ratify 746 and 272 as recommended when green, then land them" Recorded 2026-09-07T12:32:44Z on openxFactory #745 (and on #746, codexFactory #272, codexFactory #232). A PAIR WORD over this packet and its codexFactory companion #272 together; applied at head 6ebd7b2 with all NINE checks green and ZERO open review threads, so the "when green" condition was met BEFORE the word rather than after it. DECISIONS N-1..N-5 STAND AS RECOMMENDED, no veto: N-1 admits the codexFactory REGENERATION lane ONLY; N-2 measured admission conditions with no diff-shape condition invented; N-3 ordering recorded, no new mechanism; N-4 sticky-comment observability and the candidate entry as the one-edit kill switch; N-5 the companion carries the code surface. OQ-2/OQ-C1: the admitting act is RECOMMENDED as a Gate-Rules Council record. RATIFICATION PERFORMS NO REALIZATION. No candidate is enrolled, no envelope file is edited, no floor path moves, no ruleset changes, no auto-merge is armed, and every box in tasks.md stays unticked. (d) and (e) are recorded as not taken rather than foreclosed; the openxFactory re-pin lane stays under a human merge word. NO REQUIREMENT TEXT MOVES IN THIS COMMIT, verified mechanically: git diff 6ebd7b2 over specs/, design.md and tasks.md is EMPTY. Only proposal.md (Status/Ratified headers + dated note), README.md (the standing of the entry), .openspec.yaml (the kept-and-answered statement, its pre-ratification sentence put in PAST tense per the #676 lesson) and the new record move. Named honestly: this takes the .openspec.yaml statement in THIS commit, one file more than the archived mirror-floor-addition-grace precedent and exactly as mirror-floor-regeneration-automation did. Catch-up merge of origin/main d5a549e carried in the same act: no conflict, no README collision. Main advanced by PR #747 alone — a review-lane-repin-bot advance of the pinned core to aced582b, i.e. THE BOT LANE THIS PACKET IS ABOUT LANDED ON MAIN BY A HUMAN CLICK DURING THE RATIFICATION OF THE PACKET ABOUT IT, which is the cost N-1 measures. It added no change directory, so the sweep ledger needed no re-seeding: --ledger-diff reports "per-change sweep ledger consistent with the corpus (179 rows)", our row intact at moved_by "#745" / moved_on 2026-09-07 / depth 2, and pytest tests/sequenced_after -q reports 163 passed. Validate at the pinned CLI, failure set unchanged vs main: --change --strict Totals: 1 passed, 0 failed (1 items) --all --strict Totals: 96 passed, 2 failed (98 items) both failures the same two ACCEPTED dispositioned exceptions (add-chain-attestation, add-composed-view-authoring). Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Make tasks.md true on landing, and point the ledger row at the PR Copilot round 2 on #746, both threads, one commit. Both were introduced by the ratifying commit; neither moves requirement text. 1. PRRT_kwDOTAvnrs6f6lQS — tasks.md said Status: draft while proposal.md and the README said ratified. Flipped to Status: ratified and the group-1 preamble reworded so the file is true on landing: a dated RATIFIED note with the word and the record, an explicit statement that the ratification performs nothing IN THIS FILE, and "a LATER WORD AND HAS NOT BEEN GIVEN" on groups 2-4. Task 1.1's ":18 mention" no longer asserts the header is draft — it now reads "draft at authoring; ratified since 2026-09-07, with the Ratified: citation beside it". Sections 5.1 and 5.2 gain the dated TAKEN / STOOD notes the option-(b) packets use for an owner's act. EVERY BOX STAYS UNTICKED (grep -c '^- \[x\]' -> 0), including 5.1's: ticking an owner's-act box is a claim an agent may not make about the owner, and the dated note is how the act is recorded instead. 2. PRRT_kwDOTAvnrs6f6lQ7 — a real defect I introduced at seeding. The ledger header documents moved_by as the PULL REQUEST that last moved the row; our row carried "#745", the governing ISSUE. Now "#746". HOW, because the sanctioned writer would not restamp it on its own. render_ledger deliberately PRESERVES the provenance of rows whose derived keys are unchanged ("re-seeding after a merge stamps only the rows that actually moved"), so --seed-ledger --moved-by '#746' reported "0 moved by #746" and left "#745" in place; there is no --force or --restamp flag. The stale row was therefore removed so the writer would see it as new, and then --seed-ledger --moved-by '#746' --moved-on 2026-09-07 re-derived and stamped it, reporting "179 rows, 1 moved by #746". EVERY BYTE OF THE FILE IS WRITER-PRODUCED and the diff is exactly one row and exactly one field: moved_by "#745" -> "#746". No hand-edit of a value survives in the committed file. Verified after both: --ledger-diff reports "per-change sweep ledger consistent with the corpus (179 rows)"; pytest tests/sequenced_after -q reports 163 passed; scripts/frontmatter_strict.py exits 0. Validate at the pinned CLI, failure set unchanged vs main (main: 95 passed, 2 failed (97 items)): --change --strict Totals: 1 passed, 0 failed (1 items) --all --strict Totals: 96 passed, 2 failed (98 items) both failures the same two ACCEPTED dispositioned exceptions (add-chain-attestation, add-composed-view-authoring). Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 * Disambiguate design.md's status line, matching the ratified precedent Found by the packet-wide sweep Copilot asked for on the codexFactory companion (#272, PRRT_kwDOTGZ-Gc6f6zEi): this half carried the identical defect, and it is fixed here rather than left to come back as its own round. design.md said a bare "Status: draft" while proposal.md, tasks.md and the README entry all say ratified. THE FIX IS THE PRECEDENT'S OWN FORM, not an invention: both ratified option-(b) packets (mirror-floor-regeneration-automation here, add-floor-regeneration-automation in codexFactory) keep their design.md at "Status: draft (nothing here is ratified by being authored)" AFTER ratification. A design document is not ratified by the packet's ratification, and that parenthetical is exactly what stops the bare word reading as a contradiction. So the line is NOT changed to ratified — deliberately — it is made unambiguous. Sweep result for this packet, so this is the last round: every other "Status: draft" here is a past-tense statement about this packet at authoring (.openspec.yaml:41) and is correct as it stands; proposal.md and tasks.md are Status: ratified and the record is Status: record. No requirement text moves. Verified: pinned CLI --change --strict -> Totals: 1 passed, 0 failed (1 items); --all --strict -> Totals: 96 passed, 2 failed (98 items), the same two accepted dispositioned exceptions main carries (main: 95 passed, 2 failed (97 items)). Refs #745 Refs codeXfactory/codeXfactory#232 Lane: openxfactory-2 --------- Co-authored-by: Brett Heap <[email protected]>
The staged topic
notebook-projection-identityasked five questions about whohosts the governed NotebookLM projection. All five now carry a disposition —
none is
open. Each question keeps its captured Context / Recommended answer /Explanation intact and gains a dated disposition paragraph plus a
Dispositioned-by:line beneath its status.Brett's rulings (Q2 and the account timing)
Brett Heap ruled Q2 in session: the hosting identity is a dedicated Google
Workspace user account in the operating tenant's own domain — working name
[email protected], actual address confirmed at creation. Not aconsumer Gmail, not even one designated "the company account" by convention.
A platform fact the 2026-08-15 capture predates reinforces the ruling rather
than merely permitting it: a GCP service account cannot drive NotebookLM
(no API, consumer web UI only), as
docs/notebooklm-sync-open-item.mdalreadyrecords. The hosting identity must be a Google user account, which is exactly
what a Workspace user is. That also settles the fragment's own loose "company
service account" wording, which Claim 4 had already spelled out correctly.
Brett also ruled the account is created now/soon — and then confirmed it
the same day:
[email protected], a Google Workspace user inopensoft.one, exactly the ruled shape. (The earlier[email protected]was a working name and was never created.) The exit precondition is therefore
met, Opensoft's own install is the declared Case A instance, and Brett
authorized raising the combined change on it.
The evidence centerpiece: Q3's executed mapping
Q3 named its own settling method — attempt the mapping, do not assume — and the
mapping was run against the realized
client-identity-rosterschema and itsreal validator, not estimated:
errors.
identity_kindis closed toentra_app_registration;admission_surfaceis closed tobusiness_central/exchange/device/directory, and the schema itself routes non-Entra surfaces toclient-infrastructure-liaison, i.e. out of roster scope;residency_modelis closed to
client_tenant_single/vendor_tenant_multi;consent_refmust resolve intra-repo against a consent-instrument record and here resolves
to nothing; and
granted_by,granted_atand thehosting account have no home under the schema's eleven
additionalProperties: falseclosures.with one grantee and fails with two on the same book —
duplicate-identity-key, because the grantee is not in the uniquenesstuple
(domain, admission_surface, authority_class_intended, blast_radius_unit, duty).The failure is structural, not a vocabulary gap: the client-identity roster
models one principal / many scopes, and a share-out list is the transposed
shape — one scope / many principals. Widening enums cannot fix a transposed
key. Disposition: a distinct, small share-out roster keyed on
(hosting_account, user, book_or_alias, role, granted_at, granted_by)— thequestion's own honest fallback, now proven necessary rather than assumed.
Two post-capture facts are recorded beside it, both from the identity-brokering
family ratified after this topic was captured: it models the human-persona half,
so roster entries should reference a persona wherever one resolves; and its
surface-adoption schema requires
human_accounts_held_by_surface: false— anaccount sharing to arbitrary unresolvable Google accounts is a shape the
governed layer refuses, which reinforces the company-account direction.
The Q1 correction
Q1's recommended split stands, but its context was wrong in a load-bearing
way and is corrected in place with a dated note (not silently rewritten). The
capture said the two-case operator-hosted-vs-self-hosted precedent "is a runbook
doc, not a spec requirement". It is a promoted spec requirement:
credential-contractscarries "The credential vault operator is an executionbinding, never contract content" with an operations-factory-operated scenario
and a client-operated scenario. The runbook doc is that requirement's downstream
realization, not the principle's only home. The same error was echoed in Q1's
recommended answer and in the Impact section's matching clause; both are
corrected with the same dated note.
Consequences: the custody delta generalizes an existing requirement
(vault-operator custody widens to hosting-account custody) and needs no new
record kind — that spec already carries requirements bound to no record kind,
and its schema is open (one closure, against the roster schema's fourteen). This
retires the Explanation's five-record-kinds risk. Q3's context is likewise
corrected:
add-client-identity-rosterwas treated as in flight, and it hadalready archived.
Q4 and Q5
Q4 keeps the governed manual lane as recommended — re-verified that
NotebookLM exposes no share or admin API, so nothing is designed against a
surface that does not exist — with one unification the capture missed: the
approval act's record IS the Q3 roster entry. Approving writes or updates the
share-out roster; denial is recorded in the same lane. One artifact, not an
audit trail beside a roster — which also gives the monitor/approve lane the
mechanical home the Impact section honestly recorded it as lacking.
Q5 adopts the
split-ideation-book-per-reporetirement runbook step forstep: one
--applyre-creation (the projection is derived), parity as per-booktitle-set equality plus a union reconciliation against the corpus scan —
not against the legacy books, which are the artifact whose fidelity is in
question — then a final dry run showing zero pending ADD/DEL/UPD, then
retirement by recorded manual act (archive-rename, delete the alias, retire the
workspace record in place). Realization note for the eventual change: the sync
passes no profile today (
subprocess.run(["nlm", *args])), so profileselection and the declared-field read are real code.
Exit state
The one-or-two-changes fork closes to one combined OpenSpec change: MODIFIED
lifecycle-notebook-projection(declared hosting-account field,nlmprofileselection at sync time, share-out-from-the-account rule, and the amendment of
the shared-account model its spec currently ratifies in text), MODIFIED
credential-contracts(the two-case custody rule), the new small share-outroster shape, and one code surface. The account precondition is met —
Brett confirmed
[email protected]on 2026-08-23 and authorized raisingthe change — so the topic exits via that change rather than waiting.
docs/notebooklm-sync-open-item.mdgains a dated one-line pointer to thedispositions and deliberately stays open — that operational item closes on
the change's realization, not on these rulings.
Review round
Both bots filed; every finding was verified against the code and acted on.
Copilot — real numeric error, corrected. The closure counts were wrong: a
raw
grep -c "additionalProperties: false"returns 14 for the roster schema,but three of those hits are prose in the schema's own header describing the
closure convention, not keys. Parsed at the YAML level it is 11 for the
roster schema and 1 for
xfactory-credential-contracts.schema.yaml. Fixedin the Q1 and Q3 dispositions and in the INDEX summary, with the grep-vs-parse
trap named in the text. The open-vs-closed comparison the number supports is
unchanged.
Codex — two verified realization gaps in Q5's migration plan (P2 each),
recorded as facts (3) and (4). Neither changes the runbook; both bound what
"one run" actually covers:
--applynever enumerates live sessions for creation, and--session-refhandles exactly one named session and returns before thelifecycle loop ("A SESSION run is only ever about one session's notebook: it
never syncs a lifecycle book");
--session-sweepreconciles and retires butnever creates. Every live
xf-session-*notebook needs its own run, or abulk migration mode, before the personal account is retired — and Q5's
context named the live session books explicitly, so the one-run claim was
under-scoped.
ensure_workspace_record()derivesrecord_idfromspec.key, unchanged inthe new account; finding that id present with a different
provider_notebook_idit prints "reconcile by hand" and returns withoutregistering the replacement. Retiring the old record would leave the
company-hosted book with no active
external_source_workspacerecord. The2026-08-10 precedent escaped this because its successors had new record ids.
The cutover needs an explicit record replacement/versioning step.
Sourcery filed its usual upsell stub — no findings.
Gates
pytest tests/ideation-dashboard— 3983 passed, 15 skippedpytest tests/ideation_dashboard— 63 passedpytest tests/doc-health— 724 passedopenspec validate --all --strict— 68 passed, 0 failed (68 items)origin/mainbaseline — 0 new findings(4 critical / 6 error / 77 warning / 3 info on both sides)
scripts/validate-ideation-dashboard-contracts.py— 0 errors, 4 warnings(baseline)
_template_gapsNONE,_staged_exit_changesNONE, fourxspec:candidatemarker pairs intact, and the dashboard's
outline-model.jsagrees (5questions, 4/4 sub-fields each, no gaps)
contracts/untouched🤖 Generated with Claude Code