Skip to content

close-cards: the open-PR-references skip counts pm:mailbox PRs, which mention card numbers in knocks, so cards are falsely skipped #34154

Closed as not planned

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ① a measured tool defect (triage, 2026-11-15 p3 review). ⛔ Not a claim.

What happens

scripts/pm/close-cards.mjs skips a card when an open pull request cross-references it (--skip-pr-referenced, default on, reading timeline cross-referenced events). Seat mailboxes are open pull requests labelled pm:mailbox, and knocks mention card numbers. So a card a seat merely mentioned in a mailbox knock reads as "an open PR references it" and is skipped:

The work-around is --no-skip-pr-referenced, which also drops the real protection for every other card in the plan.

Change

Exclude open pull requests labelled pm:mailbox (and any pm:seat post) from the referenced-by set. A real PR that names the card keeps the skip. Add a self-test row for a mailbox-only reference.

scripts/pm/** is not governed; the seat lands it after review.

Activity

  1. added
    tooling
    pm:queue
    domain:skills
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: not planned · maintainer 2026-11-20 ~04:2xZ, verbatim: 「关」, on triage's listed batch of eight no-user-effect, non-eval p3 cards.

    2026-11-20T04:17Z · Closed as not planned. close-cards counting seat-mailbox mentions as PR references affects triage only, and --no-skip-pr-referenced already covers it.

  3. removed
    pm:queue
    on Nov 20, 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

    area:fleetdomain:skillspriority:p3tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions