diff options
| author | Adam Malczewski <[email protected]> | 2026-06-05 18:40:28 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-05 18:40:28 +0900 |
| commit | 368be032ef57638b558db659d70bfac00cb95cdd (patch) | |
| tree | 61cf47e43e8d44bec2fe4e5e67c2d150df5ea0a5 /tasks.md | |
| parent | cdd54554f575ad9d2b19015c565aab6ffd683be6 (diff) | |
| download | dispatch-368be032ef57638b558db659d70bfac00cb95cdd.tar.gz dispatch-368be032ef57638b558db659d70bfac00cb95cdd.zip | |
docs: reorder roadmap — CLI first, then web frontend, then dedup/storage
User-set ordering: (1) CLI MVP (line-oriented, NOT a TUI; may have basic selectors; same mirrored-backend methodology with a careful design pass first — seed at notes/cli-design.md), (2) web frontend (Svelte + DaisyUI, notes/frontend-design.md), (3) dedup/storage growth. CLI design seed frames the same open questions as the web FE (pure-core/shell split, unit boundaries, transport, testing) adapted to a terminal client.
Diffstat (limited to 'tasks.md')
| -rw-r--r-- | tasks.md | 30 |
1 files changed, 17 insertions, 13 deletions
@@ -287,22 +287,26 @@ reports/phase-a-{kernel-logging,journal-sink}.md. ## ROADMAP — what's next (user-decided, §5.2) -### Next: Frontend MVP -Svelte + DaisyUI (same stack as old Dispatch). **Careful design pass FIRST** — the FE -must be built with the SAME methodology as the backend (minimal core + feature modules, -typed contracts as the only cross-unit surface, pure-core / inject-effects / no ambient -state, one owner per unit, asymmetric testing). A dedicated design scratch lives at -`notes/frontend-design.md` (IDEATION mode — design WITH the user before any summon). - -The old Dispatch frontend (`/home/tradam/projects/dispatch/dispatch-source`) is +### 1. CLI (first, before web frontend) +A **CLI** (NOT a TUI — line-oriented command-line interface; may have basic selectors +for things like picking a conversation). Terminal client for Dispatch: send a message, +render the streamed multi-turn response (`conversationId` threads history). Same +methodology constraint as the backend: pure core (zero I/O) / inject effects / no ambient +state / typed contracts / one owner per unit / asymmetric testing. A design pass FIRST +— seed `notes/cli-design.md` (IDEATION with the user, like `notes/observability-design.md` +and `notes/frontend-design.md`) before any summon. + +### 2. Web frontend (after CLI) +Svelte + DaisyUI (same stack as old Dispatch). **Methodology mirror** — same constraints +as the backend and the CLI. Design scratch lives at `notes/frontend-design.md` (IDEATION +mode). Old Dispatch FE (`/home/tradam/projects/dispatch/dispatch-source`) is REFERENCE-ONLY for UX/tech — do NOT copy its architecture. Port `FRONTEND_PORT=24204` is -reserved in `.env`. When frontend BUILD begins: retire the AGENTS.md "Backend only for -now (no frontend)" line, author new scoped `.dispatch/rules/frontend-*.md`, and update +reserved in `.env`. When FE build begins: retire the AGENTS.md "Backend only for now (no +frontend)" line, author new scoped `.dispatch/rules/frontend-*.md`, and update ORCHESTRATOR.md §7 (repo geography) + §3 (rule scoping map). -### After Frontend MVP: dedup / storage growth +### 3. dedup / storage growth (after frontend) The deferred trace-body de-duplication + rotation/compression (D5 volume-control + `prefix.fingerprint` + §6 retention strategy) — already designed in `notes/observability-design.md`, not yet built. `cacheReadTokens` (committed) is the -cheap dedup signal; the workspace is ready. Prioritized AFTER the frontend per user -roadmap. +cheap dedup signal; the workspace is ready. |
