Skip to content

cap-ok: tighten the follow-up match and the checkout check (#340 notes) #341

Backlog

Description

@bfcarrasco

Notes from the judge's PASS+NOTES on #340 (head 9f78995), none blocking:

  • F1: cap-ok matches a follow-up issue to the PR by substring, so an issue that names .../pull/55 counts as a follow-up for PR 5. Match the PR URL as a whole word.
  • F2: a head pushed after the cap and never judged merges on the orchestrator's OK. Its status then names the PR, not a judge comment. The owner's OK already behaved this way before feat(gate): the orchestrator's OK at the round cap #340.
  • F3: the checkout check in cap-ok misses a worktree detached at an older commit of the PR. A check against every commit of the PR, or against the PR's worktrees, would close that gap.

Where: plugins/bstack/scripts/lib/cap-ok.mjs, plugins/bstack/scripts/lib/merge-gate.mjs.

Activity

  1. added
    needs-triage
    on Dec 5, 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

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions