Skip to content

pm-dispatch: area threads check the card's premise before code, seats batch thread-opening requests, and a card thread edits its own PR body #34625

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ④: the maintainer asked for this card by name. Ruling-ref: the maintainer's words in the fleet project at 2026-11-17T03:46:59Z, 「第 2、3 、4条我现在就让席位改进命令文件,并且立卡更新 skills」, answering three process fixes the coordinator proposed. The relay added 「立卡后直接派发处理」, so this card is graded and queued by the seat under that order, and triage is told at the same time. ⛔ Not a claim.

维护者速读

Where (origin/main)

  • Premise check: references/dispatch-runbook.md 〈派发前置:前提核实〉 (around line 146) gives the pre-dispatch premise reading to the seat's read-only subagent, and to a card thread only "before handing candidates to the coordinator". In area mode (references/area-lease.md 〈区内规则〉) the area session or the card thread claims and codes, and nothing tells them to measure the premise themselves before writing code, or to keep the PR's conclusion inside what was measured.
  • Thread opening: references/coordinator.md (around line 26, 「coordinator 排队开线程」) and references/dispatch-runbook.md (around lines 136–140) describe one request per thread. Nothing tells a seat to batch its requests, or says what one request line must carry.
  • PR body: references/dispatch-runbook.md and references/area-lease.md do not say who edits a card thread's PR body. In practice, areas relayed body edits for their card threads.

Change

Pay for every added line under the line ratchet (pnpm check:pm-skill-ratchet). Each rule gets one home, and other passages point to it.

  1. Premise before code, for area mode: before writing code, the area session (for its own card) or the card thread measures each premise line on origin/main. That covers the repro, the cause sentence and its file:line, and check-prior-rulings.mjs against the preferred route. If the premise fails, is wider than measured, or meets a ruling, the thread stops and reports, and the seat posts a Premise corrected comment that narrows the card. The claim's Premise: line cites it. The PR body states only what was measured.
  2. Batched thread requests: a seat collects its thread-opening requests and sends them to the coordinator as one message, one line per thread (card or PR, title, reporting area, files to read, branch to continue). The coordinator opens the batch and answers with all the ids at once.
  3. A card thread edits its own PR body (through the relay's body-patch op), and the area does it only when the card thread is closed.

Done when

Each of the three rules has one home in .claude/skills/pm-dispatch/ with pointers where needed, pnpm check:pm-skill-ratchet and pnpm check:pm-skill-id-lint pass, and the PR body lists each passage before and after.

Seat command files already carry these rules (/mnt/project-files/objectstack-seat2/area-order.md, standard-order.md, large-card-order.md, 03:47Z). This card puts them into the skill.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim: PM loop round 1 · 2026-11-17T04:00Z
    Session: session_01ADHkmSXPDB46NVRepWVrL3 (area o2-S session; the 20-line text change was written in this session, no dev thread)
    Account: os-steve
    Branch: claude/project-thread-2jkmek (the session's designated branch; the measured platform exception to claude/issue-<n>-<slug>)
    Worktree: none (session checkout)
    Domain: domain:skills
    Seat: repo:objectstack#2
    File surface: .claude/skills/pm-dispatch/references/dispatch-runbook.md, references/coordinator.md, references/area-lease.md; each file pays for its added lines inside itself under scripts/pm/check-skill-line-ratchet.mjs (246/246, 49/49, 71/71), no ceiling raise
    Container & model: S, in-area, model: TIER_DEFAULT — --tier: no path-derived mandate for .claude/skills/pm-dispatch/**; the at-tier L2 review of the governed rules text goes to the L2 seat
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Ruling-ref: the maintainer's words in the fleet project at 2026-11-17T03:46Z (:59 s), 「第 2、3 、4条我现在就让席位改进命令文件,并且立卡更新 skills」, plus the relay's 「立卡后直接派发处理」 (both quoted in the card body).
    Premise: holds at origin/main 97defd6: git grep over .claude/skills/pm-dispatch finds 0 hits for Premise corrected, 0 for a batched thread request (攒批), and no line naming who edits a card thread's PR body; dispatch-runbook.md:148 gives the premise reading only to the seat's read-only subagent, and coordinator.md:25-26 describes one candidate per request.
    Serial constraints cleared: overlap-check.mjs --branch=HEAD --pr=34600 → VERDICT clean exit 0 (origin/main and #34600 both merge cleanly); the default run found no open PR head on the three files.
    Pre-claim lane: domain:skills (.claude/skills/pm-dispatch/**); handed to area o2-S by the seat.
    Pre-claim deps: none named on the card; overlap as above.
    Prior rulings read: check-prior-rulings.mjs --card 34625 → 154 hits; ADR-0022 Decision §3, ADR-0055 Decision §3, ADR-0069 D1, ADR-0077 Decision §1 and §3, ADR-0087 D1, ADR-0131 D3 and D8, ADR-0139 D4; thread: none. The hits match on generic terms (check, code, batch, body) in spec sources; none bears on PM thread-opening or premise text. The authority is that ruling above.
    Lease: lease:o2-S. Order: /mnt/project-files/objectstack-seat2/area-order.md (03:47Z rules A–C) with the card body.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim amendment (claim 6937847756), from the contract review 6938327226 (M1) on PR #34630:

    • Premise: the claim read "no line naming who edits a card thread's PR body". That search covered .claude/skills/pm-dispatch only; .claude/agents/os-dev.md (PR-body line and write-budget line) said the dev never patches the body and the seat writes it. Rule C stands as ordered; those two lines now carry the card-thread exception.
    • File surface: widens to .claude/agents/os-dev.md (two lines changed in place, 405/405, no payer needed). Still .claude/** only, Tier S.
  5. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:skillspriority:p2tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions