B10 — Suspect-completion watchdog (close F2 — silent failures) #426
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#426
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?
As an orchestrator,
I want to re-dispatch when a task reports success without changing the underlying PR state,
so that silent failures are caught at iteration 1 instead of after the operator notices an hour later.
Last night Sonnet on
devreturneddone — task completedin 5–30 s for 6+ rebase attempts on PR #423 / #420 without actually rebasing — the agent gave up silently and the orchestrator trusted the success signal.Acceptance criteria
Detection
branch_override = dev/Nand the task type isrebaseorfix-ci).mergeable = falseat start: log[suspect-completion] task <id> completed without sha change — flagging, increment a per-PRsilent_failure_count, and re-dispatch the same task type withescalate_after: N(consumed by B11).Dead-letter path
silent_failure_count >= 3for the same PR: skip re-dispatch and emit aflow:dead-letterevent so the operator dashboard (B15) shows the PR as needing manual intervention.Tests
Out of scope
References
docs/specs/automation-hardening.md§4 B10.apps/server/src/domain/agents/runner.tsfordone — task completed.