mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
58dbe8e2e1
5 stories implemented via loop-tdd-v1: - LOOP-1: Test writer Inngest function (agent/loop.test) - LOOP-2: Restructured event chain (plan→test→implement→review→judge) - LOOP-3: Reviewer rewritten as 4-question evaluator (no longer writes tests) - LOOP-4: Judge consumes reviewer notes + LLM verdict - LOOP-5: Integration verification (all wiring confirmed) Key changes: - New test-writer.ts: writes acceptance tests BEFORE implementation (TDD) - review.ts: evaluates 4 questions (new tests? substantive? truthful? intent?) outputs structured JSON notes, no longer writes test files - judge.ts: mechanical gates + reviewer notes + llmEvaluate verdict FAIL if reviewer flags issues even when tests pass - plan.ts: emits agent/loop.test instead of agent/loop.implement - 185 tests across 7 test files, all passing See: ADR-0015 (docs/decisions/0015-loop-architecture-tdd-roles.md)