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>

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

User Quote: "<exact quote>"
Summary
  • ...
Evidence
  • Command:
    ...
  • File:
    path:line
Decision
  • ...
undefined
User Quote: "<exact quote>"
Summary
  • ...
Evidence
  • Command:
    ...
  • File:
    path:line
Decision
  • ...
undefined

Constraints

约束条件

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