Skip to content

feat: Smart retry policies with safe rebase for failed jobs #51

@nigel-dev

Description

@nigel-dev

Source

Audit report — Section 9: Phase 3 Roadmap

Description

When a job fails, the only option is manual intervention (inspect, fix, relaunch). There is no automated retry mechanism that can safely rebase the job's work onto the latest base branch and retry.

Proposed Solution

  1. Retry policy configuration: Per-job or global config for max retries, backoff strategy
  2. Safe rebase before retry: When retrying, rebase the job's branch onto the latest base/integration branch to pick up any changes from other jobs
  3. Conflict detection: If rebase conflicts, pause and notify instead of blindly retrying
  4. Retry context: Pass failure context to the retried agent (what failed, error output) so it can adapt
  5. Retry limits: Configurable max retries with exponential backoff to prevent infinite loops

Relationship to Other Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3: lowNice to have — polish, cleanup, or long-termenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions