Skip to content

Propose add-notebook-projection-identity: the projection's hosting identity becomes a declared two-case intake fact - #273

Merged
brettheap merged 4 commits into
mainfrom
change/add-notebook-projection-identity
Aug 23, 2026
Merged

brettheap merged 4 commits into
mainfrom
change/add-notebook-projection-identity

Conversation

@brettheap

@brettheap brettheap commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

The single exit of the staged topic notebook-projection-identity, raised the
day its last precondition was met. Status: draft — ratification is Brett's
separate act, and nothing in this packet realizes anything.

Why now

All five of the topic's questions were dispositioned on 2026-08-23 (PR #272),
and Brett confirmed the hosting account the same day —
[email protected], a Google Workspace user in opensoft.one,
exactly the shape he had ruled — and authorized raising the change on it. The
exit's "raised only once a real company account exists" precondition is met.

The problem it closes: the entire governed projection — every per-repo Ideation
book, xf-drafts, xf-canon, every live xf-session-* — is created under one
person's personal consumer Gmail, because the nlm CLI's default profile is
whoever ran nlm login first. Nothing declares that. Proven live 2026-08-15
when Brett, browsing as his own Workspace identity, hit "request access" on a
dashboard notebook link and the request landed in that personal inbox,
unmanaged. The promoted spec does not merely omit the question — it ratifies the
premise: "The account is shared between workspaces."

What the packet contains

lifecycle-notebook-projection — 3 ADDED, 2 MODIFIED.

  • ADDED: the hosting identity is DECLARED at install, in exactly two cases —
    operator-hosted (a company-owned Google Workspace USER account in a domain the
    operating party administers) or self-hosted/personal. Both legitimate; the
    second is not a degraded first. A Google user account is a platform
    constraint, not a preference: NotebookLM has no API and a service account
    cannot drive its consumer web UI. An install that declares nothing is a
    NONCONFORMING TRANSITION STATE, not a third case: the sync does not break on
    it, but it is reported as unmet rather than presented as governed.
  • ADDED: access is shared out FROM the hosting account, never by handing out its
    credentials, and each share act is decided by a designated company-policy
    actor and RECORDED. The record IS the share-out roster entry — one artifact,
    not an audit trail beside a list — carrying (hosting_account, user, book_or_alias, role, granted_at, granted_by) and persona-referencing wherever
    identity-brokering resolves one, with uniqueness on the stable
    (hosting_account, user, book_or_alias) triple so a re-decision updates the
    live entry instead of adding a second.
  • ADDED: a hosting-account migration re-derives, proves parity against the
    corpus scan
    (not against the legacy books, which are the artifact whose
    fidelity is in question), and only then retires the originals by recorded act.
  • MODIFIED: projection implementation ownership now includes running under the
    declared identity's nlm profile, failing rather than falling back silently.
  • MODIFIED: the ratified shared-account premise is restated as one hosting
    account per install — the session-scoping rule itself is unchanged.

Both MODIFIED requirements keep every original scenario byte-identical
(verified programmatically); the amendments are body text plus new scenarios.

