Skip to content

Commit 551aa5b

Browse files
adri4nlmclaude
andcommitted
test: add codex consistency check to test_agent_config_consistency
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8b5a502 commit 551aa5b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_agent_config_consistency.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ def test_extension_registrar_uses_kiro_cli_and_removes_q(self):
2828
assert cfg["kiro-cli"]["dir"] == ".kiro/prompts"
2929
assert "q" not in cfg
3030

31+
def test_extension_registrar_includes_codex(self):
32+
"""Extension command registrar should include codex targeting .codex/prompts."""
33+
cfg = CommandRegistrar.AGENT_CONFIGS
34+
35+
assert "codex" in cfg
36+
assert cfg["codex"]["dir"] == ".codex/prompts"
37+
3138
def test_release_agent_lists_include_kiro_cli_and_exclude_q(self):
3239
"""Bash and PowerShell release scripts should agree on agent key set for Kiro."""
3340
sh_text = (REPO_ROOT / ".github" / "workflows" / "scripts" / "create-release-packages.sh").read_text(encoding="utf-8")

0 commit comments

Comments
 (0)