diff --git a/.agents/skills/harness-adapters/SKILL.md b/.agents/skills/harness-adapters/SKILL.md index 56e72dd2276..cafae78d909 100644 --- a/.agents/skills/harness-adapters/SKILL.md +++ b/.agents/skills/harness-adapters/SKILL.md @@ -1,6 +1,6 @@ --- name: harness-adapters -description: Agent-only reference for firstmate harness operations. Use before spawning or recovering a crewmate or secondmate, handling a trust dialog, sending a harness-specific skill invocation, interrupting or exiting an agent, resuming an exited agent, verifying a new harness adapter, or sending a captain-requested Cloud Devin /handoff to a live Devin CLI crew. Contains verified facts for claude, codex, opencode, pi, pi-signed, omp, grok, kimi, and the crew-only Hermes and Devin adapters. +description: Agent-only reference for firstmate harness operations. Use before spawning or recovering a crewmate or secondmate, handling a trust dialog, sending a harness-specific skill invocation, interrupting or exiting an agent, resuming an exited agent, verifying a new harness adapter, or sending a captain-requested Cloud Devin /handoff to a live Devin CLI crew. Contains verified facts for claude, codex, opencode, pi, pi-signed, omp, grok, kimi, and the crew-only Hermes, Devin, and agy adapters. user-invocable: false metadata: internal: true @@ -46,10 +46,7 @@ OMP primary detection and lock liveness follow the distinct launch-bound identit That probe stops at the innermost harness ancestor, so an agent of another harness started from OMP's bash tool keeps its own identity instead of inheriting the OMP primary's. Within the Pi family, only the exact launch-boundary marker `FM_PI_HARNESS=pi-signed` alongside `PI_CODING_AGENT=true` selects the signed identity; unmarked shared launcher ancestry remains `pi`. `bin/fm-harness.sh crew` resolves the effective crewmate harness from `config/crew-harness` (absent or `default` -> own). -The configured crew-only `hermes` and `devin` identities resolve through that same path, but neither is a verified primary or secondmate identity. -`bin/fm-harness.sh secondmate` resolves the secondmate-launch harness through the chain `config/secondmate-harness` -> `config/crew-harness` -> own, so an unset `config/secondmate-harness` matches the crew harness. -The one exception is a crew-only harness: `config/crew-harness: hermes` or `devin` is filtered out of that implicit chain and resolution continues to own-harness detection, because no verified secondmate launch template serves it. -An explicit `config/secondmate-harness: hermes` or `devin` still resolves verbatim and is refused at the spawn kind boundary. +[Harness support in the configuration guide](../../../docs/configuration.md#harness-support) owns the crew-only limits and secondmate fallback. `bin/fm-spawn.sh` uses `crew` mode for a crewmate/scout launch and `secondmate` mode for a `--secondmate` launch, re-resolving on every spawn so the split is durable across respawns; an explicit per-spawn harness arg overrides either. On `unknown`, ask the captain instead of guessing. A captain override always beats detection. @@ -140,6 +137,7 @@ The supported launch-profile flags below are verified locally; each row records | opencode | `--model ` | none for firstmate's interactive launch | Verified on opencode 1.17.6. `opencode run` has `--variant`, but firstmate launches the interactive `opencode --prompt` path, which has no verified effort flag. | | kimi | `--model ` | none | Verified 2026-07-25 on Kimi Code CLI 0.29.1. | | hermes | `--model ` | `--reasoning ` plus session-scoped `/reasoning` | Verified 2026-08-25 on Hermes Agent v0.20.0; the TUI launcher drops the CLI value, so spawn applies the session command too. Hermes additionally accepts none/minimal/ultra, but those are outside Firstmate's shared effort vocabulary. | +| agy | `--model ` | `--effort ` | Check the current catalog and [agy profile rules](../../../docs/configuration.md#crew-dispatch-profiles-configcrew-dispatchjson). | The concrete `harness` field owns adapter identity independently of the model provider: `harness=pi` with `model=xai/grok-*` is Pi using xAI, not `harness=grok`, and does not require Grok CLI login; `harness=grok` remains the standalone Grok Build CLI adapter. Ordinary dispatch does not resolve that split in shell: establish which credential store a tuple reads from the discovery surfaces below plus `quota-axi auth --json`'s per-provider sources, and show that reasoning rather than inferring it from a harness, model, or source name. @@ -160,6 +158,7 @@ Use the discovery surface in the current authenticated environment because suppo | grok | Run `grok models`, which lists the models available to the current Grok installation and account. | | kimi | Run `kimi provider list --json`, which lists the current provider and model configuration. | | hermes | Run `hermes config get model` and `hermes status`; the former reports the active model/provider slugs and the latter confirms current authentication. | +| agy | Run `agy models`, a remote fetch that lists `\t