re0-memo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTurn a completed cycle into lessons the next cycle can actually use.
将已完成的工作周期转化为下一周期可实际复用的经验教训。
Goal
目标
re0-memoUse when the artifact is done, failed, disappointing, or ambiguous enough that the next agent needs the cycle's lessons more than its momentum.
re0-memore0-memo当工件已完成、失败、不尽人意或存在歧义,且下一阶段执行者更需要该周期的经验而非现有进展时,可使用 。
re0-memoWorkflow
工作流程
- Read the original objective, final artifact, QA evidence, user complaints, and any local planning notes.
- Separate working assets from misleading progress: contracts, schemas, tests, services, vocabulary, and examples that earned reuse vs. UI, panels, scaffolds, or abstractions that only looked productive.
- Generalize before recording: when feedback arrives as many specific complaints, cluster them upward into the shared pattern before writing anything down — many specifics against many items usually share one root gap. Record the root and its pattern family as the lesson; keep the specifics under it as evidence, not as lessons themselves.
- Name each failure as an anti-pattern, not a mood.
- Convert repeated or high-impact failures into quality gates for the next pass.
- Convert vague user direction into architecture vocabulary a fresh agent can use.
- Write or refresh local docs for the cycle: a re0-memo for lessons and a plan for next-cycle contracts, gates, and vocabulary.
- Verify that a from-scratch agent could avoid the same failure from those docs alone.
- 阅读原始目标、最终工件、QA测试证据、用户反馈以及所有本地规划文档。
- 区分有效资产与误导性进展:保留值得复用的契约、schema、测试、服务、规范术语和示例;摒弃看似有效实则无用的UI、面板、脚手架或抽象层。
- 先归纳再记录:当收到大量具体反馈时,先将其归类为共同模式再记录——针对不同事项的诸多具体问题通常源于同一个核心缺陷。将核心问题及其所属模式记录为经验教训,具体问题作为证据附在下方,而非作为经验教训本身。
- 将每个失败定义为反模式,而非情绪化描述。
- 将重复发生或影响重大的失败转化为下一阶段的质量门。
- 将模糊的用户需求转化为新执行者可使用的架构规范术语。
- 编写或更新该周期的本地文档:一份记录经验教训的re0-memo,以及一份关于下一阶段契约、质量门和规范术语的计划。
- 验证从零开始的执行者仅通过这些文档就能避免相同的失败。
Rules
规则
- Do not defend the artifact. If it missed the product, say what missed.
- Do not write a changelog. File lists and effort summaries are not lessons.
- Do not transcribe a specific complaint as a lesson. A lesson that only fixes the reported case keeps the system human-in-the-loop: the same class of failure returns anywhere a person didn't point. Escalate every specific to the pattern that catches its whole class — the reporter's exact words are evidence, not the gate.
- Preserve negative corpus. Failed paths are training data.
- Prefer hard gates over advice.
- Cite evidence from the cycle: objective, file facts, QA output, screenshots, transcripts, diffs, or user feedback.
- If the next agent cannot act on it, it is not a lesson yet.
- Keep provenance local; shipped artifacts should not narrate their scars.
- 不为工件辩护。若未达到产品要求,明确说明问题所在。
- 不编写变更日志。文件列表和工作汇总不属于经验教训。
- 不将具体反馈直接转录为经验教训。仅针对单个案例的教训会让系统依赖人工干预:同一类失败会在未被人工指出的地方再次发生。将每个具体问题升级为能覆盖整个类别问题的模式——反馈者的原话是证据,而非质量门。
- 保留负面案例集。失败路径是训练数据。
- 优先采用硬性质量门而非建议。
- 引用周期中的证据:目标、文件事实、QA输出、截图、对话记录、代码差异或用户反馈。
- 若下一阶段执行者无法据此采取行动,则不能称之为经验教训。
- 保留本地来源;已交付的工件无需记录其缺陷。
Verification
验证
Before finishing:
- Every lesson traces to observed cycle evidence.
- Every anti-pattern names a concrete failure mode and the gate that catches it.
- No lesson is a single reported case in disguise: each covers a class, with the specifics that raised it sitting under it as evidence.
- A fresh agent can tell what to preserve, what to discard, and what to test first without reading the whole old session.
完成前需确认:
- 每条经验教训都能追溯到周期中观察到的证据。
- 每个反模式都明确了具体的失败模式以及对应的质量门。
- 没有任何一条经验教训是单个案例的伪装:每条教训都覆盖一个类别,引发问题的具体案例作为证据附在下方。
- 新执行者无需阅读整个旧周期的内容,就能明确需要保留、丢弃的内容以及优先测试的事项。