Reset edge spend when a reroute is accepted #1112

Open
opened 2026-10-18 17:03:31 +00:00 by jared · 0 comments
Owner

Problem

os-sdlc-reroute-request does not reset the exhausted edge spend.
A reroute grants zero retries on the edge that caused it.
The orchestrator must then hand-finish the ticket.

Observed

Run 64 (#1104): escalation 37 had reason bound_exhausted:behavior-verifier/fail.
The orchestrator fixed the ticket and rerouted.
The first behavior-verifier fail after the reroute (dispatch 589) escalated at once as escalation 39.
state_dump edge_spends showed behavior-verifier/fail spent 2.

Reproduce

n/a: needs a pipeline run that exhausts an edge bound, then a reroute; evidence is run 64 in .sdlc/pipeline.db.

Origin

  • Trigger: run 64 escalations 37 and 39
  • Improvised this session: hand-finish
  • Chain: escalation 39 at dispatch 589 ← edge spend kept across reroute ← reroute does not reset edge_spends (cause not yet traced to a file) ← IMPROVISATION (hand-finish)
  • Where: plugins/os-sdlc/lib/os_sdlc/implementation/rerouting.rb
  • Session: de7c1b66-6981-4cf4-8801-e5e4ad89758b
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/de7c1b66-6981-4cf4-8801-e5e4ad89758b.jsonl

VERDICT: CREATE

## Problem `os-sdlc-reroute-request` does not reset the exhausted edge spend. A reroute grants zero retries on the edge that caused it. The orchestrator must then hand-finish the ticket. ## Observed Run 64 (#1104): escalation 37 had reason `bound_exhausted:behavior-verifier/fail`. The orchestrator fixed the ticket and rerouted. The first behavior-verifier fail after the reroute (dispatch 589) escalated at once as escalation 39. state_dump `edge_spends` showed behavior-verifier/fail spent 2. ## Reproduce n/a: needs a pipeline run that exhausts an edge bound, then a reroute; evidence is run 64 in .sdlc/pipeline.db. ## Origin - Trigger: run 64 escalations 37 and 39 - Improvised this session: hand-finish - Chain: escalation 39 at dispatch 589 ← edge spend kept across reroute ← reroute does not reset edge_spends (cause not yet traced to a file) ← IMPROVISATION (hand-finish) - Where: plugins/os-sdlc/lib/os_sdlc/implementation/rerouting.rb - Session: de7c1b66-6981-4cf4-8801-e5e4ad89758b - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/de7c1b66-6981-4cf4-8801-e5e4ad89758b.jsonl VERDICT: CREATE
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1112
No description provided.