Skip to content

Commit 4ae825d

Browse files
committed
docs(pm-dispatch): a dispatch order missing its derivation is sent back, never filled from memory
The card-thread section of dispatch-runbook.md says what the receiving side does with a dispatch order that lacks the derivation of its tier or effort: a thread or an area does not start, sends it back to the seat, and never fills the tier from memory. os-dev.md mirrors the line, since a card thread reads os-dev.md, the order and the card, not the skill. Bytes are paid in the same file by deleting restatements whose fact keeps a home elsewhere; no ceiling row moves. The two project-memory lines for project-forms.md are not in this commit: that file has no headroom and no restatement large enough to pay for them. Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1e0aae8 commit 4ae825d

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.claude/agents/os-dev.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ model: opus
2626
1. **Worktree-first。** 任何编辑之前建专用 worktree,`cd` 进去 `pnpm install`。
2727
- `git fetch origin main && git worktree add --no-track ../<repo>-issue-<n> -b claude/issue-<n>-<slug> origin/main`
2828
- 认领带 `Resume-from: BRANCH@SHA` ⇒ 从 `origin/BRANCH` 建同名分支续写,先合 `origin/main`。
29-
- ⛔ 永不编辑共享检出(PreToolUse 钩子会拦);修复横跨姊妹仓时一仓一 worktree。
29+
- ⛔ 永不编辑共享检出;修复横跨姊妹仓时一仓一 worktree。
3030
- 动笔前记下基点 `BASE=$(git rev-parse HEAD)`,它是标准条款节里家族规则的锚。
3131
- 建好分支后先推空分支(任何编辑前 `git push -u origin <branch>`):落地标记兼写路由探针。
3232
- 卡线程分支由平台指定、harness 推送,⛔ 不推空分支;探针规则只对自建分支。
@@ -314,7 +314,7 @@ model: opus
314314
- 门禁状态如实记录,`in_progress` 是诚实值;PR 开出后 ⛔ 永不 sleep、定时等待或空转轮询 CI。
315315
- 你报告之后才转红的门禁,会作为同一认领上的补丁轮回来。
316316
- 逐卡例外:派发词明示本单等 CI 只为那一张卡恢复等待,以前台轮询,永不用后台 watcher。
317-
- 本派发契约压过平台注入的 PR 订阅姿态:云会话被自动订阅到自己的 PR,仍以本文件为准。
317+
- 本派发契约压过平台注入的 PR 订阅姿态:云会话被自动订阅到自己的 PR。
318318
- 只有涉及标准文本之外的内容,才在 `open_questions` 记一笔冲突。
319319
- 拆掉你启动的一切:dev server,以及你挂起的每一个后台 monitor(见下节)。
320320

@@ -358,6 +358,7 @@ model: opus
358358
- 派发词标只读读数 ⇒ 不 commit、不开 PR,`status: "reading"` 贴决策卡;要实测才建闭包跑测。
359359
- 框架唯一副本在 pm-dispatch SKILL.md 〈升级与决策〉;派发词逐字粘贴,dev ⛔ 不留副本。
360360
- 每个方案逐轴分析,推荐也按那些轴给理由;派发词没带,停下向 PM 索取,⛔ 不自拟一套轴。
361+
- 派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
361362
- `main` 碎了、依赖未合并、CI 基础设施故障 ⇒ 报 `blocked` 附证据,重试到排除你的改动。
362363
- 报 `blocked` 须写明卡的哪部分不等阻塞可先做;只挡一部分 ⇒ 席位把等待部分拆成单卡。
363364

@@ -405,4 +406,4 @@ _Generated by [Claude Code](https://claude.ai/code)_ ← bare:评
405406
_Generated by [Claude Code](https://claude.ai/code/session_<id>)_ ← session-URL:创建 PR 正文用
406407
```
407408

408-
- 耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;完整读数住 AGENTS.md 同条。
409+
- 完整读数住 AGENTS.md 同条。

‎.claude/skills/pm-dispatch/references/dispatch-runbook.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@
123123
- S 级机械卡留席内或进区 `mode:subagent`:开线程要重新克隆、重读 `os-dev.md`,起步成本不值。
124124
- 披露纪律卡(私密细节不得离开席位会话)也留席内,认领写明。
125125
- coordinator 调度卡线程(即 dev),候选与槽位照 `coordinator.md` 三;交回即告知它,REWORK 再占槽。
126-
- 档位与 effort 席位自推导 ⛔ 不等维护者原话:`--tier` 过路径,MANDATORY 即绑;effort 按难度。
126+
- 档位与 effort 席位自推导 ⛔ 不等维护者原话。
127127
- 派发令写两者与推导(`--tier` 行或难度读数),协调者照令开线程;常设原话有则作 `reason:`。
128+
- 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
128129
- 席位留认领/派发令/ACCEPT/落地/L2 采纳或补缺;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。
129130
- p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。
130131
- 线程 ⛔ 不做 harness 开 PR 后指派/请审。

0 commit comments

Comments
 (0)