Skip to content

Fix retained progress handling for retryable runtime failures - #347

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/phase-goal-retained-progress
Jun 12, 2026
Merged

Fix retained progress handling for retryable runtime failures#347
yvette-carlisle merged 1 commit into
mainfrom
xy/phase-goal-retained-progress

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • stop generic retryable runtime/app-server failures with tracked worktree changes as retained partial progress
  • preserve repo-gate continued-repair failures as bounded automatic repair
  • document the runtime contract and add a regression test

Root Cause

XY-941 attempt 1 reached validation-ready work with dirty tracked changes, but the retryable failure branch wrote generic retry/idle handling before retained-progress terminal handling could own the lane. That made the lane look abnormally idle instead of a clear manual takeover point.

Validation

  • cargo test -p decodex retryable_runtime_failure_with_retained_tracked_changes_records_retained_partial_progress --all-features
  • cargo test -p decodex loop_guardrail_does_not_classify_dirty_retained_diff_as_no_effective_diff --all-features
  • cargo test -p decodex retryable_failures_ignore_prior_continuation_attempts_in_writeback --all-features
  • cargo make fmt
  • cargo make lint-fix
  • cargo make test
  • cargo make check
  • git diff --check

…es with retained progress","authority":"manual","related":["XY-941"]}
@yvette-carlisle
yvette-carlisle merged commit 4719b9b into main Jun 12, 2026
14 checks passed
@yvette-carlisle
yvette-carlisle deleted the xy/phase-goal-retained-progress branch June 12, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant