offplan · online
Workstream · repo-as-canonical-store

Repo as canonical store — flip

User-visible architectural flip: repo becomes canonical store; /handoff and /resume go Notion-silent.

Doneworkstreamrepo-as-canonical-storepriority P0
Owner
roman
Created
2026-05-11
Plan
repo-as-canonical-store
Priority
P0
Tags
ops, claude-code, notion, architecture, infra

Goal

Ship the user-visible architectural flip from plans/repo-as-canonical-store.md: locally-generated session IDs (<INITIALS>-YYMMDD-NN, atomic-create), Notion-silent /handoff and /resume, rich session content per the agreed schema, concurrency-hardened telemetry hook, and a one-shot interim manual sync script that bridges to Plan 2. Absorbs all the work from the superseded operator-aware-handoff-resume workstream.

Tasks

What's Next

WORKSTREAM DONE 2026-05-11. All 10 phases (P0–P9) shipped in a single working day. 132/132 tests green throughout; idempotent backfill verified; /handoff + /resume Notion-silent at runtime (tool_calls_breakdown.mcp__notion_offplan = 0 falsifiable invariant); Phase 9 interim sync ready for Roman to invoke on demand (python3 scripts/sync_to_notion_oneshot.py --apply). Next P1: repo-as-canonical-store-vault.obsidian/ baseline, INDEX.md MOCs, link normalisation; blocked-by was this workstream, now unblocked. Separate plan 2 follow-up: port scripts/sync_to_notion_oneshot.py to Cloudflare Worker + cron (TypeScript). No remaining work in THIS workstream.

Key Context

Session Log