docs(roadmap): record cosmos operations

This commit is contained in:
Saravana Achu Mac 2026-05-05 13:39:19 -07:00
parent d897702d9e
commit 1059b138d7

View File

@ -234,7 +234,7 @@ Acceptance criteria:
Goal: production data can be created, migrated, backed up, and debugged safely.
- [ ] **P9.1** Document Cosmos containers, partition keys, indexes, retention expectations, and backup/restore approach. Commit:
- [x] **P9.1** Document Cosmos containers, partition keys, indexes, retention expectations, and backup/restore approach. Commit: `d897702`; Verified: `git diff --check`; `rg -n "Container Inventory|Index Expectations|Retention Expectations|Backup Approach|Restore Approach|COSMOS_DATA_OPERATIONS|note_intake_jobs|palace_diaries" docs/COSMOS_DATA_OPERATIONS.md docs/COSMOS_QUERY_REVIEW.md README.md`. Added `docs/COSMOS_DATA_OPERATIONS.md` covering all current `backend/src/lib/cosmos-init.ts` containers, partition keys, owner scope, index expectations, candidate composite indexes, retention/TTL expectations, Azure Cosmos backup mode guidance, restore sequencing, and release-time operational checks; linked it from README and `docs/COSMOS_QUERY_REVIEW.md`.
- [ ] **P9.2** Add seed/bootstrap strategy for built-in prompt templates, intake rules, default workspace, and feature flags. Commit:
- [ ] **P9.3** Add migration plan for encrypted fields, schema changes, and backfills; reuse common platform migration scripts where practical. Commit:
- [ ] **P9.4** Define telemetry event taxonomy and diagnostic breadcrumbs for notes, prompts, intake, reviews, mobile capture, and MCP actions. Commit: