Enforce escalate routes in Map::Validator; add them to coding.yaml #513
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#513
Loading…
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?
Context
Since ADR-0152 every implementation carries a never-opt-out DispatchBudget (DEFAULT_CAP 60, map dispatch_cap override); at the cap RoutingApplier routes the current position's escalate edge. poodr-implementation.yaml carries these edges; maps/coding.yaml does not, so a capped run on it raises Router::UnroutableVerdict — surfaced at the CLI boundary as a generic exit-3 error, indistinguishable from other routing failures — instead of the escalation payload.
Ticket-skeptic verdict: CREATE (root = validator: loaded maps can silently violate a cap invariant that is never opt-out; keep this ticket to drive validator enforcement, not just the coding.yaml patch).
Tasks
Acceptance criteria
Origin
85d5326) — agent follow-up reportWork started on branch 513-escalate-route-validation (TDD)
Resolution
Done: Validator check_escalate_route! enforces an escalate route from every agent node to an escalation terminal at map load; coding.yaml wired with escalate edges and needs-orchestrator terminal; named InvalidMapError(:missing_escalate_route) replaces cap-time UnroutableVerdict/exit-3 for this gap.
Evidence: Commit
8e3d836, merged to main992e80a2026-08-26; suite 1140 runs, 0 failures (baseline 1137); 3 new validator tests + 7 fixture maps wired.Follow-ups: Two agent suggestions dropped as speculative without evidence: (1) grep sweep for other production maps — none exist today; (2) revisit agent:null exemption predicate for hypothetical future node types. No follow-ups captured.