Repository Public License
1# PRISM roadmap (directive §13–§16)23## 13. Roadmap45Ordered so that a working app exists as early as possible and each milestone adds one link to the golden journey. Every milestone ends with compilable code, passing tests, an updated `STATUS.md`, and the session report from §3. A milestone may take several sessions.67| # | Milestone | Exit criteria |8|---|---|---|9| M0 | **Reconnaissance** | Environment report; this document split per §0; ADRs 0001–0003 drafted; threat model v0; `scripts/verify.sh` runs |10| M1 | **Native shell** | App builds and launches; welcome composer, sidebar, settings shell, shortcuts, theme tokens, accessibility baseline. Submitting a prompt creates a persisted project and shows an honest "builder not available yet" state |11| M2 | **Walking skeleton** | A hand-written blueprint JSON is validated and rendered as a live preview with about 8 components and a SQLite-backed table; data survives relaunch |12| M3 | **Golden app by hand** | Full V1 catalog slice with registry and search; the expense tracker (CSV import, category filter, record edit, monthly chart, persistence) works from a hand-written blueprint and is covered by an automated test |13| M4 | **Project store hardening** | Sessions, snapshots, undo/redo, crash recovery, export/import |14| M5 | **Claude adapter** | Keychain setup, model discovery, streaming, tool use, cancellation, token/cost accounting, fixture-based tests, invalid-key and offline handling |15| M6 | **Builder agent** | Prompt → blueprint through the tool contract; live progress from real events; bounded repair loop; budgets; evaluation set. Golden journey steps 3–4 pass |16| M7 | **Evolve** | Conversational patches with diff, approval, snapshot, migration, rollback; deterministic edits without model calls. Steps 6, 7, 10 pass |17| M8 | **Satellite host and publisher** | ADRs 0005–0007 settled; separate host app; publish, launch verification, update, rollback, uninstall. Steps 8–9 pass |18| M9 | **Visual design studio** | Canvas, tree, inspector, drag-and-drop, live property edits, undo/redo on the real preview |19| M10 | **V1 release candidate** | Full golden journey automated; accessibility audit; measured performance baseline; failure-mode tests from §14; user guide, component SDK docs, known limitations |2021**After V1, in this order unless the user reprioritizes:** catalog expansion toward 100+ with recipes; isolated Python workers and scientific components; cross-app connections; Tier C export; demo apps (§15); voice dictation.2223---2425## 14. Acceptance2627**Golden journey (must be automated by M10; Claude calls mockable in CI):**281. Fresh install; launch PRISM.292. Enter an Anthropic API key and verify the connection.303. Prompt: "Build a local expense tracker with CSV import, category filters, monthly chart and persistent storage."314. The agent selects catalog components and produces a real working preview.325. Import a sample CSV, filter transactions, edit a record, relaunch, verify persistence.336. Ask: "Add a budget alert and a new chart."347. Inspect the proposed changes, run tests, approve, verify both features work.358. Publish a desktop satellite; verify its own icon, window, and Dock entry, launched independently of PRISM's main window.369. Restart the session (or simulate recovery); verify app data and project state.3710. Roll back an update; verify no data loss.3839**Failure modes that must be handled and tested:** offline use of catalog apps; Claude unavailable; invalid API key; tool cancellation; malformed component manifest; malicious imported content (including prompt injection in a CSV); rejected permission; build failure; disk full; version migration; missing runtime; satellite uninstall.4041**Definition of done for any feature:** implemented, covered by automated tests, smoke-tested by hand where automation cannot reach, documented, and marked *working* in `STATUS.md`.4243---4445## 15. Demo apps (post-V1)4647All of them use the shared catalog and runtime; none is a custom one-off.4849- **Finance Studio:** CSV imports, transactions, budgets, charts, forecast, PDF report.50- **Project HQ:** tasks, Kanban, calendar, notes, notifications.51- **Research Lab:** data import, Python worker, statistics, reproducible plots, notebook-like interface.52- **Market Monitor:** user-authorized data provider, watchlists, charts, alerts. Never fabricate live data.53- **Media Annotator:** video/audio import, timeline annotations, export.5455---5657## 16. First session: start here58591. Inspect the repository, `git status`, OS, Xcode and Swift versions, entitlements, existing assets, licenses, and CI. Report what you found in a few lines.602. Complete M0: split this document per §0, draft ADRs 0001–0003, write the threat model v0, create `docs/STATUS.md` and `scripts/verify.sh`.613. Continue straight into M1, then begin M2 if the session allows. Stop when a milestone's exit criteria are met and verified, or when you hit something on the ask-first list.624. End with the session report from §3.63