❓ FAQ & troubleshooting¶
The “it's not you, it's the context window” desk. 🎫 Take a number. Or just Ctrl+F.
Install & PATH 📦¶
👻 slmcode: command not found
Add the install dir to PATH and open a new shell:
- User install →
~/.local/bin - System →
$(brew --prefix)/binor/usr/local/bin - Windows →
%LOCALAPPDATA%\slmcode\bin
🔐 Checksum mismatch on install
Re-run the installer. Corporate SSL inspection sometimes rewrites downloads. Try from a clean network or download the asset from GitHub Releases manually.
🍺 Homebrew SHA256 fails
Formula SHAs track a specific release build. Update to latest main formula URL or reinstall after a formula sync commit.
Doctor & providers 🩺¶
🔴 doctor shows unreachable LLM
- Is the server up? (
omlx start,ollama serve, LM Studio running…) - Does
endpointmatch reality (note/v1vs bare host)? - Is the API key set for cloud providers?
- Try:
🪐 Wrong model / wrong gateway
Per-agent endpoints register unique backend keys. Check .slmcode/agents/*.yaml and Studio → Agents. Global config can be fine while one specialist phones Mars.
🦙 Ollama vs OpenAI-compat confusion
Ollama uses its native API. Everything else is Chat Completions. Don't point provider: ollama at an OpenAI URL (or vice versa) unless you enjoy puzzles.
Quality issues 🥴¶
📂 It edits the wrong files
- Lower
max_context_kb - Pin
atomic-coding - Add a stern
AGENTS.md - Force a fresh explore once:
🥴 JSON / tool calls look drunk
Expected on weaker SLMs. The harness repairs common breakage and retries. Raise think_passes / retries. Prefer models with decent tool-calling.
🤷 Reviewer always rejects (or always accepts)
Check disk evidence in the Live feed. Prefer permission: review on important repos. Speculative cancel + disk rename acceptance exist specifically for flaky judges.
🐢 Second run is slow / re-explores everything
It shouldn't — explore reuse should kick in. If CONTEXT is empty or wiped, explore returns. Don't delete .slmcode/ for fun mid-project. The flywheel has feelings.
Studio & TUI 🎛️¶
👻 UI looks stale after I hacked ui/
Rebuild the Go binary — assets are go:embed'd.
🛟 Resume doesn't continue where I left off
Confirm .slmcode/queries/<id>/react/ exists. /resume needs a checkpoint from /stop or Ctrl+C — not a crashed machine mid-write with no flush.
Safety 🛡️¶
🎭 How do I demo without touching files?
Still stuck? 🆘¶
slmcode doctor(redact keys)slmcode run -v "…"snippet of the failing phase- Open a GitHub issue: UnicoLab/smlcode
🧃
Emotional support tip: if the model invents an API that doesn’t exist, it’s not gaslighting you — it’s optimistic. Lower context. Pin a skill. Try again with snacks.
☀️ Made with ♥ by UnicoLab