Route monthly optimization tasks to Codex bridge#49
Conversation
cd7c7fd to
ed88f8d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ed88f8da6e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| and task_level_allowed | ||
| and not pr.get("isDraft") | ||
| and guard["allowed"] | ||
| and (not codex_branch or has_auto_merge_label) |
There was a problem hiding this comment.
Remove undocumented task-level gate for Codex PR merges
The Codex branch path is now routed through this gate, but should_merge still requires task_level_allowed from a literal PR-body string ("Task-level auto-merge eligible: yes"). The new Codex contract text generated in scripts/fanout_monthly_optimization_tasks.py does not instruct Codex to include that marker, so a Codex PR can satisfy the documented branch/marker/label rules and still be permanently skipped with task_level_guard. This effectively blocks the new Codex auto-merge flow unless out-of-band behavior adds that exact line.
Useful? React with 👍 / 👎.
Summary
This PR routes the normal CryptoSnapshotPipelines monthly code-remediation path through the self-hosted VPS ccbot/Codex bridge instead of the GitHub-hosted Claude Action path.
[auto-pr-safe]Crypto monthly optimization task issues withcodex-bridgeandauto-merge-okcodex-bridgecodex/monthly-optimization-issue-*branches and require the PR-levelauto-merge-oklabel for Codex PRsCodex PR Feedbackso failed CI or changes-requested reviews are posted back to the sourcecodex-bridgeissue for another ccbot/Codex passValidation
python3 -m pytest tests/test_fanout_monthly_optimization_tasks.py tests/test_auto_optimization_pr_workflow_config.py tests/test_prepare_auto_optimization_pr.py -qgit diff --checktest: passing oned88f8dRefs QuantStrategyLab/AuditOrchestrator#1