Status: approved execution active. Current target: generative applications.
GENERATIVE_APPLICATIONS_PLAN.md is the full mechanism and timebox.
FRIENDS_ALPHA_ACCEPTANCE.md is the executable evidence gate; its filename is
retained so existing links continue to work. TODO.md is the only work list.
TL;DR
Adopt one application JARVIS already built, put it in private Home, and prove
two sequential phone edits through isolated candidates—one Kept and one
Discarded—within 72 hours. Then make JARVIS Build Room useful from existing Task
records. Add semantic selection and compounding reuse only after that loop
works.
Reservations, channel parity, generic editor infrastructure, pixel/media
annotation, and a new personal-data connector do not consume the first 72 hours.
Authority and constraints
Implementation follows this order:
Phil's verbatim 2026-08-12 direction;
GENERATIVE_APPLICATIONS_PLAN.md;
PRODUCT_CONTRACT.md and architecture.md;
FRIENDS_ALPHA_ACCEPTANCE.md;
this file;
the intro video and historical plans as vision and evidence.
Execution rules:
One build writer works in /Users/jarvis/jarvis-mvp.
Research and adversarial reviewers are read-only.
/Users/jarvis/JARVIS remains read-only; the completed three-review gate
permits behavioral reference, not wholesale source copying.
At a one-minute load average of 10 or more on this 10-logical-CPU production
Mac, run only one heavy test or browser process.
Production runs from a dedicated immutable release checkout.
A test or commit is not live proof.
Never use kill, pkill, or killall.
Phil's standing build authorization covers exact JARVIS-owned account, OAuth,
personal-data, public-exposure, spending, and clean-slate production actions
required here. It does not authorize secret-content access, impersonation,
writes under /Users/jarvis/JARVIS, or skipped acceptance evidence.
Codex is the only formally qualified Task Harness. Claude remains selectable
and has live failover plumbing, but its steering delivery has not passed the
unchanged qualification; JARVIS Home edits route only to a formally qualified
Harness until that proof exists.
An outside-process answering watcher exists and has prior deployment evidence.
Its current loaded/live alarm state must be checked before each product release;
the existence of watcher code alone is not proof it is armed.
Two real Task artifacts already exist:
Gym Log;
Table for Two — SF favorites.
They are evidence that JARVIS can generate an application. They are not proof
that Home or application editing exists.
Build sequence
JARVIS Home build sequence. The exact text source is available below.Read exact diagram source
%% title JARVIS Home build sequence
flowchart LR
decision["GA0. Publish decision"]
adopt["GA1. Adopt existing app"]
edit["GA2. Text edit in 72 hours"]
room["GA3. Build Room from existing records"]
target["GA4. Select semantic object"]
compound["GA5. Reuse same query in second app"]
decide["GA6. Day 14 decision"]
decision --> adopt --> edit --> room --> target --> compound --> decide
GA0 — publish the decision
Align the current product, architecture, build, acceptance, instruction, work
list, and public documentation sources. Record the Build Test against Replit,
Lovable, Base44, and the already-proven JARVIS Task artifact path.
Close when: focused documentation tests pass and the fetched public route
contains the merged plan's unique 72-hour target.
GA1 — adopt one existing application
Run one deterministic, app-specific adoption transform over the exact verified
Gym Log artifact. It replaces localStorage with the version-bound broker's
gym.list_sessions, gym.add_session, and gym.remove_session contract;
rewrites submit, reportValidity, FormData, and reset behavior as ordinary
inputs and explicit button handlers; and replaces window.confirm with an
in-frame confirmation state. Replace hard-coded personal labels with the typed
gym.list_people binding and synthetic build fixtures. Register the output as
an immutable private candidate Version with
producer_kind=adoption_migration, original Task/Attempt/source-manifest
provenance, serving release commit, transform version, output hash, and
verification evidence. Create the Application with one owner-scoped canonical
Conversation and no live pointer; show a trusted synthetic-data Preview and
require the user's first Keep to compare-and-set null to that Version. Use only
four new durable records: Application, immutable
Application Version, Application Edit, and append-only ApplicationEvent. Start
the seven-day use window on first real Home use no later than the end of Day 3.
Close when: a real phone Previews, Keeps, and opens the exact migrated
Version from Home; its
producer evidence names both the original artifact and the release-owned
transform without attributing changed bytes to the original Attempt; the
trusted shell and generated frame cannot access each other's authority; and
refresh plus coordinator restart preserve the same live Version; no hard-coded
owner/collaborator value appears in transformed source or a coding Context Pack.
GA2 — complete the text edit loop
Reuse the existing Ask JARVIS composer with a visible Ask JARVIS / Edit this app
switch. Every Application owns exactly one canonical Conversation. Ask uses the
ordinary Foreground Model Adapter path; Edit bypasses that adapter and
deterministically selects delegate_task. For an accepted Edit this app, one
transaction writes the canonical Message, Interaction, Application Edit, normal personal_jarvis Task
Input with action=create, new Task, first Attempt, Context Pack, and
Application linkage, with that Conversation as the Task origin return address.
Pin the Task and worker to Codex. Do not widen existing
Task Input enums, completed-Task guards, or the generic Harness selector.
Retrying one owner-plus-Application key returns the same complete row set only
when requester, source submission, base, destination, anchor, and instruction
match byte for byte; any mismatch returns idempotency_conflict. Run one edit
at a time per Application. Refuse a second before persistence with
edit_active, preserve its composer text, and create none of Message,
Interaction, Edit, Input, Task, Attempt, or Context Pack.
Before launch, materialize the exact hash-verified base Version, tests, Binding
Set, schema, and synthetic fixtures. Include the ordered earlier Application
instructions, Keep/Discard decisions, objective evidence, and relevant linked
Task outcomes, without real personal values. Give the new Task the private candidate
manifest contract rather than the original public-artifact prompt.
On success, one terminal transaction completes the Attempt and Task, creates an
immutable private candidate and trusted Preview receipt, appends
lifecycle.preview_ready, and queues one idempotent app-specific
candidate_ready return to the Application Conversation. It never calls the
public publisher, creates a public URL/provider publication receipt, or emits
the original public-artifact completion outbox. Keep/Discard remain later user
decisions, not Task completion. Objective checks cover
identity, build, sandbox, functional behavior, and phone/desktop rendering.
Critic evidence describes the requested change without pretending to decide
taste. Preview stays separate from live until the trusted shell performs Keep.
An edit that did not explicitly request a named data capability must preserve
its base Binding Set. Any requested widening shows an exact query/command/field
diff and requires a separate trusted-shell confirmation at Keep.
Close within 72 hours when: two sequential real-phone instructions create
two changed candidates; live bytes remain unchanged before each decision; one
candidate is Kept and the later candidate is Discarded; Keep survives restart;
the same idempotency key creates no duplicate Message, Interaction, Edit, Task,
Attempt, return, or candidate; a changed request under that key conflicts; a
second concurrent edit leaves the full row set empty; the exact Task Agent Chat
opens and steering it creates no second Edit; a forged Claude
Application Task is refused; and unchanged, partial, or missing-manifest work
is reported honestly.
GA3 — make Build Room useful
Generate one application that reads the existing owner-scoped Task, Attempt,
progress-event, blocker, and verified-outcome projections through the trusted
broker. Generated code receives schema-valid synthetic fixtures during build,
not Phil's real record values.
Close when: phone and desktop show current work, why it exists, last
progress, exact blocker, and verified result from canonical records; one real
Task update changes the screen without a rebuild.
After that value proof, add visible first-in-first-out edit queueing, expiring
leases, Undo, stale-candidate refusal, and the remaining crash-point recovery.
GA4 — select a semantic object
Add stable data-jarvis-id handles and a visible Select control. Capture exact
base version, route, semantic ID, screenshot hash, viewport, scroll, local point,
and instruction. Refuse an anchor if the object no longer exists.
Close when: one phone instruction changes the intended object, leaves a
named sibling unchanged, and a deleted target refuses. Drawings, attachments,
frame ranges, source pixels, nudge controls, and precise long-press geometry are
not part of this gate.
GA5 — prove compounding
Create JARVIS Results, whose distinct job is to find and open delivered
work, from the same typed query and Binding Set. Add no connector, storage type,
or runtime primitive. Append one owner-authorized task_fact_corrected event
to the existing canonical task_events log for an earlier Task fact and
observe that same event ID through both applications. Record elapsed build time
against Build Room.
The frame receives artifact IDs, never arbitrary URLs. It may request only
home.open_artifact(artifact_id); trusted Home rechecks the owner,
verified-outcome membership, and stored reachable URL before opening the
artifact in a trusted-shell view.
Close when: Phil opens one real completed artifact from JARVIS Results; an
unowned, unverified, or query-absent artifact ID is refused; the second
application requires less new work and passes the same private-runtime and edit
gates.
GA6 — decide from use
By Day 14, record one consecutive seven-day window with use on at least five
days, completed Keep or Discard choices, failures, missing-data cases, and the
owner's continue/change/stop decision.
One read-only calendar and Today may begin after GA4 only if Build Room shows
real repeated use. It cannot delay GA5 or GA6. Reservation work remains parked
through the decision.
Security and data rules
Generated code runs in an opaque-origin sandbox with no subresource/API
network access, form submission, top navigation, pop-ups, browser storage,
service workers, nested frames, parent DOM, or login access. Ordinary inputs
and buttons may run JavaScript.
Admission rejects forms, links, meta refresh, and direct navigation APIs. The
browser observer attaches before the trusted shell sets the frame source,
allows only the one expected document request for the admitted
content-addressed URL, and then fails a Version on any other request or later
frame navigation. This alpha boundary admits reviewed JARVIS-generated code,
not arbitrary hostile uploads.
The trusted parent exposes one schema-checked, version-bound message broker.
The trusted shell counts before parsing or server work and removes a frame
after 120 messages in ten seconds or ten protocol violations in ten seconds.
Every Version owns its immutable Binding Set and API-schema version.
Binding Sets list reads and writes separately. The trusted broker maps each
allowed write command to a server-owned event type and derives owner,
Application, Version, and time; generated code cannot forge authority or
lifecycle events. Candidate Previews use synthetic read-only data.
Broker requests are at most 16 KiB and eight JSON levels; responses are at
most 256 KiB and 100 rows; each frame has at most four in flight. Durable
owner-plus-Application buckets allow 60 reads and 20 commands per minute.
Event payloads are at most 8 KiB; commands stop at 10,000 data events or 16
MiB of stored personal payload for one Application. Every request has a
five-second deadline and 250-millisecond SQLite busy timeout; cancellation is
checked before append and commit, late commands cannot append, and cleanup
always frees the in-flight slot.
Every data event names a schema version. Candidate verification, Keep, and
Undo must project every retained event under the target Version's declared
projector before promotion.
Keep requires trusted-shell authentication, CSRF protection, a user gesture,
and a compare-and-set against the exact base version.
Coding agents receive synthetic fixtures by default.
A connector grant records data owner, source account, scopes, allowed fields,
and revocation state.
Disconnect blocks new queries. Application deletion hard-deletes personal
ApplicationEvent rows, screenshots, attachments, this Application's artifact
references, and Versions,
then leaves only Application ID, owner ID, deletion time, and deleted state.
Canonical Conversation, Messages, Interactions, Tasks, and Task Inputs remain
in JARVIS history, and the confirmation says so before deletion. Shared
content-addressed bytes are physically removed only after their last retained
owner/Application/Version/evidence reference disappears.
Public evidence uses synthetic or redacted values.
Recovery and concurrency rules
During the 72-hour proof, one edit per Application builds at a time and a
second is visibly refused.
A store-derived claim finds committed edit Attempts; notification is an
optimization, not the only wake path.
The first proof covers commit-before-notify, coordinator restart, invalid
terminal manifests, and idempotent admission.
After Build Room, visible queueing, expiring leases, Undo, stale-base refusal,
build-before-Version, verify-before-Preview, and Keep-interruption recovery
become the reliability gate.
Later leases last 90 seconds and renew every 30 seconds. Fifteen minutes with
no durable non-heartbeat Harness, tool, source, test, or candidate event shows
a stale warning but does not interrupt legitimate work. Ordinary resource
guards and the authorized-user Task ceiling of at least 24 hours remain the
backstops; recovery allows at most one retry. Heartbeats alone do not clear
the warning.
These rules make TODO items N-182 and N-185 acceptance dependencies of GA2,
not unrelated cleanup.
Release proof
Each user-visible gate requires:
focused record, API, and security tests;
independent adversarial review of sibling failure shapes;
real phone and desktop interaction with zero uncaught page errors;
exact commit and immutable release identity;
serving-process start time after the release commit;
record IDs, hashes, fetched bytes, and redacted screenshots tied to that
release.
If two builder attempts fail on one seam, stop patching and compare upstream
repair, maintained-tool replacement, or deletion under the Build Test. If GA2
misses 72 hours or GA6 lacks repeated use and compounding by Day 14, do not
extend the schedule with infrastructure work.