You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(smoke): assert the default kiro-cli acp command selects the v2 engine #1622
The kiro smoke test in .github/workflows/docker-smoke-test.yml starts the image default kiro-cli acp --trust-all-tools and asserts only that initialize returns a JSON-RPC response with protocolVersion == 1. On kiro-cli 3.x the unauthenticated initialize reply looks the same for the v2 and v3 engines, so the test cannot tell which engine was selected.
Existing bots depend on the v2 engine: kiro-cli 3.x acp starts v3 by default and falls back to v2 only when a v2-only flag such as --trust-all-tools is passed (see docs/kiro.md). If a future kiro-cli release changes that fallback, the default image could silently move bots to v3, or reject the default command, while the smoke test still passes.
Proposal
Add a small, separate assertion to the kiro smoke-test variants that proves the default command still selects v2. For example:
kiro-cli acp --agent-engine=v3 --trust-all-tools must exit non-zero with not supported with --agent-engine=v3 (proves --trust-all-tools is still v2-only), and/or
kiro-cli acp --trust-all-tools --auth-method=client must be rejected because --auth-method is v3-only (proves the default command lands on v2).
Keep it separate from the handshake check so a failure names the engine-selection contract.
Context
Raised during review of #1618 (kiro-cli 2.25.0 -> 3.5.0 pin bump). Not blocking that PR.
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.
Activity
github-actions commentedon Nov 24, 2026
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.