fix(kilocode): install commands under .kilo/commands (#3672)

* fix(kilocode): write commands to .kilo/commands

* fix: guard Kilo legacy command migration

---------

Co-authored-by: root <kinsonnee@gmail.com>
This commit is contained in:
WOLIKIMCHENG
2026-07-25 00:05:32 +08:00
committed by GitHub
parent 71e6201790
commit ae82c74339
10 changed files with 516 additions and 35 deletions

View File

@@ -422,7 +422,12 @@ class TestForgeCommandRegistrar:
# Kilo Code uses standard markdown format without name injection.
# The format_name callback should not be invoked for non-Forge agents.
kilocode_cmd = tmp_path / ".kilocode" / "workflows" / "speckit.my-extension.example.md"
kilocode_cmd = (
tmp_path
/ ".kilo"
/ "commands"
/ "speckit.my-extension.example.md"
)
assert kilocode_cmd.exists()
content = kilocode_cmd.read_text(encoding="utf-8")