mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-09-21 17:05:53 +03:00
#871 shrank the aider integration from 3.8M characters of concatenated agents to a 97K roster index, because aider keeps a conventions file in context for a whole session. The fix only reached new installs. install_aider refuses to overwrite an existing CONVENTIONS.md, which is right — it is aider's own user-authored file and the one on disk may be the reader's. But "already exists (remove to reinstall)" says nothing about which file it is, so anyone holding the pre-index roster re-ran the installer, read that, and kept the broken file. The people the fix was written for were the ones it could not reach. Our generated file has always opened with "# The Agency — AI Agent Conventions", so the installer can now tell its own stale copy from someone else's conventions and say which it is. Neither branch writes anything. Verified in a container, all three cases: stale Agency roster -> names it, reports 3800039 bytes, says to delete and re-run user's own file -> "leaving your file alone", file intact no file -> installs, 97065 bytes Windsurf has the same guard and the same gap; #870 already handles it there, so this leaves that path alone rather than colliding with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>