groove-daily-start

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

groove-daily-start

groove-daily-start

Outcome

成果

The workday is prepared: recent days are reviewed, today's daily memory file is created, tasks are consolidated and presented, and the user knows what to work on.
工作日准备就绪:已回顾近期工作内容,创建了今日的每日记忆文件,任务已整合并展示,用户明确当日工作内容。

Acceptance Criteria

验收标准

  • Yesterday's daily memory file is reviewed (summary shown; warn if missing or no end section)
  • Today's daily memory file is created with a start-of-day structure (if it does not already exist)
  • Task list is loaded and presented (grouped by status)
  • User has a clear picture of the day's agenda before starting work
  • 已回顾昨日的每日记忆文件(展示摘要;若文件缺失或无收尾部分则发出警告)
  • 若今日的每日记忆文件不存在,则创建带有工作日开始结构的文件
  • 已加载并展示任务列表(按状态分组)
  • 用户在开始工作前清晰了解当日日程

Constraints

约束条件

  • Read
    .groove/index.md
    for
    tasks:
    ,
    memory:
    , and
    recent_memory_days:
    config
  • Review recent days: Identify the last
    recent_memory_days
    business days (Mon–Fri) counting back from yesterday (skip Saturday and Sunday). For each date:
    • Check
      <memory>/daily/YYYY-MM-DD.md
      :
      • ✓ YYYY-MM-DD — start + end logged
        if both start-of-day and end sections exist
      • ~ YYYY-MM-DD — start only, no end logged
        if only start section present
      • ✗ YYYY-MM-DD — missing
        if file does not exist
      • Show a one-line context from the file if present (e.g. first bullet from "Done today" or plan intent)
    • Show git activity: run
      git log --oneline --after="YYYY-MM-DD 00:00" --before="YYYY-MM-DD 23:59:59"
      — display commit count and first few titles; skip silently if not in a git repo or no commits
    • Do NOT block start if files are missing or incomplete — just report
  • Create new day memory: Call
    /groove-utilities-memory-init-daily
    to create today's file at
    <memory>/daily/YYYY-MM-DD.md
    with a start-of-day structure. If the file already exists, skip (idempotent)
  • Call
    /groove-utilities-task-analyse
    to get current task state
  • Do NOT archive tasks during start
  • Present task list in a scannable format before the user begins
  • After all standard steps: check if
    .groove/hooks/start.md
    exists
    • If it exists: read the
      ## Actions
      section and execute each item in order; report completion per item
    • If it does not exist: skip silently
  • 读取
    .groove/index.md
    中的
    tasks:
    memory:
    recent_memory_days:
    配置项
  • 回顾近期工作日: 从昨日往前数,找出最近的
    recent_memory_days
    个工作日(周一至周五,跳过周六和周日)。针对每个日期:
    • 检查
      <memory>/daily/YYYY-MM-DD.md
      文件:
      • 若同时存在工作日开始和收尾部分,显示
        ✓ YYYY-MM-DD — start + end logged
      • 若仅存在开始部分,显示
        ~ YYYY-MM-DD — start only, no end logged
      • 若文件不存在,显示
        ✗ YYYY-MM-DD — missing
      • 若文件存在,展示其中一行上下文内容(例如“今日完成”部分的第一个项目符号或计划意图)
    • 展示Git活动:执行
      git log --oneline --after="YYYY-MM-DD 00:00" --before="YYYY-MM-DD 23:59:59"
      命令——显示提交数量和前几条提交标题;若不在Git仓库中或无提交记录则静默跳过
    • 若文件缺失或不完整,不得阻止启动流程——仅需进行报告
  • 创建当日记忆文件: 调用
    /groove-utilities-memory-init-daily
    <memory>/daily/YYYY-MM-DD.md
    路径下创建带有工作日开始结构的今日文件。若文件已存在则跳过(幂等操作)
  • 调用
    /groove-utilities-task-analyse
    获取当前任务状态
  • 启动过程中不得归档任务
  • 在用户开始工作前,以易于浏览的格式展示任务列表
  • 完成所有标准步骤后:检查
    .groove/hooks/start.md
    是否存在
    • 若存在:读取
      ## Actions
      部分并按顺序执行每一项;报告每项的完成情况
    • 若不存在:静默跳过