Skip to content

Distinguish Spec runs waiting for the Day shift from failed Spec runs #585

Description

@JacobStephens2

This was generated by AI during triage.

Problem

A Spec run skips Unready Tickets while scheduling, but every open Ticket counts as unfinished at completion. Consequently, intentionally deferred human decisions receive the same overall failed outcome as an execution failure.

In #427, Tickets #550, #551, and #552 deliberately remain labelled needs-triage until the Day shift grades the Security review trial findings and chooses a mode. The trial landed as #557, but the decision remained open. These Tickets would have caused “Tickets not done” even if #544's capacity failure had not happened.

This is an intentional existing contract, not an accidental regression: #144 explicitly requires a Failed spec run whenever any Ticket is unfinished.

Proposed behavior

Decisions needed

  • Which situations qualify as waiting: Unready triage labels, external blockers, nested Tickets, or some subset?
  • How should dependents of a human-gated Ticket be presented?
  • What exit code should a waiting Spec run return, and how should notifications and Activity logs represent it?
  • How should cycles, failed blockers, interruptions, and mixed causes retain their distinct meanings?
  • What Claim behavior should apply? Waiting must not cause scheduled passes to repeatedly take the same unfinished Spec.

Validation targets

  • Independent ready Tickets still run when another Ticket is awaiting a human decision.
  • A run with only human-gated unfinished work has the agreed waiting outcome and explains the action needed.
  • A run containing a failed Ticket remains failed and reports both the failure and any independent human gates.
  • Cycles and interruptions are not silently reported as successful completion or ordinary human waiting.
  • An incomplete Spec PR stays draft; no Spec review or Self-merge starts.
  • Continuing after the gate is resolved skips closed Tickets and processes newly runnable Tickets.

Scope

Outcome classification and its presentation. No automatic triage decisions, relabelling of human-gated Tickets, partial-Spec merging, or new scheduler.

Evidence and related work

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

    enhancementNew feature or requestneeds-triageMaintainer needs to evaluate this issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions