Skip to content

Ticket splitting: split a Spec where a Ticket needs a release of its earlier Tickets #1075

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Problem

A Spec reaches the Base branch through a single Spec PR, after every Ticket is done. So no release can contain an earlier Ticket's work while the Spec is still running. Even so, Ticket splitting can publish a Ticket that needs exactly that, and the Spec is then blocked from the start.

#700 showed this. #994 (ready-for-human) says to run the conversion "once a release with #993 is installed on each host", and #997 is blocked by #994. #993 landed on issue-700, so the only way to get it into a release was to merge the Spec PR. That PR was waiting on #994. The Pickup run failed after 7h 37m with Tickets not done: #994, #995, #996, #997, and the deadlock was broken by hand: PR #1049 now lands the first 12 Tickets early, as "Part of #700", without the Spec's final review.

Landing early also pulled in a semantic conflict with main at a bad moment. A test from #754 exposed a bug from #985: a Session trace that couldn't be finished failed the Run. That bug is fixed in dee0c65 on issue-700.

What to change

When Tickets are split and published, reject a Ticket that depends on a release, deployment or host install of earlier Tickets in the same Spec. Split the Spec at that point instead:

Where it could live

You need to decide where this rule goes:

  • skills/thirdshift-to-tickets (Factory) and/or the Day shift to-tickets procedure in docs/agents/triage-labels.md.
  • Possibly a check when thirdshift validates a published plan, if a reliable signal exists (for example, a Ticket body mentioning a release). That may be too heuristic to enforce in code.

Acceptance criteria

Activity

  1. added
    enhancement
    needs-triage
    on Oct 22, 2026
  2. JacobStephens2 commented on Oct 25, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Ticket-splitting guidance forbids a Ticket that needs a release of its own Spec's earlier Tickets

    Current behavior:
    Neither the Day-shift publication procedure nor the Factory thirdshift-to-tickets skill mentions releases or deployments. A Spec can therefore contain a Ticket that only works after its earlier Tickets ship, as #700 / #994 did.

    Desired behavior:
    The guidance states the rule and the three-part split (Spec A, the human release step, Spec B), with #700 / #994 as the example. The Factory skill, which may not create or modify parent issues, publishes only the Tickets before that point and reports the rest as needing a separate Spec, instead of creating new Specs itself.

    Key interfaces:

    • docs/agents/triage-labels.md (Day-shift publication procedure)
    • The thirdshift-to-tickets Factory skill
    • Generated prompts (UPDATE_PROMPTS=1 cargo test prompts_page)

    Acceptance criteria:

    • Both documents state the rule with the example
    • The Factory skill's instruction says what to publish and what to report
    • cargo test prompts_page passes after regeneration

    Out of scope:

    • A code check that enforces the rule
    • Changing how a Spec run's readiness is computed
  3. added
    ready-for-agent
    in-progress
    and removed
    needs-triage
    ready-for-agent
    on Oct 25, 2026
  4. removed
    in-progress
    on Oct 25, 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