Skip to content

Gate follow-up issue creation with the evaluate-issue rubric and add a sweep that closes low-value agent-filed follow-ups #781

Description

@justin808

Motivating miss

In shakacode/control-plane-flow a pr-batch coordinator filed issues 461, 462, 463, 468, and 470 from independent-checker and review-bot findings during one batch. 468 and 470 were pure checker observations (theoretical gaps with no in-tree trigger, low blast radius) and were closed as not planned by the maintainer, who asked for intelligent auto-closing of such issues.

The pack already has the policy (workflows/pr-batch-integration-closeout.md → Follow-Up Tracking Policy: "Follow-up issues are expensive. Default to no new issue") and the rubric (skills/evaluate-issue: close / not planned disposition, "do not create follow-up issues for every skipped idea"). The coordinator bypassed both because a personal CLAUDE.md rule said to always file follow-ups. Two gaps remain even when the coordinator obeys the pack:

  1. Filing-time gate is prose. Nothing in pr-batch closeout mechanically runs the evaluate-issue rubric on a candidate follow-up before gh issue create. A checker's LOW/INFO findings should score as close or park and land in the PR decision log, not as issues.
  2. No sweep for already-filed follow-ups. plan-issue-triage produces a review-only audit prompt; there is no execution mode that evaluates open Follow-up:-prefixed issues authored by agents and closes the close / not planned ones with the closing-evidence gate.

Proposal

  • Add a triage-followups skill (or an execution mode of plan-issue-triage) that: lists open issues carrying the repo's follow_up_prefix (and optionally an agent-filed label), runs the evaluate-issue rubric per issue with the source PR's review record as evidence, and applies dispositions: close / not planned → close with a rationale comment; park / P3 → label parked, no milestone; fix later / P2 and above → keep. Require authorization the same way evaluate-issue does for label changes.
  • Add a filing-time gate to pr-batch closeout: a candidate follow-up must pass the Follow-Up Tracking Policy conditions and score at least fix later / P2 under evaluate-issue; otherwise the coordinator records it in the PR decision log only. Emit the rubric result in the handoff so the decision is auditable.
  • Document in the personal-instructions guidance that "always file follow-ups" must defer to the pack policy.

Acceptance criteria

  • Checker-only LOW/INFO findings never become issues by default
  • A one-command sweep closes or parks low-value agent-filed follow-ups with a recorded rationale
  • Both paths are replayable in the batch handoff

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

    P1High priority: verified material impact; schedule ahead of speculative improvementscomplexity:simplifyRemoves code, duplicated rules, states or maintenance obligations. Not a merge-readiness verdict.triage:simplify-nextFocused simplification after overlapping work is resolved; reduce code and obligations.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions