fix(integrations): declare kiro-cli multi-install safe (#3471)
Summary
Fixes #3471.
kiro-cli keeps all of its managed files under an isolated agent root — .kiro/ with commands in .kiro/prompts — that no other integration writes to. It meets every documented criterion for multi-install safety, but KiroCliIntegration never declared multi_install_safe = True.
Because of that, co-installing kiro-cli alongside any other integration (e.g. claude) left specify integration status permanently in ERROR:
error unsafe-multi-install: Installed integrations are not all declared multi-install safe: kiro-cli
--force on install bypasses the install-time gate but does not clear the status error, and there is no flag or config to acknowledge it — so the error is permanent as long as both integrations remain installed.
Fix
Set multi_install_safe = True on KiroCliIntegration (one line + an explanatory comment).
.kiro/ is unique to kiro-cli — no other integration in the registry uses that root — so declaring it safe introduces no path or manifest collisions.
Testing
- The registry's parametrized
TestMultiInstallSafeContractssuite now covers kiro-cli automatically: it asserts a static isolated root, pairwise-distinct agent roots and command dirs, and disjoint on-disk manifests across every safe integration. All pass with kiro-cli included. - Added a focused regression test (
test_kiro_cli_is_declared_multi_install_safe) that pins the declaration itself, so a future edit can't silently drop the flag and reintroduce the permanent ERROR. tests/integrations/test_registry.py(331 → 332 tests) andtests/integrations/test_integration_subcommand.py: 473 passed, 7 skipped (skips pre-existing, unrelated).ruff checkclean on both changed files.
🤖 Generated with Claude Code