# Keyless tail for the shipped-composition smoke, applied as `--config` so the
# launcher boots `base.cordis.yml` + `tui.cordis.yml` and then this file.
#
# Everything below is test isolation, never composition under test: the model is
# replaced so no request leaves the process, the settle marker gates the smoke's
# first prompt, and the session artifacts move into the smoke's temporary
# workspace so the log inspection can read them.

# A patch's `name` is an assertion rather than a replacement, so the base
# adapter row is disabled and the scripted one inserted. Relative specifiers
# resolve against the INCLUDED file's directory (apps/cli/config), not this
# file's, because the include moves baseUrl there.
- id: llm-deepseek
  disabled: true

- insert:
    - id: composition-echo-llm
      name: '../tests/fixtures/composition-echo-llm.ts'
    - id: composition-settled
      name: '../tests/fixtures/composition-settled.ts'

- id: agent-loop
  config:
    agents:
      - id: main
        provider: composition-keyless
        model: composition-keyless-model
        cwd: !!js process.cwd()

- id: session-persistence-jsonl
  config:
    root: './.sessions'
    compression: none

- id: session-query-sqlite
  config:
    path: './.sessions/session-query.db'

# The title call is a second, tool-less request that would race the log
# inspection for no coverage: the catalog under test rides the agent turn.
- id: session-title-llm
  disabled: true

- id: tui
  config:
    sessionId: !!js configuredAgentIdentities?.main?.id ?? 'main'
    welcome: 'composition smoke ready.'
    showReasoning: true

# HMR watches the repository; a PTY subprocess test must not start a watcher.
- id: hmr
  disabled: true
