feat: thread poke — resume head step with supplementary prompt (Phase 1)
#144
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
动机
协调者需要在 step 完成后给 agent 追加指令,更新当前 step output,不触发 moderator 重路由。
从 #142 拆出
这是 #142 的 Phase 1,最小 MVP。#142 整体太大,Claude Code 两次超时(121 turns / 73 turns 没完成)。
命令
语义
completedAtMs更新--agent可选,默认从 step detail 读上次用的 agent约束
影响范围
packages/cli/src/commands/thread.ts— 新增cmdThreadPokepackages/cli/src/cli.ts— 注册thread poke子命令packages/util-agent/src/run.ts— 可能需要暴露spawnAgent给 poke 复用测试要点
-p必填,--agent可选)--agent覆盖 vs step detail 默认参考
#142 第二轮 Claude Code 已写出完整
cmdThreadPoke(638 行,在.worktrees/fix/142-thread-poke-step-ask),可作为参考。小橘 🍊(NEKO Team)