Status: target architecture. No JARVIS Home runtime is live yet.
Phil approved the generative-applications direction on 2026-08-12. The prior
reservation and all-channel release architecture remains recoverable from Git
commit ff68263dbcd5ef49b8d2a994cf04349266754561.
GENERATIVE_APPLICATIONS_PLAN.md defines order and timeboxes;
FRIENDS_ALPHA_ACCEPTANCE.md defines observed release proof.
Rulings
Start by adopting one existing Task artifact, not by building a platform.
Trusted Home and generated code never share browser authority.
Add only Application, Application Version, Application Edit, and append-only
ApplicationEvent records for the first loop.
Each Version owns its immutable data Binding Set and API-schema version.
One Application edit builds at a time. The 72-hour proof refuses a second;
visible queueing follows after Build Room.
Store state, not process notification, is the source of runnable work.
Codex is formally qualified. Claude is not eligible for application edits
until its steering delivery passes the unchanged qualification.
Reservations, channel parity, generic editor features, and media precision
do not block JARVIS Home.
System context
JARVIS Home system context. The exact text source is available below.Read exact diagram source
%% title JARVIS Home system context
flowchart TB
person(["Phil\napplication and data owner"])
jarvis["Personal JARVIS + Home\nconversation · applications · Tasks · outcomes"]
harness["Qualified coding Harness\nCodex first"]
model["Foreground model service"]
source["Optional personal-data source\nread-only after first value proof"]
person <-->|"ask · use · edit · preview · keep"| jarvis
jarvis <-->|"durable coding Task"| harness
jarvis <-->|"structured foreground judgment"| model
jarvis <-->|"owner-scoped read"| source
A URL is a locator, not authority. Authentication resolves the exact Person,
and every Application and query rechecks that owner.
Containers
JARVIS Home container boundaries. The exact text source is available below.Read exact diagram source
%% title JARVIS Home container boundaries
flowchart TB
user(["Authenticated person"])
codex["Codex Harness"]
subgraph trusted["Trusted Personal JARVIS boundary"]
coordinator["Coordinator\nconversation · auth · outcomes · outbox"]
home["JARVIS Home shell\nlibrary · composer · trusted controls"]
api["Application API\nowner checks · typed broker · edit admission"]
tasks["Task Agent Control\nTask · Attempt · Input · session"]
verifier["Verification gate\nbuild · security · function · rendering"]
records[("Canonical SQLite store")]
artifacts[("Content-addressed artifacts")]
watcher["Outside-process answering monitor"]
end
sandbox["Opaque-origin generated-app sandbox\nno parent authority · no API network/storage/submission"]
user <-->|"authenticated use"| home
home <-->|"conversation"| coordinator
home <-->|"app state and trusted actions"| api
home <-->|"version-bound messages"| sandbox
api <-->|"typed response only"| sandbox
api -->|"durable edit input"| tasks
tasks <-->|"qualified session"| codex
tasks --> verifier
verifier --> artifacts
verifier --> records
coordinator <--> records
api <--> records
tasks <--> records
watcher --> coordinator
Trust boundary
The Home shell owns authentication, navigation, the Ask JARVIS bar, Preview,
Keep, Discard, Undo, delete, and the data broker. Generated application code
runs in an iframe without allow-same-origin, top-navigation, pop-up, download,
or storage authority. Ordinary inputs and buttons may run JavaScript. Its
Content Security Policy blocks subresource and API network access, workers,
nested frames, form submission, and external resources.
Admission rejects forms, links, meta refresh, and direct navigation APIs. The
browser observer attaches before trusted Home sets the frame source, allows the
one expected document request for the admitted content-addressed URL, and fails
the Version on every other request or later frame navigation. This alpha
boundary admits reviewed JARVIS-generated code; it does not claim to safely
execute arbitrary hostile uploads.
The only crossing is a version-bound postMessage protocol:
The broker rejects unknown message sources, versions, queries, commands,
parameters, and fields. A candidate Preview receives synthetic data and no
write commands. Generated code cannot supply owner, Application, event type, or
lifecycle action, and never sees session cookies, CSRF tokens, connector
credentials, raw SQL, secret paths, unrestricted URLs, or another person's
records.
The trusted shell counts each frame's messages before parsing or server work.
More than 120 messages in ten seconds or ten protocol violations in ten seconds
revokes and removes the frame, so a generated message loop cannot flood the
coordinator. A frame has four requests in flight; the durable
owner-plus-Application bucket permits 60 reads and 20 commands per minute.
Requests are at most 16 KiB and eight JSON levels; responses are at most 256 KiB
and 100 rows. Event payloads are at most 8 KiB, and one Application accepts at
most 10,000 data events or 16 MiB of personal event payload.
Every broker operation has a five-second absolute deadline and a
250-millisecond SQLite busy timeout. Cancellation is checked before the append
transaction and immediately before commit. A timed-out command cannot append
later, and a finally path releases its in-flight slot. Every data event has a
schema version; verification, Keep, and Undo project all retained events through
the target Version's declared projector before promotion.
Keep is issued only by a trusted-shell control after a real user gesture. Fixed
trusted chrome sits outside and above the clipped frame and displays a distinct
JARVIS Preview origin label. Generated code may draw a lookalike inside its own
frame, but cannot overlay the trusted chrome or reach the server action. The
trusted handler alone sends authenticated Person, CSRF token, Application ID,
base Version ID, and candidate Version ID.
Canonical records
JARVIS Home canonical record relationships. The exact text source is available below.Read exact diagram source
Stores ID, owner Person, one canonical owner-scoped Conversation, name, slug,
originating Task/Attempt provenance, live Version pointer, state, and timestamps.
One owner and Conversation are immutable. At most one Version is live. Both
composer modes persist Messages in this Conversation, every linked coding Task
uses it as the origin return address, and two Applications cannot share one.
Application Version
Stores Application, parent/base Version, producer kind/reference, source
manifest hash, build hash, routes, runtime profile, immutable Binding Set,
API-schema and projector versions, creation class, and evidence. A normal candidate
names its Task Attempt. The first Gym Version names
producer_kind=adoption_migration, the original Task/Attempt/source hash,
serving release commit, transform version, and output hash. A source manifest
hash—not a Git commit—is authoritative. Version rows are insert-only:
candidate, preview-ready, live, discarded, and undone are projections of the
Application live pointer plus append-only lifecycle events, never mutable
Version state.
A Binding Set lists exact typed queries and returned fields permitted for
that Version, plus a separate allowlist of typed write commands. Code, Binding
Set, and schema version are promoted and undone as one unit. A benign edit
cannot widen the base Binding Set. An instruction must explicitly name a new
data capability; Preview then shows the exact query, command, and field diff,
and Keep requires a separate trusted-shell confirmation for that widening.
Application Edit
Stores Application, base Version, requester, source Message and Interaction,
new coding Task and first Attempt, exact instruction, optional semantic anchor,
idempotency key, lifecycle state, candidate Version, lease, retry count, and
evidence. One idempotency key maps to one logical edit.
Application Event
Stores Application, owner, family, authorizing live Version or trusted actor,
server-owned event type, schema-valid payload, predecessor or superseded event,
stable idempotency key, and server time. It is append-only. data.* events
project current app data. Trusted Home alone writes lifecycle.* events for
register, preview-ready, keep, discard, undo, revoke, and delete. Gym Log uses
only gym.list_people, gym.list_sessions, gym.add_session, and
gym.remove_session; the latter
two map inside the broker to data.session_added and data.session_removed.
Generated code cannot choose a different event type or forge owner, Version,
promotion, deletion, or lifecycle fields.
Promotion, discard, undo, recovery, revoke, and delete are append-only
Application events. A Keep transaction compares the current live pointer with
the edit's base, moves it once, and writes the event atomically.
Large source, build, screenshot, and attachment bytes live outside SQLite in
content-addressed storage. Owner deletion removes this Application's personal
events, Versions, evidence, and blob references and overrides recovery;
canonical Conversation and Task history remain and the confirmation discloses
that retention. A physical blob is removed only when no retained owner,
Application, Version, or evidence reference uses its hash. A non-personal
tombstone may preserve the Application ID, owner ID, deletion time, and state.
Application adoption and creation
Existing application adoption flow. The exact text source is available below.Read exact diagram source
%% title Existing application adoption flow
sequenceDiagram
participant H as Trusted Home
participant A as Application API
participant R as Record store
participant F as Artifact verifier
participant S as Opaque sandbox
H->>A: Adopt verified Gym artifact
A->>F: Deterministic release-owned migration and verification
F-->>A: Hashes, routes, runtime profile, evidence
A->>R: Create Application + Conversation + candidate Version + preview event
H->>A: Open synthetic-data Preview
H->>A: Keep with null-base compare-and-set
A->>R: Set live pointer + append keep event
H->>A: Open live Version
A-->>S: Self-contained bytes + restrictive policy
S-->>H: Render with zero trusted authority
Gym Log is adopted first after replacing localStorage with the typed broker;
replacing its HTML form and browser confirmation with ordinary inputs, explicit
buttons, and in-frame confirmation; and replacing hard-coded personal labels
with gym.list_people plus synthetic build fixtures. The release-owned
transform, not the original Task Attempt, produces the changed bytes. Adoption
starts private and cannot set the live pointer until the user's Keep. A later
new application uses the same records but starts with a durable Task Input and
creates a candidate before promotion.
Edit lifecycle
Durable single-flight application editing. The exact text source is available below.Read exact diagram source
%% title Durable single-flight application editing
sequenceDiagram
participant U as User
participant H as Trusted Home
participant C as Application Conversation
participant A as Application API
participant R as Record store
participant T as Task Agent Control
participant V as Verification gate
U->>H: Choose Edit this app and submit instruction
H->>A: Exact Application, base Version, instruction, idempotency key
A->>A: Single-flight check before persistence; bypass foreground model
A->>R: Atomically commit Message + delegate_task Interaction + Edit + new Task/Input/Attempt
R-->>C: Persist in canonical Application Conversation
T->>R: Store-derived claim of new Attempt
T->>T: Materialize base + tests + bindings + synthetic fixtures + ordered app history
T->>V: Isolated candidate source and build
V->>V: Objective security, build, function, and rendering gates
alt objective gates pass
V->>R: Atomically complete Task/Attempt + Version + Preview + candidate_ready return
H-->>U: Isolated Preview with trusted Keep and Discard
U->>H: Keep
H->>R: Auth + CSRF + compare-and-set promotion
else any gate fails
V->>R: Explicit failed state and evidence
H-->>U: Honest failure
end
The terminal return points to a private Preview in the canonical Application
Conversation and never invokes the public publisher. Keep and Discard are user
decisions after Task completion. Critic evidence may say whether observable acceptance checks appear satisfied.
It does not certify subjective taste. The user chooses Keep.
Scheduling, recovery, and conflict
For the 72-hour proof, one Application has at most one active edit. A second
request returns edit_active before persistence, preserves composer text, and
creates no Message, Interaction, Edit, Input, Task, Attempt, Context Pack, or
candidate. Each
accepted edit freezes an immutable base artifact and uses its own candidate
workspace; mutable session state cannot change its base. The worker finds the
new Attempt from durable store state. Notifications reduce latency but
are not required. The first crash gates are commit-before-notification,
coordinator restart, and a missing or invalid terminal manifest.
After Build Room is useful, one Application owns one active edit lease and
later edits queue visibly in first-in-first-out order. An expired lease resumes
the exact Attempt or starts one honestly labeled retry. The broader gates cover
build-before-Version, verify-before-Preview, Keep interruption, Undo, and two
candidates from one base. Only the first valid Keep can win; the other becomes
stale and remains inspectable. No edit may remain indefinitely queued,
building, verifying, or recovering.
The owner-plus-Application idempotency key binds requester, source submission,
base Version, destination, anchor, and instruction. Exact replay returns the
same rows; any changed field returns idempotency_conflict without leaking row
IDs. Application Tasks are admitted and claimed only with Codex. Each edit
exposes its authenticated Task Agent Chat; steering changes only that Task and
Attempt, never creates another Edit.
Later leases last 90 seconds and renew every 30 seconds. Fifteen minutes without
a durable non-heartbeat Harness, tool, source, test, or candidate event raises a
visible stale warning, not an interrupt. Ordinary resource guards and the
authorized-user Task ceiling of at least 24 hours remain the backstops.
Semantic edit anchors
The first target mechanism is a visible Select control. Its anchor stores:
The stable semantic ID is authority. If it is missing from the base Version,
the API refuses the edit. Screenshot and point explain intent but never cause a
guess. Keyboard and switch-access users can reach the same Select control.
Press-and-hold, tether, drawings, attachments, frame ranges, fixed-resolution
coordinates, and pixel nudge are deferred.
Personal-data lifecycle
Build Room is the first application backed by pre-existing JARVIS records and
uses existing Task data before any connector. Coding agents see the query
schema and synthetic fixtures; runtime values cross only the trusted broker.
JARVIS Results uses the same owner-scoped Task projection. One
task_fact_corrected row in the existing task_events append log references
the earlier fact; both applications render that same source event ID. Generated
code receives only artifact IDs. home.open_artifact(artifact_id) makes
trusted Home recheck owner, verified-outcome membership, and the stored
reachable URL before opening a trusted-shell view.
A later source grant stores data owner, source-account principal, provider,
scopes, allowed fields, retrieval time, freshness, and revocation state.
Disconnect or revoke blocks new queries immediately. The UI distinguishes
current, stale, partial, empty, revoked, and unavailable data. Source text is
untrusted data, never a coding instruction.
Application deletion removes its personal ApplicationEvent rows, private
screenshots and attachments, Version rows, and content-addressed references.
Canonical Conversation, Messages, Interactions, Tasks, and Inputs remain in
JARVIS history, which the confirmation discloses. A physical blob is deleted
only after no retained owner, Application, Version, or evidence reference uses
its hash, so deleting one Application cannot break another.
Existing foundations and non-claims
The current clean-slate runtime already supplies canonical conversation and Task
records, Codex Task execution, responsive web composition, artifact verification,
and immutable releases. It does not yet supply Home, Application records, the
sandbox broker, or the edit lifecycle.
The outside-process answering watcher must be proven loaded and live for each
release. Its source files or an earlier deployment are not current proof.
Claude remains selectable infrastructure but is not a qualified application-
edit Harness while steering delivery is unknown. Reservation capability and
deferred channel lanes remain future integrations, not JARVIS Home gates.