An unknown --harness was only caught at the agent-registry lookup deep in Spawn, after the seed row and worktree were already created: the untyped error collapsed to INTERNAL_ERROR 500 and left a terminated orphan row. Validate the harness against the registry before any durable state is created and return a typed ErrUnknownHarness mapped to UNKNOWN_HARNESS (400). Sibling to #152 Bug 6 (unknown binary on PATH), which did not cover a harness with no registered adapter. Closes #210 |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| sqlc.yaml | ||