credential-contracts — 1 MODIFIED. The custody rule GENERALIZES the
requirement that spec already promotes ("The credential vault operator is an
execution binding, never contract content"), widening vault-operator custody to
operated-identity custody with the vault named as its first instance. No new
record kind
— that spec already carries requirements bound to none, and its
schema is open where a mapping would land (one additionalProperties: false
closure, against eleven in the client-identity-roster schema).

The evidence centerpiece: Q3's executed mapping

The roster decision is not a preference. The mapping onto client-identity-roster
was run against the realized schema and its real validator:

  • Honest variant: 11 errors — closed identity_kind, closed
    admission_surface (the schema routes non-Entra surfaces to
    client-infrastructure-liaison, i.e. out of roster scope), closed
    residency_model, an unresolvable consent_ref, and no home for
    granted_by / granted_at / the hosting account.
  • Force-fit variant, eight fields knowingly falsified: passes with one grantee,
    fails with two
    on duplicate-identity-key — because the grantee is not in
    the uniqueness tuple (domain, admission_surface, authority_class_intended, blast_radius_unit, duty).

Structural, not vocabulary: that roster is one principal / many scopes, a
share-out list is one scope / many principals. Widening enums cannot fix a
transposed key.

What the ratification read should look at

  • An open naming question, flagged not decided (design.md, Ruling 2): the
    generalized credential-contracts requirement keeps its vault-specific
    header while its body now states the general rule. Renaming it is a
    REMOVE-plus-ADD the disposition did not ask for. The ratifier may prefer the
    rename.
  • The roster's artifact form is deliberately open (tasks §2.1) — a
    contract-family schema with a validator, or a lighter governed record. The
    requirement fixes the entry's fields, its uniqueness key and the roster's
    role; the artifact shape is a realization call.
  • Two review-verified migration gaps carried as scope (tasks §4.2, §4.3):
    a plain --apply never creates live xf-session-* notebooks
    (--session-ref handles one named session and returns before the lifecycle
    loop; --session-sweep only retires), and ensure_workspace_record()
    derives its record id from spec.key and returns WITHOUT registering a
    same-key book carrying a new provider id — so retiring the old record would
    leave the company-hosted book unregistered.
  • Authentication of a Workspace account to the nlm CLI is not solved here,
    and design.md says so rather than implying it is routine.
  • Realization mode is likely the add-roster-device-admission-surface
    precedent (post-ratification direct realization) given the modest code
    surface — but the ratification read decides. target_release: implementation_pending holds either way: the change archives only on
    Opensoft's own cutover onto [email protected], parity proven, and the
    personal-hosted books retired by recorded act.

Review round

Codex — three findings, all real, all mine, all fixed.

  1. P1, the sharpest. 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 have retired the replacement — reproducing 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. Two scenarios cover both branches.
  2. The undeclared install was both conforming and violating — described as
    legal under a requirement opening with an unconditional SHALL declare. 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.
  3. The roster's uniqueness key contradicted its own job. Including role,
    granted_at and granted_by in the key meant a re-approval or role change
    minted a second live record, letting the roster assert a stale grant beside a
    current one — under a paragraph saying approving "writes or updates" it.
    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 ruled fields still ride on the entry and the grantee is
    still in the key
    — the finding the disposition rests on — so this refines
    the tuple rather than reopening the ruling, and design.md Ruling 1 records it
    as a refinement so the ratification read sees it.

Copilot — refuted from the record, with the ambiguity removed anyway. It
flagged the closure count as 14-not-11; on PR #272 the same reviewer flagged the
same evidence in the OPPOSITE direction. Eleven is what survives checking: a raw
grep -c returns 14 because three matches are backtick-quoted prose inside the
schema's own header block scalar (lines 37, 40, 43) explaining the closure
convention rather than applying it; parsing the YAML gives 11 objects whose
additionalProperties is false (and 1 for credential-contracts). design.md
Ruling 1 now states this explicitly so a third pass does not repeat it.

Sourcery filed its usual upsell stub — no findings.

Gates

  • openspec validate add-notebook-projection-identity --strict — valid
  • openspec validate --all --strict — 69 passed, 0 failed (69 items; 68 before
    this change)
  • pytest tests/ideation-dashboard — 3983 passed, 15 skipped
  • pytest tests/ideation_dashboard + pytest tests/doc-health — 787 passed
  • doc-health vs a fresh same-clock origin/main (49758389) baseline — 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)
  • contracts/ untouched
  • MODIFIED-requirement scenario preservation checked programmatically after
    every edit: byte-identical to the promoted spec (27 scenarios in the delta
    overall)

🤖 Generated with Claude Code

…entity 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]>
Copilot AI lite review requested due to automatic review settings August 23, 2026 18:48

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new draft OpenSpec change proposal (add-notebook-projection-identity) that formalizes the NotebookLM projection’s hosting identity as a declared, two-case install intake fact (operator-hosted Workspace user vs self-hosted/personal), and defines related governance expectations (share-out roster + recorded approval lane) and migration requirements. It fits into the repo’s OpenSpec workflow by introducing a new change packet (proposal/design/tasks + spec deltas) and listing it under README “Active changes”.

Changes:

  • Add the openspec/changes/add-notebook-projection-identity/ change packet (proposal, design rationale, tasks, and origin metadata).
  • Add spec deltas for lifecycle-notebook-projection (new requirements + modified ownership text re: declared identity/profile selection) and credential-contracts (generalize custody rule to operated identities).
  • Update README.md to list the new draft change under “Active changes”.

Reviewed changes

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

Show a summary per file
File Description
README.md Adds the new draft change to the “Active changes” list with an explanatory summary.
openspec/changes/add-notebook-projection-identity/.openspec.yaml Introduces the change’s origin/approval metadata (staged topic linkage and rationale).
openspec/changes/add-notebook-projection-identity/proposal.md Defines the change proposal, scope, and the five dispositions it encodes.
openspec/changes/add-notebook-projection-identity/design.md Captures supporting evidence and rationale for the key rulings behind the change.
openspec/changes/add-notebook-projection-identity/tasks.md Provides post-ratification realization tasks and sequencing/evidence gates.
openspec/changes/add-notebook-projection-identity/specs/lifecycle-notebook-projection/spec.md Adds/updates lifecycle-notebook-projection requirements for declared identity, share-out governance, and migration parity/retirement rules.
openspec/changes/add-notebook-projection-identity/specs/credential-contracts/spec.md Modifies credential-contracts to generalize “execution binding” custody to any operated identity, not only the vault.
Suppressed comments (1)

