Skip to content

Fix convert.sh single-file output cross-contamination#186

Merged
msitarzewski merged 1 commit intomainfrom
fix/convert-single-file-output-isolation
Mar 14, 2026
Merged

Fix convert.sh single-file output cross-contamination#186
msitarzewski merged 1 commit intomainfrom
fix/convert-single-file-output-isolation

Conversation

@msitarzewski
Copy link
Owner

Summary

  • convert.sh --tool aider was also writing Windsurf output (and vice versa) because write_single_file_outputs() dumped all formats unconditionally
  • Each single-file format now gates on its own --tool flag before writing
  • Removes the now-unnecessary write_single_file_outputs() function
  • Also cleans up the path for incoming Codex integration (pr factory/issue 144 codex support #175) to follow the same per-tool pattern

Test plan

  • ./scripts/convert.sh --tool aider — only writes integrations/aider/CONVENTIONS.md
  • ./scripts/convert.sh --tool windsurf — only writes integrations/windsurf/.windsurfrules
  • No cross-contamination in output messages

🤖 Generated with Claude Code

Running `convert.sh --tool aider` previously also wrote the Windsurf
output (and vice versa) because write_single_file_outputs dumped all
formats unconditionally. Each single-file format now only writes when
its tool is selected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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