Skip to content

feat: add deterministic campaign preflight - #180

Merged
EmersonBraun merged 1 commit into
mainfrom
codex/issue-146-campaign-preflight
Sep 9, 2026
Merged

EmersonBraun merged 1 commit into
mainfrom
codex/issue-146-campaign-preflight

Conversation

@EmersonBraun

Copy link
Copy Markdown
Member

What

  • add a deterministic, provider-free campaign preflight command driven by one validated config
  • classify every discovered open PR and report eligibility, blockers, coverage, budget, and worktree permission
  • validate Codex authentication without a model request and fail closed before model/worktree execution
  • share the exact review-policy fingerprint with the existing review command

Why

The hourly/three-hourly Orca campaign must discover all blockers in one cheap sweep and must never spend model calls or create worktrees before a PR is eligible and fully preflighted.

Validation

  • formal harness: ak-verify run 1788924703076-14079 — COMPLETE
  • full test suite: 170/170 passed
  • focused final suite: 47/47 passed
  • read-only AgentsKitOS campaign: 9 PRs classified, 0 model calls, 0 worktrees; six individually ready and three deterministically blocked by budget/coverage

Closes #146
Part of #137

@EmersonBraun

Copy link
Copy Markdown
Member Author

Code review

No issues found after the multi-agent review and remediation pass. Checked for bugs, campaign fail-closed behavior, provider-free execution, repository instructions, and current-source verification.

@EmersonBraun
EmersonBraun merged commit 0ba0311 into main Sep 9, 2026
5 checks passed
@EmersonBraun
EmersonBraun deleted the codex/issue-146-campaign-preflight branch September 9, 2026 03:39
@github-actions github-actions Bot mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PRD #137] Discover, classify, and preflight every campaign PR

1 participant