openspec/changes/add-notebook-projection-identity/design.md:87

  • This paragraph repeats the same incorrect additionalProperties: false closure count for the client-identity-roster schema (it is 14, not 11). Keeping the numeric evidence consistent matters because it’s used to support the mapping argument.
  That spec already carries requirements bound to no record kind, and its schema
  is open where a mapping would land: ONE `additionalProperties: false` closure
  in `xfactory-credential-contracts.schema.yaml`, against ELEVEN in the roster
  schema.

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

- `consent_ref` must RESOLVE intra-repo against a consent-instrument record;
there is no consent instrument for a colleague being shown a notebook.
- `granted_by`, `granted_at` and the hosting account have nowhere to live under
the schema's eleven `additionalProperties: false` closures.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Respectfully refuted — eleven is correct, and the packet now says why so this does not come back a third time.

Worth noting the two passes disagree with each other: on PR #272 Copilot flagged the same evidence in the OPPOSITE direction, telling me 14 was wrong and eleven was right. Eleven is the count that survives checking.

grep -c "additionalProperties: false" does return 14. Three of those matches are not keys — they are backtick-quoted prose inside the schema's own header block scalar, at lines 37, 40 and 43, explaining the closure convention:

  • 37: "CLOSED ON PURPOSE. Every object below sets additionalProperties: false,"
  • 40: "additionalProperties: false beside a branching oneOf would refuse every"
  • 43: "instead of additionalProperties: false, which is the same closure"

Parsing the YAML and counting objects whose additionalProperties is literally false gives 11 (and 1 for xfactory-credential-contracts.schema.yaml, the other half of the comparison). 14 counts the schema talking about itself.

design.md Ruling 1 now carries that note explicitly, and Ruling 2's use of the number points at it.

Comment on lines +95 to +96
would land (one `additionalProperties: false` closure, against eleven in the
client-identity-roster schema).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Same refutation as on design.md, and the proposal now carries the disambiguation inline: eleven is the parsed count of objects whose additionalProperties is false; a raw grep returns fourteen because three matches are backtick-quoted prose in the schema's own header block scalar (lines 37, 40, 43) rather than keys. The comparison is 1 (credential-contracts) against 11 (roster), and the open-vs-closed point it supports is unaffected either way.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2be0658a70

ℹ️ 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 migration SHALL replace each book's workspace record rather than merely retiring it. A re-created book keeps its derived key and therefore its record id, but carries a NEW provider notebook id; a registration step that refuses to overwrite an existing record, combined with retiring that record, would leave the new book with no active workspace record at all. The replacement SHALL be explicit and SHALL leave exactly one active record per live book.

Only once parity holds SHALL the previous account's books be RETIRED BY RECORDED ACT — archive-renamed, their aliases DELETED rather than repointed, and their workspace records retired in place. Retirement SHALL be declared, never implicit: a book left merely untouched is a book no one has judged, which is how the shared Ideation book reached its source cap before anyone called it old.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the replacement workspace record active

When the migration follows the specified order, the preceding replacement step has already reused the key-derived record ID and changed it to the new provider notebook ID, leaving exactly one active record. Retiring that same workspace record here therefore retires the replacement, reproducing the unregistered-new-book failure that this change is intended to prevent. Retire the legacy provider notebook and preserve its retirement in separate evidence/history, but do not retire the now-current registry entry.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Accepted — this is a real self-contradiction in my own draft, and the best finding of the round. The replacement step reuses the key-derived record id, so by the time the retirement step runs there IS no separate legacy record: retiring "its workspace record in place" would retire the replacement and reproduce exactly the unregistered-book failure the replacement exists to prevent. I inherited that clause from the 2026-08-10 runbook without noticing that the runbook only worked there because its successors carried NEW record ids.

Fixed in the requirement. Retirement now archive-renames the legacy book and deletes its alias, and explicitly does NOT retire the record the replacement made current — the legacy PROVIDER NOTEBOOK is what is retired, with the act preserved in the record's own history. Retiring a workspace record in place survives only for the case where a migration genuinely leaves a separate record under a distinct id, as the per-repo split did. Two new scenarios cover both branches, tasks §4.6 is rewritten to match, and design.md Ruling 4 records the defect as a third gap alongside the two your #272 round found.


An operator-hosted declaration SHALL name a Google Workspace user account in a domain the operating party controls, and SHALL NOT name a consumer account merely designated as the company's. A consumer account carries a personal recovery path back to one individual, no administrative console, and no enforceable organizational policy — it would be the operator-hosted case wearing the self-hosted case's risk.

