fix: correct 409 endpoint name — /api/loose-ends not /api/state

This commit is contained in:
iris 2026-07-04 13:48:07 +02:00 committed by mara
commit 527022c5f2

View file

@ -281,7 +281,7 @@ Successful POSTs return 200 (no 303 redirects). Error responses
use semantic status codes: **400** for missing/invalid input
(`body` required, unknown model name, invalid effort level),
**409** for retryable state conflicts (turn in flight when
`/compact` is called, hive-c0re busy on `/api/state`),
`/compact` is called, hive-c0re busy on `GET /api/loose-ends`),
**500** only for genuine server/transport failures. The matching
mutations fire `LiveEvent` variants on the per-agent bus, so the
client doesn't refetch `/api/state` on submit — the SSE stream