saravanakumardb1
ee586065dd
refactor(web+backend): consolidate types, optimize N+1 queries [D1, A3, A4, D2]
...
- types.ts: consolidate NoteDoc, WorkspaceDoc, NoteAgentActionDoc etc. from client files
- notes-client.ts: import from types.ts, optimize getNoteDetail with direct GET /notes/:id
- review-client.ts: import from types.ts, use /note-agent-actions/pending (eliminates N+1)
- notes-client.ts: use /workspaces/summaries (eliminates fetch-all-notes for counts)
- backend: add GET /workspaces/summaries with noteCount per workspace
- backend: add GET /note-agent-actions/pending (cross-workspace)
- backend: add countNotesByWorkspaces + listPendingActions repository functions
- Add createNote, archiveNote, restoreNote, createNoteRelationship client functions
- Fix existing tests for new route counts and mock order
2026-03-19 07:32:54 -07:00
saravanakumardb1
e50df779da
docs: fix 7 inaccuracies in implementation tracker after systematic review
...
Corrections:
- Remove duplicate task 7.3 (Gap A4 already in Phase 2 task 2.3), renumber
- Fix task 3.5: remove false DELETE claim (note-relationships has GET+POST only)
- Fix task 1.2: add note about removing dead 'export { blobClient }' re-export
- Fix 'How to Use' parallelization: Phase 5 needs Phase 1 only, not Phase 3
- Add phase-level [ ] checkboxes to all 8 phase headers
- Align Phase 3 test target: '60+' → '~60-75' (matches summary table)
- Fix Phase 7 effort estimate (4-5h → 3-4h after removing duplicate task)
- Fix test target summary to use ranges instead of single estimates
2026-03-19 07:15:26 -07:00
saravanakumardb1
1d068e748c
docs: add detailed implementation tracker with 8 phases and 35 checkbox tasks
...
Derived from GAP_ANALYSIS.md (25 gaps across 5 categories).
Structured as 8 sequential phases with:
- Per-task checkboxes with gap IDs for traceability
- Specific file paths and code patterns for each fix
- Verification commands per phase
- Commit message conventions
- Test target summary (30→132 tests across all surfaces)
- Progress log table for tracking commits
- Deferred items (B4 webhooks, B5 sharing, E2 WINDSURF_CONTEXT)
Phases: 1-Bug Fixes, 2-Code Quality, 3-Backend Tests,
4-Web Features, 5-DevOps, 6-E2E+Mobile Tests,
7-AI Enrichment, 8-Docs Alignment
2026-03-19 07:09:47 -07:00
saravanakumardb1
ee033f4eab
docs: fix 8 inaccuracies in gap analysis after systematic self-review
...
Corrections:
- Remove D5 (factually wrong — backend tsconfig already excludes test files)
- Fix web component count 12→10, lib file count 11→18
- Fix B1 title: 'No note delete' → 'No note restore' (PRD says archive/restore)
- Add A6: notes-client.ts missing 'use client' (fragile SSR import chain)
- Expand A1 to include blob-client.ts module-scope instantiation
- Note telemetry/flags/kill-switch are lower risk (client-only imports)
- Strengthen D3/D4: confirmed zero-import dead code, not just 'unclear'
- A5: note that auth.test.ts and MCP tests do have real behavior tests
- Update bug count 5→6, total gaps 29→25
2026-03-19 07:06:05 -07:00
saravanakumardb1
513ee5a6a5
docs: comprehensive gap analysis — 29 numbered gaps across 5 categories
...
Systematic audit of backend (7 modules, 24 tests), web (6 pages, 12
components, 6 tests), and mobile (4 tabs, 0 tests) against PRD.
Key findings:
- 5 bugs (extraction-client SSR crash, missing standalone output,
N+1 queries, registration-only backend tests, tsconfig exclude)
- 8 missing features (no web note create, no import/export, no
sharing, no summarization, no relationship UI, zero mobile tests)
- 5 DevOps gaps (no Dockerfiles, no docker-compose, no CI, no E2E)
- 5 code quality issues (duplicate types, mock-data leftovers, N+1)
- 2 documentation gaps (roadmap checklists not updated)
Includes 7-sprint prioritized implementation plan with estimates.
2026-03-19 06:56:24 -07:00
saravanakumardb1
d09259c42e
docs: update AGENTS.md + ROADMAP.md with all completed features, register saved_views container
...
- AGENTS.md: added saved-views module, lib/platform.ts, batch-review endpoint, saved-views endpoints, blob-client to shared packages, 7 Cosmos containers, keyboard shortcuts + debounce hooks
- ROADMAP.md: 6 new commit entries, all blockers/deferrals marked resolved
- cosmos-init.ts: registered saved_views container with /userId partition
All 3 surfaces verified: backend 18/18, web 6/6, mobile typecheck pass.
2026-03-10 19:45:13 -07:00
saravanakumardb1
9d392eab39
docs: add AGENTS.md, README.md, and update roadmap with session commit refs
...
- AGENTS.md: full AI agent onboarding guide following ecosystem conventions
- README.md: quick start, architecture overview, env setup, test commands
- ROADMAP.md: added commit references for identity lock, MCP tools, platform integrations, blob client
- Marked resolved blockers (product identity, blob artifacts)
2026-03-10 19:01:48 -07:00
saravanakumardb1
e1fde25afd
feat(identity): lock NoteLett product identity across all surfaces
...
- productId: notelett
- displayName: NoteLett
- domain: notelett.app
- iOS bundle: com.bytelyst.notelett
- Android bundle: com.notelett.app
- backend port: 4016
- token namespace: --nl-* (CSS), NoteLettTheme (native)
Rippled through:
- shared/product.json (canonical source)
- backend package.json, config, cosmos-init, all 10 test files
- web package.json, landing page, notes-client test
- mobile app.json, package.json, auth screen
- docs: PRD, ROADMAP, architecture review, foundations, web/mobile roadmaps
- registered in learning_ai_common_plat/products/notelett/
Verification: backend typecheck + 18 tests, web typecheck + 6 tests, mobile typecheck — all pass.
2026-03-10 18:47:01 -07:00
saravanakumardb1
e6beef83eb
docs(notes): record dashboard note progress
2026-03-10 18:23:21 -07:00
saravanakumardb1
b147f14b1c
docs(notes): record search filter progress
2026-03-10 18:19:40 -07:00
saravanakumardb1
dc917df240
docs(notes): record review state progress
2026-03-10 18:14:20 -07:00
saravanakumardb1
66d4cd4c6e
docs(notes): record workspace filter progress
2026-03-10 18:10:21 -07:00
saravanakumardb1
dbf0fa84ab
docs(notes): record metadata progress
2026-03-10 18:05:49 -07:00
saravanakumardb1
c3e738cff3
docs(notes): finish dashboard metric progress
2026-03-10 18:01:25 -07:00
saravanakumardb1
3e88ed6a12
docs(notes): record dashboard metric progress
2026-03-10 18:00:02 -07:00
saravanakumardb1
042cace2f3
docs(notes): record workspace progress
2026-03-10 17:55:14 -07:00
saravanakumardb1
bd7fc9d7a7
docs(notes): record search entrypoint progress
2026-03-10 17:51:07 -07:00
saravanakumardb1
ea7f1c15f8
docs(notes): record review workflow progress
2026-03-10 17:46:02 -07:00
saravanakumardb1
49d4790344
docs(notes): record workflow progress
2026-03-10 17:40:38 -07:00
saravanakumardb1
e0ad97023a
docs(notes): record review progress
2026-03-10 17:36:27 -07:00
saravanakumardb1
504b339203
docs(notes): record sidebar progress
2026-03-10 17:32:15 -07:00
saravanakumardb1
2abf983321
docs(notes): record saved view progress
2026-03-10 17:25:44 -07:00
saravanakumardb1
ea2a746c21
docs(notes): record dashboard progress
2026-03-10 17:16:44 -07:00
saravanakumardb1
d8d6e71670
docs(notes): record mobile workspace progress
2026-03-10 17:11:57 -07:00
saravanakumardb1
6c14b6b696
docs(notes): record mobile inbox progress
2026-03-10 17:02:37 -07:00
saravanakumardb1
e1b9e95ec0
docs(notes): record mobile capture progress
2026-03-10 16:56:05 -07:00
saravanakumardb1
991acac3ba
docs(notes): record workspace filter progress
2026-03-10 16:51:21 -07:00
saravanakumardb1
55bbc107a0
docs(notes): record search progress
2026-03-10 16:46:18 -07:00
saravanakumardb1
7bec4e864d
docs(notes): record active surface progress
2026-03-10 16:38:28 -07:00
saravanakumardb1
8002b48468
docs(notes): record mobile detail progress
2026-03-10 16:30:25 -07:00
saravanakumardb1
c13925803e
docs(notes): record web task progress
2026-03-10 16:26:28 -07:00
saravanakumardb1
152b09d03a
docs(notes): record web artifact progress
2026-03-10 16:20:38 -07:00
saravanakumardb1
da75c27811
docs(notes): record web note editing progress
2026-03-10 16:15:37 -07:00
saravanakumardb1
3f54332422
docs(notes): record web review decision progress
2026-03-10 16:08:56 -07:00
saravanakumardb1
db5d7705c1
docs(notes): record mobile inbox review progress
2026-03-10 16:02:33 -07:00
saravanakumardb1
650c061dba
docs(notes): capture backend-backed slice progress
2026-03-10 15:54:37 -07:00
saravanakumardb1
418ecaacc5
docs(roadmap): annotate verification checkpoint
2026-03-10 13:07:00 -07:00
saravanakumardb1
b4634e9367
docs(roadmap): annotate extraction checkpoint
2026-03-10 12:58:42 -07:00
saravanakumardb1
d44763dfe7
docs(roadmap): annotate artifact blob checkpoint
2026-03-10 12:52:38 -07:00
saravanakumardb1
e76174d43c
docs(roadmap): annotate diagnostics checkpoint
2026-03-10 12:43:23 -07:00
saravanakumardb1
dcb6bd18dd
docs(roadmap): annotate review runtime checkpoint
2026-03-10 12:37:27 -07:00
saravanakumardb1
57d38762f0
docs(roadmap): annotate web runtime checkpoint
2026-03-10 12:25:03 -07:00
saravanakumardb1
a6f614f43a
docs(roadmap): annotate architecture checkpoints
2026-03-10 12:11:34 -07:00
saravanakumardb1
b73d5e9a96
fix(config): complete phase-a identity alignment
2026-03-10 11:59:12 -07:00
saravanakumardb1
1b81489ecd
docs(architecture): tighten review and roadmap consistency
2026-03-10 11:33:58 -07:00
saravanakumardb1
9ddb826338
docs(architecture): add reuse alignment review and workstreams
2026-03-10 11:13:21 -07:00
saravanakumardb1
ae4f17e120
docs(roadmap): truth-align implementation status
2026-03-10 10:56:20 -07:00
saravanakumardb1
521d095528
docs(roadmap): align verified web density slice
2026-03-10 10:44:57 -07:00
saravanakumardb1
c9a4790a1c
chore(mobile): align expo runtime compatibility
2026-03-10 10:21:05 -07:00
saravanakumardb1
f5f141ddb7
fix(mobile): verify scaffold and tighten tooling
2026-03-10 10:14:22 -07:00