Repository Public License
1# 12. Security, quality, and performance requirements23**Security and privacy**4- Capability grants are explicit per app, project, and action. Default-deny for network, arbitrary filesystem, camera, microphone, contacts, automation, shell, and accessibility privileges.5- File access goes through user selection, with security-scoped bookmarks when access must persist.6- Generated logic runs in constrained workers with CPU, memory, and time quotas. Describe the isolation actually achieved; do not claim complete sandboxing.7- Escape and sanitize untrusted content everywhere it is rendered.8- Provide kill/cancel controls, budgets, and rate limits.9- Publish a plain-language policy for what is sent to Anthropic.1011**Design quality and accessibility**12- PRISM should feel first-party: native toolbar, SF Symbols, considered whitespace, resizable panes, contextual inspector, command palette, restrained animation, good empty states, clear error recovery.13- The welcome screen is the brand moment: a large focused composer (Return submits, Shift+Return inserts a newline, or click Build), recent projects, and suggested prompts as one-click examples, such as:14 - "Create a personal finance app with charts, CSV imports, budgets and local storage."15 - "Make a project manager with Kanban, calendar, tasks and notifications."16- Suggested prompts shown in the UI must be ones the current catalog can actually build.17- During generation, show a live component map and the preview, not a spinner.18- VoiceOver labels, full keyboard navigation, reduced motion, color contrast, reliable focus. These are acceptance criteria, not polish.1920**Performance and reliability**21- Instrument startup, preview latency, catalog search latency, generation time, token usage, memory, build time, publish success.22- Set numeric targets only after profiling on real hardware; report only measured numbers.23- Stress cases to cover before the release candidate: cold/warm start, 10k-row table, 50-component app, long session restore, concurrent builds, network failure, low disk.24