coffee-break

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Coffee 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
    feedback_*.md
    or
    project_*.md
    in
    ~/.claude/projects/<slug>/memory/
    with mtime >
    $SESSION_DIR
    directory mtime (≈ session-start on CC; on Codex, skip this signal with logged reason
    no $SESSION_DIR
    )
  • ai-workspace/MEMORY.md
    modified in-branch (
    git status
    non-empty OR commits since fork)
  • 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
    project_*.md
    文件(在CC平台约等于会话启动时间;在Codex平台,记录理由
    no $SESSION_DIR
    并跳过该信号)
  • 分支内
    ai-workspace/MEMORY.md
    已修改(
    git status
    显示有未提交内容 或 分支分叉后存在提交记录)
  • 若不确定,询问用户:当前分支任务已完成还是暂停?若已完成,则触发跳转。
触发任意条件 → 调用/reflect

2. Park

2. 暂存工作

  1. Note what team position you are in, if any (e.g. swe1, architect, tmp)
  2. Refresh
    .branch-context.md
    (Finished / Open / Next action / Resumes as)
  3. Commit if changed (skip silently if
    no-commit-primary-worktree.sh
    blocks — surface the block to user)
  4. Push if ahead of upstream
  1. 记录当前所在的团队职位(如swe1、架构师、临时角色等)
  2. 更新
    .branch-context.md
    文件(内容包括:已完成项 / 待办项 / 下一步操作 / 恢复方式)
  3. 若有变更则提交(若
    no-commit-primary-worktree.sh
    阻止提交则静默跳过,并向用户提示该阻止信息)
  4. 若本地分支领先于上游分支则推送

3. Respond

3. 响应内容

  1. Print:
    Parked: <branch> @ <sha>
    Self-resume: /clear then /position <position> --resume
  1. 打印如下内容:
    Parked: <branch> @ <sha>
    Self-resume: /clear then /position <position> --resume