Skip to content

Surface and recover from rebase or push conflicts #4

@Adjanour

Description

@Adjanour

Summary

Enhance the end-of-session workflow so rebase and push conflicts are detected, paused cleanly, and resumable once the user resolves issues.

Motivation

  • README.md Phase 3 roadmap highlights conflict handling as required polish.
  • docs/MVP1-SUMMARY.md lists conflict detection and guidance as part of the next milestone.

Scope

  • Detect conflicts during git rebase or git push inside sess end.
  • Pause the workflow with clear instructions that follow docs/cli_design_guide.md.
  • Persist intermediate state so users can resume after manual fixes.
  • Provide a resume path that continues PR creation once conflicts are resolved.
  • Add safeguards to prevent partial session termination.

Out of Scope

  • Automatic conflict resolution.
  • Support for parallel sessions.

Acceptance Criteria

  • When conflicts arise, the CLI pauses, prints actionable guidance, and keeps the session state consistent.
  • After manual conflict resolution, rerunning the end workflow resumes without redundant steps.
  • QA notes document conflict, abort, and resume scenarios.

References

  • README.md (Phase 3: Conflict Handling)
  • docs/technical-spec.md
  • docs/MVP1-SUMMARY.md
  • docs/cli_design_guide.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions