- pnpm 10 workspace + TypeScript strict + ESLint flat + Prettier - CLAUDE.md as canonical brief - docs/tasks/ — 22 task briefs broken out by phase for sub-sessions - docs/decisions/ — ADR scaffold Implements task 01 (repo-init).
953 B
953 B
12 — Notes module
Goal
Lightweight shared notes with optional reminders.
Depends on
- 04, 07
Scope
- Schema:
notes(id,household_id,author_id,title,bodymarkdown,pinnedbool,remind_attimestamptz nullable,created_at,updated_at). /notesindex: pinned first, then by updated_at desc./notes/[id]editor — minimal markdown (use@uiw/react-md-editoror similar; live preview optional).remind_atwrites a row toreminders(table comes from_core; reminder firing comes from task 41).- Manifest: shareable, remindable, searchable (title + body).
- Dashboard widget: pinned notes.
Out of scope
- Rich text / WYSIWYG.
- Attachments (separate later module).
- Collaborative editing.
Acceptance criteria
- Create / edit / pin / delete works.
- Setting
remind_atcreates aremindersrow scoped to entitynotes.note. - Markdown renders safely (no raw HTML injection).