harness: opencode_kimi
runtime: base

assemble:
  - source: experiments/_fragments/configs/opencode_kimi/opencode
    target: /home/korolev/.config/opencode
    example: experiments/_fragments/configs/opencode_kimi/opencode.example
  - source: .agents/skills/brahe
    target: /home/korolev/.config/opencode/skills/brahe

commands:
  headless_shell_command: >-
    opencode run --dangerously-skip-permissions "$(cat ~/PROMPT.md)"

collect:
  - source: /home/korolev/.config/opencode/sessions
    target: results_root/session_logs/opencode/sessions
    missing_ok: true
  - source: /home/korolev/.config/opencode/history.jsonl
    target: results_root/session_logs/opencode/history.jsonl
    missing_ok: true
  - source: /home/korolev/.config/opencode/log
    target: results_root/session_logs/opencode/log
    missing_ok: true

forward_env_keys: []

notes:
  - OpenCode uses a Kimi-flavored local config in this harness profile.
  - The Brahe skill is assembled into /home/korolev/.config/opencode/skills/brahe for OpenCode skill discovery.
