Skip to content

docs: document e2a metrics CLI command, fix stale MCP tool counts - #905

Merged
jiashuoz merged 1 commit into
mainfrom
claude/relaxed-cerf-igs50w
Aug 17, 2026
Merged

docs: document e2a metrics CLI command, fix stale MCP tool counts#905
jiashuoz merged 1 commit into
mainfrom
claude/relaxed-cerf-igs50w

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Summary

Repo-wide documentation audit found two confirmed, verified issues (see notes below on what was deliberately excluded).

Changes by file

  • cli/README.md, README.mde2a metrics shipped in CLI 2.4.0 (see cli/CHANGELOG.md, cli/src/commands/metrics.ts, wired into cli/src/bin/e2a.ts) but had no README.md command-table row and no cli/README.md section. Added both, matching the flags actually implemented (--start/--end, --by-agent, --by-day, --json).
  • mcp/README.md, docs/runbooks/mcp-server.md, mcp/examples/README.md, mcp/examples/codex/README.md — these said the MCP surface is 76 tools (20 runtime + 56 admin), which disagreed with the plugin manifests (.claude-plugin/plugin.json, marketplace listings) and plugins/e2a/skills/e2a/SKILL.md, which already say 78 (21 runtime + 57 admin). Counted RUNTIME_TOOLS/ADMIN_TOOLS directly in mcp/src/tools/tiers.ts: 21 + 57 = 78, confirming the manifests were right and these four docs were stale. Fixed all four to 78/21/57.

Notes on scope

Before starting, I checked for prior unmerged doc-audit work: no currently open PR touches documentation (the one open PR, #627, is an unrelated feature). Five earlier documentation-audit branches/PRs (#716, #812, #666, #763, #731) exist but were all closed without merging — each one proposed a "MCP tool count" bump that had already drifted again by review time. To avoid repeating that failure mode, this PR keeps the tool-count fix narrow (verified against the actual tiers.ts registry, not against another doc) and leads with a more substantive, durable finding (the missing metrics command docs) rather than centering on tool-count churn. A broader audit pass (README/AGENTS.md/docs/*, package READMEs, plugin docs, web/public/*.md, changelogs) turned up no other high-confidence issues — see PR description for what was checked and found clean.

Test plan

  • Verified e2a metrics flags/behavior by reading cli/src/commands/metrics.ts and its wiring in cli/src/bin/e2a.ts
  • Verified the 78-tool count by counting RUNTIME_TOOLS/ADMIN_TOOLS in mcp/src/tools/tiers.ts directly (not by trusting another doc)
  • Grepped the repo for any remaining stale 76 tool/20 runtime/56 admin mentions — none found outside docs/design//docs/superpowers/ (historical, out of scope)

Generated by Claude Code

- cli/README.md, README.md: e2a metrics ships in CLI 2.4.0 (see
  cli/CHANGELOG.md) but had no README section or command-table row.
- mcp/README.md, docs/runbooks/mcp-server.md, mcp/examples/README.md,
  mcp/examples/codex/README.md: these said 76 tools (20 runtime + 56
  admin), disagreeing with the plugin manifests and
  plugins/e2a/skills/e2a/SKILL.md, which already say 78 (21 runtime +
  57 admin). Counted mcp/src/tools/tiers.ts directly: 21 RUNTIME_TOOLS
  + 57 ADMIN_TOOLS = 78, confirming the manifests were right and these
  four docs were stale.
@jiashuoz jiashuoz self-assigned this Aug 17, 2026
@jiashuoz
jiashuoz merged commit 100756a into main Aug 17, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants