Swarm CI Monitor
Read and follow ../../../.opencode/skills/swarm-ci-monitor/SKILL.md as the
canonical workflow.
Codex Execution Notes
- MCP tool names (
mcp__github__*) are injected by the runtime harness and may differ across environments; verify availability viaToolSearchbefore first use in a session. - No
ghCLI in the remote/MCP environment. Use MCP tools instead:- PR checks →
mcp__github__pull_request_readmethodget_check_runs - Failure logs →
mcp__github__get_job_logswithjob_id,return_content: true - PR mergeable/mergeStateStatus/reviewDecision →
mcp__github__pull_request_readmethodget
- PR checks →
- Merge is new surface area. There is no
mcp__github__merge_pull_requestreference anywhere else in the repo. Verify availability viaToolSearchbefore first use in a session. If the tool is unavailable, do not attempt a fallback that contradicts the "noghCLI" premise above — surface to the user that the merge must be done manually. "ToolSearchdidn't confirm the tool but I'll try it anyway" is not acceptable for the one action in this skill that cannot be safely undone — surface to the user instead. - Do not soften Step 1's pre-flight gates or Step 3's pre-merge re-check — this is the first skill in the repo authorized to execute a merge.
- Load
../commit-pr/SKILL.mdbefore committing or pushing any fix, and../../../.opencode/skills/ci-fix-monitor/SKILL.mdfor failure-type-specific fix recipes, as the canonical's Composition section directs. - Do not declare victory until the post-merge local-git confirmation (Step 4b) passes. Green checks alone are not sufficient.