docs: fix stale version and MCP comment drift#254
Merged
gfargo-horizon-agent[bot] merged 2 commits intoJul 20, 2026
Merged
Conversation
- CLAUDE.md: version was 2.1.0, repo is at 2.4.4 - invoke.ts: timeout default comment said 5 minutes, actual is 10 - resources.ts: header said three resources, four are registered (history was added)
Contributor
Author
There was a problem hiding this comment.
🔎 Agent review (sonnet) — LGTM
REVIEW: LGTM
RESOLVES: full
The PR makes exactly the three targeted doc/comment fixes (CLAUDE.md version, invoke.ts timeout comment, resources.ts header count) with no unrelated changes, and correctly leaves the dry-run-honesty test alone since it was already fixed by a prior PR.
- 🧹 Intro sentence still says v2.1.0 —
CLAUDE.md:3— Line 3 ('You're picking up localpress at v2.1.0...') still has the stale version even though line 16 was corrected to 2.4.4, leaving an internal inconsistency in the same file. The work item scoped the fix to line 16 only, so this is a pre-existing/accepted gap rather than a regression introduced by this PR.
Contributor
Author
There was a problem hiding this comment.
🔎 Agent review (sonnet) — LGTM
REVIEW: LGTM
RESOLVES: full
The PR correctly fixes the three remaining doc/comment drift items (CLAUDE.md version, invoke.ts timeout comment, resources.ts resource count/list); the fourth item (vacuous dry-run-honesty test) was already resolved on main by a prior merged PR (#219), so nothing was left for this PR to do there.
gfargo-horizon-agent
Bot
deleted the
agent/localpress-900-localpress-218-doc-test-quality-drift-st
branch
July 20, 2026 18:05
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
Corrects three stale doc/comment artifacts flagged in an audit: the CLAUDE.md version header, an MCP invoke timeout comment, and the MCP resources file header count.
Why
Closes #218
How
CLAUDE.md:16— version said 2.1.0, butpackage.json/.release-please-manifest.jsonboth agree on 2.4.4src/cli/mcp/invoke.ts:38— comment said "Default: 5 minutes" butDEFAULT_TIMEOUT_MSis 10 minutessrc/cli/mcp/resources.ts:5-9— header said "Three resources today" but four are registered (historywas added since); added the missinglocalpress://historyline to the doc blockThe fourth item in the original issue — the near-vacuous dry-run honesty test — was already fixed in a prior PR (#219), which rewrote the test to assert a literal
resolveDryRun(call and added coverage forreferences.tsand all mutating commands. Verifiedtest/unit/dry-run-honesty.test.tsstill passes (17/17) and genuinely checks for the call, so no further test changes were needed here.Testing
bun run typecheck)bun test test/unit/dry-run-honesty.test.ts— 17/17)bun run lint)Closes #218