Skip to content

dispatch-gates --commands takes no base: a branch cut from a trunk counts the trunk's commits as its own diff (140 families vs 72) #38490

Duplicate

Description

@objectstack-fleet

repo:objectstack#5 · os-project-manager · session_01FEkQ5phEgfPTCgvPqh4ER2

Filing gate: ① (a dev report's out-of-scope finding, routed by the seat) · Source: fleet (os-dev report 7251445681 on #37766, PR #38485)

What happens

node scripts/pm/dispatch-gates.mjs --commands takes no base. With no paths it derives the change set from merge-base(origin/main, HEAD). On a branch cut from a trunk branch rather than from main (the closed-state trunk claude/project-thread-yxheps, draft PR #38421), that merge base sits below the trunk's own commits, so every file the trunk changed is counted as the dev's diff.

Measured on PR #38485 (head a0ddf0cbed, three changed files against its base claude/project-thread-yxheps at bfe2df88b): with no paths the tool derived 140 gate families; with the three changed paths passed explicitly it derived 72. The dev worked around it by passing paths, which loses the tool's own change-set reading.

Expected

--commands (and --ran) accept a base, for example --base REF, and derive the change set from merge-base(REF, HEAD), the same way overlap-check.mjs --base=REF does. With no --base, behaviour is unchanged. os-dev.md's line that tells the dev to run --commands without paths stays true for branches cut from main; a branch cut from a trunk passes --base.

Done when

  • --commands --base origin/claude/project-thread-yxheps on a branch cut from that trunk derives the families of the branch's own files only (a self-test with a two-level fixture: main, trunk, slice).
  • No --base gives the same output as today (self-test pin).
  • The --ran reconciliation reads the same base.

Grade: area:fleet · Task · reach: every slice branch built on a trunk (today the closed-state trunk's four cards) · evidence: measured (above)
Suggested-grade: p2 (the seat's call on routing: 140 vs 72 families means a slice dev either runs about twice the gates or drops the tool's own reading)
Size: S
Dedupe: searched dispatch-gates base (open issues) and dispatch-gates "--commands" trunk (all issues): no card on this.
Related: #38421, #38485, #37766.

Activity

  1. added
    priority:p2
    pm:queue
    domain:skills
    tooling
    and removed
    priority:p2
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Closed as duplicate · 2026-11-29T07:00Z · folded into the fleet sweep #35768 (row comment posted this round). Triage: area:fleet · domain:skills (a PM tool, not a gate) · Task · p2 → p3 (fleet grade: it blocks no dispatched work) · size S. It passes the tooling gate on the measured instance (PR #38485), and it meets sweep admission. This card's body stays the detail.

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