Launch sequencing: async check vs blocking first window #41
Notifications
Due Date
No due date set.
Depends on
#38 Gate UI shape: pass, fail, first run vs every launch
AlexKucera/museion
Reference: AlexKucera/museion#41
Reference in new issue
Block a user
Blocked by: #38
Part of #12
Question
The gate is a blocking sheet (variant A) over a visible workspace. Does the app window appear immediately with the sheet up while hermes acp --check runs (~0.4 s, 5 s ceiling), or does the first frame wait for the check? Where does the app-unlock point sit relative to sheet dismissal and provisioning (#13)?
Resolution
Window opens immediately; the check runs async. Four decisions:
First frame vs check — the app window appears immediately on launch;
hermes acp --checkruns async behind a sheet already up in a transient checking state. No splash/no-window launch path exists; a hung hermes costs nothing visually — the 5 s ceiling from #35 flips the card to fail.Checking state — the same card frame as #38's variants, in a checking variant: spinner + "Checking the Engine…", all buttons disabled. Result (or the 5 s timeout) swaps the card content in place to the pass or fail card (#38/#40 shapes); the sheet never closes itself.
Unlock point vs provisioning (#13) — the workspace unlocks at pass-card dismissal. Provisioning (profile create + additive skill seed, first run only) starts the moment a check passes — in parallel with the writer reading the pass card, not serialized before unlock. Provisioning failure surfaces as a separate alert with retry after the card is dismissed; it never re-raises the gate.
Scope of "every launch" (#38) — per app-launch, first window only. New or reopened windows in a running app are not re-gated; gate state is app-scoped, matching #39's one state.json write per launch's check.
Edge for the build session: a discovered-but-hanging binary (5 s timeout) renders the standard fail card from #40 — same install steps, distinguished by the stderr excerpt; no separate timeout card.
With this, every child of the map is closed and no fog remains — the Engine gate is fully specified.
[Generated by AI]