记忆

Daily Workflow

试用

跨会话恢复工作,只记录可核验的项目状态,承认既有项目治理的权威。

它能做什么

在开工取向下、中段检查、收工、交接这四个时点,保留简短的项目记忆供后续恢复。先做只读扫描,确认现有治理文件和遗留内存文件的位置与权威,再决定写什么;只记录命令、最终结果、阻塞和唯一一条下一步动作。证据状态严格区分 verified、partial、unverified、not-executed、blocked、accepted,绝不把自测、构建或单点用例升级为验收。本技能只负责会话连续性;正式目标、循环证据、生命周期分析与检索入口归属其他系统,本技能只读不覆盖。

什么时候用它

  • 中断或交接后恢复项目
  • 保存中段检查点和唯一一条下一步动作
  • 收工时记录可核验的最终状态
  • 迁移旧的工作流笔记而不覆盖项目既有文件

技能文档

Daily Workflow / 项目记忆工作流

Version: 4.0.0

Use this skill to make work resumable. Record only the compact factual state needed by the user or next agent; do not turn project memory into a second project-management system.

Respond in the user's language. Keep machine-readable status values in English.

Scope And Ownership

This skill owns session continuity only: orientation, checkpoint summaries, wrap-up records, and handoffs.

  • cms-project-governance owns formal targets, Programs, Work Orders, Controller/QA decisions, and acceptance state.
  • agent-loop-engineering owns active coding-loop evidence, stop gates, evaluation, and loop records.
  • project-lifecycle-navigator owns lifecycle analysis and rebaseline proposals.
  • web-search-rules owns research intake and source rules.
  • ai-workflow-os may route here but must not create a parallel memory state.

When another system already owns a field, read and summarize it; do not overwrite it.

Trigger And Authorization

Use this skill when the user explicitly asks to:

  • start or resume work;
  • save progress or create a checkpoint;
  • wrap up or end work;
  • prepare a handoff;
  • reconcile or migrate workflow notes.

Common phrases include 开工啦, 中段检查, 吃饭啦, 收工啦, 交接, start work, checkpoint, wrap up, and handoff.

A casual mention of one phrase is not enough when intent is ambiguous. Inspect read-only first. Persist files only when the request clearly asks to initialize or update project memory, or when an established project workflow already defines the trigger as a write command.

Read-Only Orientation First

Before writing:

  1. resolve the actual workspace and repository root, including nested repositories;
  2. inspect Git branch, commit, and dirty state without modifying it;
  3. locate governing files and determine current authority precedence;
  4. locate product scope, entrypoints, build/test commands, and runtime surfaces relevant to the session;
  5. read existing memory files and compatible aliases;
  6. identify contradictions, missing evidence, and ownership conflicts.

Do not use git reset, git clean, broad deletion, or ambiguous process termination. Existing changes belong to the user unless proven otherwise.

Choose A Memory Profile

Existing Governance Profile

Use when project-owned governance or loop files already exist. Follow that project's names and authority. Do not create duplicate Docs/ files merely because this skill has default templates.

Lightweight Profile

Use only when no authoritative workflow exists and persistence is requested. Start with the smallest useful set:

Docs/STATUS.md
Docs/NEXT_ACTIONS.md

Add files only when their information has a distinct owner:

Docs/PROJECT.md       project identity and metadata
Docs/TARGET.md        Owner-confirmed target, scope, Non-Goals, success criteria
Docs/COMPLETED.md     append-only historical completion log
Docs/PENDING.md       current queue, blockers, and decisions
Docs/HANDOFF.md       standalone handoff only when requested or too large to embed
Docs/CONFIG.md        explicit local workflow preferences
Docs/archive/YYYY-MM.md

Do not create TARGET.md from an AI guess. If the target is unclear, record a proposed summary in STATUS.md as TBD - Owner Confirmation Required.

Legacy Migration Profile

Detect legacy files read-only. If old and new forms coexist, show the conflict and ask before merging. Never delete legacy files automatically.

Compatibility mappings:

PROJECT_TARGET.md  -> TARGET.md
PROJECT_STATUS.md  -> STATUS.md
COMPLETED_JOBS.md  -> COMPLETED.md
PENDING_JOBS.md    -> PENDING.md
NEXT_STEPS.md      -> NEXT_ACTIONS.md
SCHEDULE.md        -> NEXT_ACTIONS.md compatibility alias

Evidence Vocabulary

Use precise states:

  • implemented: source or artifact exists;
  • verified: a relevant current check passed;
  • partial: only part of the intended behavior exists;
  • unverified: required evidence was not run or observed;
  • unusable: present but the real user flow cannot complete;
  • documentation-conflict: current records disagree;
  • not-executed: a scenario was not run;
  • blocked: progress requires authority, user input, or an unavailable dependency;
  • accepted: only when the authorized independent acceptance role has recorded it.

Never promote Developer self-report, historical logs, a health endpoint, compilation, a narrow test, or a screenshot into broader acceptance.

For each verification record, preserve:

  • exact command or manual scenario;
  • relevant environment or data boundary;
  • final exit, timeout, interruption, or not-executed state;
  • result summary;
  • evidence/artifact path when useful;
  • residual risk.

Canonical Record Structure

STATUS.md

