B11 — Escalate dev→boss after N silent failures (close F2 cont.) #427
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#427
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 switch the agent type from
dev(Sonnet) toboss(Opus) after a PR has triggered N silent failures,so that complex multi-file conflicts get the bigger model on the second try.
Last night the same
devtask failed silently 6× on PR #420. When the operator finally delegated to a general-purpose Opus subagent, the rebase succeeded first try. Pattern: multi-file board conflicts exceed Sonnet's diff-merging reliability; Opus handles them.Acceptance criteria
Routing
silent_failure_count >= 1: route to typebossinstead ofdev(preservetask.branch_override).Escalated to @boss after N silent completion(s) on @dev (rebase-task duration < 30 s, no sha change).config/agents.json→escalation_target: "boss"(default per type —dev→boss,reviewer→boss, others → none).Budget
max_escalations_per_day(default 10) inconfig/agents.json.flow:dead-letterinstead of escalating, log[escalation] daily cap reached, dead-lettering #N.Tests
Out of scope
References
docs/specs/automation-hardening.md§4 B11.apps/server/src/domain/agents/,apps/server/src/http/webhook.ts.Dependencies