Skip to content

pm-dispatch: a held epic child and a waiting card thread leave a machine-readable mark, and the patrol reads it (two misses 2026-11-21) #36203

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgXU3aQQzivgaDDU82c

Filed at the maintainer's ask on 2026-11-21. Verbatim and untranslated: 「为什么会出现疏漏?技能哪里有问题」 (22:48Z). Standing project instruction: where the skill is wrong, open a card to fix it.

What happened

  1. Epic children never dispatched after their blocker closed. 记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890 (epic 专题:记录详情页重做(头部两行;宽屏时字段在左、页签在右;全部子表各一页签;主从子表默认只是页签,分组指定才进字段区并随主记录一起保存) #35590) was held "after 记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853", and 相关子表的页签改成完整的列表:左上子表名、排序和筛选、底部计算行;去掉「在列表中打开」;改过后出现「放弃」(图 41) #35892 "after 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878 / 列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876 / 列表底部计算行:常驻一行,用户点列底下的格子选计算(合计、平均、计数等),存到视图上 #35702". The order lived in a coordinator comment and in the seat's project memory. Neither card carried a Blocked-by: line, and both stayed pm:queue. 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878 closed at 06:03Z and 记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853 at 10:48Z. Nothing re-read the two cards until the maintainer asked at 14:01Z, which cost 8 h and 3 h.
  2. A card thread and its seat waited on each other for 15.5 h. PR feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923 (relatedLists 管记录页页签的显示和顺序:声明了就只显示列出来的;附件、审批、动态用对象名 sys_attachment、sys_approval_request、sys_activity 列进来 #35897 + relatedLists 的一项可以带标题和列:在父对象上配子表显示哪几列,不用去改子对象 #35899) pushed merge commit 473c7ff4 at 06:47Z. Its thread ended its turn on "report the head to the seat when CI is green". fix(spec): record page descriptions no longer claim a key-field strip or stage path #35977 had merged at 06:19Z, so the PR was already in conflict. GitHub starts no pull_request workflow on a conflicting PR, and that head has zero GitHub Actions check suites. No green event and no red event ever came, so the subscription never woke the thread, and the seat was waiting for the thread's report. A resume thread picked it up at 22:2xZ, and 扩展包给别人的对象加字段、分组、子表时声明放在哪(排在谁后面);带来的东西自动出现在指定位置 #35901 / 技能、文档、示例和 HotCRM 用上记录页的新写法:relatedLists 列页签、分组列字段、分组指向子表、扩展包声明位置 #35902 wait on it.
  3. Claims without the label write (13 cards). The seat posted Claim: comments through post-stamped.mjs instead of one label-write.mjs --comment-file stroke (execution-duties.md 70). The cards stayed pm:queue with no assignee until triage knocked. Fixed at 08:5xZ.

Where the skill is at fault

  • references/filing-gate.md 20 says a same-epic order preference is listed on the epic card. That is prose with no reader. It contradicts references/seat-lifecycle.md 56: order is written only as the child's Blocked-by:. Only a Blocked-by: line feeds the unlock scan, card-pick.mjs and H19.
  • references/execution-duties.md 48 says a card behind an unmerged blocker is not opened as a thread. It does not say the seat writes Blocked-by: + pm:blocked in the same stroke as that decision. So the hold can live only in memory.
  • references/seat-lifecycle.md 90 asks for card-pick.mjs --order … --why only when the seat reports an empty queue. A busy seat never reports empty, so it never ran the per-card pass over its epics' children.
  • The seat post ([PM seat] repo:objectstack — 🟢 os-warren · 由 os-warren 账户的项目负责 · p1 only #34366) was last edited 2026-11-20T03:41Z. Four epics and six areas were added after that, and its serial queue reads "None". seat-post-protocol.md 17-20 already requires a refresh, and H38 exists, but the patrol did not run it.
  • Card-thread liveness has no rule. execution-duties.md 176 probes only a dispatched dev. dispatch-runbook.md 105 counts only "IDLE and not pushed" as a stall. dispatch-runbook.md 115 checks check-suites only for the App-push case. Nothing asks a thread or a seat to confirm that CI started after a push. Nothing bounds a "report when green" wait.
  • The only idle detector, project-forms.md 50 (open PR idle ≥3h → Request: progress), belongs to the triage seat on another account. In the script, H12 and H16 skip every draft PR (check-half-states.mjs h16NeedsDetail and the H16 predicate: pr.draft !== false). In this fleet, every card PR stays draft until the seat lands it, so the conflict detector is blind exactly where the work is.
  • post-stamped.mjs accepts a body that opens with Claim:, so the one-stroke claim rule is not enforced.

To do

Skill text (the draft PR from this thread):

  1. filing-gate.md 20: the order between same-epic cards is the later card's Blocked-by: line, not a preference on the epic.
  2. execution-duties.md 48: deciding "this waits for #N" writes Blocked-by: #N + pm:blocked on the card in the same stroke. ⛔ Never only in memory or a comment. A target merging then releases it through the existing scan.
  3. seat-lifecycle.md 90: every patrol round runs card-pick.mjs --order <序> --why over the areas and epics the seat holds. A child with no hold reason is dispatched that round, or its reason is written on the card.
  4. dispatch-runbook.md card-thread section: within 10 min after a push, the thread confirms that CI started and the PR is not dirty. If not, it merges origin/main and pushes again. Any wait on CI sets a fallback wake (send_later, ≤30 min). Each patrol round, the seat reads pr-state.mjs for every in-flight card PR. It wakes the thread that round on any of: zero Actions check suites 30 min after the head was pushed, dirty, or no push and no report for 2 h.
  5. execution-duties.md 176: the status probe covers card threads as well as devs.

Scripts (separate PR, seat schedules):
6. check-half-states.mjs H12/H16: read a draft PR that carries a Claim: (an in-flight card PR) too, or add a row for "claimed draft PR: dirty, or head without Actions check suites, past N h".
7. post-stamped.mjs: refuse a comment whose first line opens Claim: and point to label-write.mjs --comment-file … --add pm:dispatched --remove pm:queue --assign.

Acceptance

  • A seat that follows the skill leaves no epic child on pm:queue with a closed blocker for longer than one patrol round. The hold is visible as Blocked-by: on the card, and card-pick --why names it.
  • A card PR that is dirty, or whose head has no Actions run, is flagged within one patrol round, whether it is draft or not.
  • post-stamped.mjs --self-test shows a Claim: refusal.
  • check-skill-line-ratchet.mjs stays green. The skill-text PR raises ceilings only by a ruling's measured delta, or pays by deletion.

Reader: area:fleet (pm-dispatch skill text, scripts/pm).

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: PM loop · 2026-11-21T23:04Z · #36203, the pm-dispatch skill gives a held epic child and a waiting card thread a machine-readable mark, and the patrol reads it.
    Area: seat process fix asked by the maintainer in this seat's project (「为什么会出现疏漏?技能哪里有问题」, 2026-11-21T22:48Z); not an area:fleet dispatch.
    Session: session_01L6bhgXU3aQQzivgaDDU82c (card thread)
    Account: os-sales
    Branch: claude/project-thread-ok94d8 (PR #36205, draft, Part of #36203)
    File surface: .claude/skills/pm-dispatch/references/ — dispatch-runbook.md, execution-duties.md, filing-gate.md, seat-lifecycle.md (items 1–5, skill text). Items 6–7 (the two patrol readings on draft card PRs, and the comment tool refusing a Claim: body) are script changes and stay on the card for a later PR.
    Container & model: M, card thread, model: opus, effort: high
    Clause-②: no
    Metadata-protocol: none
    Rule-change: yes — the skill-line ratchet is expected red until the maintainer rules on the thread's decision card; the thread then posts the ruling record and raises the measured ceilings.
    Premise (PR body's top lines): holds. "After #N" orders lived only in seat notes and coordinator comments, so the unblock sweep never saw them; a card thread waiting for green on a conflicting PR got no Actions run and no wake.
    Resume-from: none
    Fold-or-serial: serial; one PR for items 1–5, the scripts later. Landing tier is whatever check-governed-merges reads on the final file list (.claude/**), and the seat hands it on accordingly.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:dispatched to seat 1 (as set); rationale: area:fleet · Task · a held epic child and a waiting card thread leave a machine-readable mark the patrol reads, after two misses on 2026-11-21 (epic children never dispatched after their blocker closed; a thread and its seat waited 15.5 h on each other) and 13 claims without the label write; filed on the maintainer's 「为什么会出现疏漏?技能哪里有问题」 → p2 as filed · size M.

  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgXU3aQQzivgaDDU82c

    Maintainer ruling · 2026-11-22T07:25Z · #36203: the skill text items 1-5 land as proposed

    At 2026-11-22T07:25Z the maintainer picked option A on this thread's decision card. Question, verbatim and untranslated: 「同意按卡 #36203 的五条修改技能文字吗?」. Option chosen: 「同意五条都改」. Its consequence as the card stated it: this choice is recorded as the ruling on the card, the skill files' byte ceilings rise by the measured delta, and the PR goes to os-zhuang to merge. The two script items follow separately.

    So items 1-5 of this card's To do are ruled. They are carried by PR #36205 (filing-gate.md, execution-duties.md, seat-lifecycle.md, dispatch-runbook.md). This record orders that text into those four files, and their check-skill-line-ratchet.mjs ceilings rise by exactly the measured deltas: dispatch-runbook 20070 → 20354 (+284), execution-duties 20148 → 20271 (+123), seat-lifecycle 9070 → 9076 (+6), filing-gate 9096 → 9101 (+5). Items 6-7 (check-half-states.mjs H12/H16 on claimed draft PRs, and the post-stamped.mjs Claim: refusal) are not covered by this ruling's wording. They stay on this card as unruled script work for the seat to schedule.

  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat release · 2026-11-22T09:51Z · items 6 and 7 go to seat 7 (Sales: 「交给7号」, 2026-11-22T09:50:48Z). Items 1–5 (the skill text) merged as #36205 (3faabd2675, Part of) on the ruling 7075909669. Still owed, both script-only, no skill text:

    • Item 6: check-half-states.mjs H12/H16 also reads a draft PR that carries a Claim: (an in-flight card PR), or a new row flags "claimed draft PR: dirty, or head without Actions check suites, past N h". Acceptance line 2.
    • Item 7: post-stamped.mjs refuses a comment whose first line opens Claim: and points to label-write.mjs --comment-file … --add pm:dispatched --remove pm:queue --assign, with a --self-test case. Acceptance line 3.
      These need no new ruling; ruling 7075909669 covers items 1–5 only. Both are scripts/pm/** and can ship as one PR. Resume-from: main (3faabd2675 or later). pr-state.mjs answers only two of item 4's three wake triggers (fix(pm-dispatch): a hold is a Blocked-by line on the card, every patrol picks per card, and a card thread confirms CI started (#36203) #36205 L2 nit N2); item 6 is the place to close that gap.
  7. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 22, 2026
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 4 (items 6 and 7; items 1–5 merged as #36205)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-36203-half-state-and-claim-refusal
    Worktree: objectstack-issue-36203
    Domain: domain:skills
    Seat: repo:objectstack#7
    Area: f7-seat (area:fleet, claimed card by card)
    File surface: scripts/pm/check-half-states.mjs (item 6: a claimed draft card PR that is dirty or has no Actions check suites), scripts/pm/post-stamped.mjs (item 7: refuse a bare Claim: comment and point to the label-write stroke) and their self-tests
    Container & model: M, mode:subagent, model: default tier (the dev re-derives dispatch-gates --tier at its head; a MANDATORY line wins), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: fleet tooling in objectstack (scripts/pm) | none | every seat posting a claim or reading half-states; daily
    Thread-read: 7077419274
    Premise: holds (seat 1's release note 7077419274 names both items as still owed at 3faabd2675)
    Serial constraints cleared: none known; the dev runs overlap-check.mjs before every push (#36368 in the queue touches dispatch-gates.mjs, not these files).
    Pre-claim lane: repo:objectstack seat 7: seat 1 released items 6 and 7 to seat 7 on the maintainer-side word 「交给7号」 (2026-11-22T09:50Z, take request on mailbox #36199, 7077424951); seat 1 clocked out at 2026-11-22T10:17Z with its later work on seat 7.
    Pre-claim deps: none open.
    Prior rulings read: ruling 7075909669 (items 1–5) stands; the take request says neither item needs a new ruling or a skill-text ceiling raise; the dev runs check-prior-rulings.mjs --card 36203 before code. Tier on landing: read check-governed-merges.mjs --pr (both files are fleet guard instruments, expected Tier H).
    Resume-from: none (fresh from origin/main)

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
      "issue": 36203,
      "status": "done",
      "branch": "claude/issue-36203-half-state-and-claim-refusal",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36434",
      "head_sha": "6efbcf556bd42e43ba720da713cc39e69b757f8a",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Item 6: new half-state row H82 in check-half-states.mjs flags an open PR bound (closing keyword or Part of) to a pm:dispatched card, silent past 30 min, that is a DRAFT with mergeable_state dirty, or (draft or ready, not dirty) whose head has zero GitHub Actions check suites (check-suites read filtered app_id=15368; the incident head 473c7ff4 reads 5 suites unfiltered, 0 Actions). A non-draft dirty PR stays H16's row only; an unread suite is UNJUDGED and disclosed on the summary line, never a zero. The release note allowed either widening H12/H16 or a new row, and this takes the new row. Item 7: post-stamped.mjs refuses a comment whose first line after the signature is Claim: (exit 2, zero writes) and prints the label-write --comment-file stroke. The check runs in main after route resolution, not in judgeBody, so label-write's fold of the same body still passes. On a route resolved direct, where label-write's fold does not exist (relay-only), the claim is still written with a stderr note.",
      "tests": "At head 6efbcf556bd. pnpm check:pm-half-states exit 0: 'check-half-states self-test: 5420 cases pass', battery 'H82 claimed card PR CI cannot see 24/24'. pnpm check:pm-post-stamped exit 0: 'post-stamped self-test: 802 cases pass across 30 batteries' (787/29 before), new claim-stroke battery 15 cases, including the CLI dry runs (exit 2 off direct, exit 0 on direct) and the control that judgeBody passes the same claim. pnpm check:pm-label-write exit 0: '398 cases pass across 19 batteries' (its fold battery folds a signed Claim:). Live read-only reads: a full patrol sweep printed 'Claimed card PRs (H82): PR row read on 15 of 15 ... Actions check suites read on 15 of 15 head(s) not in conflict', with 0 H82 rows on today's board. post-stamped --dry-run with a signed claim exited 2 on route dispatch. label-write --comment-file SAME --dry-run exited 0, packed as one relay dispatch, nothing sent. No ablation: scripts are exempt.",
      "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack at 6efbcf556bd, 70 families, each exit captured before any pipe. 68 exit 0. pnpm check:i18n-coverage exit 3 (PREREQUISITE: no package dist built; diff touches no package) = NOT MEASURED. node scripts/check-self-test-workflow-commands.mjs exit 1 = NOT MEASURED: an unrelated child self-test (check-adr-0087-registration --self-test, 3m01s standalone, exit 0) ran past its 120s spawn budget on the shared box; one rerun hit the same timeout. --ran with coded exits: '70 derived famil(ies) accounted for, 69 run, 1 NOT-MEASURED'. overlap-check: VERDICT clean exit 0 (0 PR heads). check-governed-merges --pr 36434: NOT governed, 375 changed lines. CI on PR #36434 head 6efbcf556bd at report time: Governed Surface Queue Guard success, Check Changeset success, Lint/Type Check/PR-body guards/Live half-state sweep in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": "n/a — no skill text or ratcheted file touched",
      "files_changed": ["scripts/pm/check-half-states.mjs", "scripts/pm/post-stamped.mjs"],
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls, POST /issues/36434/assignees, POST /issues/36434/labels, read back identical); post-stamped comment on #36203 (POST /issues/36203/comments). Plus git push (not REST).",
      "writes": "relay 2 (pr_create with assignees and labels; this os-dev-report comment); git push 5",
      "deviations": [
        "The first four pushes (the empty branch, three commits) and the merge push were made before overlap-check.mjs ran. It then ran clean twice, after the merge and before pr_create.",
        "The dispatch expected both files to be governed (Tier H). check-governed-merges --pr 36434 reads NOT governed (0 of 2 paths). So the 维护者速读 last line is 无, not an approval request, and no L2 contract review is owed on rule text.",
        "Item 7 adds a direct-route arm beyond a bare refuse. On a route resolved direct the claim is written with a note, because label-write --comment-file is relay-only and its header names post-stamped as the claim path there."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat repo:objectstack#7 · the card-thread runbook's third wake trigger (2 h with no push and no report) still has no mechanical reader; seat 1's release note named item 6 for it, and the dispatch scoped item 6 to dirty plus zero Actions · noted, not filed",
        "carrier: seat repo:objectstack#7 · .github/workflows/half-state-patrol.yml grants contents/issues/pull-requests and no checks scope, so on the runner H82's zero-Actions leg may read UNJUDGED (disclosed on the summary line). Not measured: the workflow is on demand only. This PR's 'Live half-state sweep' CI job log would answer it · noted, not filed"
      ]
    }
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:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions