Task · SKT-0195

Count caller resends of a callee's subtree failures as demand

Description

Follow-up to SKT-0168.09.33. Callers that retry 5xx resend whole subtrees, but the causal model adds no demand for those resends (v1 rule): with a 5xx-retrying caller the function’s attempt count stays at 3600 against 10800 app attempts. Enabling it naively causes a throttle storm because a fast-failing call is held for its full healthy duration; it needs the failed call’s real hold time first. Evidence: /Users/rob/repos/synthkit/codex/loop58/dmd/return.md (D2).

Acceptance Criteria

Definition of Done

Implementation Notes

CodeRabbit on landing 10 (internal/causal/flow.go serve): the outcome mapped through CallerStatus keeps rule: f.key.rule, so callers above the rule’s direct caller never resend a mapped rule rejection, though docs/workloads.md says only the direct caller suppresses it. Fix together with this task: drop the rule flag on mapped outcomes.

View the source file on GitHub