Wire the reviewer and assert reflection on the wire

main injects the AI service as the reviewer alongside the other roles.
A web test drives a session to Review and asserts the recap rides the
state payload, then to the next Planning and asserts the carry-forward
does too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-01 09:38:13 -04:00
parent a4f0c00cac
commit ff100b2472
2 changed files with 47 additions and 1 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ func main() {
ctrl.SetCoach(svc)
ctrl.SetDriftJudge(svc)
ctrl.SetNudge(svc)
log.Printf("ai: %s backend (coach + drift judge + nudge)", backend.Name())
ctrl.SetReviewer(svc)
log.Printf("ai: %s backend (coach + drift judge + nudge + reviewer)", backend.Name())
}
// Wire the Tasks port: Amazing Marvin via ampy's `am` CLI. The command is