Skip to content

include link to original gh issue for thirdshift run in notice email of run finish #704

Closed

Description

@JacobStephens2
No description provided.

Activity

  1. JacobStephens2 commented on Oct 17, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Link the original issue in every issue-based completion notification, including Spec runs.

    Current behavior:
    A Run notification's subject identifies the repository and issue number, and its body starts with Result: and may include a pull request link. The body has no direct link to the original issue. #219 also explicitly requests the Spec issue URL in a Spec run's notification; its separate request for a body result status is already implemented.

    Desired behavior:
    For a notification about a known issue, add one Issue: line containing the full original Issue URL immediately after Result:. Apply this to directly started Runs, Spec runs and a Pickup run's dispatched work. A Spec run's line must link its parent Spec, not a Ticket or the pull request. Include the line for every existing notification outcome, including failure or interruption when a notification is sent, without requiring a pull request to exist.

    Key interfaces:

    • IssueUrl: provides the full original issue URL.
    • Notification issue identity (Subject::Issue and Notifier::took): retains the issue selected directly or by Pickup.
    • Notification body rendering: use that known identity to add the Issue line.

    Acceptance criteria:

    • A directly started Run's completion body includes exactly one Issue line with its original Issue URL.
    • A Spec run's completion body links the parent Spec, including when Ticket or PR URLs are also present.
    • A Pickup run's notification links the issue it dispatched, including a dispatched Spec.
    • Existing failure and interruption notifications with a known issue retain its URL even when no PR was opened.
    • Result: remains the first body line, followed by Issue:; existing outcome, PR, Ticket and log information remains available.
    • Relevant notification coverage verifies original-issue identity for Run, Spec and Pickup paths, plus a failure without a PR; the documented body format is updated.

    Out of scope:

    • New notification triggers, changes to skip behavior, notification subjects or delivery settings.
    • Choosing a new issue identity for Architect or Security Pass notifications that do not already have an issue subject.
    • Adding private advisory URLs or otherwise broadening Security notification contents.

    Consolidation: This brief preserves the outstanding Spec-URL requirement from #219; its Result: requirement has already shipped.

  2. added
    enhancement
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 17, 2026
  3. removed
    in-progress
    on Oct 17, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions