| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| smallcode-Linux-X64.tar.gz | 2026-05-30 | 11.2 MB | |
| smallcode-macOS-ARM64.tar.gz | 2026-05-30 | 11.1 MB | |
| smallcode-Windows-X64.tar.gz | 2026-05-30 | 11.0 MB | |
| README.md | 2026-05-30 | 1.2 kB | |
| v1.5.0 source code.tar.gz | 2026-05-30 | 11.6 MB | |
| v1.5.0 source code.zip | 2026-05-30 | 11.7 MB | |
| Totals: 6 Items | 56.6 MB | 1 | |
[1.5.0] - 2026-05-29
feat: TDD harness — Red→Green→Refactor state machine (#68)
Adds an opt-in test-driven-development harness that drives small models through a disciplined Red→Green→Refactor cycle. Contributed by @scardoso-lu.
- New tools:
run_tests(runs the suite and returns structured pass/fail counts + per-failure names/messages — far easier for small models to parse than rawbashoutput), plustdd_loop,tdd_begin_cycle,tdd_status, andtdd_advancefor cycle control. - New modules:
src/session/tdd_state.js(the phase state machine),src/governor/tdd_governor.js(auto-advances phases after eachrun_testsand gates writes by phase),src/tools/run_tests.js(cross-runner: pytest / jest / vitest / go test / cargo / mocha / rspec), and askills/tdd.mdguide. - Fully opt-in: phase enforcement and write-gating are no-ops until a loop/cycle is started; all hooks are wrapped in try/catch so existing flows are untouched.
- Test coverage:
test/tdd_state.test.js,test/tdd_governor.test.js,test/tdd_harness.test.js,test/run_tests.test.js(~105 cases). Full suite: 267 passing.