]> git.giacomolli.uk - onechat/commit
Log failed turns and the ends of subagents
authorAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 13:28:15 +0000 (10:28 -0300)
committerAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 13:28:15 +0000 (10:28 -0300)
commit5b778ad04422dd456b7d673fb653f0353c47b0fe
treeb4ca69e4eac5576bc7bfedfac8c1cc5192d5a125
parent8d9547f6e7ffa1e95ad25d9f8f2e7cfd23d992d0
Log failed turns and the ends of subagents

A turn that ends with an error logs one line with the error that the
clients get, such as a needed login or HTTP 429, so that it is not lost
when no client is connected. An interrupt of the user or a stop of the
daemon logs nothing.

The end of each subagent run logs one line with the name of the
subagent: done, failed with the cause, or stopped by the user. A cut
subagent that cannot go on after a restart logs its cause too.

Issue: e4acfcb
daemon.go
daemon_start_helper_test.go
subagent_run.go
subagent_run_test.go
turn.go
turn_test.go