Skip to content

Post a failed Run's Recovery, and a waiting Spec's reasons, as a generated issue comment #1904

Closed

Description

@JacobStephens2

This was generated by AI during a grill-with-docs session.

Parent

#1901

What to build

Put a failure's Recovery on GitHub. When a Run ends agent-failed, other than a failed Security fix, thirdshift posts one comment on the issue. It opens with the repository's AI-attribution line, then gives the cause, where the Run stopped, what was preserved (the Issue branch and pull request by name), the machine, and "put ready-for-agent back to retry". It has no local paths and no continue command. A Run that fails again posts again. A failed Security fix posts nothing, so its details stay in the private advisory. A failure that releases its issue to ready-for-agent posts nothing, so a retry loop can't fill the issue.

A Spec run that ends only waiting (from #1903) posts one comment on its Spec naming each undone Ticket and what it waits on. A failure to post is a warning, never a failure. Update the guide and site pages that describe Recovery.

Acceptance criteria

  • A Failed ticket run, Failed spec run or failed Custom process that ends agent-failed posts one generated comment with the cause, stopping point, preserved branch and pull request, machine and retry instruction.
  • The comment contains no local path and no thirdshift continue command.
  • A failed Security fix posts no comment.
  • A failure that releases its issue to ready-for-agent posts no comment.
  • A waiting Spec run posts one comment on its Spec naming each undone Ticket and its reason.
  • A failed comment post is a warning, and the Run's outcome is unchanged.
  • Tests go through the fake gh integration tests, asserting the recorded issue comments.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 9, 2026
  2. JacobStephens2 commented on Nov 10, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1940, merged into issue-1901 by a thirdshift Ticket run with Self-merge.

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

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions