Skip to content

pm-dispatch skill: route cards to a thread by size and shape only; p1 sets order, not mode #35784

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Problem

The skill sends every p1 card and every security card to its own card thread when the seat is a project thread, whatever the card's size:

  • .claude/skills/pm-dispatch/references/dispatch-runbook.md:120 — M 及以上、p1、\security` 卡一卡一线程`
  • .claude/skills/pm-dispatch/SKILL.md:69 (the mode: row) — 席位是项目线程时 M 及以上、p1、\security` 一律 `thread``

A thread costs a fresh clone and a full re-read of os-dev.md before any work starts. Under the current p1-only lane order every card is p1, so even an S card pays that start-up cost. Priority says when a card runs, not how hard it is.

Ruling

The maintainer chose "only size decides; p1 only sets order" on a decision card on 2026-11-20 (about 07:44Z), after asking 「p1,安全卡只是优先级,不代表复杂度,为什么一定要不进区?」 (07:42:03Z). The ruling record is posted as the first comment on this card; the PR's Ruling-ref: cites it.

What changes

The two lines above say instead:

  • S cards run as mode:subagent, in the seat or inside an area.
  • M cards go into an area when one fits; with no fitting area, a card thread.
  • One thread per card stays for big cards as dispatch-runbook.md already defines them (L/XL, owing full verification, or contract-changing) and for repair rounds that follow them.
  • A security card under disclosure discipline still stays in the seat session (line 123 already says this; keep it).
  • p1 sets order only. It never selects mode:thread by itself.

