Collapse the ward agent dispatch fork onto cli-guard dispatch.Dispatcher #267

Closed
opened 2026-06-24 07:46:08 +00:00 by coilyco-ops · 1 comment
Member

agent*.go (agent.go, agent_route.go, agent_reply.go, agent_tab.go, agent_ask.go, agent_reserve.go) is a container-shaped fork of cli-guard's dispatch.Dispatcher, which already abstracts headless/interactive/detached spawn, issue resolve, owner-trust, and reap. Reusable pieces ward re-implemented: pre-flight verdict parsing, detached-spawn health-window, the two-sided reservation lock, salvage-reap, the owner-trust gate, and an issue-ref parser that duplicates dispatch.ParseIssueRef (ward's own comment flags it).

  • Drive dispatch.Dispatcher with container seams instead of re-hosting it; keep only the seeded-prompt prose, harness selection, and Forgejo comment bodies in ward.
  • Depends on the cli-guard issue to make dispatch.Dispatcher pluggable (container backend + pre-flight verdict stage), landed + released first.
  • High risk: this IS the live dispatch path.

From the 2026-06-24 ward/cli-guard boundary audit. See ward docs/architecture.md (the 3-layer model: cli-guard engine / ward-kdl generator / ward product). Related: ward#194, ward#200, cli-guard#139.

`agent*.go` (`agent.go`, `agent_route.go`, `agent_reply.go`, `agent_tab.go`, `agent_ask.go`, `agent_reserve.go`) is a container-shaped **fork** of cli-guard's `dispatch.Dispatcher`, which already abstracts headless/interactive/detached spawn, issue resolve, owner-trust, and reap. Reusable pieces ward re-implemented: pre-flight verdict parsing, detached-spawn health-window, the two-sided reservation lock, salvage-reap, the owner-trust gate, and an issue-ref parser that **duplicates** `dispatch.ParseIssueRef` (ward's own comment flags it). - Drive `dispatch.Dispatcher` with container seams instead of re-hosting it; keep only the seeded-prompt prose, harness selection, and Forgejo comment bodies in ward. - **Depends on** the cli-guard issue to make `dispatch.Dispatcher` pluggable (container backend + pre-flight verdict stage), landed + released first. - High risk: this IS the live dispatch path. From the 2026-06-24 ward/cli-guard boundary audit. See ward docs/architecture.md (the 3-layer model: cli-guard engine / ward-kdl generator / ward product). Related: ward#194, ward#200, cli-guard#139.
Author
Member

Re-triage (goose-triage method, claude-macos-kais-macbook-pro-2 as the judgment engine, 2026-06-24)

  • P2 - Collapse the dispatch fork onto cli-guard, committed migration, depends on a cli-guard change.
  • interactive - High-risk live dispatch path with a cli-guard dependency, agent works it then pauses at the verify.
<!-- goose-triage --> **Re-triage** (goose-triage method, claude-macos-kais-macbook-pro-2 as the judgment engine, 2026-06-24) - **P2** - Collapse the dispatch fork onto cli-guard, committed migration, depends on a cli-guard change. - **interactive** - High-risk live dispatch path with a cli-guard dependency, agent works it then pauses at the verify.
coilysiren added
P3
and removed
P2
labels 2026-07-01 04:29:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/ward#267
No description provided.