Skip to content

pm-dispatch: open card threads whenever a slot is free, a regrade alone dispatches nothing, and a grade written on the maintainer's word counts as his #35333

Description

@objectstack-fleet

coordinator#1 · os-warren · session_01JQwxbYcNzR2Gtyq79H7GLB
③ maintainer-directed task · Source: maintainer (project thread "Make pm-dispatch batch cards by default", 2026-11-19)

维护者速读

  • 改什么:协调者有空位就开卡线程,先后只按卡上写明的阻塞排,不再一张等一张;您只说改级时只改级、不借机开工;车队按您原话代落的级也算您亲手定的,以后分诊和各席不能改。
  • 为什么:协调者把一批可以同时做的卡一张接一张串行派发;您同意加规则,并在 fable 评审后选了「加两行,并修代改级漏洞」。
  • 风险:只动规则文本和改标签工具的一个判断;回滚即 revert 对应 PR。

Ruling of record

Verbatim and untranslated, from the maintainer's project thread on 2026-11-19:

  • 04:55:55Z the coordinator proposed three rules (batch by default, sequence only on a real dependency and name the card and reason, a regrade is not a dispatch). 04:56:06Z the maintainer: 「同意」. 04:56:19Z: 「用 fable先评审你这个意见」.
  • The fable review (2026-11-19) found rules 1 and 2 already written in the skill (the coordinator opens a whole batch at once and queues only when the cap is full; independence is judged by disjoint file surfaces) and the coordinator had not followed them; it proposed two lines in the coordinator reference instead, plus an optional third closing a gap: the hand-set grade is read off the labeled event's actor, and the fleet always writes as a bot, so a grade the fleet wrote on the maintainer's spoken word reads as the fleet's and triage may change it.
  • 05:05:52Z the maintainer chose, on a decision card asking 「派发规则按 fable 评审怎么改?」, the option 「加两行,并修代改级漏洞」, whose stated effect was: 加「有空位就开、只按写明的阻塞排先后」和「只说改级不开工」两行;您口头定、代落的级也算您亲手定,以后不被改。

