[claude] fix: Workshop error state for perpetual INITIALIZING (#7) #11
Reference in New Issue
Block a user
Delete Branch "claude/issue-7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #7
Problem
When
main.jsfails to load (network error, CORS, script blocked), the Workshop HUD stays on "INITIALIZING" forever — no error, no retry, no fallback. The existing retry logic inmain.jsonly handles WebSocket failures, not the case where the JS itself never runs.Changes
index.html): An 8-second inline script detects ifmain.jsnever setwindow.__workshopBooted = trueand transitions the HUD to an error state with retry button./api/uifallback link: Added to the HUD, shown in offline state so users have an alternative path.main.jscoordination: Sets__workshopBootedflag on load and shows the fallback link in all offline states.Acceptance Criteria