Repository navigation
Description
What happened
Every stage job in reusable-dispatch.yml (triage, code, review, fix, retro, prioritize, harness fan-out) runs in a concurrency group keyed on the work item with cancel-in-progress: true. A second push, comment, label, or title edit on the same item cancels the in-flight job and a fresh job repeats all the work on a new VM and sandbox. #1014, #4960, #6573 quantify the token waste on review bursts; #1207 is the same problem from the other side (triage misses the update that arrived while it ran).
Proposed change
Keep the runs; steer the running agent.
- Runtime
Steerercapability. Claude Code (-p --input-format stream-json) and pi (--mode rpc,streamingBehavior: steer) take a second user message at the next tool boundary inside the running turn; Codex has no live channel inexec, so interrupt the turn andcodex exec … resume <thread_id> -with the message. All three verified on the pinned versions (2.1.258/259, 0.84.4, 0.152.1). - Follow-up run watcher in the runner. GitHub Actions cannot deliver input to a running job, but every legitimate update already produces a shim run whose
Routejob applied ADR 0054 and selected a stage. The runner lists shim runs created after its own start (job token, Actions read) and accepts one only on server-side provenance: shimpath+ event allowlist,referenced_workflowsequal to its own run's,Routejobsuccess(not the run conclusion:queue: singlecancels superseded pending stage jobs), my stage job notskipped, bound to my work item, consumed once by run id. The runner never calls the permission API. - Dispatch.
cancel-in-progress: falseon the stage jobs (defaultqueue: singleis the burst debounce), a queued-run skip check that reads the in-flight run's "consumed follow-up run N" marker, and arun-name:on the per-repo shim carrying the item number. The existing stage commands (/fs-triage,/fs-review,/fs-fix) steer an in-flight run;fullsend steer <url>posts them from a workstation. - Fleet backstop (agents repo, separate PR): end-of-run head/comment re-check with
FULLSEND_RUN_HEAD_SHA/FULLSEND_RUN_STARTED_AT.
Scope: per-repo installs and this repo (per-org mode is deprecated, ADR 0044). GitLab already queues; only the runner side and the skip check apply there.
Validation criteria
- A push during an in-flight review produces one review on the settled head, with the steer visible in the transcript and the queued run exiting on the skip check.
- A fork author's stage command is ignored (every stage job skipped in its run); an authorized one reaches the session.
- Steering is on by default. A harness that sets
steer: {enabled: false}keeps the ADR 0106 path, and no stage regresses for it. - A run whose steer is refused or undelivered falls back to the queued run.
Related: #1014, #4960, #1422, #6573, #1207, #1637, #459, #6932, #5445, #2399.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Sep 3, 2026
🤖 Finished Triage · ✅ Success · Started 11:48 AM UTC · Completed 11:54 AM UTC
Commit:
2a10349· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.96
fullsend-ai-triage commentedon Sep 3, 2026
Workflow changes required — manual intervention needed. This feature requires modifying
reusable-dispatch.yml(flippingcancel-in-progresstofalseon all stage jobs, adding a queued-run skip check) and per-repo shim workflows (addingrun-name:with the item number). The code agent cannot modify workflow files under current permissions, so these changes will need a human-authored PR or maintainer action.Related work
This issue supersedes the narrower debouncing proposals:
/fs-cancelslash command) — related but orthogonalConsider closing #1014, #4960, and #1422 as subsumed if this design is accepted, since steering eliminates the need for debouncing.
Proposed test case
Design note
The fleet backstop (end-of-run head/comment re-check with
FULLSEND_RUN_HEAD_SHA/FULLSEND_RUN_STARTED_AT) is correctly scoped as a separate PR in the agents repo. No tracking issue exists for it yet — consider filing one when work begins.Labels: Feature request touching dispatch concurrency and runner lifecycle, with high impact from token waste on review bursts.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidanceifireball commentedon Sep 3, 2026
@waynesun09 see #6909 we seem to be thinking about the same problem, or at least the same problem space
ifireball commentedon Sep 3, 2026
/re-triage consider the relevance of #6909
fullsend-ai-scribe commentedon Sep 3, 2026
Meeting update — 2026-09-03
Relevant to this issue: The team discussed shifting from event-based triggering to an entity-based reconciliation model for agents, directly supporting this issue's goal of steering in-flight runs rather than cancelling them.
Related PRs: PR #6959 — steer the in-flight agent run on work-item updates; PR #6956 — entity-first harness evaluation ADR
Next steps: Draft a steering mechanism ADR to formalize the entity-based reconciliation approach.
Meeting notes
fix(agents): document the forge data the fix re-check filters on
fix(agents): recognize Jira app accounts in the re-check bot filter
195 remaining items
fix(harness): opt prioritize, retro and scribe out of steering
fix(harness): opt code, fix, review and triage into steering explicitly
feat(agents): re-check the work item once before writing the result
feat(agents): act on a runner update that amends the task mid-run
fix(agents): document the forge data the re-checks filter on
fix(agents): drop only fullsend's own comments in the re-check
fix(agents): decide what to do when the re-check finds a moved head
test(scripts): assert the agent re-check and runner-update contract
fix(harness): opt prioritize, retro and scribe out of steering
fix(harness): opt code, fix, review and triage into steering explicitly
feat(harness)!: steer by default, opt out with steer.enabled: false
feat(harness)!: steer by default, opt out with steer.enabled: false
feat(harness)!: steer by default, opt out with steer.enabled: false
feat(harness)!: steer by default, opt out with steer.enabled: false
feat(harness)!: steer by default, opt out with steer.enabled: false