π« Toolkit to help you get started with SDD or any other process!
feat: add iFlow CLI support (#1875)
fuyongdef6794685b67b
diff --git a/.github/workflows/scripts/create-github-release.sh b/.github/workflows/scripts/create-github-release.shindex d284f8f4d..bb6ae2be8 100755--- a/.github/workflows/scripts/create-github-release.sh+++ b/.github/workflows/scripts/create-github-release.sh@@ -62,6 +62,8 @@ gh release create "$VERSION" \.genreleases/spec-kit-template-trae-ps-"$VERSION".zip \.genreleases/spec-kit-template-pi-sh-"$VERSION".zip \.genreleases/spec-kit-template-pi-ps-"$VERSION".zip \+ .genreleases/spec-kit-template-iflow-sh-"$VERSION".zip \+ .genreleases/spec-kit-template-iflow-ps-"$VERSION".zip \.genreleases/spec-kit-template-generic-sh-"$VERSION".zip \.genreleases/spec-kit-template-generic-ps-"$VERSION".zip \--title "Spec Kit Templates - $VERSION_NO_V" \diff --git a/.github/workflows/scripts/create-release-packages.ps1 b/.github/workflows/scripts/create-release-packages.ps1index 29d48c340..54698b9ec 100644--- a/.github/workflows/scripts/create-release-packages.ps1+++ b/.github/workflows/scripts/create-release-packages.ps1@@ -14,7 +14,7 @@.PARAMETER AgentsComma or space separated subset of agents to build (default: all)- Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, kiro-cli, bob, qodercli, shai, tabnine, agy, vibe, kimi, trae, pi, generic+ Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, kiro-cli, bob, qodercli, shai, tabnine, agy, vibe, kimi, trae, pi, iflow, generic.PARAMETER ScriptsComma or space separated subset of script types to build (default: both)@@ -463,6 +463,10 @@ function Build-Variant {$cmdDir = Join-Path $baseDir ".pi/prompts"Generate-Commands -Agent 'pi' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script}+ 'iflow' {+ $cmdDir = Join-Path $baseDir ".iflow/commands"+ Generate-Commands -Agent 'iflow' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script+ }'generic' {$cmdDir = Join-Path $baseDir ".speckit/commands"Generate-Commands -Agent 'generic' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script@@ -479,7 +483,7 @@ function Build-Variant {}# Define all agents and scripts-$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'shai', 'tabnine', 'agy', 'vibe', 'kimi', 'trae', 'pi', 'generic')+$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'shai', 'tabnine', 'agy', 'vibe', 'kimi', 'trae', 'pi', 'iflow', 'generic')$AllScripts = @('sh', 'ps')function Normalize-List {diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.shindex 021789d5b..cb3c0552b 100755--- a/.github/workflows/scripts/create-release-packages.sh+++ b/.github/workflows/scripts/create-release-packages.sh@@ -6,7 +6,7 @@ set -euo pipefail# Usage: .github/workflows/scripts/create-release-packages.sh <version># Version argument should include leading 'v'.# Optionally set AGENTS and/or SCRIPTS env vars to limit what gets built.-# AGENTS : space or comma separated subset of: claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai tabnine kiro-cli agy bob vibe qodercli kimi trae pi generic (default: all)+# AGENTS : space or comma separated subset of: claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai tabnine kiro-cli agy bob vibe qodercli kimi trae pi iflow generic (default: all)# SCRIPTS : space or comma separated subset of: sh ps (default: both)# Examples:# AGENTS=claude SCRIPTS=sh $0 v0.2.0@@ -297,6 +297,9 @@ build_variant() {pi)mkdir -p "$base_dir/.pi/prompts"generate_commands pi md "\$ARGUMENTS" "$base_dir/.pi/prompts" "$script" ;;+ iflow)+ mkdir -p "$base_dir/.iflow/commands"+ generate_commands iflow md "\$ARGUMENTS" "$base_dir/.iflow/commands" "$script" ;;generic)mkdir -p "$base_dir/.speckit/commands"generate_commands generic md "\$ARGUMENTS" "$base_dir/.speckit/commands" "$script" ;;@@ -306,7 +309,7 @@ build_variant() {}# Determine agent list-ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai tabnine kiro-cli agy bob vibe qodercli kimi trae pi generic)+ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai tabnine kiro-cli agy bob vibe qodercli kimi trae pi iflow generic)ALL_SCRIPTS=(sh ps)norm_list() {diff --git a/AGENTS.md b/AGENTS.mdindex 7f647fe1b..c1ce263fe 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -46,6 +46,7 @@ Specify supports multiple AI agents by generating agent-specific command files a| **Tabnine CLI** | `.tabnine/agent/commands/` | TOML | `tabnine` | Tabnine CLI || **Kimi Code** | `.kimi/skills/` | Markdown | `kimi` | Kimi Code CLI (Moonshot AI) || **Pi Coding Agent** | `.pi/prompts/` | Markdown | `pi` | Pi terminal coding agent |+| **iFlow CLI** | `.iflow/commands/` | Markdown | `iflow` | iFlow CLI (iflow-ai) || **IBM Bob** | `.bob/commands/` | Markdown | N/A (IDE-based) | IBM Bob IDE || **Trae** | `.trae/rules/` | Markdown | N/A (IDE-based) | Trae IDE || **Generic** | User-specified via `--ai-commands-dir` | Markdown | N/A | Bring your own agent |diff --git a/README.md b/README.mdindex c70de1bae..883becc30 100644--- a/README.md+++ b/README.md@@ -188,6 +188,7 @@ See Spec-Driven Development in action across different scenarios with these comm| [Tabnine CLI](https://docs.tabnine.com/main/getting-started/tabnine-cli) | β | || [Mistral Vibe](https://github.com/mistralai/mistral-vibe) | β | || [Kimi Code](https://code.kimi.com/) | β | |+| [iFlow CLI](https://docs.iflow.cn/en/cli/quickstart) | β | || [Windsurf](https://windsurf.com/) | β | || [Antigravity (agy)](https://antigravity.google/) | β | Requires `--ai-skills` || [Trae](https://www.trae.ai/) | β | |@@ -199,17 +200,17 @@ The `specify` command supports the following options:### Commands-| Command | Description |-| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `init` | Initialize a new Specify project from the latest template |-| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`, `vibe`, `kimi`, `pi`) |+| Command | Description |+| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `init` | Initialize a new Specify project from the latest template |+| `check` | Check for installed tools: `git` plus all CLI-based agents configured in `AGENT_CONFIG` (for example: `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`, `vibe`, `kimi`, `iflow`, `pi`, etc.) |### `specify init` Arguments & Options-| Argument/Option | Type | Description |-| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |-| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, `vibe`, `kimi`, `pi`, or `generic` (requires `--ai-commands-dir`) |+| Argument/Option | Type | Description |+| ---------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |+| `--ai` | Option | AI assistant to use (see `AGENT_CONFIG` for the full, up-to-date list). Common options include: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, `vibe`, `kimi`, `iflow`, `pi`, or `generic` (requires `--ai-commands-dir`) || `--ai-commands-dir` | Option | Directory for agent command files (required with `--ai generic`, e.g. `.myagent/commands/`) || `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) || `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |diff --git a/scripts/bash/update-agent-context.sh b/scripts/bash/update-agent-context.shindex 3d9d3e955..74a98669f 100644--- a/scripts/bash/update-agent-context.sh+++ b/scripts/bash/update-agent-context.sh@@ -30,12 +30,12 @@## 5. Multi-Agent Support# - Handles agent-specific file paths and naming conventions-# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, Tabnine CLI, Kiro CLI, Mistral Vibe, Kimi Code, Pi Coding Agent, Antigravity or Generic+# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, Tabnine CLI, Kiro CLI, Mistral Vibe, Kimi Code, Pi Coding Agent, iFlow CLI, Antigravity or Generic# - Can update single agents or all existing agent files# - Creates default Claude file if no agent files exist## Usage: ./update-agent-context.sh [agent_type]-# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|generic+# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|iflow|generic# Leave empty to update all existing agent filesset -e@@ -84,6 +84,7 @@ BOB_FILE="$AGENTS_FILE"VIBE_FILE="$REPO_ROOT/.vibe/agents/specify-agents.md"KIMI_FILE="$REPO_ROOT/KIMI.md"TRAE_FILE="$REPO_ROOT/.trae/rules/AGENTS.md"+IFLOW_FILE="$REPO_ROOT/IFLOW.md"# Template fileTEMPLATE_FILE="$REPO_ROOT/.specify/templates/agent-file-template.md"@@ -682,12 +683,15 @@ update_specific_agent() {pi)update_agent_file "$AGENTS_FILE" "Pi Coding Agent" || return 1;;+ iflow)+ update_agent_file "$IFLOW_FILE" "iFlow CLI" || return 1+ ;;generic)log_info "Generic agent: no predefined context file. Use the agent-specific update script for your agent.";;*)log_error "Unknown agent type '$agent_type'"- log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|generic"+ log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|iflow|generic"exit 1;;esac@@ -747,6 +751,7 @@ update_all_existing_agents() {_update_if_new "$VIBE_FILE" "Mistral Vibe" || _all_ok=false_update_if_new "$KIMI_FILE" "Kimi Code" || _all_ok=false_update_if_new "$TRAE_FILE" "Trae" || _all_ok=false+ _update_if_new "$IFLOW_FILE" "iFlow CLI" || _all_ok=false# If no agent files exist, create a default Claude fileif [[ "$_found_agent" == false ]]; then@@ -773,7 +778,7 @@ print_summary() {fiecho- log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|generic]"+ log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|iflow|generic]"}#==============================================================================diff --git a/scripts/powershell/update-agent-context.ps1 b/scripts/powershell/update-agent-context.ps1index 5eb034743..7f3996767 100644--- a/scripts/powershell/update-agent-context.ps1+++ b/scripts/powershell/update-agent-context.ps1@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:2. Plan Data Extraction3. Agent File Management (create from template or update existing)4. Content Generation (technology stack, recent changes, timestamp)- 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, tabnine, kiro-cli, agy, bob, vibe, qodercli, kimi, trae, pi, generic)+ 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, tabnine, kiro-cli, agy, bob, vibe, qodercli, kimi, trae, pi, iflow, generic).PARAMETER AgentTypeOptional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist).@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1#>param([Parameter(Position=0)]- [ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','tabnine','kiro-cli','agy','bob','qodercli','vibe','kimi','trae','pi','generic')]+ [ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','tabnine','kiro-cli','agy','bob','qodercli','vibe','kimi','trae','pi','iflow','generic')][string]$AgentType)@@ -65,6 +65,7 @@ $BOB_FILE = Join-Path $REPO_ROOT 'AGENTS.md'$VIBE_FILE = Join-Path $REPO_ROOT '.vibe/agents/specify-agents.md'$KIMI_FILE = Join-Path $REPO_ROOT 'KIMI.md'$TRAE_FILE = Join-Path $REPO_ROOT '.trae/rules/AGENTS.md'+$IFLOW_FILE = Join-Path $REPO_ROOT 'IFLOW.md'$TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md'@@ -411,8 +412,9 @@ function Update-SpecificAgent {'kimi' { Update-AgentFile -TargetFile $KIMI_FILE -AgentName 'Kimi Code' }'trae' { Update-AgentFile -TargetFile $TRAE_FILE -AgentName 'Trae' }'pi' { Update-AgentFile -TargetFile $AGENTS_FILE -AgentName 'Pi Coding Agent' }+ 'iflow' { Update-AgentFile -TargetFile $IFLOW_FILE -AgentName 'iFlow CLI' }'generic' { Write-Info 'Generic agent: no predefined context file. Use the agent-specific update script for your agent.' }- default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|generic'; return $false }+ default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|iflow|generic'; return $false }}}@@ -439,6 +441,7 @@ function Update-AllExistingAgents {if (Test-Path $VIBE_FILE) { if (-not (Update-AgentFile -TargetFile $VIBE_FILE -AgentName 'Mistral Vibe')) { $ok = $false }; $found = $true }if (Test-Path $KIMI_FILE) { if (-not (Update-AgentFile -TargetFile $KIMI_FILE -AgentName 'Kimi Code')) { $ok = $false }; $found = $true }if (Test-Path $TRAE_FILE) { if (-not (Update-AgentFile -TargetFile $TRAE_FILE -AgentName 'Trae')) { $ok = $false }; $found = $true }+ if (Test-Path $IFLOW_FILE) { if (-not (Update-AgentFile -TargetFile $IFLOW_FILE -AgentName 'iFlow CLI')) { $ok = $false }; $found = $true }if (-not $found) {Write-Info 'No existing agent files found, creating default Claude file...'if (-not (Update-AgentFile -TargetFile $CLAUDE_FILE -AgentName 'Claude Code')) { $ok = $false }@@ -453,7 +456,7 @@ function Print-Summary {if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }Write-Host ''- Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|generic]'+ Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|pi|iflow|generic]'}function Main {diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.pyindex 38117b54f..ec00301c5 100644--- a/src/specify_cli/__init__.py+++ b/src/specify_cli/__init__.py@@ -289,6 +289,13 @@ AGENT_CONFIG = {"install_url": "https://www.npmjs.com/package/@mariozechner/pi-coding-agent","requires_cli": True,},+ "iflow": {+ "name": "iFlow CLI",+ "folder": ".iflow/",+ "commands_subdir": "commands",+ "install_url": "https://docs.iflow.cn/en/cli/quickstart",+ "requires_cli": True,+ },"generic": {"name": "Generic (bring your own agent)","folder": None, # Set dynamically via --ai-commands-dirdiff --git a/src/specify_cli/agents.py b/src/specify_cli/agents.pyindex 19010908f..2f71cb188 100644--- a/src/specify_cli/agents.py+++ b/src/specify_cli/agents.py@@ -147,6 +147,12 @@ class CommandRegistrar:"format": "markdown","args": "$ARGUMENTS","extension": ".md"+ },+ "iflow": {+ "dir": ".iflow/commands",+ "format": "markdown",+ "args": "$ARGUMENTS",+ "extension": ".md"}}diff --git a/tests/test_agent_config_consistency.py b/tests/test_agent_config_consistency.pyindex ecb57a3bf..b74828755 100644--- a/tests/test_agent_config_consistency.py+++ b/tests/test_agent_config_consistency.py@@ -387,3 +387,67 @@ class TestAgentConfigConsistency:def test_ai_help_includes_pi(self):"""CLI help text for --ai should include pi."""assert "pi" in AI_ASSISTANT_HELP++ # --- iFlow CLI consistency checks ---++ def test_iflow_in_agent_config(self):+ """AGENT_CONFIG should include iflow with correct folder and commands_subdir."""+ assert "iflow" in AGENT_CONFIG+ assert AGENT_CONFIG["iflow"]["folder"] == ".iflow/"+ assert AGENT_CONFIG["iflow"]["commands_subdir"] == "commands"+ assert AGENT_CONFIG["iflow"]["requires_cli"] is True++ def test_iflow_in_extension_registrar(self):+ """Extension command registrar should include iflow targeting .iflow/commands."""+ cfg = CommandRegistrar.AGENT_CONFIGS++ assert "iflow" in cfg+ assert cfg["iflow"]["dir"] == ".iflow/commands"+ assert cfg["iflow"]["format"] == "markdown"+ assert cfg["iflow"]["args"] == "$ARGUMENTS"++ def test_iflow_in_release_agent_lists(self):+ """Bash and PowerShell release scripts should include iflow in agent lists."""+ sh_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.sh").read_text(encoding="utf-8")+ ps_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.ps1").read_text(encoding="utf-8")++ sh_match = re.search(r"ALL_AGENTS=\(([^)]*)\)", sh_text)+ assert sh_match is not None+ sh_agents = sh_match.group(1).split()++ ps_match = re.search(r"\$AllAgents = @\(([^)]*)\)", ps_text)+ assert ps_match is not None+ ps_agents = re.findall(r"'([^']+)'", ps_match.group(1))++ assert "iflow" in sh_agents+ assert "iflow" in ps_agents++ def test_iflow_in_release_scripts_build_variant(self):+ """Release scripts should generate Markdown commands for iflow in .iflow/commands."""+ sh_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.sh").read_text(encoding="utf-8")+ ps_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.ps1").read_text(encoding="utf-8")++ assert ".iflow/commands" in sh_text+ assert ".iflow/commands" in ps_text+ assert re.search(r"'iflow'\s*\{.*?\.iflow/commands", ps_text, re.S) is not None++ def test_iflow_in_github_release_output(self):+ """GitHub release script should include iflow template packages."""+ gh_release_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-github-release.sh").read_text(encoding="utf-8")++ assert "spec-kit-template-iflow-sh-" in gh_release_text+ assert "spec-kit-template-iflow-ps-" in gh_release_text++ def test_iflow_in_agent_context_scripts(self):+ """Agent context scripts should support iflow agent type."""+ bash_text = (REPO_ROOT / "scripts" / "bash" / "update-agent-context.sh").read_text(encoding="utf-8")+ pwsh_text = (REPO_ROOT / "scripts" / "powershell" / "update-agent-context.ps1").read_text(encoding="utf-8")++ assert "iflow" in bash_text+ assert "IFLOW_FILE" in bash_text+ assert "iflow" in pwsh_text+ assert "IFLOW_FILE" in pwsh_text++ def test_ai_help_includes_iflow(self):+ """CLI help text for --ai should include iflow."""+ assert "iflow" in AI_ASSISTANT_HELP