dispatch: foreground/in-place CI execution mode #141
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a foreground / in-place execution mode to the dispatch subsystem so it can run inside a Forgejo Actions runner, not only on a workstation.
This is piece 1 of 4 for the "@claude in a Forgejo issue summons a containerized implementer" capability (the @codex-style integration). The other three live in
infrastructure.Context
ward dispatch headless <ref>today assumes workstation execution:claude -pand returns immediately~/projects/coilysiren/.dispatch-worktrees~/.dispatch-logsNone of that fits CI, where the job process is the agent lifecycle and the checkout already exists in the runner workspace.
Ask
Add a sibling execution mode in
cli-guard/cli/dispatch(e.g.ward dispatch ci <ref>, ordispatch headless --foreground --in-place) that:claude -pin the foreground, blocking until the agent exits (so the Actions job tracks it)~/projectsworktree, no~/.dispatch-logsautonomous-block:issue and surfaces the failure, same as workstation dispatchOut of scope
.forgejo/workflows/claude-issue.ymltrigger (infra ticket)Design reference
Forgejo Actions trigger + reuse-dispatch-brain was the chosen path. Trigger surface is canonical Forgejo (not the PR-gated GitHub mirror); execution reuses this package rather than a fresh CI-native
claude -p.🔒 Reserved by
ward agent claude— containerward-cli-guard-issue-141-claude-2e610c24on hostkais-macbook-pro-2.localis carrying this issue (reserved 2026-06-24T04:36:16Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (2h0m0s TTL);--forceoverrides.— Claude (she/her), via
ward agent