Troubleshooting
The recommender is unreachable
If routing calls fail or hang:
- Run
/reconnectto re-establish the routing client. - Check
MINIMA_URL(minima config get MINIMA_URL) — it should behttps://api.minima.shunless you're pointing at a local recommender. - As a fallback, run pinned + offline:
minima --offline --model <id> --provider <name>.
Authentication failures
- Re-run
minima authto refresh yourMUBIT_API_KEYand repo project mapping. - Verify the key is stored:
minima config get MUBIT_API_KEY(it will show the stored value). - If your org is in a specific region, pass
minima auth --region euor--region us. - Override the console with
MUBIT_CONSOLE_URLif you use a non-default Mubit console.
"No provider key" / a model won't run
The harness runs models itself, so the relevant provider key must be set. Confirm with minima config, then set the missing one:
minima config set ANTHROPIC_API_KEY sk-ant-… # or OPENAI_API_KEY / GEMINI_API_KEY / …See the full provider → environment-variable table in Configuration. Remember the precedence order: shell env > project .env > stored config.
A tool won't run
- Writes and
bashprompt for approval every time unless you grant "always". Check active grants with/perms. - If you're in plan mode,
write/edit/bashare blocked — cycle back tobuildwith Shift+Tab or/mode build. - If the agent "refuses to mark a step done", that's plan verification working as intended — the step's verify check hasn't passed.
/whyshows the evidence. - If you launched with
-t/-xt/-nt, the toolset is restricted by those flags. See Tools & permissions. - Undo an unwanted change with
/undo(checkpoint restore; stacks), or/rewindto an earlier prompt.
Running out of context
When the context percentage in the status bar climbs, run /compact to summarize older turns, or /new to start fresh. See Sessions.
Credentials aren't persisting
On the compiled binary, keytar isn't available, so credentials fall back to ~/.minima-harness/config.env (mode 0600). That's expected — minima config set reports file as the backend in that case. See the note in Configuration.
Scroll, select, and copy are native to your terminal — the TUI deliberately doesn't capture the mouse, so wheel/trackpad scrolling and text selection always work.