An install that declares NOTHING SHALL be treated as undeclared rather than as either case: the sync falls back to the CLI's default profile, which is today's behavior, and the projection SHALL be reported as carrying no declared hosting identity rather than silently presented as governed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Make the undeclared fallback consistent with conformance

For an existing install with no hosting declaration, this paragraph says the state remains legal, but the requirement begins with an unconditional SHALL declare and says the declaration names exactly one of two cases. The same install is therefore simultaneously conforming and violating the requirement, so implementations and validators cannot agree on expected behavior. Make declaration optional with conditional requirements, or treat the fallback as an explicitly nonconforming transition state.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Accepted. The requirement opened with an unconditional SHALL declare and then described the undeclared install as legal, which does leave an install simultaneously conforming and violating — and an implementation and a validator could not agree on it.

Taken the second way you offered: undeclared is now an explicitly NONCONFORMING TRANSITION STATE, not a third case. Every install predating the requirement is in it, so the sync still must not break on one — it keeps today's default-profile behavior — but the install is REPORTED as not meeting the requirement rather than as a legitimate configuration. The scenario is renamed and reworded to say so, and tasks §1.2 no longer calls it "legal".


A pending share request SHALL be decided by a designated company-policy actor as a GOVERNED ACT, in the hosting account's own interface, and SHALL NOT be left to whoever happens to read the account's mail. The decision SHALL be recorded whether it grants or denies.

The record of a granted share act SHALL BE the share-out roster entry itself, not a separate audit trail beside a list. Approving a request writes or updates the roster; denying one is recorded in the same lane. A roster entry SHALL be keyed on `(hosting_account, user, book_or_alias, role, granted_at, granted_by)`, and SHALL reference a governed persona wherever the identity-brokering family resolves one for that human, falling back to a bare address only where no persona resolves.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use a stable identity key for roster updates

When an existing grantee is re-approved, changes role, or is granted again by another actor, including role, granted_at, and granted_by in the uniqueness key makes every decision a distinct record rather than updating the existing share. The roster can then simultaneously assert stale and current access, despite this paragraph defining it as the roster itself rather than an audit trail and saying approval writes or updates it. Key the current grant on stable scope/principal fields and retain actor/time as attributes or separate history.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Accepted. Putting role, granted_at and granted_by in the uniqueness key contradicts the same paragraph's claim that the roster IS the record of current access and that approving "writes or updates" it: a re-approval, a role change, or a grant by a different actor would each mint a second live record, letting the roster assert a stale grant beside a current one.

Uniqueness is now keyed on the stable (hosting_account, user, book_or_alias) triple, with role, grant time and granting actor as ATTRIBUTES of that entry and superseded decisions retained as history. All six fields still ride on the entry, and the grantee is still in the key — which is the whole structural difference from the client-identity roster and the finding the disposition rests on, so this refines the tuple without reopening the ruling. A new scenario covers the re-decision case, tasks §2.2 now demands proof in both directions (two grantees on one book stay distinct; one grantee re-decided updates in place), and design.md Ruling 1 records the refinement explicitly so the ratification read sees it rather than finding a silently different key.

…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]>
Copilot AI review requested due to automatic review settings August 23, 2026 18:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/add-notebook-projection-identity/proposal.md:23

  • Inline code spans can’t include a newline in Markdown; the backticked book title starts on the prior line and closes on the next, so it won’t render as intended.
The entire governed NotebookLM projection — every per-repo `xFactory Ideation
— <RepoName>` book, `xf-drafts`, `xf-canon`, and every live `xf-session-*`
notebook — is created by `scripts/sync-notebooklm-books.py` under the `nlm`

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.
…ement

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]>
Copilot AI review requested due to automatic review settings August 23, 2026 19:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread README.md
Comment on lines +322 to +325
declared account's profile; access is shared out FROM that account and never
by handing out its credentials; a governed manual approval act WRITES the
share-out roster, which IS the record rather than an audit trail beside one,
keyed `(hosting_account, user, book_or_alias, role, granted_at, granted_by)`.
…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]>
Copilot AI review requested due to automatic review settings August 23, 2026 19:53
@brettheap
brettheap merged commit 0ce4f6f into main Aug 23, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Suppressed comments (1)

README.md:325

  • The README says the share-out roster is keyed on (hosting_account, user, book_or_alias, role, granted_at, granted_by), but the spec text in this change defines UNIQUENESS as the stable triple (hosting_account, user, book_or_alias) with role / granted_at / granted_by as attributes so re-decisions update the single live entry. This summary should match the ratified requirement.
  by handing out its credentials; a governed manual approval act WRITES the
  share-out roster, which IS the record rather than an audit trail beside one,
  keyed `(hosting_account, user, book_or_alias, role, granted_at, granted_by)`.

