Repository navigation
v0.6.2 (2026-07-15)
Bug Fixes
- config: Make post-run auto-sync opt-in (off by default) (
2c1a6dd)
Flip DEFAULT_AUTO_SYNC from True to False: when nothing is configured, Mad no longer fires the post-run auto-sync run, so no mad/<session_id> branch and no PR are created unless a deployment, session, or task explicitly opts in. Publishing leftover work to a generic branch is the exception, not the norm — most tasks manage their own named branch/PR, and an unrequested second PR next to the real one is noise (issue #109).
The precedence chain is unchanged (task > session > MAD_AUTO_SYNC env > default); only the terminal default and the operator-facing framing flip from opt-out to opt-in. MAD_AUTO_SYNC=true (or a per-session/per-task auto_sync=true) restores the safety net. Tests updated to the new contract: default-behavior assertions now expect the launcher to run once with agent.autosync.skipped, and the tests that exercise the auto-sync path opt in explicitly.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Signed-off-by: Jose Salamanca jose.salamancacoy@gmail.com
- http: Gate post-run auto-sync to stop duplicate PRs (
db4b411)
Auto-sync fired a second agent run after every task and, blind to the branch the task was told to use, published to mad/<session_id> and opened a DUPLICATE PR next to the real one. Expose an auto_sync toggle on POST /v1/sessions, POST /v1/sessions/{id}/tasks and their MCP tools (resolution task > session > MAD_AUTO_SYNC > true): when it resolves False the second launcher run never starts, so no branch and no PR can be created — an agent.autosync.skipped event records the decision. Also surface the MAD_AUTO_SYNC operator default read-only on GET /v1/config, and harden the fallback prompt to adopt an existing branch/PR, check before creating, and never force-push. A mad-edge consumer can now let a task own its own branch/PR without Mad shadowing it.
Closes #109 Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Signed-off-by: Jose Salamanca jose.salamancacoy@gmail.com
Detailed Changes: v0.6.1...v0.6.2