coffee-break
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCoffee Break
休息时间
Park work, print resume instructions. Heaviness check first — if memory consolidation is pending, route to /reflect.
暂存工作,打印恢复指引。首先进行“繁重性检查”——若记忆整合任务未完成,则跳转至/reflect路由。
1. Heaviness check (route to /reflect if any fires)
1. 繁重性检查(若触发任意条件则跳转至/reflect)
- New or
feedback_*.mdinproject_*.mdwith mtime >~/.claude/projects/<slug>/memory/directory mtime (≈ session-start on CC; on Codex, skip this signal with logged reason$SESSION_DIR)no $SESSION_DIR - modified in-branch (
ai-workspace/MEMORY.mdnon-empty OR commits since fork)git status - If unsure, ask user: is the branch task complete or paused? If complete, fire.
Any fire → use /reflect
- 目录下存在修改时间晚于
~/.claude/projects/<slug>/memory/目录修改时间的新$SESSION_DIR或feedback_*.md文件(在CC平台约等于会话启动时间;在Codex平台,记录理由project_*.md并跳过该信号)no $SESSION_DIR - 分支内已修改(
ai-workspace/MEMORY.md显示有未提交内容 或 分支分叉后存在提交记录)git status - 若不确定,询问用户:当前分支任务已完成还是暂停?若已完成,则触发跳转。
触发任意条件 → 调用/reflect
2. Park
2. 暂存工作
- Note what team position you are in, if any (e.g. swe1, architect, tmp)
- Refresh (Finished / Open / Next action / Resumes as)
.branch-context.md - Commit if changed (skip silently if blocks — surface the block to user)
no-commit-primary-worktree.sh - Push if ahead of upstream
- 记录当前所在的团队职位(如swe1、架构师、临时角色等)
- 更新文件(内容包括:已完成项 / 待办项 / 下一步操作 / 恢复方式)
.branch-context.md - 若有变更则提交(若阻止提交则静默跳过,并向用户提示该阻止信息)
no-commit-primary-worktree.sh - 若本地分支领先于上游分支则推送
3. Respond
3. 响应内容
- Print:
Parked: <branch> @ <sha> Self-resume: /clear then /position <position> --resume
- 打印如下内容:
Parked: <branch> @ <sha> Self-resume: /clear then /position <position> --resume