Launch sequencing: async check vs blocking first window #41

Closed
opened 2026-09-03 11:53:30 +02:00 by AlexKucera · 1 comment
Owner

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)?

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)?
AlexKucera added the wayfinder:grilling label 2026-09-03 11:53:30 +02:00
AlexKucera added a new dependency 2026-09-03 11:54:02 +02:00
AlexKucera self-assigned this 2026-09-03 12:48:34 +02:00
Author
Owner

Resolution

Window opens immediately; the check runs async. Four decisions:

  1. First frame vs check — the app window appears immediately on launch; hermes acp --check runs 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.

  2. 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.

  3. 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.

  4. 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]

## Resolution **Window opens immediately; the check runs async.** Four decisions: 1. **First frame vs check** — the app window appears immediately on launch; `hermes acp --check` runs 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. 2. **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. 3. **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. 4. **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]
Sign in to join this conversation.