Skip to content

fix: prevent agent cache artifacts from blocking documentation drafts - #7

Merged
ECorreia45 merged 1 commit into
mainfrom
fix/documentation-agent-cache-2026-10-17
Oct 17, 2026
Merged

ECorreia45 merged 1 commit into
mainfrom
fix/documentation-agent-cache-2026-10-17

Conversation

@ECorreia45

Copy link
Copy Markdown
Contributor

Aider 0.86.1 creates a repository-map cache directory by default. Our publication guard correctly rejects unexpected untracked files, so that cache would block an otherwise valid README proposal.

Disable the optional repository map with --map-tokens 0; the bounded read-only repository context is already supplied explicitly. Also disable shell-command suggestions for the documentation-only agent. Keep all publication and validation guards intact.

Added a regression for both invocation flags. All 42 tests and Bash syntax checks pass locally; no live provider/model calls were made. CI still verifies the exact PR commit before merge.

Upstream behavior verified in the pinned source: https://github.com/Aider-AI/aider/blob/v0.86.1/aider/repomap.py and https://github.com/Aider-AI/aider/blob/v0.86.1/aider/coders/base_coder.py

@ECorreia45
ECorreia45 marked this pull request as ready for review October 17, 2026 22:54
@ECorreia45
ECorreia45 merged commit 18d5e13 into main Oct 17, 2026
2 checks passed
@ECorreia45
ECorreia45 deleted the fix/documentation-agent-cache-2026-10-17 branch October 25, 2026 16:59
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