Skip to content

Design: define integration, repair, and supersession semantics #190

@devkade

Description

@devkade

Design: define integration, repair, and supersession semantics

Parent: #167
Related: #168, #172

Summary

Define how failed or partial task outcomes create repair work, how repair tasks supersede failed tasks, and how verified worker outputs become IntegrationCandidate records.

Scope

Define:

  • repair task creation rules;
  • repair budget consumption;
  • same-worker vs different-worker retry policy;
  • failed dependency downstream behavior;
  • task supersession semantics;
  • IntegrationCandidate model;
  • integration dry-run behavior;
  • conflict and regression handling;
  • final integration gate inputs.

Non-goals

  • No automatic merge-to-main behavior.
  • No destructive branch/worktree cleanup.
  • No GitHub PR merge/tracker semantics in core.

Acceptance criteria

  • Repair task generation rules are documented.
  • Supersession rules are documented.
  • IntegrationCandidate model is defined.
  • Dry-run integration gate is defined.
  • Conflict handling and rollback expectations are defined.
  • Relationship between evaluation verdicts and repair/integration is explicit.

Verification

  • Walkthroughs for clean integration, conflict repair, failed dependency, and exhausted repair budget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions