Skip to content

Commit 5c73e81

Browse files
committed
docs(pm-dispatch): cloud-card lifecycle ends at archive_session, not report receipt
The mode:cloud section covered create_session, monitoring and collection but never said what happens to a finished cloud session. Practice existed only as a maintainer chat instruction (2026-08-10). Written down with the two criteria (PR merged + report collected), the batch-sweep habit, and the hard boundary learned from live saves: never archive before the PR merges — a live completed session is the landing window's executor for dirty-state self-rescue (two same-day precedents cited in the text). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PiRUoQkTSBBmpyXBY3cVn2
1 parent 2c4056b commit 5c73e81

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,6 +2083,24 @@ to `mode:subagent`).
20832083
可能缺席),定时器仍要挂,但频率可放宽,且每轮先核订阅已覆盖哪些面、只补
20842084
盲区(会话停摆、未开 PR 的分支、姊妹仓动静)。
20852085

2086+
**云卡归档 —— 生命周期的终点是 `archive_session`,不是「报告收到」(维护者
2087+
2026-08-10 指令:「spec 已完成的云卡片关掉」;同日追问「已完成的云卡片应该
2088+
归档,项目经理skills 没写到吗」—— 本段即答)。** 会话列表是维护者的舰队
2089+
看板,完成卡不归档就是看板上的常驻噪声,车道一多维护者就分不清哪些在飞。
2090+
两条判据、一条禁令:
2091+
2092+
- **归档判据(两件同时满足)**:该卡的 PR **已 MERGED(或明确关闭)**,且
2093+
OS-DEV-REPORT 已收并复核。收尾/巡检时顺手 `list_sessions` 扫一遍
2094+
review_ready 存量,符合判据的**批量归档**;failed 桶的卡在其重派/接手处置
2095+
完成后一并归档。
2096+
-**PR 未合并前不归档 —— 活着的会话是落地窗口的执行手。** 云会话的 PR
2097+
订阅 + 自救能力依赖会话没被归档:base 被 main 甩开转 `dirty` 时,PM 一条
2098+
PR 评论就能唤醒**已完工**的会话执行 merge + 整链 regen + 重推(实测两例:
2099+
#7265 的 dirty 自 rebase、#7325#7322 冲突 union 解法,都是完工会话被
2100+
评论唤醒干的)。提前归档等于把这只手砍掉,dirty 只能 PM 自己下场或重派。
2101+
- 归档动作幂等,误归档可 `unarchive_session` 恢复 —— 但恢复后是新容器,
2102+
工作树现场不在,所以宁可晚归档也别提前。
2103+
20862104
#### 座位 Routine 化(PM 侧的运行形态,#5472 第 5 点)
20872105

20882106
上面两个 backend 决定**开发 agent** 跑在哪;这一段决定**PM 座位自己**怎么被

0 commit comments

Comments
 (0)