Skip to content

Lead the README with the plugin, backed by the experiment - #116

Merged
afterimaginary merged 2 commits into
mainfrom
docs/readme-plugin-first
Nov 28, 2026
Merged

afterimaginary merged 2 commits into
mainfrom
docs/readme-plugin-first

Conversation

@afterimaginary

Copy link
Copy Markdown
Owner

Closes #115.

The README presented backread as an experiment with a tool attached, and opened with a dense sentence of numbers. It now reads as a Claude Code plugin with the experiment as its evidence:

  • Opening: what the plugin does, the problem (summaries drop details; the transcript is on disk but hard to use), and the install commands.
  • Does it help? The headline result and main chart, framed as the controlled test run before the plugin was built, plus where search doesn't help.
  • What it looks like: the real-session excerpt first, then the command, hook and skill, with requirements and limits.
  • The test behind it: the experiment's existing sections (arms, hypotheses, trace, rerun, cost, limits), unchanged apart from heading levels.

The prose went through an outside wording review. Its fixes for stiff phrasing, repetition, and a contradiction about whether the agent can read the raw transcript were taken; one that would have broadened "outdated answers" to "wrong answers" was not.

backread_exp.readme checks the README's numbers word for word, so its two headline fragments and the matching test string follow the new wording. The pyproject.toml description leads with the plugin too; the GitHub repository description is set separately.

Closes #115

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@afterimaginary

Copy link
Copy Markdown
Owner Author

Refine review

Verdict: Needs changes. 1 spec gap (Missing), 4 defects (1 P2, 3 P3), 3 refinements.
Intent: issue #115 (acceptance criteria and non-goals).

The opening is now clear: a first-time reader sees right away that this is a Claude Code plugin, what problem it solves, and how to install it, with the experiment presented as evidence. uv run pytest tests/test_readme.py -q passes (9 tests). make ready was not run in this review.

Spec

  • [Missing] The GitHub repository description still doesn't lead with the plugin. Requirement: "The repository description leads with the plugin." gh repo view --json description still returns "Lets an agent search the conversation its compaction summary replaced. Tested on CompactBench against a bigger summary, and packaged as a Claude Code plugin." In that wording the plugin comes last. Only pyproject.toml changed. The PR says the description "is set separately", but STATE.md:20 says "the repository and package descriptions lead with the plugin too", which isn't true yet. Fix: run gh repo edit --description with the new pyproject wording before merging.

Defects

[P2] The "where search doesn't help" sentence overstates the result — README.md:17 (correctness)
"the agent searches when the summary is missing something, but rarely when the summary confidently states an outdated value." In the search arm the reader searched on 39.7% of misled questions, about two in five, so "rarely" is wrong. It recovered 15.9% against 0.0% for summary, so "doesn't help" overstates the result too: search helps, but only a little. REPORT.md says it "searched far less often" and that forcing search "helps the misled questions only a little". Also, misled means the summary gave some other usable answer, not specifically an outdated value. Fix: something like "searches far less often (about 40% of the time against 92%) when the summary states a wrong answer, and then rarely gets it right".

[P3] The opening "Yes" applies the API-reader test directly to the plugin — README.md:14 (correctness, medium confidence)
The tested reader got one direct question per request. It was not a Claude Code agent deciding on its own when to look. The README's own "Limits of the test" section says that is harder, but the "Yes" paragraph doesn't mention it. Fix: say "a model answered direct questions…", or link to the limits from this paragraph.

[P3] The README no longer says the plugin uses the tested search — README.md:44 (correctness, medium confidence)
The old README said the command uses "the same search module and caps as the experiment". That is still true (the experiment imports backread.search), and it is what makes the experiment evidence for this plugin. The new text dropped it. Fix: restore that half-sentence in the backread command bullet.

[P3] "prints one record in full" isn't accurate — README.md:44 (correctness, medium confidence)
SKILL.md and docs/cli.md say get prints up to 4,000 characters, then a handle to continue. Fix: "prints the record (up to 4,000 characters, then a handle to continue)".

Refinements

The new "48" in the headline isn't checked — src/backread_exp/readme.py:69 (maintain). "On 48 long conversations, each compacted five times" (README.md:14) is a new result number. The checker only verifies the "48 long synthetic working conversations" fragment further down, so an edit to the headline would go unnoticed. Add f"On {len(main['cases'])} long conversations". The module docstring's "Not checked here" list also leaves out the new judgment sentence on line 17 and the trial-session counts.

STATE.md is stale — STATE.md:7 (maintain). It still says "The README leads with the finding and the main chart", which contradicts the new Recently Done entry. Change it to say the README leads with the plugin.

Near-contradiction about reading the transcript — README.md:7 (maintain, low confidence). Line 7 says the agent has "no easy way to search" the raw file, while the limits section says it "can read it without this plugin". Changing line 7 to "no targeted way to search" would remove the tension.

Not reviewed: other docs that may describe the README's layout (for example docs/ARCHITECTURE.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@afterimaginary

Copy link
Copy Markdown
Owner Author

Fixed:

  • Missing, repository description: set with gh repo edit; it now leads with the plugin.
  • P2, blind-spot sentence: now says the agent nearly always searched when the summary left something out, much less often when it gave a wrong answer, and seldom fixed those. No longer claims search doesn't help, and no longer narrows misled to outdated values.
  • P3, test scope: the "Yes" now says the test used direct questions rather than a live task.
  • P3, same search code: the command bullet says it uses the same search code and caps as the test.
  • P3, get: now "prints a record, up to 4,000 characters at a time".
  • Refinements: the checker now covers "On 48 long conversations, each compacted five times"; STATE.md's summary line updated; "no easy way" changed to "no targeted way".

make ready passes.

@afterimaginary
afterimaginary marked this pull request as ready for review November 28, 2026 02:10
@afterimaginary
afterimaginary merged commit cae5bf5 into main Nov 28, 2026
1 check passed
@afterimaginary
afterimaginary deleted the docs/readme-plugin-first branch November 28, 2026 02:34
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.

Lead the README with the plugin, backed by the experiment

1 participant