Grilling: provisioning failure & retry UX #45
Notifications
Due Date
No due date set.
Depends on
#44 Grilling: museion-tools profile-config seam at M0
AlexKucera/museion
Reference: AlexKucera/museion#45
Reference in new issue
Block a user
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]
Resolution
Five decisions:
Cadence — every gate pass, idempotent. Provisioning runs on every gate pass as a no-op when complete: profile-dir check first (spawn
hermes profile createonly 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.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.
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.
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.
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]