Comment thread README.md
Comment on lines +307 to +309
- [add-notebook-projection-identity](openspec/changes/add-notebook-projection-identity/proposal.md)
— authored 2026-08-23, **NOT YET RATIFIED** (`Status: draft`). The single exit
of the staged topic `notebook-projection-identity`, raised the day its last
@brettheap
brettheap deleted the change/add-notebook-projection-identity branch September 4, 2026 19:24
brettheap added a commit that referenced this pull request Sep 8, 2026
…e rule from freezing the estate

G1 (MAJOR) — "a family that declares no re-derivation rule has not earned a
pin: the edit MUST be refused" would have refused EVERY pinned-target edit in
the estate on the day this change archives. Measured: NO family anywhere has a
declared rule. The consent family's is PROPOSED only — the schema still reads
contract_schema_version: 2, carries no custody_rederivations property,
contracts/manifest.yaml still declares contract-v3.4, and all 46 boxes of
add-consent-custody-rederivation-record are unticked. The register home
models/content-address-families.yaml exists neither on OpsxFactory main nor on
the branch that proposes it, where authoring it is task 2.1. And
code_surface: none means this change archives ON LANDING with nothing to
sequence behind. So the requirement now REPORTS an edit whose family has
declared no rule — naming the family, the target and the home that owes it —
and becomes a REFUSAL for that family the day it declares. The measurement is
in § Impact, the clause and a new scenario pair are in the delta, and the
refuse-outright reading is recorded in design D-7 as Brett Heap's veto point at
task 1.2, with its cost stated: it stops the corrective work this rule exists
to govern, the routine lifecycle-header discharge and the F.1/F.2 repairs
included.