Keep a current snapshot plus short history:

# Project Status

## Current State
- Status:
- Current goal:
- Active scope:
- Latest verified behavior:
- Blockers:
- Residual risks:

## Latest Verification
- Command or scenario:
- Final result:
- Evidence boundary:
- Evidence path:
- Not executed / deferred:

## Compressed Context
- User intent:
- Decisions:
- Completed since last checkpoint:
- Pending:
- Files touched:
- Dirty worktree notes:
- Exact next action:

## Update History
### YYYY-MM-DD HH:mm [start|checkpoint|wrap-up|handoff|migration]
- Factual change and evidence.

NEXT_ACTIONS.md

Keep exactly one current continuation plan:

# Next Actions

## Immediate Next Action
1. [Action with context and acceptance condition]

## Then
1. [Ordered action]

## Blockers And Owner Decisions
- [Decision or blocker]

## Handoff Snapshot
- Current state:
- Completed:
- Pending:
- Risks:
- Files/artifacts:
- Commands and final results:
- Exact next action:

Start Work

  1. Orient read-only.
  2. Determine the memory profile and authority.
  3. Summarize target, current state, latest verified evidence, dirty changes, pending work, blockers, and exact next action.
  4. Reconcile stale notes against current repository/runtime evidence.
  5. Write a start entry only when persistence is authorized.
  6. Do not create speculative targets or mark historical completion as current verification.

Checkpoint

  1. Compress only the context required to continue.
  2. Record actual completed work and current evidence.
  3. Record failed, timed-out, interrupted, deferred, and unrun checks explicitly.
  4. Update the current queue without dropping unresolved blockers or Owner decisions.
  5. Refresh the single exact next action.
  6. Preserve governance and coding-loop fields owned by other skills.

Wrap Up

  1. Record the final state observed in this session.
  2. Append completed history only for work that actually occurred.
  3. Keep current status aligned with the latest verified state; preserve earlier failed attempts in history with timestamps.
  4. List unfinished work, blockers, residual risks, and deferred scenarios.
  5. Do not change the target unless the Owner explicitly changed it.
  6. Prepare a resumable next action.

Handoff

Create a self-contained handoff that includes:

  • product/architecture context necessary to continue;
  • current authoritative decisions and scope;
  • exact artifacts and files;
  • completed work and what evidence supports it;
  • unverified or not-executed scenarios;
  • blockers, risks, and Owner decisions;
  • commands/tests with final outcomes;
  • exact next actions and prohibited actions.

Do not rely on chat history. Do not include hidden reasoning or a full transcript.

Atomic Update Rules

When several memory files describe one state transition, update them as one coherent change and re-read them afterward. If interrupted, report which files changed and which did not.

  • One current fact should have one authoritative home.
  • Append historical records; rewrite current snapshots intentionally.
  • Preserve unresolved blockers.
  • Preserve external ownership fields such as acceptance evidence, QA decisions, loop evaluations, and LOOP_RUNS.jsonl.
  • Archive older status entries by moving them to Docs/archive/YYYY-MM.md; never delete history automatically.
  • Use UTF-8 for all Markdown and JSONL files.
  • Report absolute paths to the user.

Safety

Never record API keys, tokens, passwords, cookies, private keys, .env values, browser sessions, full private customer records, confidential source bodies, large logs, or sensitive exploit detail.

Summarize sensitive context safely and reference only an appropriate non-secret source location.

User-Facing Summary

Keep the response compact:

Project memory updated.
- Current state: Needs Fix
- Verified: 2 checks passed; browser flow not executed
- Updated: STATUS.md, NEXT_ACTIONS.md
- Preserved: active QA and loop evidence
- Blocker: Owner decision on target scope
- Next: reproduce the failing user-visible flow with the current data boundary

常见问题

它会不会变成第二个项目管理工具?
不会。文档明确说明,只记录用户或下一个智能体继续工作所需的最小事实状态;属于其他系统的字段一律只读汇总,绝不覆盖。
什么情况下才会真的写文件?
只有用户明确要求初始化或更新项目记忆,或既有项目工作流把这次触发定义成写命令时才会写。听到“开工”“收工”等短语但意图不清晰时,先做只读检查,不擅自落盘。
它能把任务标为已验收吗?
不能。accepted 状态只能由项目治理中授权的独立验收角色写入;自测、健康端点、构建通过、单点用例、截图、历史日志一律不得被升级为验收。

相关技能

A cross-agent project memory skill for Codex and Claude Code, enabling consistent context, documentation, and development history across sessions.

为项目维护 HOT/WARM/COLD 三级授权工作记忆,内建隐私控制与擦除授权闸门。

117 次安装2 星标

Create and organize daily work notes with consistent structure, date-based filenames, and lightweight summaries. Use when the user wants to start a daily log, append structured entries to today's note, review recent notes, or generate a concise recap from multiple daily files.

1 次安装

跨会话/跨项目通用工作流:开工读状态、进行中记流水、收工留锚点

面向团队协作与企业研发场景的 Git 工作流专业工具。Use when 需要提升效率、自动化流程、批量处理、工作流优化时使用。不适用于需要人工创意判断的任务。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂配置即开即用。输出结果可直接使用,减少二次加工成本。提供结构化输出和错误处理机制。