Gateless launch S1: async engine check, rail pill, auto-fire — the full flip #151
Notifications
Due Date
No due date set.
Blocks
#139 Mentor Gate
AlexKucera/museion
Reference: AlexKucera/museion#151
Reference in new issue
Block a user
Build ticket for the gateless-launch flip — one slice, the whole interlocking change. Decisions: map #148 (esp. #150's resolution); UX contract: #149's resolution comment (variant A).
Context
Every launch opens straight into the workspace. The engine check (
hermes acp --check) runs async at app start; provisioning (×3 profiles) and the daily backup auto-fire the moment it passes. Engine state stays visible without ever interrupting: a rail-bottom pill (only while checking or failed) plus mentor-pane header states. The blocking gate sheet, the placeholder logo screen, and theProvisioningFailureCardsheet all die.Acceptance criteria
Machinery
AppGateState.startLaunchCheck(): wiresgateModel.onPass(provisioningrunPass(hermesBinary:)thenbackup.runPass(), the exact chain from today'sContentView.onEnginePass) and awaitsbeginAutomaticCheck(). Called fromContentView.task. No-ops under hosted tests (XCTestConfigurationFilePath— the panes' guard pattern) and on repeat calls (hasStartedpreserves #41's one-check-per-launch, first-window-only rule).EngineGateModeland its phase machine stay as-is — the pill's state source (checking → pulse, fail → orange, pass/idle → hidden).ContentViewrendersWorkspaceViewunconditionally. The posts scan starts at first frame, concurrent with the engine check — nothing library-side waits on the gate. Placeholder logo, gate sheet,failurePresentedbinding, and both sheet modifiers die.AppGateState:gateRaisedandgateDismisseddeleted.state.jsonsemantics unchanged (wholesale replace per completed check, Re-check included; About keeps reading it).Pill + card (geometry and states per #149's resolution — the binding contract)
exclamationmark.triangle.fillon accent-12% wash. Healthy: nothing renders, slot collapses, rail spacing closes.x = railWidth + 12, bottom 14, surface bg, accent-0.5 border, radius 12, shadow; floats, never blocks, never pushes layout. Chevron collapses; slot click re-opens.<path>").ProvisioningFailureCarddeleted.Mentor pane
hermes <base>once ready (base, not the gate's derived version). Session chip renders only once ready; status text wins layout priority..task(id:)or equivalent) so panes spawn the engine the moment the check lands.Records
Museion/AGENTS.mdengine-gate section rewritten for the gateless posture, CHANGELOG entry, devlog.Tests
EngineGateTestsprobe/model tests stay untouched and green (they construct models directly).startLaunchCheckpins (auto-fire chain fires per passing check, hosted-test no-op, repeat no-op) and pill visibility mapping (idle/pass → hidden, checking → pulse, fail → orange + expanded).References
[Generated by AI]