{"record":{"id":"50a94c72da7cd7b9","repo":"Hmbown/CodeWhale","slug":"fleet-worker-worker-id-has-no-coordination-regis","errorCode":null,"errorMessage":"Fleet worker {worker_id} has no coordination-registered launch spec","messagePattern":"Fleet worker (.+?) has no coordination-registered launch spec","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/tui/src/fleet/manager.rs","lineNumber":1483,"sourceCode":"                            &task_spec,\n                            &worker_spec,\n                            self.run_model(),\n                            &cwd,\n                            &self.workspace,\n                            roster.members(),\n                            None,\n                        )?,\n                        &self.exec_config,\n                    ),\n                    task.entry.attempts,\n                );\n                let launch_spec = match coordination_record {\n                    Some(Some(record)) => {\n                        validate_registered_launch_spec(&record.spec, &expected_launch_spec)?;\n                        record.spec\n                    }\n                    Some(None) => {\n                        bail!(\"Fleet worker {worker_id} has no coordination-registered launch spec\")\n                    }\n                    None => expected_launch_spec,\n                };\n                let command = build_worker_exec_command_with_launch_spec(\n                    codewhale_binary,\n                    &task_spec,\n                    &launch_spec,\n                    &self.exec_config,\n                    model,\n                    roster.members(),\n                )?;\n                Ok((cwd, command))\n            })();\n            let attempt = FleetExecutorAttempt {\n                run_id: task.entry.run_id.clone(),\n                task_id: task.entry.task_id.clone(),\n                attempt: task.entry.attempts,\n            };","sourceCodeStart":1465,"sourceCodeEnd":1501,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/73e0f67d83c59909b571efdfc88c4bc28c309cb1/crates/tui/src/fleet/manager.rs#L1465-L1501","documentation":"Restart preparation requires a coordination-registered launch spec for the worker; its absence means the worker was never registered with the fleet coordination layer or the record was lost, so a generation-safe restart cannot be derived and the operation fails closed.","triggerScenarios":"Thrown at crates/tui/src/fleet/manager.rs:1483 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register a launch spec for the worker first (prepare_registered_restart_generation) before restarting.","Re-derive and re-register the spec if the coordination record was reset."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"73e0f67d83c59909b571efdfc88c4bc28c309cb1","analyzedAt":"2026-09-22T01:30:00.501Z","contentChangedAt":"2026-09-22T01:30:00.501Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}