Skip to content

feat: run approved local migration campaign batches - #1183

Merged
arminazimi merged 1 commit into
mainfrom
feat/375-campaign-execution
Nov 28, 2026
Merged

arminazimi merged 1 commit into
mainfrom
feat/375-campaign-execution

Conversation

@arminazimi

Copy link
Copy Markdown
Contributor

Closes #994
Closes #1003
Closes #1007

Refs #375, #1000, #1002, #1006, and #444

What changed

  • Run an operator-mapped, commit-pinned repository through the existing Autopilot replay and pinned container runner. Keep the original checkout and capture the verified run ID in campaign state.
  • Bound local batches by concurrency and minimum gap, persist transitions and batch checks, and pause above the failure threshold even after an interrupted save. Expose local pause, resume, retry, and cancel controls.
  • Exercise owner priority, automatic pausing, state and MCP agreement, and installed replay with private Docker test evidence. The additive state fields are recorded in decision 0068.

Workflow changes

  • Reason: exercise the installed local replay on the existing Package smoke Docker runner.
  • Budget effect: none

Quality bar

An execution input names an approved local checkout, one exact finding and the replay recording. Existing Autopilot path, credential, budget and test restrictions apply. The campaign verifies the saved run and scan commit range before marking a repository verified. Atomic state writes and one local writer guard prevent concurrent operation conflicts.

Checks CI cannot make

  • Tests added or updated for changed behavior
  • Changelog fragment added for the CLI behavior

Verification

  • npm run check and focused campaign, CLI registry, MCP, and package checks.
  • actionlint with the project’s self-repository syntax exception and zizmor --offline --persona=regular on Package smoke.
  • acc-campaigns and the approved local replay ran from a clean install of the candidate archive, with the real pinned Docker runner. The state agreed with the installed MCP server and independent checker. The candidate SHA-256 is 52678d9daeb89715e939ca69937ea4e5abafc98531a6d7b1c6c9190b4ff77600. Hosted Package smoke

Notes for reviewers

This is the local execution portion of #375. GitHub and GitLab publication, host rate limiting and reconciliation, external request cancellation, tracking issues, the scheduled consumer template, and mixed-outcome fleet publication evidence remain open. The public release acceptance remains tracked in #444.

@arminazimi
arminazimi merged commit 87a6a73 into main Nov 28, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment