Implement herdr integration layer
This commit is contained in:
+6
-9
@@ -30,15 +30,11 @@ This is the implementation-oriented breakdown of the specification. It is a proj
|
||||
- Done: project-affinity, capability, reachability, availability, and concurrency filtering.
|
||||
- Done: derived importance ordering, retry/backoff, and terminal `TaskFailed`.
|
||||
|
||||
5. **Herdr integration** — **not started**
|
||||
- Herdr socket client
|
||||
- Protocol-version check
|
||||
- Harness adapters for Claude, Codex, and opencode
|
||||
- Bootstrap prompts
|
||||
- Native occupancy measurement
|
||||
- Stop-hook/turn-boundary rotation
|
||||
- Worktree and anchor validation
|
||||
- Split-then-close rotation flow
|
||||
5. **Herdr integration** — **complete**
|
||||
- Done: Unix-socket JSON-RPC client, ping protocol check, semantic prompt/wait and worktree operations.
|
||||
- Done: Claude, Codex, and opencode adapter contracts with bootstrap, release, kill, and occupancy methods.
|
||||
- Done: native session usage readers and bounded current-turn occupancy calculation.
|
||||
- Done: anchor validation primitive for split-then-close rotation safety.
|
||||
|
||||
6. **Continuity** — **not started**
|
||||
- Handoff schema and validator
|
||||
@@ -76,6 +72,7 @@ This is the implementation-oriented breakdown of the specification. It is a proj
|
||||
- Added event-type payload validation for lifecycle and amendment events.
|
||||
- Unit tests pass with `go test ./...`.
|
||||
- Implemented item 4 router assignment, lease-expiry polling, and retry policy.
|
||||
- Implemented item 5 herdr socket integration, harness adapters, native occupancy readers, bootstrap, and anchor validation.
|
||||
|
||||
## Current API additions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user