What to build
GET /api/slots/doesntexist returns 404 with code slot.not_found, but GET /api/slots/doesntexist/config returns 400 with code slot.config_error: slot config /etc/hal0/slots/doesntexist.toml not found and no in-memory state. A UI distinguishing "slot doesn't exist" from "slot exists but config is bad" gets ambiguous signals.
Map "no config file AND no in-memory state" to SlotNotFound (404) upstream in the slot manager's get_config() method.
Acceptance criteria
Blocked by
None - can start immediately
Sourced from tests/harness/FINDINGS.md §19 (low).
What to build
GET /api/slots/doesntexistreturns 404 with codeslot.not_found, butGET /api/slots/doesntexist/configreturns 400 with codeslot.config_error: slot config /etc/hal0/slots/doesntexist.toml not found and no in-memory state. A UI distinguishing "slot doesn't exist" from "slot exists but config is bad" gets ambiguous signals.Map "no config file AND no in-memory state" to
SlotNotFound(404) upstream in the slot manager'sget_config()method.Acceptance criteria
GET /api/slots/doesntexist/configreturns 404 with codeslot.not_foundslot.config_errorBlocked by
None - can start immediately
Sourced from
tests/harness/FINDINGS.md§19 (low).