Repository navigation
docs: redact the convener's addresses outside ideation/ to role placeholders (Q1 prose + Q3 archived records, dispositioned) - #786
Conversation
… ruled 2026-09-08) Lane: provenance-autonomous-merge Brett Heap ruled Q1[A] on the redaction-outside-ideation decision sheet (2026-09-08T03:36Z, interactive walkthrough): ahead of openxFactory going public, redact the four real addresses in prose OUTSIDE ideation/ to the same role placeholders PR #771 (757d029) used inside ideation/. - [email protected] -> `<convener-workspace-identity>` - [email protected] -> `<convener-personal-mailbox>` - [email protected] -> `<convener-personal-mailbox>` - [email protected] -> `<service-account-identity>` 37 lines over 8 files, meaning preserved sentence by sentence. Placeholders are backticked wherever they sit in prose (a bare `<...>` token would render as an unknown HTML tag and vanish) and bare inside fenced command/code blocks, where the surrounding text is not Markdown. scripts/nlm_auth.py changes DOCSTRING PROSE ONLY — the harness reads the real address from the vault and no code path moves. docs/notebook-projection-migration-evidence-2026-08-24.md is a `record` document; it carries a one-line REDACTED note pointing at the disposition record, and it already fires the pre-existing `record-immutability` finding (4 such records on main, this one among them) rather than a new one. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…anges, dispositioned (Q3, ruled 2026-09-08) Lane: provenance-autonomous-merge Brett Heap ruled Q3[A] on the redaction-outside-ideation decision sheet (2026-09-08T03:36Z, interactive walkthrough): a DATED immutability-exception disposition plus in-place redaction, rather than leaving 17 personal-address lines browsable at HEAD when openxFactory goes public. document-lifecycle treats an archived change and a `record` document as immutable evidence, so the exception is recorded rather than taken silently: - NEW `review/redaction-disposition-2026-09-07.md` in each of the two archived changes — what was redacted (per-file line and occurrence counts), why, that it is the only content change, where the original bytes are (543d47a, openxFactory origin/main at the branch point), and that the ratification and the retirement-gate clearance are unaffected. - ONE added header line per touched file, after its front-matter/`Status:` block: a `#` comment in `.openspec.yaml`, a one-line blockquote in the Markdown files, naming the disposition record and that commit. 42 address lines over 9 files. No requirement, scenario, tick, count, date or ruling moves. `tasks.md` § 4.7's dotted/undotted retry keeps its measurement by naming "the same mailbox undotted" — both Gmail spellings are one mailbox and share one placeholder. The archived delta's `- **AND** …` bullet now names the placeholder while the PROMOTED spec still names the real account: that is Q2[A], a separate governed change, and `promotion-fidelity` compares requirement and scenario TITLES, so the temporary divergence raises no finding (measured, per family, before and after). Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: provenance-autonomous-merge The mapping tables spelled the four addresses out, which put back at HEAD exactly what the act removes. Both records now name them by role. Co-Authored-By: Claude Fable 5.1 <[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 ✨
There was a problem hiding this comment.
🟡 Changes recommended
A few operational/runbook snippets now present redaction placeholders as literal expected output or literal config values, which can mislead operators and trigger incorrect manual steps.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR implements the Q1 + Q3 ruling to redact the convener’s email addresses outside ideation/ by replacing them with the same role placeholders introduced in PR #771, while also recording disposition evidence for the otherwise-immutable archived OpenSpec change packets.
Changes:
- Redacts convener/hosting-account email addresses in top-level prose and operational docs (README +
docs/+examples/comments +scripts/nlm_auth.pydocstring). - Redacts the same addresses inside two archived OpenSpec change record sets, adding a one-line per-file redaction note.
- Adds a dated redaction disposition record to each affected archived change packet to document and justify the immutability exception.
File summaries
| File | Description |
|---|---|
| README.md | Replaces referenced addresses with role placeholders in the archived-changes narrative. |
| docs/lifecycle-notebook-projection.md | Redacts referenced identities in projection documentation. |
| docs/notebook-projection-migration-evidence-2026-08-24.md | Redacts identities in a Status: record report and adds a redaction header note. |
| docs/notebook-projection-migration-runbook.md | Redacts identities in the migration runbook prose/steps. |
| docs/notebook-projection-retirement-runbook-step8.md | Redacts identities in retirement runbook steps and expected-output guidance. |
| docs/notebooklm-sync-open-item.md | Redacts identities in operational guidance, including “expect” lines and a JSON-edit snippet. |
| examples/lifecycle-notebook-workspaces.yaml | Redacts identities in YAML comments describing migration/retirement history. |
| scripts/nlm_auth.py | Redacts identities in docstring prose describing profile metadata behavior. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/.openspec.yaml | Adds redaction header and replaces addresses with placeholders in archived packet metadata. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/proposal.md | Adds redaction header and redacts addresses in archived proposal prose. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/design.md | Adds redaction header and redacts identities in archived design record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/tasks.md | Adds redaction header and redacts identities throughout the archived task record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/specs/lifecycle-notebook-projection/spec.md | Adds redaction header and redacts a scenario bullet in the archived delta spec. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/review/ratification-2026-08-23.md | Adds redaction header and redacts identities in archived ratification record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/review/retirement-gate-clearance-2026-08-26.md | Adds redaction header and redacts identities in archived clearance record. |
| openspec/changes/archive/2026-08-31-add-notebook-projection-identity/review/redaction-disposition-2026-09-07.md | New disposition record documenting the archived-packet redaction exception and counts. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/.openspec.yaml | Adds redaction header and redacts the hosting account in archived packet metadata. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/proposal.md | Adds redaction header and redacts the hosting account in archived proposal prose. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/review/redaction-disposition-2026-09-07.md | New disposition record documenting the archived-packet redaction exception and counts. |
Review details
Suppressed comments (2)
scripts/nlm_auth.py:293
- This comparison example implies the stored value is the literal placeholder; the stored value is the real declared email (redacted in repo prose). Clarifying avoids suggesting operators should ever see
<service-account-identity>in their on-disk profile metadata.
Address comparison is CASE-INSENSITIVE and keeps the STORED spelling on a
match — `<service-account-identity>` as recorded from the vault vs a
lower-cased scrape must not read as two accounts (the sync compares
docs/notebooklm-sync-open-item.md:315
- This snippet now sets
metadata.json’semailto the literal placeholder, which would cause a mismatch against the real declared hosting identity (and could trigger refusal/--forcebehavior). The redaction should be clearly labeled as “substitute the real value”, so no one pastes it verbatim.
p = pathlib.Path.home() / ".notebooklm-mcp-cli/profiles/company/metadata.json"
m = json.loads(p.read_text())
m["email"] = "<service-account-identity>"
p.write_text(json.dumps(m, indent=2) + "\n")
- Files reviewed: 19/19 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ```bash | ||
| nlm login switch company | ||
| nlm auth status # expect [email protected] | ||
| nlm auth status # expect <service-account-identity> |
|
|
||
| ```bash | ||
| nlm login profile list # expect: company: [email protected] | ||
| nlm login profile list # expect: company: <service-account-identity> |
| has been false since 2026-08-24: the `company` profile records | ||
| `[email protected]`, set from the vault-held username precisely so the | ||
| `<service-account-identity>`, set from the vault-held username precisely so the | ||
| sync could check it. |
|
LANDING — lane provenance-autonomous-merge, session f1356e27-665d-4119-b47e-a5e66efdce00, 2026-09-08T12:28:27Z, PR #786 into openxFactory main Brett Heap (convener), verbatim "Merge 786 now", 2026-09-08T12:28:27Z (interactive walkthrough; rulings Q0[A] Q1[A] Q3[A] on ~/session-prompts/redaction-outside-ideation-decision-2026-09-07.md). Registered-green: 9/9 pass, 0 pending at cd3134d. Lane: provenance-autonomous-merge |
Lane: provenance-autonomous-merge
The ruling
Brett Heap ruled Q0[A] Q1[A] Q2[A] Q3[A] at 2026-09-08T03:36Z, via the
interactive multi-choice walkthrough, on the decision sheet
/home/brett/session-prompts/redaction-outside-ideation-decision-2026-09-07.md("openxFactory repo-wide redaction OUTSIDE
ideation/, gate on the PUBLICflip"). The sheet counts everything on
mainthat carries one of theconvener's four addresses outside
ideation/, which PR #771 (757d029a)already redacted inside
ideation/.This PR implements Q1 and Q3 only. Q2[A] — the promoted
lifecycle-notebook-projectionscenario,examples/notebook-projection-hosting.yamland the three
tests/notebooklm/fixtures — is a separate governed changebeing authored in parallel; none of those five files is touched here.
Placeholders are the ones already in the tree from #771, not the sheet's
shorthand:
<convener-workspace-identity><convener-personal-mailbox><service-account-identity>The sheet abbreviated the third as
<service-account>;757d029aactuallywrote
<service-account-identity>insideideation/, and the tree is keptself-consistent so one grep finds every placeholder.
Q0 residual — the history still carries the bytes
Redaction is at HEAD only, by ruling. The git history is not rewritten and
must not be: every consumer pins openxFactory by commit and digest (MedxSoft,
LedgerxFactory, codexFactory, the aggregation), so a
filter-reporewrite or afresh-history republish would invalidate every one of those pins the same way
the already-refused fork would. The public flip publishes the full history
either way; this PR removes the addresses from browse, search and
clone-at-HEAD. Q0[A] accepts that residual, and the sheet says to record it in
the flip step of the runbook.
Files (address LINES before -> after; occurrences in brackets)
Q1 — prose (8 files, 37 lines, 38 occurrences)
README.mddocs/lifecycle-notebook-projection.mddocs/notebook-projection-migration-evidence-2026-08-24.mddocs/notebook-projection-migration-runbook.mddocs/notebook-projection-retirement-runbook-step8.mddocs/notebooklm-sync-open-item.mdexamples/lifecycle-notebook-workspaces.yaml(comments only)scripts/nlm_auth.py(docstring only)Q3 — archived records (9 files, 42 lines, 45 occurrences)
openspec/changes/archive/2026-08-31-add-notebook-projection-identity/.openspec.yaml…-add-notebook-projection-identity/proposal.md…-add-notebook-projection-identity/design.md…-add-notebook-projection-identity/tasks.md…-add-notebook-projection-identity/specs/lifecycle-notebook-projection/spec.md…-add-notebook-projection-identity/review/ratification-2026-08-23.md…-add-notebook-projection-identity/review/retirement-gate-clearance-2026-08-26.mdopenspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/.openspec.yaml…-add-notebook-hosting-credential-custody/proposal.mdNew (2 files) —
review/redaction-disposition-2026-09-07.mdin each of thetwo archived changes.
19 files changed. No Q2 file. Nothing under
ideation/.Three judgment calls inside the redaction
<placeholder>in Markdown prose renders as an unknownHTML tag and vanishes, so every prose placeholder is backticked (as ideation: redact the convener's addresses to role placeholders #771 has
them); inside fenced command/code blocks the placeholder is bare, because the
surrounding text is not Markdown.
tasks.md§ 4.7, where thesentence's whole point was the dotted/undotted Gmail retry and both spellings
now share one placeholder: "the undotted spelling of the same mailbox" and
"the same mailbox undotted". The measurement each sentence records is
unchanged. Everywhere two DIFFERENT addresses are contrasted (Workspace
identity granted vs personal mailbox refused) the two distinct placeholders
keep the contrast legible.
scripts/nlm_auth.pychanges docstring prose only. The harness reads thereal address from the vault; no code path moves.
Q3 — why an archived change is edited at all
docs/document-lifecycle.mdtreats an archived OpenSpec change and arecord-status document as immutable evidence, so this is a dispositionedexception, not a silent edit:
review/redaction-disposition-2026-09-07.md— stating what was redacted(per-file line and occurrence counts; the addresses are named by ROLE in the
record, since spelling them out would put back at HEAD exactly what the act
removes), why (the public flip; Brett's Q3[A] of 2026-09-08T03:36Z; lane
provenance-autonomous-merge), that the redaction is the only content
change, that the original bytes remain at
543d47a96970d48b1c988e2293927c800bb1ff08(origin/mainat the branchpoint) and in every commit before it, and that the ratification of
2026-08-23 and the retirement-gate clearance of 2026-08-26 are unaffected.
front-matter /
Status:header block so no lifecycle-header reader moves: a#comment in.openspec.yaml, a one-line blockquote in the Markdownfiles, reading
REDACTED 2026-09-07: email addresses -> role placeholders per review/redaction-disposition-2026-09-07.md; original bytes at 543d47a9. Nofile had to be left without one.
docs/notebook-projection-migration-evidence-2026-08-24.mdis a Q1 file butalso carries
Status: record, so it takes the same one-line note pointing atthe disposition record.
One deliberate, temporary divergence: the archived delta's
- **AND** …bullet now names the placeholder while the promotedopenspec/specs/lifecycle-notebook-projection/spec.mdstill names the realaccount — that is Q2's change, landing separately.
promotion-fidelitycompares requirement and scenario TITLES, not body bullets, so the divergence
raises no finding; measured, not assumed (see below).
No
health/dispositions.yamlentry is offered, and none would help. Thatfile resolves as
ctx.agg_root / "health" / "dispositions.yaml"— it lives inthe AGGREGATION repository, not here — and
record-immutabilityreads nodispositions at all, so nothing in this repository could suppress that family.
The in-repo disposition records are the mechanism the ruling names.
Verification (all from the worktree root)
1.
git grep -n -E 'xFactor001@opensoft\.one|brettheap@gmail\.com|brett\.heap@farheap\.com|brett\.heap@gmail\.com'Lists ONLY the five Q2 files and nothing else:
The same grep with those five paths excluded exits 1 (no match).
2.
OPENSPEC_TELEMETRY=0 openspec validate --all --strictByte-identical to the baseline taken on the same tree before any edit —
100 passed / 1 failed, the same pre-existing
disposition-codexfactory-declared-renamesfailure. (The sheet's "98 passed / 1 failed" was measured on an earlier tree;
the item count has since grown to 101.)
3. doc-health
CI runs
python3 openxFactory/scripts/doc-health.py --repo-root .from theaggregation root (
.github/workflows/doc-health-reusable.yml), which has nocounterpart in a single-repo worktree, so this was run the way a PR self-gates:
python3 scripts/doc-health.py --single-repo . --family <f>, once per family,against the SAME tree before and after the edits.
That is one INFO trend row whose number moved because two
draftdocumentswere touched today (min draft age 1 -> 0 days); the finding KEY is identical,
so nothing arrives and nothing vanishes. No other family moves — including
record-immutability, whose four CRITICAL findings are unchanged:docs/notebook-projection-migration-evidence-2026-08-24.mdwas already oneof the four on
mainbefore this PR, so its finding persists rather thanarrives, and the family reads the governed corpus (
contracts/,docs/,examples/,ideation/,templates/) and notopenspec/changes/, so thearchived record set is outside its scope.
4. pytest
The full
tests/tree does not finish in a foreground budget (unrelated to thisPR —
tests/ideation-dashboardalone runs past 560s), so it was taken insubsets, all green:
The one
errorin the first pass was environmental and is now gone: a freshgit worktreehas no submodules, sotests/clearingrefused on the missingpinned openXwallet reader (
git submodule update --init openXwallet, then 203passed).
5.
git diff --stat origin/main...HEAD— 19 files: the 17 Q1+Q3 files plusthe 2 new disposition records. No Q2 file, nothing under
ideation/, and nohealth/dispositions.yamlchange (see above for why none applies).Rule 6: touches openspec/changes/ — the lane posts LANDING/LANDED at merge; not for merge without Brett's word.