Skip to content

feat(agents): pm-dispatch 持续分诊职责 + 过时前提核查 + 进程纪律 - #4591

Merged
os-zhuang merged 3 commits into
mainfrom
claude/pm-agent-task-dispatch-r4cepu
Aug 2, 2026
Merged

feat(agents): pm-dispatch 持续分诊职责 + 过时前提核查 + 进程纪律#4591
os-zhuang merged 3 commits into
mainfrom
claude/pm-agent-task-dispatch-r4cepu

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

目的

把加速运行一天攒下的三组经验固化进机制(均已在实际运行中验证)。

内容

.claude/skills/pm-dispatch/SKILL.md:

.claude/agents/os-dev.md:资源纪律第 5 条——绝不按进程名杀进程,只对记录在案的 PID 操作(kill -0 $PID 判活;pgrep -f 会匹配到守候进程自身)。来自 #3182 agent 的主动披露。

备注

空 frontmatter changeset 已附(纯 .claude/ 内部工具)。

🤖 Generated with Claude Code

https://claude.ai/code/session_012C2cd7tL8QDoZ2QKN3djJ5


Generated by Claude Code

…hecks + PID-only process discipline

- Step 0: classifying the unlabeled backlog is a standing PM duty —
  auto-queue concrete/no-risk work, flag design cards and programs for
  the maintainer, request repair for sanitizer-truncated bodies.
- Fetch step now requires reading issue comments and running a
  stale-premise check against recent main history before dispatch
  (three same-day cases: #4525, #4379, #4075 step 1).
- os-dev resource discipline: never kill by process name; PID-scoped
  operations only (from the #3182 agent's pkill disclosure).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012C2cd7tL8QDoZ2QKN3djJ5
@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Aug 2, 2026 10:00am

Request Review

@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling labels Aug 2, 2026
claude added 2 commits August 2, 2026 09:28
…s shards via the target queue, PMs never do

A sharded PM whose task needs a change in another shard's repo files it
into the target repo's queue (pm:queue + source line) instead of
dispatching across the line; dependencies via Blocked-by, follow-up
chores belong to the consuming shard, and anything touching
packages/spec transfers to the main-backlog PM. The queue label is the
inter-PM channel — no direct PM-to-PM coordination needed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012C2cd7tL8QDoZ2QKN3djJ5
…s explicit, never assumed

A registry issue in the main backlog records which session owns which
shard; taking over or handing off a shard is a comment there. Unowned
shards may be caretaken by the main-backlog PM, but a registered shard
ends caretaking immediately — in-flight claimed tasks finish under their
claimant, everything else belongs to the new owner. Claim comments state
the mode so registry and claims never disagree silently.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012C2cd7tL8QDoZ2QKN3djJ5
@os-zhuang
os-zhuang marked this pull request as ready for review August 2, 2026 10:03
@os-zhuang
os-zhuang added this pull request to the merge queue Aug 2, 2026
Merged via the queue into main with commit 0c681c3 Aug 2, 2026
18 checks passed
@os-zhuang
os-zhuang deleted the claude/pm-agent-task-dispatch-r4cepu branch August 2, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants