Grilling: provisioning failure & retry UX #45

Closed
opened 2026-09-03 16:33:15 +02:00 by AlexKucera · 1 comment
Owner

Blocked by: #44

Part of #13

Question

#41 fixed the posture: provisioning runs in parallel the moment a gate check passes; failure = a separate alert + retry, never re-raises the gate. What is that failure UX, exactly? Grill: alert copy and content (does it distinguish profile-create failure from skill-seeding failure?), actions (Retry alone, or Retry + continue-unprovisioned?), what Retry re-runs (whole provisioning or just the failed phase), whether provisioning state is visible anywhere after dismissal (About? logs?), whether partial success (profile created, seeding failed) surfaces differently, and what gets recorded — state.json extension vs nothing (mind #39's schemaVersion discipline).

[Generated by AI]

Blocked by: #44 Part of #13 ## Question #41 fixed the posture: provisioning runs in parallel the moment a gate check passes; failure = a separate alert + retry, never re-raises the gate. What is that failure UX, exactly? Grill: alert copy and content (does it distinguish profile-create failure from skill-seeding failure?), actions (Retry alone, or Retry + continue-unprovisioned?), what Retry re-runs (whole provisioning or just the failed phase), whether provisioning state is visible anywhere after dismissal (About? logs?), whether partial success (profile created, seeding failed) surfaces differently, and what gets recorded — state.json extension vs nothing (mind #39's schemaVersion discipline). [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-09-03 16:33:15 +02:00
AlexKucera added a new dependency 2026-09-03 16:34:34 +02:00
AlexKucera self-assigned this 2026-09-03 17:28:21 +02:00
Author
Owner

Resolution

Five decisions:

  1. Cadence — every gate pass, idempotent. Provisioning runs on every gate pass as a no-op when complete: profile-dir check first (spawn hermes profile create only when the dir is missing), then per-skill additive seed for missing skills only. "First run only" (#41) describes when visible work happens, not a trigger condition. No has-run flag, no state.json extension — nothing records cadence.

  2. Alert — one alert, phase-named copy. Create failure: "couldn't set up the writing profile". Seeding failure: "couldn't copy the writing skills". Error excerpt behind a Technical details disclosure (same idiom as the #40 fail card). Excerpt source differs by phase: create errors print on stdout (#43), copy errors on stderr. Partial success (profile created, seed failed) needs no separate surface — the phase name is the signal.

  3. Actions — Retry (default) + Not Now. Not Now is a plain dismiss; its consequence is the next launch's pass retrying silently. No "continue-unprovisioned" third action — the app is usable unprovisioned until a session starts, so the concept buys nothing.

  4. Retry scope — the whole pass. Create is idempotent (exit-1 "already exists" = success, #43); seed is additive and per-skill atomic. Resuming from the failed phase would need a phase-tracking state machine nothing needs.

  5. Recording — nothing durable. state.json stays schemaVersion 1, engine-gate-only, single writer = the gate (#39). About unchanged. At most one os_log line per failure carrying the excerpt for Console.app diagnosis. Post-dismissal visibility: none — the next launch's pass is the silent retry. If sessions (S2.3) ever need an "incomplete skills" surface, that's their effort, not this map's.

Fog dissolved by this resolution: "What the writer sees of provisioning success" — nothing; success is a silent no-op (map's Not-yet-specified line removed).

[Generated by AI]

## Resolution Five decisions: 1. **Cadence — every gate pass, idempotent.** Provisioning runs on every gate pass as a no-op when complete: profile-dir check first (spawn `hermes profile create` only when the dir is missing), then per-skill additive seed for missing skills only. "First run only" (#41) describes when visible *work* happens, not a trigger condition. No has-run flag, no state.json extension — nothing records cadence. 2. **Alert — one alert, phase-named copy.** Create failure: "couldn't set up the writing profile". Seeding failure: "couldn't copy the writing skills". Error excerpt behind a Technical details disclosure (same idiom as the #40 fail card). Excerpt source differs by phase: create errors print on **stdout** (#43), copy errors on stderr. Partial success (profile created, seed failed) needs no separate surface — the phase name is the signal. 3. **Actions — Retry (default) + Not Now.** Not Now is a plain dismiss; its consequence is the next launch's pass retrying silently. No "continue-unprovisioned" third action — the app is usable unprovisioned until a session starts, so the concept buys nothing. 4. **Retry scope — the whole pass.** Create is idempotent (exit-1 "already exists" = success, #43); seed is additive and per-skill atomic. Resuming from the failed phase would need a phase-tracking state machine nothing needs. 5. **Recording — nothing durable.** state.json stays schemaVersion 1, engine-gate-only, single writer = the gate (#39). About unchanged. At most one os_log line per failure carrying the excerpt for Console.app diagnosis. Post-dismissal visibility: none — the next launch's pass is the silent retry. If sessions (S2.3) ever need an "incomplete skills" surface, that's their effort, not this map's. Fog dissolved by this resolution: "What the writer sees of provisioning success" — nothing; success is a silent no-op (map's Not-yet-specified line removed). [Generated by AI]
Sign in to join this conversation.