You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Start a new chat's engine on the composer's first keystroke (hides ~2.2 s of the first reply) #851
Start a new chat's engine when the person types the first key in its composer, not when they send. The owner's call of 2026-11-23: build it after word cut M4.
Why (measured 2026-11-23, sessions on the build at b42c0f7)
From spawn to the first drawn row takes about 4–5 s:
Step
Time
Record created → spawn
0.13–0.23 s
Engine boot
1.2–1.4 s
SessionStart hooks
0.5–0.7 s
Initialize answered
at about 2.0 s
First-prompt hold
0.6 s
Turn assembly
0.7 s
Request written
at about 3.5 s
Model to message_start
0.6–1.4 s
MAWS's own calls take 1–120 ms. Starting at the first keystroke hides the boot, the hooks and the initialize (about 2.2 s), which leaves Send → first row at about 2–2.9 s. The engine's own steps and the model's first token are not MAWS's to change (D-1). The diagnosis scripts are on the owner's Mac, not in the repository.
Done when
Typing into a fresh New chat composer starts its session's engine, with the launch spec as it stands at that moment: folder, model, mode, profile.
Sending reuses the running engine.
A change to the launch spec before Send (another folder, model or mode) relaunches it, or applies it through the control protocol where one exists.
An abandoned draft's engine is reaped like any idle session.
The prewarmed spare pool (charter §P1, claim_session) stays deferred.
The first-row time is measured before and after on the same machine.
Activity
Question sheet: three UX wave branches that border C3 and C5, as advi…
prestart engine: the plan's outcomes read the Mac runs at c60c317 (#851)
Merge #880: prestart: a new chat's engine starts at the first keystro…