Skip to content

docs: context-grep extension A/B test analysis and post-mortem#26

Merged
dimdasci merged 13 commits into
mainfrom
docs/context-grep-ab-analysis
Jun 23, 2026
Merged

docs: context-grep extension A/B test analysis and post-mortem#26
dimdasci merged 13 commits into
mainfrom
docs/context-grep-ab-analysis

Conversation

@dimdasci

Copy link
Copy Markdown
Owner

Summary

A/B test comparing agent efficiency with and without the context-grep extension across 5 sessions implementing issue #21 features.

Key findings

  • Extension reduces turns (−36%) but not cost (+2%) or wall clock
  • Extension shortcircuits the model's post-trained exploration loop
  • Narrower plans propagate forward as architecturally inferior implementations
  • Lane B (no extension) produced better implementations across all features:
    • links --offset: provides total + capped (vs blind pagination)
    • Truncation: actual writeFileSync fix (vs "not my bug" test)
    • text --after: CLI-local with markerFound feedback (vs ADR-017 violating extension-level)

Decision

Extension removed. Let the model explore naturally — the extra turns are the mechanism for discovering things the agent didn't know to look for.

Files

  • docs/internal/journal/2026-06-22-context-grep-extension-ab-test.md — full analysis
  • docs/internal/plans/phases/09-tooling.md — post-mortem reference added

Closes no issue (internal documentation).

@dimdasci
dimdasci merged commit 0fe06b3 into main Jun 23, 2026
5 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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