Repository navigation
feat(telemetry): split and filter the report by tool - #1064
Merged
Merged
Conversation
`aidd telemetry report --axis tool` gives one row per tool, and `--tool <claude-code|codex>` keeps only that tool's calls, a closed set refused like `--agent`. The envelope stays version 2: `filters` gains `tool` as its last key, `null` when not given. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw
The envelope reference lists the `tool` axis and the last `filters` key, the `01-usage` skill maps "Claude Code and Codex apart" to `--axis tool` and `--tool`, and the usage contract lists the new filter. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw
… property The journey e2e reports `--axis tool` for Codex and in its per-axis loop, the partition property counts records by tool, the plugin descriptions name the axis, and the evidence states only what is true. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 What & why
aidd telemetry reportsums Claude Code and Codex calls together. Every stored call already says itstool, but no axis shows it and no filter keeps one. This adds--axis tool(one row per tool) and--tool <claude-code|codex>.🛠️ How it works
toolis one more report axis and one more filter, built by the same function that builds the rows, so a row and its filter cannot disagree (usage-report.ts, report-filter.ts).--toolis a closed set overUSAGE_TOOLS, refused otherwise like--agent(telemetry.ts).filtersgainstoolas its last key,nullwhen not given. No new store, no breaking change.toolper call (Codex included) andtoolin their filters, instead of alternating by index.01-usageskill, usage contract. Contract and evidence: report-by-tool.🧪 How to verify
aidd telemetry report --axis tool --json, then--tool codexon the same period: its totals equal thecodexrow.cd cli && pnpm testandnode scripts/run-mutation.mjs --changed(100.0, no survivor); the telemetry scope holds 96.9 over its floor of 96.--axis tool.🔗 Linked issue
None. Follows #1057 and #1058: the report tells Claude Code and Codex apart.
✅ I certify
🤖 Generated with Claude Code
https://claude.ai/code/session_01TnCgcujM2xi6T6dkmVogVw