Skip to content

test(session): end-to-end check of kiro-cli v3 support (#1609) against kiro-cli 3.x #1620

Backlog

Description

@chaodu-agent

Description

Verify the kiro-cli v3 support merged in #1609 end to end against a real kiro-cli 3.x. #1609 was validated with unit tests and mock-agent (sh) lifecycle tests only. The protocol facts it relies on come from the earlier probe recorded in #1607, not from a run of the merged Rust code.

Setup: a v3 bot on kiro-cli 3.3.0 or newer, with

[agent]
args = ["acp", "--agent-engine=v3"]
session_new_meta = { kiro = { settings = { workflows = { enabled = true } } } }

[pool]
default_config_options = { mode = "<agent>" }
strict_default_config_options = true

plus ~/.kiro/agents/<agent>.md and an empty ~/.kiro/settings/mcp.json (see docs/kiro-v3.md).

Checks:

  1. session/new with _meta reports _meta.workflowsEnabled=true.
  2. Mode selection: a valid mode is applied (tool allowlist from the .md agent is honoured); a mistyped mode fails session creation under strict mode instead of falling back to vibe.
  3. A workflow run: step-session session/update frames do not appear in the parent reply, and every step's session/request_permission is auto-answered.
  4. Late output: the workflow summary that arrives after the session/prompt response is posted as a _Workflow update:_ message in the same thread, and a new prompt during a running workflow cancels the tail as documented.
  5. session/load resume: record whether kiro-cli v3 keeps the selected mode and the workflows switch on resume (input for feat(session): kiro-cli v3 follow-ups: session/load resume, v3 agent launcher #1619).
  6. Memory: record per-process memory with several sessions and an active workflow (the probe saw about 0.5 GB peak).

Record the kiro-cli version and results here; file bugs for any mismatch.

Use Case

Operators moving bots to the kiro-cli v3 engine need confidence that the merged opt-in settings behave as documented against a real kiro-cli, before relying on them for tool restrictions and workflows.

Refs #1607, #1609, #1619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions