Skip to content

P1: add durable continuation for escalated workflows #222

Description

@safal207

Parent

#216

Goal

Store unresolved CI/CD workflows so they can resume safely after new evidence or human input.

Required state

  • action and trajectory IDs;
  • escalation reason;
  • checkpoint reference;
  • continuation reference;
  • expiry and retry policy;
  • repository, PR, base, and head;
  • pending resolution.

Acceptance criteria

  • duplicate resume is idempotent;
  • changed base, head, or workspace requires revalidation;
  • resumed context does not reuse prior merge permission;
  • expired continuation fails closed;
  • stale checkpoint cannot replace newer state;
  • resume triggers a fresh Action Envelope evaluation;
  • tests cover missing review, unknown mergeability, temporary outage, duplicate resume, target drift, and invalid permission carry-over.

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions