Skip to content

✅ Testing

Prove it on your machine — offline if you want. Green checks taste better than vibes. 🥒

🔬

Definition of done: a tiny file changed for real, the board shows completed work, and you can explain what happened without inventing lore.


Prerequisites 🧰

curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh | bash
omlx start   # or ollama + provider config
slmcode doctor

Five-minute smoke 🔥

mkdir -p /tmp/slm-demo && cd /tmp/slm-demo
printf 'package main\n\nfunc Hello() string { return "hi" }\n' > hello.go
printf '# Agents\n\nPrefer tiny Go edits and godoc comments.\n' > AGENTS.md
slmcode init
slmcode run -v "Add a Go doc comment to Hello() explaining it returns a greeting. Keep it tiny."
cat hello.go && slmcode board && slmcode session list

Pass: doc comment present · board done · session saved · skills touched. 🎉


Studio / API 🎨

slmcode studio
curl -s http://127.0.0.1:7420/api/health | jq .
curl -s http://127.0.0.1:7420/api/agents | jq 'length'   # 14

Checklist: Run → pipeline moves → Live shows @agent → drag a card → Settings loads models.


Chat + permissions 🛡️

slmcode chat
# /permission review → run a prompt → /diff → /quit
slmcode apply
Mode Verify
auto file changed ✍️
dry-run log only 🎭
review .slmcode/pending/ 👀

Automated (devs) 🤖

make lint && make test && make docs-build
RUN_E2E=1 make e2e

Feature matrix 🧪

Feature Verify
Plan/split/parallel run -v
Spec clarifier vague query → assumptions in CONTEXT/PLAN
Coordinator @coordinator
Self-critic approve / corrector
Real tester commands[] + ws_shell / pytest smoke
QA gate SCRATCH.md “QA gate” GREEN (default on)
Explore reuse 2nd run skips deep dive ♻️
Skills flywheel .slmcode/SKILLS.md 🦋
Resume /stop/resume 🛟
Agent detail Studio Agents → click row shows system prompt
14 agents /api/agents

Stuck? → ❓ FAQ

☀️ Made with ♥ by UnicoLab