Skip to content

docs(pm-dispatch): mode:cloud 一次性云卡改用 create_session,附首派实测三课 - #6236

Merged
qq9340100 merged 2 commits into
mainfrom
claude/pm-dispatch-spec-lane-fp2j7q
Aug 7, 2026
Merged

docs(pm-dispatch): mode:cloud 一次性云卡改用 create_session,附首派实测三课#6236
qq9340100 merged 2 commits into
mainfrom
claude/pm-dispatch-spec-lane-fp2j7q

Conversation

@qq9340100

Copy link
Copy Markdown
Collaborator

维护者 2026-08-07 拍板写入 PM 技能(本班第四条 SKILL 沉淀,承 #6120/#6131/#6163):mode:cloud一次性云卡create_trigger + fire_trigger 改为 create_session,trigger 流仅保留给定时/重复型(座位 Routine)。

改写 Dispatch backends 的 mode:cloud 一节(+33/-13,docs-only,.claude/ 内部工具面),沉淀 #6083 首派一天踩齐的三课:

  1. 授权面随 source,不随环境 —— trigger 拉起的会话无仓库授权(push/PR/评论 403,auto 模式无授权弹窗,dev 只能只读勘察);create_sessionsource_url 出生即持推送授权,并显式 model(sonnet 默认惊吓出处)、outcome_branchtitle(客户端可点卡片);
  2. 派发词必须带自驱条款 —— 云会话回合结束即停(对话形态,非 subagent),不写回合终点约束会在中期汇报/提问处停摆;
  3. 交付通道降级路径 —— 无 GitHub API 工具时,推分支 + 终报走会话最后一条消息,PM 代开 draft PR 代转录,权限面不放大。

附监控与转向手段(get_session 状态判读、persistent_session_id poke 触发器、收报主动读纪律)。

🤖 Generated with Claude Code

https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY


Generated by Claude Code

…-08-07 拍板)

一次性云卡 create_session 取代 create_trigger+fire(后者只留定时/重复):
1) 授权面随 source —— trigger 会话无仓库授权,push/PR/评论全 403;
   create_session 带 source_url + outcome_branch + 显式 model + title;
2) 派发词必须带自驱条款(云会话回合结束即停,不写会中途停摆);
3) 交付通道降级路径(无 GitHub API 工具时推分支 + 终报走会话消息,
   PM 代开 PR 代转录)。附监控与转向手段(get_session / poke 触发器)。
出处:#6083 首派一天踩齐三课。

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

vercel Bot commented Aug 7, 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 7, 2026 11:35am

Request Review

@github-actions github-actions Bot added the size/s label Aug 7, 2026
@claude claude Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 7, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 7, 2026
多车道并行时维护者按卡片名扫车道;命名形 ⚡ <车道> #<单号> <短语>。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY
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 skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants