Stages call claimForWork when their work on an item really starts (fix issues after triage, fix-up, conflict merge and CI fix before their model call or push, single merge before safe-merge, batch when members are put in). The planner only decides unassign: kept while the item is on the path to merge, released otherwise, including members of a batch that failed to open its PR. The step is renamed unassign; one item failing no longer fails the repo's job; a partial index serves the audit lookups.
The planner emits assign and unassign actions from the item's assignees and the audit; one assign step carries them out with a live re-read of the assignees. The per-stage claim and release calls in fix-up, fix issues, merge and batch are removed.
An operator lists, per repo, checks whose failure does not stop a merge (autocraft optional-checks, the repo page, dashboard API; audited). The queue, single merges and batch PR checks read a failure of only listed checks as success; safe-merge takes --allow-failed NAME and accepts such a failure only while GitHub's merge state is not BLOCKED. Main CI shows optional for a failure of only listed checks, and CI fix leaves listed checks out. Every tracked repo starts with the SonarCloud scan on its list, once.
Each needs-fix row of an approved repo gets one attempt: skipped when main is green again or an open PR covers the failure, otherwise a patch through the shared CI fix path against the head commit, pushed to the fork on autocraft/main-ci-<check>-<sha7> and opened as a PR. The merge queue counts these PRs as our own Fix PRs.
A wanted PR whose gate check fails at its reviewed head is triaged from the failed step logs.
Format-only failures are fixed from a build task's formatter diff without a model, infra failures
get one rerun per head, code failures get a Sonnet patch checked by Opus. Pushes follow the
fix-up path; closed branches get the patch as a comment where comments are approved. At most two
tries per head, recorded in ci_fixes and read by the merge queue's push chain.
A reply that parses is linted per prompt: reference mentions, verbatim quotes of
the reference pages and references to outside documentation (Jev, Haiku
fallback) in public text, and over-long summaries. Problems go back as one
follow-up message on the same sandbox session; what remains falls back to
leaving the text out or keeping the first sentence. No lint problem repeats the
whole call.