Skip to content

Explore a pre-dispatch gate for agent-selected PR work #12

Closed as not planned

Description

@blackopsrepl

Observation

People are shooting swarms of agents at Omarchy PRs, or asking an agent to “choose adjacent ones” from a number range. The selection happens before checking the surrounding backlog, classification, overlap, work already in progress, or who is authorized to act. A plausible review of one PR does not make the selection policy sound.

In the October 1 discussion, Justin reported six workers covering 170 open items (#13740–#13949) and later posted a triage-report PR. The exchange on #13889 exposed a real migration filename collision, but the author pointed out that the underlying problem includes migration-ID generation and integration order, not simply retargeting one PR. This is a concrete example of why isolated agent comments and adjacent-number allocation can misframe work. The report and comments are not evidence that Tranche was used, nor that Omacom endorsed the selection or conclusions.

Question to study

What gate should a reviewer or agent pass before selecting and dispatching work so it cannot silently treat arbitrary PR-number ranges, adjacency, or unconstrained autonomous choice as a coherent triage unit? This is a selection and coordination problem, not a bot-identity classifier or a request to ban AI reviews.

Investigation

  • Trace the actual handoff: who selects PRs, from which corpus and snapshot, with which classification/grouping, and who receives the output? Distinguish research, private drafts, public comments, and maintainer decisions.
  • Compare selection strategies on observed backlog data: adjacent PR numbers, random sampling, and Tranche's classified/parked/relationship-aware batches. Measure overlap with existing work, duplicated effort, cross-PR conflicts, incomplete/draft items, and neglected PRs missed. Do not assume Tranche batches are authoritative or safe to merge.
  • Define minimum pre-dispatch evidence: current open/head state; park/readiness; security and category; known related/competing PRs; dependency/conflict context; and explicit unknowns. Identify which signals Tranche already has and which require live GitHub reads or an external claims ledger. updated_at alone is not an in-progress signal.
  • Study a claim/lease or tracking mechanism for parallel workers: who owns it, where it lives, expiry and revision invalidation, collision handling, and what happens when agents are launched outside Tranche. A read-only MCP prompt cannot reserve work or govern other people's agents.
  • Separate the authority boundary: Tranche may propose work, but cannot authorize posting reviews, speak for Omacom, or dictate merges. Determine what upstream-maintainer policy or infrastructure would be needed for a genuinely enforceable gate. Do not infer affiliation from an email invitation, GitHub account, or bot label.

Outcome sought

A short decision record with measured counterexamples and a proposed gate contract (inputs, pass/hold/unknown outputs, failure behavior, ownership, and enforcement point), plus an explicit decision on whether any part belongs in Tranche or in maintainer-owned infrastructure. No implementation or automated posting implied by opening this issue.

Related but distinct: #8 parks unready PRs before packing; #6 exposes read-only, stateless prompts; #9 proposes revision-bound evidence packets. None prevents arbitrary external agent dispatch or provides a work-claim/authorization gate.

Activity

  1. blackopsrepl commented on Oct 2, 2026

    @blackopsrepl
    OwnerAuthor

    Validated out of scope and unfeasible from Tranche: enforcing a pre-dispatch gate requires control of the agent dispatcher or upstream permissions. Tranche is a read-only discovery and prioritization tool; it neither orchestrates agents nor controls independently launched reviews. It can supply selection context, but that is advisory, not an enforceable gate. Closing as not planned.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions