SPB Git

Repository Public License

KNOWN_LIMITATIONS.md 4.6 KB

# Known limitations (PRISM 0.1.1, 2026-11-22)

Stated plainly so nobody has to discover them.

Verification

  • Automated tests drive the model layer, the runtime, the publisher, an off-screen render of every screen and component, and a walk of the real window (scripts/ui-walk.sh). Mouse and keyboard interaction is not automated: clicking controls, drag and drop in Design mode, Open/Save panels and menus have not been exercised.
  • 0.1.0 crashed in real use on a layout the tests of the time did not cover. 0.1.1 fixes that class of crash and tests it, but other layouts a model may produce could still expose problems that only appear in a live window.
  • No XCUITest UI automation (it needs an Xcode project; see ADR 0001).
  • No VoiceOver or keyboard-navigation audit has been done. Labels and roles are declared, not checked with assistive technology.
  • Only macOS 27.0 on Apple silicon has been run. The deployment target is macOS 26, untested.

Builder

  • Catalog first: apps are assembled from catalog components, declarative actions, queries and expressions. For what those cannot express the builder writes an on-demand component or a script (ADR 0009). That code is generated by the model: it is syntax-checked, loaded and rendered once by ui.preview, and the builder can test it, but nobody proves it correct. The builder's final message says which parts are custom.
  • Scripts and on-demand components are JavaScript in a closed JavaScriptCore sandbox: no network, no file access, no timers or async, no imports, no memory quota; each call is stopped after 0.5 s. The stop relies on a JavaScriptCore function that is not in the public headers; where it is missing, scripts run without a time limit and the app's log says so.
  • Still impossible in any form: anything needing the network (web APIs, sync, email), arbitrary file access, images or media from disk, system notifications, multi-window apps, background work while the app is closed.
  • The builder looks at the icon it designs and at one screenshot of the preview; it does not operate the app (no clicking), so interaction bugs in custom components can survive a build.
  • One model does planning and implementation. Cost figures are estimates from a price snapshot dated 2026-11-03; the pictures returned to the model (icon, screenshots) add input tokens to a build.
  • An interrupted build is marked "interrupted" on next launch; it is not resumed.

Runtime

  • State is app-scoped only (no component, page or project scopes). Change propagation relies on SwiftUI observation over one state object and a data revision counter; the explicit dependency graph is used for validation, not for scheduling.
  • Events: those of each component, plus tick from prism.timer. Not implemented: app launched, external.
  • Queries run on the main thread. Tables are capped at 50,000 rows per query.
  • File access is one-shot through Open/Save panels; security-scoped bookmarks for persistent access are not implemented.
  • English only; strings are not yet in a localization catalog. Numbers, currency and dates follow the system locale.

Themes and icons

  • A theme can restyle everything PRISM draws itself (backgrounds, panels, text, charts, fonts). Native controls (buttons, fields, tables, the sidebar) keep the system look and follow only the accent color and light/dark.
  • Text contrast is checked against the page and panel colors (an unreadable theme is refused); colors chosen inside on-demand components are not checked.
  • Icons are vector drawings from a declarative spec (SF Symbols, shapes, SVG paths, text). There is no photo or image import and no macOS 26 layered "Liquid Glass" icon format: the icon is a classic .icns.

Design mode

  • On-demand components can be selected, moved and have their declared props edited, but they are not offered in the palette and their source is not editable here (ask the builder).
  • Hierarchy, palette, inspector, live property edits, copy/paste, move, delete, undo/redo work through blueprint patches. There are no layout guides, snapping or multi-selection. Structured props (queries, lists, actions) are edited as validated JSON.

Satellites

  • Not sandboxed, not notarized. A published app opens on this Mac; on another Mac Gatekeeper blocks a transferred copy (ADR 0005).
  • The Developer ID signing option for satellites exists but has not been exercised with a real identity.
  • No cross-app connections, no Tier C Swift export.

PRISM itself

  • Not sandboxed (ADR 0006). Its icon is an IconSpec (assets/prism-icon.json) drawn by the same engine as satellite icons.
  • Not covered by tests: disk-full behaviour, concurrent builds, very long session restore.
Files main
Menu

Theme