Self-improvement loop (one tick = one slice)
Repo: $(kx root). Never test against real user
projects (read-only soak targets only); use tests/fixtures/.
Tick protocol
git -C $(kx root) log --oneline | head+ readdoc/BACKLOG.md— pick the TOP unchecked item only.- If the item needs domain knowledge: ONE focused forum/web sweep (kicad.info, EEVblog, Hackaday, official dev-docs — WebSearch/WebFetch are deferred tools: load via ToolSearch first); distill into the relevant SKILL.md or doc/DESIGN.md — cite the source.
- Build the slice; test on fixtures (
python3 tests/test_roundtrip.pyplus slice-specific test); mutation-test any new verifier rule. - Commit (one commit per step, no Co-Authored-By trailer).
- Feed back: update the SKILL.md that the lesson belongs to; tick the backlog box; append new discoveries as new backlog items.
- End the tick by suggesting the user run /compact.
Quality bar
SOLID, zero-copy where sensible, no dead code, no legacy left behind; every behavior provable by a command the next tick can rerun.