Repository navigation
Closed
Description
SEED: NotebookLM Integration for t27
Ring Assignment: Ring-071
Status: Pending
Created: 2026-04-07
Summary
Integrate Google NotebookLM as RAG-backed semantic memory for t27 to solve session amnesia. Each Claude Code session can upload wrap-up summaries to NotebookLM, enabling semantic search across all sessions with minimal token costs.
Hypothesis
NotebookLM integration provides "infinite memory" with:
- Persistent storage of session wrap-ups
- Semantic search via RAG
- Minimal token costs (search results retrieved, not regenerated)
- Natural language query interface
Research Outcomes
API Strategy Decision: Use notebooklm-py SDK (v0.3.4)
- Reverse-engineered Protobuf RPCs
- Cookie-based authentication via Playwright storage state
- Full SDK with 5.6k+ GitHub stars
- No official consumer API available
Feasibility: Verified
- SDK installation and API exploration complete
- Authentication flow documented
- Async nature requires wrapper functions
- Storage state:
~/.notebooklm/storage_state.json
Decomposition Plan
27 atomic tasks across 5 phases:
- Phase 0 (T01-T04): Research & Decision - COMPLETED
- Phase 1 (T05-T09): Specification - .t27 spec creation
- Phase 2 (T10-T17): Core Implementation - Python modules
- Phase 3 (T18-T22): Session Integration - Wrap-up skills
- Phase 4-5 (T23-T27): Testing & Deployment
See full plan in: docs/research/notebooklm-integration-plan.md
Acceptance Criteria
-
specs/memory/notebooklm.t27created and validated -
contrib/backend/notebooklm/implemented with all modules - Wrap-up skill uploads session summaries to NotebookLM
- Unit tests pass with >80% coverage
- E2E test: Create notebook → Upload summary → Query → Verify
- Benchmarks meet criteria (OAuth <2000ms, Notebook create <3000ms, etc.)
- Seal applied and episode recorded
Constitutional Compliance
- L1 TRACEABILITY: This issue tracks all commits
- L2 GENERATION: Specs are SSOT; generated code never hand-edited
- L3 PURITY: ASCII-only English
- L4 TESTABILITY: test/invariant/bench in every spec
- L7 UNITY: Use
tri/t27c, no new shell scripts
Risks & Mitigations
| Risk | Probability | Mitigation |
|---|---|---|
| notebooklm-py SDK breaks | Medium | Fallback to Playwright automation |
| Google blocks cookie auth | Medium | Migrate to Enterprise API |
| Rate limiting | High | Exponential backoff + local cache |
References
- Feasibility report:
.trinity/audit/notebooklm-feasibility.md - Inventory:
.trinity/audit/inventory.json - AKASHIC LOG:
.trinity/events/akashic-log.jsonl - Episodes:
.trinity/experience/episodes.jsonl
Metadata
Metadata
Assignees
Labels
No labels
Activity
gHashTag commentedon Apr 8, 2026
📓 NotebookLM Notebook created
Notebook ID:
4a801a0b-de83-4bd2-b05c-e82a2f49f489URL: https://notebooklm.google.com/notebook/4a801a0b-de83-4bd2-b05c-e82a2f49f489
gHashTag commentedon Apr 29, 2026
Implementation complete:
feat: FPGA VSA acceleration + PhD chapters (Closes #305)
feat: FPGA VSA acceleration + PhD chapters (Closes #305)
feat(fpga): add Vivado cloud synthesis workflow + fix tri merge confl…
fix: update NOW.md date to UTC (Closes #305)
fix(ci): use docker run instead of container for Vivado (Closes #305)
fix(ci): Vivado docker run + NOW.md sync (Closes #305)
fix(ci): NOW.md sync for Vivado settings fix (Closes #305)
docs: NOW.md sync (Closes #305)
fix(fpga): replicate exact QMTECH ref design with reset H7 + LEDs G20…
docs: NOW.md sync (Closes #305)
fix(ci): capture Vivado log for clock debug (Closes #305)
fix(fpga): ring oscillator test — no external clock needed (Closes #305)
17 remaining items
fix(fpga): suppress LUTLP-1 DRC for ring oscillator (Closes #305)
feat(fpga): Vivado cloud synthesis workflow (Closes #305)
fix: update NOW.md date to UTC (Closes #305)
fix(ci): use docker run instead of container for Vivado (Closes #305)
fix(ci): Vivado docker run + NOW.md sync (Closes #305)
fix(ci): source Vivado settings64.sh before synthesis (Closes #305)
fix(ci): NOW.md sync for Vivado settings fix (Closes #305)
fix(fpga): add CLOCK_DEDICATED_ROUTE FALSE for M21 per QMTECH ref des…
docs: NOW.md sync (Closes #305)
fix(fpga): replicate exact QMTECH ref design with reset H7 + LEDs G20…
docs: NOW.md sync (Closes #305)
fix(ci): capture Vivado log for clock debug (Closes #305)
fix(fpga): ring oscillator test — no external clock needed (Closes #305)
docs: NOW.md sync (Closes #305)
fix(fpga): suppress LUTLP-1 DRC for ring oscillator (Closes #305)