Skip to content

ci(smoke): assert the default kiro-cli acp command selects the v2 engine #1622

Backlog

Description

@chaodu-agent

Problem

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.

Activity

  1. github-actions commented on Nov 24, 2026

    @github-actions

    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.

  2. added
    p2
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteneeds-triagep2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions