v2 breaking changes (planned / in progress)
This page consolidates user-visible cleanups targeted for a v2 release. Some items below are done in current main; others remain planned.
| Area | Change |
|---|---|
engine: copilot | Removed — use WM_AGENT_CMD or claude / codex. |
Legacy WM_OUTPUT_FILE / single-file output.json | Removed — safe outputs are NDJSON only via gh wm emit → WM_SAFE_OUTPUT_FILE. |
safe-outputs: keys | Prefer dash form (add-labels, create-pull-request) to match gh-aw. Underscore keys in YAML may warn; v2 may canonicalize item types separately (see task-format
). |
tools: | v2 may require a structured shape (allowed / denied) and translate per engine (--allowed-tools, etc.). |
timeout-minutes | Enforced inside engine.RunTask
so library callers and CLI share the same deadline (parent context deadlines still cap the run when stricter). |
| Artifacts | Each run writes run.json (merged meta.json + outcome fields) alongside meta.json and result.json. |
| GitHub API | Default internal/ghclient uses the gh CLI subprocess (gh api). Set GH_WM_REST=1 to use go-gh REST from internal/gh
. |
See also Architecture review for the full refactor roadmap.