Fix a branch's demo build
Fix a branch whose demo build is missing: apply the deterministic Ankra-side fixes first (publish-readiness auto-fix, failed-run rerun, failed-setup retry) and, when those cannot produce an image, dispatch a one-shot mission agent that investigates the repository and opens a pull request with the fix. The answer points at the dispatched mission rather than carrying its result, so an unattended caller polls the agent run. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF double-submit header).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The branch whose demo build is missing; required (an empty branch is a 400).
Response
Successful Response
The fix-build answer: the deterministic actions taken, whether the build is already resolved or building, and the dispatched mission agent when one was needed.