Skip to content

fix(iflow): correct CLI agent invocation syntax#95

Merged
taosu0216 merged 1 commit intomindfold-ai:mainfrom
jsfaint:fix/iflow
Mar 16, 2026
Merged

fix(iflow): correct CLI agent invocation syntax#95
taosu0216 merged 1 commit intomindfold-ai:mainfrom
jsfaint:fix/iflow

Conversation

@jsfaint
Copy link
Copy Markdown
Contributor

@jsfaint jsfaint commented Mar 16, 2026

iFlow CLI does not support --agent flag. Use $agent_name syntax instead, similar to Codex/Kiro platforms.

Changes:

  • cli_adapter.py: Change from "iflow -p --agent plan" to "iflow -y -p '$plan prompt'"
  • platform-integration.md: Document common mistake with symptoms/cause/fix
  • regression.test.ts: Add test to prevent recurrence

Fixes: Multi-agent pipeline fails with "unrecognized option '--agent'"

iFlow CLI does not support --agent flag. Use $agent_name syntax
instead, similar to Codex/Kiro platforms.

Changes:
- cli_adapter.py: Change from "iflow -p --agent plan" to "iflow -y -p '$plan prompt'"
- platform-integration.md: Document common mistake with symptoms/cause/fix
- regression.test.ts: Add test to prevent recurrence

Fixes: Multi-agent pipeline fails with "unrecognized option '--agent'"
@taosu0216 taosu0216 merged commit e0d2f13 into mindfold-ai:main Mar 16, 2026
1 check passed
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.

2 participants