Repository navigation
v0.5.22
v0.5.22 (2026-06-27)
Features
- sse: Emit task.git_result event after a task completes (
357e2cf)
A consumer watching GET /v1/events/stream now receives a new task.git_result event immediately after task.completed, carrying the branch the work landed on and the commits the agent created since the dispatch baseline (base_sha..head_sha), plus dirty/pushed flags. This gives mad-bros per-task git traceability without parsing agent output — Mad observes the workspace's git state read-only (hard rule 1).
The dispatcher captures HEAD at task.dispatched and inspects the workspace after completion via a new read-only GitInspector port (SubprocessGitInspector adapter), kept out of mad.core per hard rule 4. Capture is best-effort: a non-git workspace or any git failure omits the event and never fails the task.
Closes #88 Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Detailed Changes: v0.5.21...v0.5.22