mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-04-23 05:06:12 +02:00
43058dc789
Wire the worker boot control plane into the existing worker lifecycle telemetry so ready and terminal transitions emit structured worker.init/worker.done events. This also records boot duration on the worker state itself, resets the timer on restart, and covers the new telemetry path with a focused registry test. Constraint: Boot duration must measure the current worker boot cycle without changing existing worker state transitions Rejected: Record boot timing only in ad-hoc session trace attributes | loses the worker lifecycle event envelope and shared helper path Confidence: high Scope-risk: narrow Directive: Keep worker boot duration tied to ReadyForPrompt for a single boot cycle and reset it whenever the worker restarts Tested: cargo build --workspace; cargo test --workspace Not-tested: Live CLI-driven worker sessions outside the in-memory registry/test harness