klaus reads the restacker's conflict reports and resolves conflicts on changes it owns, as section 6 of the restacker design describes. For a current conflict on a klaus-owned change it dispatches `klaus launch --repo <project> --change <full-change-id>` with a resolution prompt, with the GitHub handler's cooldown and three-attempt limit.
Two klaus adaptations: `--change` may push a rebase with leases on the captured heads, and a conflict dispatch confirms the change is a draft before editing. klaus never resolves another author's conflict, and never deletes approvals.
Done when a conflict the restacker reports on a klaus change is resolved by a klaus run and readied as a new version.
Source: 2026-10-17, `restacker-design-astra.md` §6 and `restacker-design-review.md` ("Keep").
Comments
contributor2026-10-26 18:30 UTC
klaus#352 merged 2026-10-26: in a repo that delivers to a valley, `klaus launch --change <id>` may restack the change onto main and push it to the same branch with a lease on the head launch captured; finalize records the result as the next version of the same change. This is the "`--change` may push a rebase with leases on the captured heads" adaptation above, for a single layer. The dispatcher that reads restack conflict reports is still to come, and waits on oc-fb88d3a.
contributor2026-10-27 18:34 UTC
Landed as klaus PR #357 (merged 2026-10-27): klaus's dispatcher reads restack reports and launches a strict --change round for conflicts on changes it owns, with a ledger, cooldown and three attempts. It acts once the host restacker runs (oc-2b3d2ce).
contributor2026-10-27 18:34 UTC
Reopened as in-progress: the code merged, but the acceptance (a restacker-reported conflict resolved by a klaus run and readied) needs the host restacker running (oc-2b3d2ce).
contributor2026-11-08 22:29 UTC
Done: klaus resolves restack conflicts on its own changes (klaus#357), and does so unaided in production runs.