G2 — proposal.md cited the OpsxFactory register at its ARCHIVE path as fact.
That archive is in flight (#273 still OPEN), so both paths are now named: the
live path at that repository's main today, and the archive path it files at on
merge. A citation of an archive path written before the archive lands is a
claim about a file that does not yet exist, which is the class of defect the
citing repository's own gate exists to refuse.

G3 — moved_by "#785" is now ideation/remove-moved-domain-files, another lane's
OPEN pull request; the second time this trap has sprung on this lane after
#757. Task 0.1 says so and is mandatory: re-stamp AT PR-OPEN, exactly one row
moves, the seeder is otherwise a no-op.

G4 — trailers. The earlier merge commit 5e69fa0 carried none; it is pushed and
is not rewritten, because the branch does not force-push. Every commit from
here, merge commits included, carries the three trailers.

G5 — "7,139 characters" labelled the DELTA block as though it were the size of
the change. Canon's block is 5,815. Re-measured after G7 and the line-one hoist
below: delta 7,150, inserted 1,335, canon lines removed 0. Relabelled in the
proposal, design, tasks and the README row, with the slice method stated so the
number is checkable.

G6 — a family's rule may be declared in the declaring repository's
content-address register OR in the neutral contract that owns the family. Not a
hedge: the consent family's rule is a property of the instrument schema and
belongs in the contract wherever the instrument is held, while a
repository-local family has no contract to live in. Naming only the register
made the estate's one nearly-ready rule homeless.

G7 — "needing nothing further from it" overstated the discharge; a header
backfill is within the bookkeeping class AND still takes the route's recorded
ruling.

G8 — "the same day" is true in UTC only. Both timestamps are now named with
their clock: govern-openspec-corpus-membership's archive commit 01ff343 at
2026-08-23T23:06:12-04:00 = 2026-08-24T03:06:12Z, against 57fd9fd2 at
2026-08-24T04:08:48-04:00 = 2026-08-24T08:08:48Z — five hours apart, same UTC
date, one calendar day apart in the authoring clock.

AND ONE FIND OF MY OWN, from running the twin's F1 check over this delta rather
than assuming it was local: this half's second ADDED requirement had the SAME
line-one defect — SHALL sat on line two, and the parser reads only line one.
Hoisted here as it was there. Recorded in design, because a finding against one
half of a matched pair is a hypothesis about the other half until measured.

Box count 23 -> 24 (new task 1.2; 1.2-1.4 renumbered to 1.3-1.5).

Gates at this head: pinned 1.12.0 --change strict 1 passed / 0 failed and
--all --strict 99 passed / 2 failed with 0 UNDISPOSITIONED (main's two standing
dispositions); validate-sequenced-after clean, --ledger-diff consistent (184
rows), validate-scope-globs clean, validate-manifest-digests 188 verify; pytest
tests/sequenced_after tests/proposal-support tests/scope_globs 330 passed.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 8, 2026
…ere, and a neutral minimum for the note

J1 — the transition clause landed in the requirement body and a scenario, but
the REFUSAL posture survived in four other places and contradicted it. All four
are fixed. spec.md's "an edit that cannot re-derive its dependents may not land"
listed "the rule is undeclared" as a refusal ground; it is struck from that list
and named as deliberately not in it — an undeclared rule is an ABSENT
OBLIGATION, not a failed re-derivation. tasks.md said the requirement "REFUSES
an edit where none is declared"; it now reports and converts on declaration.
design.md D-7's heading and Decision still read "refused until one is"; the
heading is now "an undeclared family is REPORTED until it declares" and the
decision states the transition, with the refusal reading kept as the recorded
veto below. And D-7's rejected-alternatives line rejected "a warning where the
rule is undeclared", which this packet's own report could be mistaken for — the
line now draws the distinction: a warning names nothing, is recorded nowhere and
expires with the terminal buffer, while the report NAMES the family, the target
and the owing home, lands as a gate finding, and CONVERTS to a refusal on
declaration.

J2 — task 0.1's re-stamp procedure was measurably wrong, and I re-measured it
rather than taking it on report. `--seed-ledger --moved-by '#999'` at this head
printed "184 rows, 0 moved by #999" and produced a ZERO-LINE diff, leaving
moved_by "#785" in place: the seeder preserves provenance for rows whose derived
keys did not move, and this row's are already correct. Task 0.1 is now a DIRECT
one-field edit of moved_by followed by --ledger-diff, which I also measured with
the field edited by hand: "per-change sweep ledger consistent with the corpus
(184 rows)". Legitimate because the ledger's own doctrine makes moved_by
author-supplied and unverified, shape-checked only.

J3 — .openspec.yaml cited the OpsxFactory register at its ARCHIVE path and said
"archived 2026-09-07", while PR #273 is still OPEN and that path does not exist
on that repository's main. Both places now hedge exactly as the proposal and the
README row already did: live path today, archive path on #273's merge, "archive
in flight".

J4 — the requirement required "the bookkeeping note the editing repository's own
archived-packet convention already requires", and openxFactory — the repository
this capability is promoted in — HAS NO SUCH CONVENTION. Only OpsxFactory has
written one down, so the delegation left the note obligation absent in the
loosest repository in the estate, and the packet named only OpsxFactory and
"every other DomainxFactory" as owing anything. The requirement now states a
NEUTRAL MINIMUM: a dated `Edited (bookkeeping): <UTC date> by <change-id> —
<edit class>` line in the edited file's OWN lifecycle-header block, the one part
of an archived file this rule already permits the edit to touch — so recording
the edit cannot itself be an edit the rule forbids. A local convention may be
stricter and must not be absent. New scenario for the no-convention case, new
task 3.4 adopting the minimum in openxFactory's own
docs/document-lifecycle.md, and openxFactory is now named explicitly in § Impact
and in the README row as owing an act of its own.

J5 — "F.1 … discharged by add-consent-custody-rederivation-record" contradicted
this packet's own measurement two sections later: that packet is a ratified
PROPOSAL with 46/46 unticked, the three pins are still broken and the contract
still reads contract_schema_version 2. Now "ADDRESSED BY — not discharged by",
in the proposal and the README row, with the reason stated.

J6 — a scenario bullet carried the dated fact "no family in the estate having
declared one when this requirement was written", which promotes into undated
canon. The scenario now states the condition undated — an absent obligation is a
different fact from a failed re-derivation — and the dated measurement stays in
§ Impact and design where it belongs.

Block re-measured after these edits: canon 5,815, delta 7,186, 1,371 inserted, 0
canon lines removed; relabelled in all four places.

Box count 24 -> 25 (new task 3.4; the DomainxFactory sweep becomes 3.5).

Gates at this head: pinned 1.12.0 --change strict 1/0 and --all --strict 99
passed / 2 failed with 0 UNDISPOSITIONED; validate-sequenced-after clean,
--ledger-diff consistent (184 rows), scope-globs clean, manifest-digests 188
verify; doc-health finding set diff-identical to main (92/92, 0 either way);
pytest tests/sequenced_after tests/proposal-support tests/scope_globs 330
passed.

Lane: opsXfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
brettheap added a commit that referenced this pull request Sep 21, 2026
…ured from the API (#1127)

Lane: openxfactory-2 (openXfactory-2)

**THE WORD, verbatim: "do 1 and 2, claim 5"** — Brett Heap, 2026-09-21T20:24:51Z, in session to lane `openxfactory-2` (display `openXfactory-2`), recorded on openxFactory [#745](#745 (comment)) (comment 5767008640). **Item 1 is this box**: measure the THIRD consecutive cycle for `extend-merge-master-envelope-to-floor-bot-lanes` § 4.2 and record it.

**THE RESULT: THE THIRD CYCLE EXISTS, IT WAS FULLY UNATTENDED, AND THE BOX TICKS.** The brief allowed for the opposite outcome — that `floor-regeneration` had reported "nothing owed" hourly since 2026-09-10T17:22Z and there had been no third cycle, in which case the box stays open with a dated "still two" annotation. That is not what the API says: the lane owed nothing until **2026-09-18**, and then ran.

## The measurement — codexFactory half, three consecutive cycles

| # | pull request → merge | merged at | merged by | human acts |
|---|---|---|---|---|
| 1 | [#314](codeXfactory/codeXfactory#314) → `b08958ae` | 2026-09-09T23:27:22Z | `openxfactory[bot]` | **ONE** — `brettheap` re-dispatched the approval leg (run `34407492987`, `run_attempt` **2**, `triggering_actor` `brettheap`). The 2026-09-10 note's "one hand dispatch", now verified independently |
| 2 | [#325](codeXfactory/codeXfactory#325) → `df42f803` | 2026-09-10T01:55:14Z | `openxfactory[bot]` | **NONE** |
| 3 | [#491](codeXfactory/codeXfactory#491) → `b21f0100` | 2026-09-18T22:50:17Z | `openxfactory[bot]` | **NONE** |

**Cycle 3 in full.** codexFactory #491, head `floor/bot-regeneration` at `2e45de457b543e14edbfc9188b7f007696ed7c73`, author `openxfactory[bot]`, base `main`, opened 2026-09-18T22:23:53Z, merged 26 min 24 s later, changing exactly one path — `floor/openxfactory-review-authority-floor.yaml` (+4 −3). Auto-merge enabled by `openxfactory[bot]` three seconds after opening. Every timeline actor a bot (`openxfactory[bot]`, `github-actions[bot]`, `sonarqubecloud[bot]`, `codexfactory[bot]`), no human among them. All four head runs at `run_attempt` 1, `triggering_actor` `openxfactory[bot]`, on `pull_request`/`pull_request_target`. Approving evaluation run [`35403220985`](https://github.com/codeXfactory/codexFactory/actions/runs/35403220985) (`check_suite`, `triggering_actor` `openxfactory[bot]`) submitted review `5253277461` as `codexfactory[bot]` at 22:50:04Z.

**The decisive negative: every one of the 128 `floor-regeneration` runs in codexFactory since 2026-09-10 fired on the `schedule` event, and NOT ONE on `workflow_dispatch`.** No approval leg was hand-dispatched anywhere in the window covering cycles two and three. (A scheduled run renders `triggering_actor: brettheap` because GitHub attributes cron to the workflow's last committer; the `event` is `schedule` and it is not a human act. Stated out loud because the field invites the opposite reading.)

**Consecutive, proved rather than assumed.** The only commit on codexFactory `main` touching `floor/openxfactory-review-authority-floor.yaml` since 2026-09-10T02:00Z is `2e45de45` (#491's own). The only other `floor/bot-regeneration` pull request in the eight-day gap is **#382**, box 3.3's constructed negative control — authored by `brettheap`, titled "NEVER MERGE", closed unmerged. No cycle was skipped, parked, or human-merged between #325 and #491.

## The before/after figure

**BEFORE, re-measured the same way rather than quoted forward:** codexFactory #248 (`7f147070`), #254 (`307d38f1`), #265 (`aced582b`), #273 (`4b12ba83`) were each merged by `brettheap`, and so was each paired openxFactory re-pin — #732 (`9ffc6252`), #747 (`d5a549e4`), #764 (`8d92bfaf`). #273 → `4b12ba83` and #764's title *"Advance the pinned decision core to `4b12ba83…`"* are one matched pair, which is what makes the pairing a measurement. **Two human merges per advance of the pinned core, one per repository.**

**AFTER — human MERGES per advance: ZERO**, across all three cycles and, as of cycle three, in both repositories. **Human ACTS per advance: ONE**, and it is the openxFactory re-pin half's **approving review** — the half decision N-1's recommended scope deliberately left under a human word.

Cycle three is the first cycle in which that half ran as a bot pull request at all, so it is the first whose figure is readable end to end: openxFactory [#1122](#1122), head `bot/review-lane-repin` at `7fd34286`, author `openxfactory[bot]`, titled *"Advance the pinned decision core to `b21f010013fa51960c77377a8582943435b6db32`"* — **#491's own merge sha, which is what ties the two halves into ONE cycle rather than two coincidences** — opened 2026-09-18T23:24:43Z with auto-squash enabled by the bot, **APPROVED by `brettheap` at 2026-09-19T00:53:32Z** after waiting 1 h 28 min 49 s, merged by `openxfactory[bot]` **five seconds after that approval** at 2026-09-19T00:53:37Z, merge `38f826c2`. `contracts/review-lane-pin.yaml:60` on `main` now reads `core_commit: "b21f010013fa51960c77377a8582943435b6db32"` — the cycle is closed end to end.

**The cost fell from two human merges to one human approving review, and the button itself is now bot-pressed in both repositories.** Cycles one and two have no re-pin artifact of their own (§ 3.4's standing finding); their pin advance was folded into hand-authored openxFactory #922, authored *and* merged by `brettheap` 2026-09-10T21:55:20Z. That is why the end-to-end figure is measured over one cycle while the **admitted** lane's own half — all this packet changed — is measured over three, which is what the box's text asks for.

## Two things this hands other boxes — named, not performed

1. **#491's approval record renders `Candidate class: openxfactory-floor-regeneration` in full**, with the kill-switch sentence beside it. The `unrecorded` rendering that § 3.1 and the council record's **R-7** stay open on is **FIXED on the live approval path**. § 3.1 is not this box's to tick and is left open for its own author to read the run.
2. The sibling packet `admit-review-lane-repin-to-merge-approval-envelope` was RATIFIED WITH AMENDMENT holding realization until *"the third unattended codexFactory cycle is measured and the unrecorded-class fix is observed on a live approval"*. **Both preconditions are met by the evidence above.** Recorded for that packet's author rather than acted on here. Its enrolment is still absent from openxFactory `.github/merge-approval-envelope.yml` (sole candidate remains `expected_head_ref: intents/rolling`) — which is *why* #1122 needed the human review, so the reading is consistent rather than merely compatible.

Also superseded: `amend-kill-switch-to-declared-test-companion`'s premise that no bot cycle exists to observe ("nothing owed" since 2026-09-10T17:22Z) was true when written and is not any more. Named, not acted on.

## What this pull request changes

**One file, 135 insertions, 1 deletion:** `openspec/changes/extend-merge-master-envelope-to-floor-bot-lanes/tasks.md`.

- § 4.2 ticked `[x]` with a dated **2026-09-21** annotation carrying the whole measurement.
- A dated **2026-09-21** superseding section appended at the end, stating the 2026-09-10 addendum table's row `| § 4.2 human cost after | OPEN | two consecutive cycles measured; the box requires three |` as **history** and giving its current state as **TICKED**.

**A JUDGMENT, STATED RATHER THAN BURIED.** The brief directed the summary table row to be edited. That row exists in exactly one place in the repository — `tasks.md:830` — and it sits inside a table the file's own rule opens with: *"APPENDED, NOT A REWRITE."* Editing a dated record in place would break the discipline every prior act in this file kept. So the row is **superseded by a later dated section** — the same form PR #927's superseding paragraph and the 2026-09-11 sections used, and for the same reason. Nothing dated is rewritten.

**The checklist state after this PR:** open by their own text — 3.1, 3.4, 3.6, 4.1, 4.4 (`grep -n '^- \[ \]'` confirms exactly these five). § 4.2 leaves that list; 29 boxes ticked. **The packet is NOT archived** — § 4.4 is separately open by its own text and this PR does not touch it, and § 4.1's evidence set is not assembled while 3.1, 3.4 and 3.6 stand open.

## Validation, all run in the foreground on this head

| command | result |
|---|---|
| `OPENSPEC_TELEMETRY=0 openspec validate extend-merge-master-envelope-to-floor-bot-lanes --strict` | **valid** |
| `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **106 passed, 1 failed** (107 items). The one failure is `add-chain-attestation` (`signed-execution-chain/spec.md`, a MODIFIED block omitting a scenario) — pre-existing on `origin/main` and untouched by this PR, whose diff is one file in a different change directory. Note for the record: COMMON.md expects *two* pre-existing failures; `add-composed-view-authoring` is no longer among the active changes, so only one remains |
| `python3 scripts/proposal-support.py . verify` | **proposal support verification ok** |
| `python3 scripts/validate-sequenced-after.py . --ledger-diff` | **per-change sweep ledger consistent with the corpus (222 rows)**; 44 active + 178 archived; deepest declared chain 4 hops |
| `python3 scripts/doc-health.py --single-repo . --family modified-block-currency` | **exit 0**, 12 findings, all `severity=info class=contested`, **0 naming this packet** — all pre-existing in other change packets. This PR adds no spec delta, so it cannot move this family |

Lands under Rule 6 on Brett Heap's landing word when the eight required checks are green and Copilot is clean.

refs #745

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Complete the § 4.2 measurement by documenting three consecutive API-verified cycles and the resulting reduction in human intervention.

Enhancements:
- Record the third consecutive post-change cycle and confirm the per-cycle human cost decreased from two human merges to zero, with one approving review remaining in the end-to-end cycle.

Chores:
- Mark checklist item § 4.2 complete while preserving dated historical entries through an appended superseding record.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants