campaign-autopilot-bridge
Operate a long-running Claude-Codex autopilot loop built on exchange.md, campaign.yaml, runtime state, tmux visibility, inspections, and resumable execution. Use when the user mentions autopilot, exchange, bridge, campaign, resume, paused capacity, long-running iteration, or wants the two providers to keep taking turns across tasks.
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- campaign-autopilot-bridge
- description
- Operate a long-running Claude-Codex autopilot loop built on exchange.md, campaign.yaml, runtime state, tmux visibility, inspections, and resumable execution. Use when the user mentions autopilot, exchange, bridge, campaign, resume, paused capacity, long-running iteration, or wants the two providers to keep taking turns across tasks.
- user_invocable
- true
03 SKILL.md 正文
Campaign Autopilot Bridge
Purpose
Use this skill when work should continue through a structured
Claude -> Codex -> Claude loop instead of one-shot chat turns.
Core files:
campaign_autopilot/campaign.yamlcampaign_autopilot/scripts/exchange_bridge.pycampaign_autopilot/scripts/campaign_driver.pycampaign_autopilot/runtime/campaign_autopilot/exchange.mdwhen generated at runtime.autopilot/instances/*.json
Use This Skill When
- the user says
autopilot,exchange,bridge,campaign,resume - the user wants Claude and Codex to keep iterating without manual handoff
- the user asks why tmux panes look stuck or repetitive
- the user wants to recover from
paused_capacity,paused_drift,paused_stuck, or inspection rewinds - the user wants better observability around long-running proposal, review, or execution loops
Main Commands
Preferred global usage:
autopilot 8
Select a specific project when needed:
autopilot --instance <name> 100
Inspection helpers:
autopilot request-inspection --task-id <task_id> --reason "check this task"
autopilot request-inspection --previous-all --reason "check all previous steps"
autopilot resume-mainline
Repo-local wrappers remain valid if you are already inside a project checkout.
State Model
Project-level states live in campaign_state.json:
runningpaused_capacitypaused_stuckpaused_driftpaused_safetypaused_user_decisionpaused_execution_requiredpaused_execution_stalledproject_done
Exchange-level states live in exchange.md:
waiting_for_proposalwaiting_for_reviewreview_writtenready_for_executionexecution_required
Expected Flow
Per active task:
campaign_driverseedsexchange.md- Claude writes the proposal
- Codex reviews it
- Claude revises it if needed
- approved work moves into execution
- the task either completes, requests inspection/evidence/spec revision, or rewinds
- the campaign advances to the next runnable task
Operating Rules
- treat
exchange.mdas the current shared buffer, not as long-term memory - prefer the BRIDGE pane over raw model panes for fast situational awareness
- keep runtime surgery as a last resort; prefer fixing bridge logic
- treat
campaign.yaml, plans, and skill definitions as frozen-layer inputs unless the user explicitly authorizes a spec change - ops-only monitor/status defects should self-heal immediately instead of waiting for the user to call them out
Output Contract
When operating the harness, report:
- current active task
- current project state
- current exchange state
- whether autopilot is running, paused, or done
- the exact next command if user action is required