What it does
The Seat: opening the app is the practice
- One question on open. There is no feed, dashboard or statistics page. The home screen asks what is here right now and offers one button, Sit.
- A voice-guided minute. Sit starts a guided drop of about sixty seconds, spoken aloud by the system voice (AVSpeech) step by step, so it works with eyes closed and needs no reading.
- Returns, not streaks. Each sit is logged, and the screen shows a count of returns. The data model has no streak type at all, so a missed day can never show as a broken chain.
The SOS: built for the worst moment
- One tap. A button labeled for the moment of being overwhelmed opens the SOS from the home screen, from the lock-screen widget, or by voice through Siri.
- Name the storm, without typing. The first step is naming what is happening. One-tap chips, drawn from the user's own recorded patterns, let them name it without a keyboard; typing is there if they want it.
- A spoken return. The app reflects that naming the storm is already the first step back, then speaks a guided return of about a minute.
- Logged as a Return. Each SOS is recorded with what the storm was and how the user reached it.
- Offline always. The SOS never depends on a network or on the AI Guide.
The lock-screen widget
- A witness line every day. WidgetKit shows one line from the user's Constitution, chosen by a fixed daily rotation so the same day always shows the same line.
- Three widget families. An inline line, a rectangular card with a title, and a larger serif card, each tapping straight into the Seat.
- A seven-day timeline. The widget schedules seven entries ahead, so it updates without the app being opened.
The Siri intent
- Hands-free. An App Intent lets a person tell Siri they are spiraling. The intent sets a pending-SOS flag, and the app opens directly into the SOS flow, with no screen to read first.
Data that stays on the phone
- Local-first and fail-closed. Sits and returns are stored as local JSON on the device, decoded fail-soft so a damaged record never locks the user out. The specification calls for encrypted on-device storage and no analytics or tracking of any kind.
- The only network call is the Guide. The specification defines a thin, stateless proxy on Hono and Cloudflare Workers that holds the model key, receives the minimum slice of the Constitution needed for one turn, stores nothing, and fails closed to local fallbacks if unreachable. Logs are append-only with injected time, so the record of returns cannot be quietly rewritten.
The Constitution and the AI Guide
- A versioned Constitution of 320 lines, the user's own document, organized into values, teachings, patterns, early warning signs, a description of a good day and the witness lines, with dated addenda as it evolves. It is the source for the widget's lines, the SOS chips and the Guide's grounding.
- An anti-hallucination Guide. The specification defines an AI companion that may reflect only what is in the Constitution and the logs, must cite which entry it draws on, never asserts the user's inner state or anyone else's motives as fact, and keeps replies short in a hard moment.
- A deterministic guard layer. A plain-code check rejects and regenerates any reply that makes unsupported claims about people, flatters without grounding, or recommends more app use over real-world action.
- Grounded in a study of AI limits. A 206-line document works through nine limitations of language models, from missing grounding and bluffing to sycophancy and specification-gaming, and how a harness answers each. The Guide's rules come from it.
The wider product, specified
The 242-line spec defines six core surfaces plus a learning room, each mapped to a real struggle: the Seat; the Day, a good-day compass with a one-tap "next right thing"; the SOS; the Constitution; a Check-Engine that catches early warning signs on write; the Guide; the Open Hand, a 90-second practice for letting go; the Promise Desk, which catches the jump from one missed promise to a verdict on self-worth and steers toward specific, keepable promises; the Return Log; and the Well, an audio-first library of curated talks with clean import and theme shelves.
What it achieved
- A native iOS app in 13 Swift files and 539 lines of Swift across three targets (the app, the widget and a shared module), with a XcodeGen project file so it builds with one command.
- Every path to help, from the home screen, the lock screen and Siri, reaches a guided return in one action, with no reading or typing required.
- A product specification, a Constitution and an AI-limitations study (18 Markdown documents, 1,541 lines) that make the app's rules explicit and testable.
The problem it solves
The moment a person most needs help is the moment they are least able to use a typical app: they cannot read paragraphs, type a journal entry or navigate menus. Most wellness apps also work against their users, rewarding streaks, shaming misses and optimizing for time in the app. The Witness is designed for the fall as the primary case. It works without calm, willpower or reading, it treats a miss as information instead of a verdict, and its measure of success is that the user needs it less over time.
How he built it
- Design laws first. Six laws in the spec override every feature: help the user see, never cheer or flatter; build for the fall; the practice matters more than the app; no verdicts, only data and return; epistemic humility, enforced; success means needing it less.
- Anti-features enforced, not hoped for. No streaks, no comparison or social feed, no engagement loops, and friction that routes rapid repeated opens out to the body, a person or the ocean.
- The OS is the product. Native SwiftUI, WidgetKit, App Intents and AVSpeech were chosen because the core features (one-tap voice SOS, the lock-screen line, the Siri phrase) are deep system integrations.
- Deterministic everywhere it can be. The widget's rotation, the guard layer and the warning-sign detection are plain code; the model only writes words, inside rules it cannot override.
- Maxwell built it by directing AI agents.