Work items

  1. .claude/skills/pm-dispatch/references/coordinator.md, section 二: the maintainer only naming a grade ⇒ only the grade is written, its comment carries a Ruling-ref: line quoting him, and no card thread is opened on it; the normal pick order applies afterwards (p0 still dispatches the same round, p1 still jumps the order).
  2. Same file, section 三, beside the batch-open line: open whenever a slot is free; order only by the card's Blocked-by: and the seat's serial queue; never self-sequence, never wait card by card.
  3. .claude/skills/pm-dispatch/references/filing-gate.md, beside the labeled-event line: a grade the fleet wrote on the maintainer's word, with its comment carrying Ruling-ref: quoting him, reads as his; a bot actor alone does not make it the fleet's.
  4. scripts/pm/label-write.mjs: the hand-set grade check also refuses a fleet-set grade whose labeled event has a Ruling-ref: comment within two minutes of it (one comments read, only when a carried grade reads as the fleet's; an unanswered read refuses). A folded Ruling-ref: still passes, so the maintainer can always regrade.
  5. scripts/pm/check-skill-line-ratchet.mjs: coordinator.md 49 → 51 and filing-gate.md 82 → 83, ordinary ruled raises citing this card's claim comment.

Business reason: the maintainer is the one who benefits — cards that can run together start together instead of waiting hours in a single file, a grade change he asks for does not silently start work, and a grade he sets by word stays set.
Reader: the project coordinator at every wake (section 二 and 三), triage and every seat before a regrade (filing-gate), and label-write.mjs on every grade write.
Dedupe: repo:objectstack-ai/objectstack is:issue "coordinator dispatch batch serial" (57 hits, none on this), "grade maintainer word Ruling-ref fleet" (36 hits, none), "regrade without dispatch" (99 hits, none), all states.
Grade: p2 · a fleet-rule Task the maintainer ordered; no user-facing defect.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbYcNzR2Gtyq79H7GLB
    Claim: PM loop round 1 · 2026-11-19T05:11Z
    Session: session_01JQwxbYcNzR2Gtyq79H7GLB
    Account: os-warren
    Branch: claude/project-thread-6abxcs
    Worktree: objectstack
    Domain: domain:skills
    File surface: .claude/skills/pm-dispatch/references/coordinator.md, .claude/skills/pm-dispatch/references/filing-gate.md, scripts/pm/label-write.mjs, scripts/pm/check-skill-line-ratchet.mjs
    Container & model: S, mode:thread, model: CONTRACT_REVIEW_TIER — reason: the maintainer's ruling 2026-11-19 「用 fable先评审你这个意见」 (the rule text was reviewed by it before he chose), effort: xhigh
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds
    Serial constraints cleared: overlap-check against origin/main and every open PR is run on the branch before push; result in the PR body.

    Ruling of record for the ratchet raises (coordinator.md +2, filing-gate.md +1): the maintainer, 2026-11-19, verbatim: 「同意」 (04:56:06Z, on the coordinator's three dispatch rules), 「用 fable先评审你这个意见」 (04:56:19Z), and his 05:05:52Z decision-card choice 「加两行,并修代改级漏洞」 — quoted in full in this card's body.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Release: session_01JQwxbYcNzR2Gtyq79H7GLB (claim 7000373266, os-warren, seat coordinator#1) · cross-account hand-off to seat repo:objectstack#5 for review and landing · the claim moves below on the same branch
    Release source: who — the maintainer's word, Bill 2026-11-19 05:53Z 「派发规则 PR 35335 的 CI 全部通过,也没有冲突。它现在还是草稿状态,你也接手审核落地」; context — seat 1's fleet hand-off in mailbox #35216 (7000702066, Warren 05:27Z 「都提交代码,交接给 seat 5」); where — the objectstack seat 5 project thread.

    Claim: review and landing of PR #35335 · area fleet-1 (lease:fleet-1) · 2026-11-19T05:54Z
    Session: session_01Utp6CbUb7TcZK1XUAddUmQ
    Account: os-bill
    Branch: claude/project-thread-6abxcs
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: the PR's four files as they stand (references/coordinator.md, references/filing-gate.md, scripts/pm/check-skill-line-ratchet.mjs, scripts/pm/label-write.mjs); no new code from this seat unless the contract review asks for it
    Clause-②: no
    Metadata-protocol: none
    Resume-from: claude/project-thread-6abxcs@8a8ec7e9e2b9fbb2979d5e5fcc7363452e69de04
    Serial constraints cleared: fleet-1 siblings #35337 (#35236) and #35229 touch check-skill-line-ratchet.mjs; whichever lands second re-measures. Tier S (both governed paths under a Tier S surface): seat L2 at the contract tier, then the seat lands.

  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G
    os-dev-report

    {
      "issue": 35333,
      "status": "done",
      "branch": "claude/project-thread-6abxcs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35335",
      "session": "session_01Utp6CaAqjP52wVTzs99H5G",
      "premise_still_valid": true,
      "summary": "Fix round 1 (review 7001142614), new head bfd3be4dbb. M1: only the fold of a grade written on the maintainer's word now counts as his grade. The check counts it only when the fleet wrote the comment (the same app or bot allow-list as the label event), the comment is within 2 min of the fleet labeled event, and it has a line that starts with `Ruling-ref:` followed by that event's grade (GRADE_RULING_MARK, spelled `Ruling-ref: priority:pN`). filing-gate.md's line now names this marker, and coordinator.md's grade-only line points to filing-gate.md. Line counts did not change (83 and 51), so the ratchet ceilings still equal the measured counts. Why this discriminator: a self-triage record quotes the standing exception, a claim cites a ruling comment id, and both are posted by the fleet bot. Neither the author nor a quote tells them apart from a grade fold, so the rule text has to name the grade. Any other `Ruling-ref:`, and the same line typed by a person, now reads as nothing, so triage can still regrade a self-triaged grade (改判). The refusal text now says 'the fleet's comment N beside it opens a line `Ruling-ref: priority:pX`', which is true. S1: the hand-set battery's floor went from 23 to 38, the registered count, measured by a temporary floor of 99 that reported 'registered 38'. Added 6 cases: self-triage record passes; claim `Ruling-ref: ID` passes; another grade, or the grade named after other words, passes; a person's line passes while an app-written one refuses (label matched case-insensitively); a text pin that filing-gate.md spells GRADE_RULING_MARK and coordinator.md points to it; end to end, triage regrading a self-triaged grade lands with exit 0 after one comments read. The existing his-word fixtures now carry the marker and a fleet user, and the his-word refusal is still pinned (unit and end to end). PR body: corrected text is at /mnt/project-files/objectstack-seat5/area-ux/fleet-1/fix-35335-r1.pr-body.md, NOT written (see open_questions). It changes 6 to 15 new cases with the floor going 23 to 38, updates the quoted rule lines and the label-write description, changes 309 to 315 cases, and updates line widths to 116/101/118. The first two attribution lines are kept byte for byte. Nits N1-N3 not addressed (no push needed).",
      "tests": "At head bfd3be4dbb (same tree as 91876cc1f; only the commit message was reworded): `node scripts/pm/label-write.mjs --self-test` exit 0, '✓ label-write self-test: 315 cases pass across 18 batteries'. Floor probe: with [HAND_SET_BATTERY] temporarily set to 99 the run was exit 1, 'registered 38 case(s), below its pinned floor of 99'; set to 38 it was exit 0. `node scripts/pm/check-skill-line-ratchet.mjs --self-test` '164 cases pass'. No ablation was run: the diff is a scripts/pm tool and rule text, and the standard exempts scripts from ablation.",
      "gates": "Local, exit codes captured before any pipe, tree = head bfd3be4dbb: node scripts/pm/label-write.mjs --self-test => 0; node scripts/pm/check-skill-line-ratchet.mjs => 0 (coordinator.md 51/51, filing-gate.md 83/83, headroom 0); pnpm check:pm-skill-id-lint => 0 (23 self-test cases, 120 files clean); pnpm check:pm-label-write => 0; pnpm check:pm-skill-ratchet => 0; pnpm check:nul-bytes => 0; pnpm check:issue-citations => 0; pnpm check:scripts-symbol-anchors => 0; pnpm check:pm-governed-prose => 0; node scripts/check-whole-set-label-write.mjs => 0; node scripts/check-self-test-wired.mjs => 0; pnpm check:pm-prior-rulings => 0; pnpm check:skill-frame-sync => 0. The remaining families from `dispatch-gates.mjs --commands` (derived at 8a8ec7e9e2, which warned that the tree is 8 commits behind origin/main; the stale file is scripts/check-skills-token-ratchet.mjs) are left to CI. The `--ran` reconciliation was not run. CI check-runs on bfd3be4dbb: NOT MEASURED, reason: just pushed, and the report is not held for CI.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — git push to claude/project-thread-6abxcs (8a8ec7e9e2..bfd3be4dbb); POST issues/35333/comments (this os-dev-report, via post-stamped.mjs). No PR body PATCH.",
      "open_questions": [
        { "question": "The order said to fix the PR body's case count through the relay. The os-dev standard says a subagent writes the PR body only at pr_create and does not PATCH it; the seat writes it. Which one governs?", "options": ["A: the seat applies /mnt/project-files/objectstack-seat5/area-ux/fleet-1/fix-35335-r1.pr-body.md via its relay write", "B: re-dispatch with an explicit PATCH grant"], "recommendation": "A, because the standard wins on conflict and the file is ready to apply" },
        { "question": "The order pins a model-named co-author trailer. The push hook check:commit-card-trailers refused it, citing os-dev.md (the trailer pair is model-free). The commit was amended before publishing to the model-free pair (`Co-Authored-By: Claude` with the noreply address) plus the Claude-Session URL.", "options": ["A: keep the model-free pair (the repository contract)", "B: change it"], "recommendation": "A: this is the repository contract, and the hook enforces it" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["class: n/a · noted, not filed: during cleanup the ga58bl worktree (/home/user/objectstack-issue-35236) was already gone from `git worktree list`. Not touched by this run, carrier: none"]
    }
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G
    os-dev-report

    {
      "issue": 35333,
      "status": "done",
      "branch": "claude/project-thread-6abxcs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35335",
      "session": "session_01Utp6CaAqjP52wVTzs99H5G",
      "premise_still_valid": true,
      "summary": "Fix round 2 (delta review 7001334627, S2). New head is 210c64f35d (from bfd3be4dbb), with one file changed: scripts/pm/label-write.mjs. The write side and the read side now agree on what a grade on the maintainer's word looks like. Choice: refuse rather than rewrite. The tool never writes the canonical line itself, because changing the signed fold would break the signature judgement. Also, an unnamed Ruling-ref might be a self-triage record, and stamping the grade into it would bring M1 back. How it works now. (1) The read side finds the grade after `Ruling-ref:` even when it is in backticks or has a quote straight after it (hasGradeRuling, regex GRADE_AT_LINE_START). (2) The write side: a folded `Ruling-ref:` that names every grade the write sets passes as before, with no events read. (3) A folded `Ruling-ref:` that names none of them is treated as if absent. Over a person's (or his) grade, the write is refused at step 2 with zero writes; the new unnamedGradeRuling message quotes filing-gate.md 「行首 `Ruling-ref: priority:pN` 引原话才算人定」 and gives the exact line to write: `Ruling-ref: priority:pX 「his words」`. Over a fleet grade, the write passes with a step-2 line saying the new grade will read as the fleet's own and naming the line that would make it his, so self-triage 改判 still lands. The general refusal now tells you to open the line with `Ruling-ref: priority:pN`. Rule text is unchanged. Cases added: 4, covering the three named forms. (a) Read side: a backticked grade and a grade with a quote straight after it are both protected. (b) Write side: `Ruling-ref: 6982855148 「改回去」` over a person's grade gets exit 2 at step 2, zero writes, and the exact fix. (c) Write side: the backticked and tight forms pass step 2 with no events read. (d) Write side: an unnamed Ruling-ref over a fleet grade passes and prints the warning. The hand-set battery floor goes from 38 to 42, the registered count, measured with a temporary floor of 99. PR body: the case counts changed, so the corrected body is at /mnt/project-files/objectstack-seat5/area-ux/fleet-1/fix-35335-r2.pr-body.md for the seat to apply. Changes: 19 new cases, floor 23 to 42, 319 cases at head 210c64f35d, and the item-3 description covers the write side. The attribution lines are unchanged. N1-N4 not addressed. The worktree was removed after the push.",
      "tests": "At head 210c64f35d: `node scripts/pm/label-write.mjs --self-test` exit 0, '✓ label-write self-test: 319 cases pass across 18 batteries'. Floor probe at 99: 'registered 42 case(s), below its pinned floor of 99' (exit 1), then set to 42: exit 0. No ablation: this is a scripts/pm tool, which the standard exempts.",
      "gates": "Local, exit codes captured before any pipe, tree = head 210c64f35d: node scripts/pm/label-write.mjs --self-test => 0; node scripts/pm/check-skill-line-ratchet.mjs => 0; pnpm check:pm-skill-id-lint => 0 (120 files clean); pnpm check:pm-label-write => 0; pnpm check:nul-bytes => 0; pnpm check:scripts-symbol-anchors => 0. No skill text changed this round, so no rule-text gate beyond those. CI check-runs on 210c64f35d: NOT MEASURED, reason: just pushed, and the report is not held for CI.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — git push (bfd3be4dbb..210c64f35d); POST issues/35333/comments (this os-dev-report, via post-stamped.mjs). No PR body PATCH.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    ACCEPT → PR #35335 comment 7001766345 · head 210c64f3 · 2026-11-19T06:36Z. Contract review delta 2 PASS 7001453033 (same head). Tier S: seat landing armed (ready + auto-merge, 7001773743); this card closes via Fixes on MERGED.

  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Close-out · PR #35335 MERGED a9ff6df84a · 2026-11-19T07:06Z. Delivered: card threads open whenever a slot is free; a regrade alone dispatches nothing; a grade written on the maintainer's word folds only with its named line (label-write refuses an unnamed fold over it). Nothing remains here; pm:dispatched off.

  9. removed
    pm:dispatched
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetdomain:skillspriority:p2tooling

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions