perf-investigation-logger

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

perf-investigation-logger

perf-investigation-logger

Append structured investigation notes to
{state-dir}/perf/investigations/<id>.md
.
Follow
docs/perf-requirements.md
as the canonical contract.
将结构化调查记录追加到
{state-dir}/perf/investigations/<id>.md
docs/perf-requirements.md
作为标准约定。

Required Content

必填内容

  1. Exact user quotes (verbatim)
  2. Phase summary
  3. Decisions and rationale
  4. Evidence pointers (files, metrics, commands)
  1. 准确的用户原话(逐字记录)
  2. 阶段总结
  3. 决策及理由
  4. 证据指向(文件、指标、命令)

Output Format

输出格式

undefined
undefined

<Phase Name> - <YYYY-MM-DD>

<阶段名称> - <YYYY-MM-DD>

User Quote: "<exact quote>"
Summary
  • ...
Evidence
  • Command:
    ...
  • File:
    path:line
Decision
  • ...
undefined
用户原话: "<准确引用内容>"
总结
  • ...
证据
  • 命令:
    ...
  • 文件:
    path:line
决策
  • ...
undefined

Constraints

约束条件

  • Use
    AI_STATE_DIR
    for state path (default
    .claude
    ).
  • Do not paraphrase user quotes.
  • 使用
    AI_STATE_DIR
    作为状态路径(默认值为
    .claude
    )。
  • 不得改写用户原话。