Check the rest of .claude/skills/pm-dispatch/** for any other line that ties p1 or security to mode:thread, and change it the same way.

Constraints

  • .claude/** is governed. The PR body carries Rule-change: ruled and a Ruling-ref: line to the ruling record; the L2 record must read Rule-change-verified: ruled.
  • Both files are at byte headroom 0 under check-skill-line-ratchet.mjs. Fit the new text by compressing the same file. The ruling record covers these lines only; it does not by itself raise a ceiling.

Done when

  • Neither file routes a card to mode:thread because of p1 or security alone.
  • The big-card and disclosure-discipline exceptions still read as they do now.
  • check-skill-line-ratchet.mjs passes with no ceiling raised.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Ruling record for this card: the maintainer's words that order this rule into the skill text. Transcribed by the seat that filed the card. The reading at the end is the seat's.

    • Who: the maintainer (Sales), in the project's cost-review thread.
    • The question, verbatim and untranslated: 「p1,安全卡只是优先级,不代表复杂度,为什么一定要不进区?」
      • When: 2026-11-20T07:42:03Z.
    • The choice, made on a decision card asked in that thread at 2026-11-20T07:44:37Z, verbatim and untranslated:
      • Question: 「定一下 p1 和安全卡要不要一律单开线程」
      • Option chosen: 「只看大小,p1 只管先后」, whose stated consequence reads 「S 卡用子代理,M 卡有区进区,大卡才一卡一线程;有披露纪律的安全卡仍留座位。要立卡改技能这一行。」
      • The other option, not chosen: 「维持一律单开线程」
      • Source of the choice: the coordinator's relay to the seat at 2026-11-20T07:45:32Z, which quotes the question verbatim and names the option picked. The seat read the card's text directly.

    Reading taken by the seat: whether a card gets its own thread follows its size and shape only. S cards run as a sub-agent in the seat or an area; M cards go into an area when one fits, else a thread; big cards (L/XL, owing full verification, contract-changing) keep one thread each; security cards under disclosure discipline stay in the seat session. p1 sets order only. This ruling covers the routing lines this card names. It orders no byte-ceiling raise.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL

    Claim: PM loop round 2 — area b1-D (ordered by the maintainer through the seat, 2026-11-20; ruling record 7033659866)
    Session: session_01L6bhgTRf6qBRCqPh4JZaZL
    Account: os-sales
    Branch: claude/issue-35784-thread-routing-by-size
    Worktree: objectstack-issue-35784
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: b1-D
    File surface: .claude/skills/pm-dispatch/references/dispatch-runbook.md (the card-thread section, line 120 and its neighbours), .claude/skills/pm-dispatch/SKILL.md (the mode: row, line 69), and any other line under .claude/skills/pm-dispatch/** that ties p1 or security to mode:thread; no ceiling row of scripts/pm/check-skill-line-ratchet.mjs
    Container & model: S, mode:subagent, model: claude-opus-5-5 (default tier; dispatch-gates --tier prints no path-derived mandate), effort: medium (S); governed register: .claude/** is a governed surface, the area does not land it and hands the PR to the seat
    Clause-②: no
    Metadata-protocol: none
    Rule-change: ruled
    Ruling-ref: 7033659866
    Responsibility: objectstack — the dispatch skill sends every p1 and every security card to its own thread whatever its size | the maintainer ruled on 2026-11-20 that size and shape alone decide and p1 only sets order | every seat that dispatches cards
    Thread-read: 7033659866
    Premise: holds — on origin/main 1e018d6 dispatch-runbook.md:120 and SKILL.md:69 both still name p1 and security as reasons for mode:thread
    Serial constraints cleared: open PR #35740 changes area-lease.md, coordinator.md, lanes/objectstack.md and the ratchet script, none of this card's files; this card moves no ceiling row
    Pre-claim lane: .claude/skills/pm-dispatch/** → area b1-D by the seat's addition to the area brief
    Pre-claim deps: none
    Prior rulings read: the ruling record on this card (7033659866); it orders these routing lines and no ceiling raise

    Fold answer: its own PR, not folded into #35757 — different files and mechanism, and #35757 is published-skills text waiting on its own approval.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills · claimed by seat 1 area b1-D on the maintainer's direct order; rationale: area:fleet · Task (pm-dispatch routes a card to its own thread by size and shape only, never because it is p1 or security; dispatch-runbook.md:120, SKILL.md:69) · maintainer decision 2026-11-20 07:44Z, verbatim: 「只看大小,p1 只管先后」 (ruling record 7033659866) → p2 as filed · size S. Pairs with #35760 row 7 (size at first touch).

  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL
    os-dev-report

    {
      "issue": 35784,
      "status": "done",
      "branch": "claude/issue-35784-thread-routing-by-size",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35790",
      "session": "session_01L6bhgTRf6qBRCqPh4JZaZL",
      "premise_still_valid": true,
      "summary": "dispatch-runbook.md card-thread first line now routes by size and shape: on a project-thread seat an M card enters a fitting area, else gets its own thread; p1 and security set order only and never open a thread by themselves. The S-card line reads 留席内或进区 mode:subagent. SKILL.md mode: row now reads 席位是项目线程时大卡与无合适区的 M 卡 thread, p1、security 只定先后. The big-card and disclosure-discipline lines are untouched. Bytes paid by deleting three restatements: 请审是席位交棒 (home: os-dev.md rule 2, AGENTS.md claim paragraph), the branch-naming clause (home: AGENTS.md section 2, os-dev.md rule 1), 裁决引文照抄不译 (home: AGENTS.md Communication). Head 283450f57; PR #35790 draft, assignee os-sales, label skip-changeset read back.",
      "tests": "Text-only change to two internal skill files; no package or test target. Ratchet at head 283450f57: SKILL.md 33872/33872/0 -> 33863/33872/9; dispatch-runbook.md 20070/20070/0 -> 20067/20070/3; SKILL.md widest table row 341 (pin 341), mode: row 256 -> 272 bytes. No ceiling or pin row touched.",
      "gates": "Local at 283450f57: 25 derived commands (dispatch-gates --commands --repo objectstack-ai/objectstack), all exit 0 incl. check:pm-skill-ratchet, check:pm-skill-id-lint (131 files clean), check:pm-governed-prose, check:pm-governed-merges, check:nul-bytes, check:doc-authoring; check:doc-formula-expressions first exit 3 (prereq: formula/lint unbuilt, nothing measured), exit 0 after building both under the verify lock (VERDICT command-exit 0). --ran: 25 derived, 25 run, 0 NOT-MEASURED (derived zero). Extra: check:skill-links exit 0. overlap-check: VERDICT clean exit 0. CI at report time: Check Changeset success; Lint, Type Check, Governed Surface Queue Guard and the rest in_progress.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay: pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees + labels on #35790); this os-dev-report comment on #35784. Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Sweep of .claude/skills/pm-dispatch/** plus AGENTS.md and os-dev.md found no other p1 or security -> mode:thread tie. Read and left: coordinator.md section 3 and area-lease.md (p0/p1 first = order only); area-lease.md 留道 line hands security cards out of an area to the seat (not a thread route; file held by open PR #35740) · carrier: none · noted, not filed",
        "Dispatch order asked for the Requested-by line on PR body line 2; os-dev.md wants the closing keyword right after the attribution comment, so Fixes is line 2 and Requested-by line 3 · carrier: none · noted"
      ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetdomain:skillspm:dispatchedpriority:p2tooling

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions