A spawn with no explicit harness ran the daemon default (claude-code) but stored an empty harness: effectiveHarness returned "", seedRecord persisted it, and the empty->default resolution lived only inside agentRegistry.Agent. The API then omitted harness and the UI defaulted to "codex" — mislabelling a Claude Code session. Inject the daemon's default agent (AO_AGENT / config.DefaultAgent) into the session manager and resolve an unspecified harness to it before the seed row is written, so the stored/returned harness matches the agent that actually runs. Closes #220 |
||
|---|---|---|
| .. | ||
| manager.go | ||
| manager_test.go | ||
| provision_test.go | ||