Files
Jyotisha/docs
Jesse_ChenandClaude Opus 5 8cb1877eb3 docs(agents): 禁止 git stash —— 栈是全仓共用的,并行会话会互相弹走
2026-09-16 一轮四个并行 agent 里有三个踩中:stash 栈是一个全仓库的 ref,
不按 worktree 隔离。R5 弹走了 R6 的、R6 弹走了 R7 的、R7 弹走了 R5 的,
三方各自做了一次 git fsck --unreachable + git stash store 的救援才没丢。

§3 新增第 5 条:禁止 git stash,给出三条替代做法(wip commit 后
reset --soft / 一次性 worktree / diff 存 patch),以及误弹后的救援步骤。
原第 5 条顺延为第 6 条。

同时把状态板标为 R4–R8 全部合入。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193vBv6w5MV2cifdTUu9H5P
2026-09-16 06:51:37 +00:00
..