Skip to content

Gains tracking#39

Merged
jonatas merged 21 commits intomasterfrom
feature/gains-tracking
Apr 14, 2026
Merged

Gains tracking#39
jonatas merged 21 commits intomasterfrom
feature/gains-tracking

Conversation

@jonatas
Copy link
Copy Markdown
Owner

@jonatas jonatas commented Apr 7, 2026

  • Add experiments to the gem for fast-experiment
  • Split gain tracking to recognize CLI and MCP scenarios independently
  • Allow 'experiments' in Gem Audit as it is now part of the gem

jonatas added 21 commits April 6, 2026 16:06
- Implement categorized gain reporting (CLI, MCP, Total)
- Add filtered report support via CLI (e.g., .gains cli, .gains mcp)
- Ensure robust gain recording across all MCP server tools
- Add unit tests for Gains, CLI integration, and MCP server gains tracking
This commit adds comprehensive documentation for the 'gains' feature, which tracks search efficiency by comparing bytes searched vs bytes reported.

Highlights:
- Created docs/gains.md with detailed usage and configuration.
- Updated README.md and CLI docs with .gains command information.
- Added FAST_GAINS=0 environment variable support to disable tracking.
- Added test coverage for the new configuration option.
- Integrated the new documentation into the mkdocs navigation.
@jonatas jonatas merged commit 9f3a7f4 into master Apr 14, 2026
4 checks passed
@jonatas jonatas deleted the feature/gains-tracking branch April 14, 2026 11:26
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.

1 participant