fix(kilocode): install commands under .kilo/commands#3672
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Kilo Code command installation to its current .kilo/commands location while retaining legacy registration compatibility.
Changes:
- Moves generated Kilo commands to
.kilo/commands. - Adds
.kilocode/workflowsfallback handling. - Updates focused tests and documentation.
Show a summary per file
| File | Description |
|---|---|
src/specify_cli/integrations/kilocode/__init__.py |
Updates Kilo paths and legacy fallback. |
tests/integrations/test_integration_kilocode.py |
Tests canonical and legacy paths. |
tests/integrations/test_integration_forge.py |
Updates Kilo registrar expectation. |
docs/reference/integrations.md |
Documents the new command location. |
docs/upgrade.md |
Updates Kilo cleanup examples. |
AGENTS.md |
Updates integration guidance examples. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
docs/upgrade.md:252
- This duplicate-command cleanup example also omits the legacy
.kilocode/workflowsdirectory, which is where stale Kilo commands from pre-migration installations may remain. Show both Kilo command locations so the documented remediation actually finds the duplicates.
# Find the agent folder (example: .kilo/commands/)
cd .kilo/commands/
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Medium
|
Please address Copilot feedback |
|
Hello, thanks for posting this 😄 |
|
Addressed the Copilot feedback for Kilo command directory migration. Kilo upgrades now handle |
| | `junie` | `.junie/commands` | | ||
| | `kilocode` | `.kilo/commands` | | ||
| | `kiro-cli` | `.kiro/prompts` | | ||
| | `omp` | `.omp/commands` | |
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback and resolve conflicts
Description
Closes #3635
Updates the Kilo Code integration to install Spec Kit command files under
.kilo/commands, matching Kilo Code's current project command location.This keeps the existing
kilocodeintegration key andrequires_cli=False, while adding.kilocode/workflowsas a legacy fallback for extension and preset command registration/removal in existing projects.Also updates focused tests and docs examples that referenced the old command directory.
Testing
.venv/bin/python -m pytest tests/integrations/test_integration_kilocode.py -v.venv/bin/python -m pytest tests/integrations/test_integration_forge.py::TestForgeCommandRegistrar::test_registrar_does_not_affect_other_agents -v.venv/bin/python -m pytest tests/test_agent_config_consistency.py -v.venv/bin/python -m pytest tests/integrations/test_registry.py -v.venv/bin/python -m pytest tests/integrations/test_integration_subcommand.py::TestIntegrationUpgrade::test_upgrade_migrates_opencode_legacy_dir -vgit diff --check -- AGENTS.md docs/reference/integrations.md docs/upgrade.md src/specify_cli/integrations/kilocode/__init__.py tests/integrations/test_integration_forge.py tests/integrations/test_integration_kilocode.py