Skip to content

Streamline agent documentation / 精简智能体文档 - #2545

Merged
Oseltamivir merged 2 commits into
mainfrom
docs-cleanup
Aug 10, 2026
Merged

Oseltamivir merged 2 commits into
mainfrom
docs-cleanup

Conversation

@Oseltamivir

Copy link
Copy Markdown
Collaborator

Streamline agent documentation.

中文说明

精简智能体文档。

中文:精简智能体指南,并将详细操作说明移至按需查阅的内部参考文档。
@Oseltamivir
Oseltamivir marked this pull request as ready for review August 10, 2026 12:34
@Oseltamivir
Oseltamivir requested a review from a team August 10, 2026 12:34
@claude

claude Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @Oseltamivir's task in 2m 15s —— View job


Review of PR #2545

  • Read the full diff against origin/main
  • Review the new .github/AGENT_OPERATIONS.md content
  • Verify the AGENTS.md restructure doesn't drop or break load-bearing guidance/links
  • Check the one-line edits in KLAUD_DEBUG.md, MODELS.md, MODELS_zh.md

LGTM - no blocking issues found

Verified against the repo: all five .github/AGENT_OPERATIONS.md#... anchor links resolve; the sweep-label, modifier, [skip-sweep], power-pinning, and eval semantics in the extracted reference match the original AGENTS.md text; KLAUD_DEBUG.md §1.1 exists as referenced; the full-sweep-fail-fast recommendation in KLAUD_DEBUG.md §9 is now consistent with AGENTS.md; the benchmarks/single_node/agentic/ link fix in MODELS.md is correct (old path no longer exists) and is properly mirrored in MODELS_zh.md; the new doc pairs (golden_al_distribution/README*.md) and English-only exceptions (configs/CONFIGS.md, experimental/README.md) all exist; the dispatch example's 1k1k→8k1k update matches the deprecation, 1k1k is indeed still accepted by tooling, and all documented e2e-tests.yml dispatch inputs match the workflow definition.

中文:审查通过,未发现阻塞性问题。已核实所有锚点链接、扫描标签语义、路径修正及双语文档对均正确无误。


中文:恢复 PR、Issue 与技术翻译质量要求的完整说明。
@Oseltamivir
Oseltamivir merged commit 2b2aa63 into main Aug 10, 2026
4 checks passed
@Oseltamivir
Oseltamivir deleted the docs-cleanup branch August 10, 2026 12:37
Comment thread AGENTS.md
Comment on lines +158 to +171
### Metrics, power, and artifact schema

Multinode disaggregated results add role energy metrics: `prefill_gpu_energy_j` / `decode_gpu_energy_j` (board energy of that role's GPUs integrated over the FULL formal window — not kernel-level phase energies) and `prefill_joules_per_input_token` / `decode_joules_per_output_token`.
Core metrics:

### Artifacts
| Metric | Meaning |
|---|---|
| `tput_per_gpu` | Total input plus output tokens per second per GPU |
| `output_tput_per_gpu` | Output tokens per second per GPU |
| `mean_ttft` | Mean time to first token |
| `p99_ttft` | 99th-percentile time to first token |
| `mean_tpot` | Mean time per output token after the first |
| `mean_e2el` | Mean end-to-end request latency |

`results_bmk` → `agg_bmk.json` (aggregated). `results_all` → all results aggregated (may not exist). `eval_results_all` → `agg_eval_all.json` (may not exist). `run-stats` → `run_stats.json` (which nodes ran and succeeded). `power_audit_<result>` → `power_validation_<result>.json` single-node, `power_validation_<result>_*.json` multinode (canonical power validity verdict + reason codes; uploaded even when invalid).
Power fields and artifact schemas are documented in [`.github/AGENT_OPERATIONS.md`](.github/AGENT_OPERATIONS.md#power-telemetry). Never dump raw result JSON.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 AGENTS.md's cross-reference for "artifact schemas" points to .github/AGENT_OPERATIONS.md#power-telemetry, but that section only documents the power_audit_<result> artifact. The rest of the artifact schema (results_bmk, results_all, eval_results_all, run-stats) lives under the adjacent ## Result artifacts and metrics heading (#result-artifacts-and-metrics). Point the link at that anchor instead (or reference both).

Extended reasoning...

The bug: In AGENTS.md (the "Metrics, power, and artifact schema" section, ~line 171), the sentence "Power fields and artifact schemas are documented in .github/AGENT_OPERATIONS.md" promises two things — power fields and artifact schemas — but anchors to only one section.

Where it actually lives: .github/AGENT_OPERATIONS.md has two distinct headings introduced by this PR:

  • ## Power telemetry (anchor #power-telemetry) — documents power_valid, avg_power_w, avg_total_gpu_power_w, total_gpu_energy_j, the joules-per-* fields, and mentions only one artifact: power_audit_<result>.
  • ## Result artifacts and metrics (anchor #result-artifacts-and-metrics) — documents the actual artifact naming schema: results_bmk → agg_bmk.json, results_all, eval_results_all → agg_eval_all.json, run-stats → run_stats.json, plus power_audit_<result> again.

Why this happened: the old AGENTS.md had these documented inline under its own ### Artifacts subsection, separate from the power-metrics prose above it. When this PR collapsed both into one outbound link, it kept only the #power-telemetry anchor — presumably because power_audit_<result> (the one artifact power telemetry does mention) made it feel like a complete match — but the bulk of the "artifact schema" content (four of the five artifacts) is in the other section.

Impact: low — this is a documentation cross-reference, not code. A reader clicking through for "artifact schemas" lands in ## Power telemetry, sees only power_audit_<result>, and has to notice the very next heading, ## Result artifacts and metrics, is actually what they wanted. Nothing breaks; the correct content is one scroll away.

Step-by-step proof:

  1. Open AGENTS.md, find "Power fields and artifact schemas are documented in .github/AGENT_OPERATIONS.md#power-telemetry."
  2. Follow that anchor to ## Power telemetry in .github/AGENT_OPERATIONS.md.
  3. Read that section: power_valid, avg_power_w, avg_total_gpu_power_w, total_gpu_energy_j, joules-per-* fields, dcgm-power contract details, and one artifact line: "Power audit artifacts are named power_audit_<result>..."
  4. Search for results_bmk, results_all, eval_results_all, or run-stats inside that section — none appear.
  5. Scroll to the next heading, ## Result artifacts and metrics — this is where all four are defined, alongside power_audit_<result> again.
  6. Conclusion: the "artifact schemas" half of the AGENTS.md sentence is anchored to the wrong section.

Fix: either retarget the link to #result-artifacts-and-metrics (drops power-field context) or, better, reference both anchors — e.g. "Power fields are documented in #power-telemetry; the artifact schema is documented in #result-artifacts-and-metrics." This is a one-line change with no downstream effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant