Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneesstack72

Relationships

#3322 repo init --help omits pi and antigravity from the built-in --tool list

Opened by stack72 · 10/12/2026· Shipped 10/12/2026

What happens

swamp repo init --help says:

Built-in: amp, claude, cursor, opencode, codex, copilot, kiro, none.

But VALID_AI_TOOLS in src/cli/ai_tool_parser.ts also includes pi and antigravity, and both work: repo init --tool pi writes AGENTS.md and .pi/extensions/swamp-audit.ts; repo init --tool antigravity writes AGENTS.md and .agents/hooks.json.

Why it matters

Someone reading the help concludes pi and antigravity are unsupported. It already misled a docs pass into proposing their removal from the manual, which still documents both.

Suggested fix

Build the help's Built-in list from VALID_AI_TOOLS rather than a hand-written string, so the two cannot drift again. Check any other command that lists --tool values (repo upgrade, audit) the same way.

Repro

Binary 20261012.200126.0-sha.3b7bb2ee:

swamp repo init --help | grep -A3 -- --tool
swamp repo init --tool pi --no-vault        # succeeds
swamp repo init --tool antigravity --no-vault   # succeeds
02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 9 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

10/12/2026, 10:35:14 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack7210/12/2026, 10:04:26 PM

Sign in to post a ripple.