mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
Fixes #1475 `Control.CreateWorker` does not validate `Worker.sandbox_class`, so a client can register a worker with an empty one (and any record written before this keeps it). `RegisterWorkerCount` tallied that raw value, so `ate.workerpool.workers` emitted `ate_sandbox_class=""` — not a member of the `ate.sandbox.class` registry vocabulary — alongside the pool's seeded series at 0. This change normalizes the worker's class with the existing `ateattr.NormalizeSandboxClass`, so an empty class reports as `unknown`. New `ateattr.SandboxClassAttribute`, used by every emitter. This closes the same gap on `ate.actor.crashes` and the `ate.actor.lifecycle.*`. - [x] Tests pass - [x] Appropriate changes to documentation are included in the PR