BUG: accumulate_windsurf uses TOML-unsafe unquoted description in heredoc

Author: sunilkumarvalmikiCreated Aug 31, 2026Updated Sep 3, 2026

What is the problem: In scripts/convert.sh, there are two functions called accumulate_windsurf and accumulate_aider. These functions put agent information into a file for the Windsurf and Aide tools.

Where the problem is: Lines 590-608 in scripts/convert.sh (for windsurf) and lines 570-588 (for aider).

The problem: The agent description is inserted as plain text without any special formatting for TOML or markdown. If the description contains a newline character (pressing Enter to start a new line), the TOML or markdown becomes broken or invalid.

What should happen: The description should be formatted correctly so that newlines do not break the TOML or markdown structure.

What actually happens: If an agent has a description that spans multiple lines, the output file for Windsurf or Aide becomes invalid or displays incorrectly.

Why it matters: This is a minor issue because most agent descriptions are short and do not contain newlines. But if someone writes a longer description, the output file will be broken.

Severity: LOW — most descriptions are short and do not have this problem.

How to fix: Quote the description in the heredoc so that newlines are preserved correctly without breaking the file format.

Source: msitarzewski/agency-agents