feat(agents): pm-dispatch 持续分诊职责 + 过时前提核查 + 进程纪律 - #4591
Merged
Conversation
…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
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
把加速运行一天攒下的三组经验固化进机制(均已在实际运行中验证)。
内容
.claude/skills/pm-dispatch/SKILL.md:pm:queue;设计卡/大工程/涉迁移→needs-user-decision进收件箱(深度两轴分析留到实际启动时);正文被净化器截断的→留修复指引。今日首轮已实跑(9 入队 / 15 进收件箱 / 1 待修复);ActionDef's[key: string]: anyabsorbs every retired and misspelled action key — removing a spec key produces no compile error #4075 第 1 步已合并三天,盘点评论就在 issue 上,认领时未读);派发前做过时前提核查(对照 main 近期历史/已合并 PR——同日三例:spec 是否该建模DecisionOutputDef.required?服务端今天就在强制它,而 spec 未声明 #4525、MongoDBDriver.findOne 完全忽略 query.orderBy 和 query.fields —— 「最新一条」在 Mongo 上返回任意一条 #4379、[P3] objectuiActionDef's[key: string]: anyabsorbs every retired and misspelled action key — removing a spec key produces no compile error #4075)。.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