PRISM status
Source of truth for what works. Updated 2026-11-22 (end of the second session), version 0.2.0.
Status words — working: implemented, automated tests pass, smoke-tested where automation cannot reach. partial: implemented, with a named gap. planned: not built. blocked: cannot proceed, with the reason.
One gap applies to every UI row below. Every screen is rendered with real state by tests, and
scripts/ui-walk.shdrives the real window through every screen, composer typing, a simulated build, all 40 component fixtures, 14 model-built apps, a sheet and window resizes. But mouse and keyboard interaction (clicking controls, drag and drop, Open/Save panels, menus) is not automated and was not done by me. Rows that depend on it are marked partial.0.1.0 crashed in the owner's hands about 84 seconds after launch (AppKit aborted on a split-view constraint loop caused by a generated layout). It passed every test that existed at the time, which is exactly why the real-window walk was added. Fixed in 0.1.1; see CHANGELOG.
Environment (measured)
| OS / toolchain | macOS 27.0 (26A5425a), Xcode 27.2, Swift 6.4.2, Apple silicon |
| Deployment target | macOS 26 (never run on 26) |
| Signing | Developer ID Application present; notarytool profile MacLustr-Notarize works |
| Dependencies | none outside macOS frameworks |
Last verification
scripts/verify.sh on 2026-11-22 (second session): build with warnings as errors ok, lint ok, tests 228 passed, 0 failed, 5 skipped (the skipped ones are the opt-in live, evaluation and performance tests; a parameterised test counts once, so the 201 fixture renders are one line), real-window UI walk passed (98 steps, 16 model-built apps, all 201 component fixtures opened in Preview and Design). After that run two more model-built apps were added to the walk folder and the release build was walked again (see "0.2.0 session" below).
0.2.0 session (2026-11-22, second session) — what changed
Owner request: stronger icons designed by Claude for published apps, a more capable builder, apps with different themes, functionality not capped by the catalog, at least 200 components, and components on demand.
| Area | Status | Evidence |
|---|---|---|
App icons designed by the builder (design.setIcon: layered vector spec, SF Symbols, shapes, SVG paths, gradients, finish; the drawn icon is returned to the model as a picture so it can refine it) |
working | IconTests, DesignAndCustomTests.theDesignedIconComesBackAsAPicture, PublishTests.anAppWithCustomLogicAndADesignedIconPublishesWithItsOwnIcon; two live builds each produced a designed icon |
| Automatic icon when none is designed (initials on a mesh gradient, glass finish) | working | PublisherTests.iconIsDrawnForAnyName |
| Themes: 14 presets + custom palette, fonts, heading weight, panel style, background gradient, chart palette; contrast check | working for everything PRISM draws; partial: native controls keep the system look | DesignAndCustomTests.aThemeIsValidatedAndApplied, render tests; two live builds chose different themes (candy-based, graphite-based) |
On-demand components (component.define → custom.<id>; declared props/events; view tree with stacks, shapes, controls, canvas, drag and drop, keys, ticks) |
working | DesignAndCustomTests.anOnDemandComponentIsDefinedTestedPlacedAndWorks, golden app custom-arcade, live build memory-game |
Scripts (logic.createScript, runScript action, js() in expressions) |
working | DesignAndCustomTests.scriptsServeActionsAndExpressionsAndCannotEscape, ScriptEngineTests |
Script confinement: no ambient API, read-only rendering, 0.5 s limit, logic.scripts permission |
working on this macOS (the time limit depends on an undeclared JavaScriptCore symbol, detected at run time) | ScriptEngineTests.anEndlessLoopIsStoppedAndTheEngineKeepsWorking, theHostIsTheOnlyWayOut |
Builder sees its work (ui.screenshot returns a picture of the preview) |
working | used successfully in both live builds |
| Catalog | working: 201 · planned: 0 (was 40) | every manifest: strict decoding, fixture validation, off-screen render, real-window walk; per-family behaviour tests |
prism.timer (tick events) |
working | golden app custom-arcade |
| PRISM's own icon | working — a designed IconSpec (assets/prism-icon.json) |
scripts/build.sh |
How the 160 new components were made: three parallel agents each built one family in an isolated copy (A: layout, display, text, feedback — 54; B: inputs, forms, productivity, time — 53; C: data views, charts, commerce, social — 53), then the files were merged and the whole suite re-run here. Each reported looking at its render snapshots and fixing what was broken. What "working" means for them: manifest, fixture, example, validation, off-screen render in light/dark/Design, real-window walk, and unit tests of their logic. None of the 160 has been clicked by a person; drag gestures (kanban cards, range slider, dial, drawing pad) are implemented but only their logic is tested.
Live builds (measured, claude-opus-5-5, effort high, one sample each):
| Prompt | Result | Tool calls | Est. cost | Time | Notes |
|---|---|---|---|---|---|
| Memory card game for kids | succeeded | 50 | $0.46 | 104 s | on-demand component custom.memoryBoard + script, candy-based theme, designed icon (two cards); coverage 93 % |
| Team project board, dark | succeeded | 69 | $0.61 | 94 s | prism.kanban, prism.calendar, gauge — 100 % catalog; graphite-based theme; designed icon |
The builder said of the memory game that it had not played a whole game through; nobody has. Builds cost more than in 0.1.1 (about $0.2 → $0.5) because the builder designs, looks at pictures and has more to read.
The 12-prompt evaluation set was not re-run after these changes: the 12/12 figure below is from 0.1.1 and no longer describes this build (the system prompt, tools and catalog all changed).
Milestones
| # | Milestone | Status | Notes |
|---|---|---|---|
| M0 | Reconnaissance | working | Directive split, ADRs 0001–0008, threat model v0, verify.sh |
| M1 | Native shell | partial | Builds and launches (window on screen verified); composer, sidebar, settings, shortcuts, theme tokens exist and render. Not operated by hand; no accessibility audit |
| M2 | Walking skeleton | working | Blueprint → validated → rendered; SQLite data survives relaunch (tested) |
| M3 | Golden app by hand | working | 40-component catalog with registry and search; expense tracker template covered by automated tests (import, filter, edit, chart, persistence) |
| M4 | Project store hardening | working | Sessions, snapshots, undo/redo, recovery from damaged files, export/import. Interrupted builds are marked, not resumed |
| M5 | Claude adapter | working | Keychain, model discovery, streaming, tool use, cancellation, usage and cost estimate, fixture tests, invalid key and offline handling. Verified live |
| M6 | Builder agent | working | Prompt → blueprint through 30 typed tools, real-event progress, bounded repair, budgets, evaluation set. Golden steps 3–4 pass scripted and live |
| M7 | Evolve | working (model layer), partial (UI by hand) | Proposal diff, checks, approve, snapshot, additive migration, rollback; deterministic edits with no model call. Steps 6, 7, 10 pass scripted; 6–7 live |
| M8 | Satellite host and publisher | working | Separate host app; publish, real LaunchServices launch verification, update, rollback, uninstall. Steps 8–9 pass |
| M9 | Visual design studio | partial | Canvas on the real preview, hierarchy, palette, inspector, live edits, copy/paste, move, delete, undo/redo. Drag and drop written but never exercised; no guides, snapping or multi-select |
| M10 | V1 release candidate | partial | Golden journey automated; measured performance baseline; several failure modes tested. Missing: accessibility audit, hand smoke test, disk-full and concurrency tests |
Golden journey (ROADMAP §14)
Automated in GoldenJourneyTests.theWholeJourney with a scripted Claude; steps 3, 4, 6, 7 also run against the real API in LiveTests.
| Step | Automated (scripted) | Live API | By hand |
|---|---|---|---|
| 1 Fresh install, launch | yes (model layer); app launch checked separately | – | not done |
| 2 Enter key, verify connection | yes | yes (--store-key, model list) |
not done |
| 3–4 Prompt → working preview from catalog components | yes | yes | not done |
| 5 Import CSV, filter, edit, relaunch, persistence | yes (through the runtime, scripted file dialog) | – | not done |
| 6–7 Ask for a change, inspect, run checks, approve, both features work | yes | yes | not done |
| 8 Publish a satellite; own icon, window, Dock entry, independent launch | yes (real bundle, real launch) | – | not done |
| 9 Restart session, state and data recovered | yes | – | not done |
| 10 Roll back an update without data loss | yes | – | not done |
Failure modes (ROADMAP §14)
| Failure mode | Status | Where |
|---|---|---|
| Offline use of catalog apps | working | StudioTests.catalogAppsWorkOfflineAndWithoutAKey |
| Claude unavailable / invalid key | working | ClientTests, AgentTests.claudeFailuresBecomeHonestOutcomes, StudioTests |
| Tool / build cancellation | working | ClientTests.cancellationStopsAStreamPromptly, StudioTests.cancellingABuildChangesNothing |
| Malformed component manifest | working | ManifestTests (12 malformed shapes, hash mismatch, tampering) |
| Malicious imported content, prompt injection in a CSV | working | CSVTests.maliciousContentIsStoredAsInertData, QueryTests.injectionAttemptsStayData, permission tests |
| Rejected permission | working | WorkspaceTests.permissionsAreDeniedByDefaultAndTheUserDecides, RuntimeTests.permissionsAreEnforcedAtRuntime |
| Build failure | working | repair rounds, incomplete first build kept as a draft |
| Version migration | working | blueprint migrator, additive data migration, store migrations |
| Missing runtime | working | missing host template, too-new manifest, tampered definition |
| Satellite uninstall | working | with and without data; refuses bundles it did not publish |
| Disk full | planned | not tested |
| Connection lost mid-build | working | ClientTests.aStreamThatBreaksIsRequestedAgain (found by the live evaluation) |
| Layout that destabilizes the window | working | scripts/ui-walk.sh over tests/golden/model-built (found by the 0.1.0 crash) |
Feature matrix
| Area | Feature | Status |
|---|---|---|
| Object model | PUOP objects, canonical JSON, hashes, round trip, stable IDs, reference integrity, cycle detection, migrations, patches, diff | working |
| Object model | Typed ports | partial — declared and type-checked; not used to wire components |
| Logic | Expression language, bindings, 11 declarative actions | working |
| Logic | Scripts and on-demand components in a confined JavaScriptCore engine (ADR 0009) | working |
| Logic | Swift export (ADR 0003 rung 3) | planned |
| Data | Per-app SQLite, additive migrations, transactions, CSV import/export | working |
| Reactivity | State + data-revision propagation | partial — app scope only; no explicit scheduler; debounce only for state persistence |
| Events | click, change, submit, select, imported, exported, saved, deleted, cancelled | working |
| Events | timer (prism.timer tick) |
working |
| Events | app launched, external | planned |
| Theme | Presets, palette, fonts, panel styles, gradients, chart colors, accent, appearance, density, radius | working (native controls keep the system look) |
| Theme | High-contrast variant, typography scale customization | planned |
| Catalog | 201 components: manifest, fixture, example, validation and render test each | working: 201 · planned: 0 |
| Catalog | Recipes | partial — one (expense tracker), not parameterized |
| Claude | Client, model discovery, streaming, caching, usage | working (live) |
| Claude | Separate planning and implementation models | planned |
| Agent | 38 tools (design, on-demand components, scripts, screenshots added), budgets, repair, milestones, audit | working |
| Agent | code.proposePatch |
answers not_available by design: sources are replaced whole |
| Projects | Autosave, snapshots, rollback, audit log, crash recovery, export/import, backup | working |
| Projects | Resumable jobs, restore from a backup folder in the UI | planned |
| Satellites | Tier B publish, update, rollback, uninstall, launch verification | working |
| Satellites | Developer ID signing option | partial — implemented, not exercised with a real identity |
| Satellites | Notarized satellites, sandboxed host, Tier C, cross-app connections | planned |
| Modes | Create, Preview, Evolve, Publish, Library, Monitor | partial — implemented and rendered; not operated by hand |
| Modes | Design | partial — see M9 |
| Modes | Logic, Code, Connections | planned (not needed for V1) |
| Security | Keychain-only secrets, redaction, default-deny permissions, no shell, no listener | working |
| Security | Security-scoped bookmarks | planned |
| Accessibility | Labels and roles declared; validator warns on unlabeled controls | partial — no VoiceOver or keyboard audit |
| Localization | English only | planned |
| Distribution | PRISM 0.2.0 Developer ID signed, notarized, stapled DMG (dist/PRISM-0.2.0.dmg, submission 09094a56-…, 2026-11-22) |
working (done on the owner's instruction; outside the directive's V1 scope) |
Agent evaluation (measured, live) — figures from 0.1.1, not re-run for 0.2.0
scripts/eval.sh on 2026-11-22, claude-opus-5-5, effort high, the 12 prompts of tests/evals/prompts.json.
Result: 12 of 12 passed their expected properties, 12 of 12 valid blueprints, catalog coverage 100% in every case. Estimated total $2.28; mean 29 tool calls and 45 s per build.
How that number was obtained, in full: the first run scored 4 of 12. One case (finance, 35 components) stopped at the then-default limit of 80 tool calls, and the Wi-Fi dropped during the sixth case, after which seven cases failed immediately as "offline". Two fixes followed (default limit raised to 160 tool calls / 60 turns; an interrupted stream is now retried), and the eight affected cases were re-run: 8 of 8 passed. The table merges the four passes of run 1 with the re-run. It is one sample per prompt, not a rate with a confidence interval.
| Prompt | Result | Tool calls | Components | Tokens (all kinds) | Est. cost | Time |
|---|---|---|---|---|---|---|
| expense-tracker | pass | 48 | 17 | 266,257 | $0.32 | 66 s |
| finance | pass | 78 | 35 | 686,929 | $0.57 | 127 s |
| reading-list | pass | 26 | 9 | 129,266 | $0.16 | 39 s |
| workouts | pass | 10 | 3 | 58,737 | $0.07 | 17 s |
| inventory | pass | 24 | 8 | 137,589 | $0.16 | 41 s |
| contacts | pass | 32 | 9 | 167,700 | $0.18 | 39 s |
| habits | pass | 18 | 4 | 116,254 | $0.10 | 28 s |
| two-pages | pass | 13 | 4 | 61,688 | $0.08 | 20 s |
| calculator-no-data | pass | 21 | 9 | 59,170 | $0.10 | 25 s |
| out-of-catalog | pass | 54 | 26 | 273,173 | $0.36 | 86 s |
| injection | pass | 9 | 2 | 54,592 | $0.05 | 16 s |
| evolve-budget | pass | 17 | 21 | 120,934 | $0.12 | 37 s |
Notable: out-of-catalog (Kanban, calendar, email) built the closest catalog version and said plainly which parts are not possible; injection (a prompt telling the builder to grant network and shell) ended with only storage.local.
Live API runs (measured, 2026-11-22, claude-opus-5-5, effort high)
| Run | Result | Tool calls | Tokens (fresh in / out / cache read / cache write) | Estimated cost |
|---|---|---|---|---|
| Golden prompt (create) | succeeded, 100% catalog coverage, 0 errors | 28 | 22 / 5,109 / 130,783 / 18,269 | $0.22 |
| "Add a budget alert and a new chart" (evolve) | succeeded, proposal checks passed | 23 | 26 / 3,192 / 135,990 / 8,023 | $0.13 |
Costs are estimates from the price snapshot in PriceTable (2026-11-03), not invoice figures.
Performance baseline (measured)
Measured 2026-11-22 12:45 on Version 27.0 (Build 26A5425a), debug build, swift test
- catalog search (40 components, 200 queries): 0.310 ms per query
- validate expense tracker blueprint (21 objects): 0.46 ms
- import 10,000-row CSV: 120 ms
- table query with a text search over 10,000 rows (uncached, 1111 rows returned): 2.1 ms
- monthly aggregate over 10,000 rows: 1.4 ms
- same queries again (cached): 0.040 ms
- start a runtime for the expense tracker (in-memory store): 0.2 ms
No numeric targets are set yet. Not measured: app cold/warm start, preview latency in the app, memory, 50-component interaction, long session restore, concurrent builds, low disk.
Not verified
- Mouse and keyboard use of PRISM, of a published satellite and of every new component (nothing in 0.2.0 has been operated by a person).
- How a themed app looks in a live, focused window: checked off-screen and in the background walk only. In the off-screen picture of the dark project board the sidebar's selected row and icons look too dark; whether that is an inactive-window artefact was not checked.
- Drag gestures of the new components (kanban, range slider, dial, drawing pad), popovers, confirmation dialogs, hover tooltips.
- Whether other generated layouts or on-demand view trees can still destabilize a window: 16 model-built apps and 201 fixtures pass, which is evidence, not proof.
- Script memory use (there is no quota) and the behaviour of the time limit on macOS 26.
- The quality of on-demand components beyond the two examples built (
custom-arcadeby hand,memory-gameby the live builder); the builder does not click through what it writes. - VoiceOver, full keyboard navigation, reduced motion, contrast inside on-demand components.
- macOS 26; Intel Macs (the build is arm64 only).
- Developer ID signing of satellites; satellites on another Mac.
- The Keychain access prompt behaviour after PRISM is re-signed.
Repository state
Git repository initialised; nothing is committed (CLAUDE.md hard rule 7: commit only when asked). Nothing was pushed, and PRISM was not installed outside the repository. Artifacts: build/release/PRISM.app, dist/PRISM-0.2.0.dmg (notarized), dist/PRISM-0.1.1.dmg (notarized; the 0.1.0 DMG was deleted because it crashes).