You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -534,9 +534,11 @@ Behavior:
534
534
535
535
After the monthly report bundle is assembled, the workflow creates a GitHub Issue containing the full `ai_review_input.md` content. The automated review route dispatches `QuantStrategyLab/CryptoCodexAuditBridge`. The bridge owns provider selection through `SELFHOSTED_CODEX_REVIEW_PROVIDER`:
536
536
537
-
-`auto` (default): run the self-hosted Codex path first; if Codex setup or execution fails and the bridge has `OPENAI_API_KEY`, post the API review fallback from the bridge. If the API fallback is not configured, fail loudly.
537
+
-`auto` (default): run the self-hosted Codex path first; if Codex setup or execution fails, post the configured API fallback review from the bridge. Configure both `OPENAI_API_KEY` and `ANTHROPIC_API_KEY` in the bridge for dual-AI fallback. If no API fallback key is configured, fail loudly.
538
538
-`codex`: run Codex on the self-hosted VPS runner, post the audit result, and open a PR directly for safe low-risk fixes without API fallback.
539
+
-`api`: run the configured API fallback reviewers inside the bridge and post a combined review comment only.
539
540
-`openai`: run an API review inside the bridge and post a review comment only.
541
+
-`anthropic`: run a Claude API review inside the bridge and post a review comment only.
540
542
541
543
If the bridge dispatch itself fails, the monthly publish workflow fails loudly instead of silently skipping review.
542
544
@@ -552,9 +554,11 @@ Review output is posted back to the monthly issue.
552
554
553
555
### Optional Bridge API Fallback
554
556
555
-
-`SELFHOSTED_CODEX_REVIEW_PROVIDER`: defaults to `auto`; set to `codex` to disable API fallbackor `openai` for API-only review.
557
+
-`SELFHOSTED_CODEX_REVIEW_PROVIDER`: defaults to `auto`; set to `codex` to disable API fallback, `api` for configured API reviewers, or `openai`/ `anthropic`for a single API reviewer.
556
558
-`OPENAI_API_KEY`: configure in `CryptoCodexAuditBridge`, not this source repository.
559
+
-`ANTHROPIC_API_KEY`: configure in `CryptoCodexAuditBridge`, not this source repository.
The default production configuration does not need model API secrets because it uses Codex through `CryptoCodexAuditBridge`.
560
564
@@ -563,6 +567,7 @@ Setup:
563
567
```bash
564
568
gh variable set SELFHOSTED_CODEX_REVIEW_PROVIDER --body auto
565
569
gh secret set OPENAI_API_KEY --repo QuantStrategyLab/CryptoCodexAuditBridge --body "sk-..."
570
+
gh secret set ANTHROPIC_API_KEY --repo QuantStrategyLab/CryptoCodexAuditBridge --body "sk-ant-..."
566
571
```
567
572
568
573
Source-local legacy AI review workflows are intentionally not kept in this repository. Provider fallback lives in `CryptoCodexAuditBridge`, so this source repository does not need Anthropic/OpenAI secrets.
Copy file name to clipboardExpand all lines: docs/operator_runbook.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Boundary rules:
76
76
77
77
## Monthly Codex Remediation
78
78
79
-
The monthly publish workflow creates a `monthly-review` issue, then dispatches `CryptoCodexAuditBridge` as the automated review and remediation path. The bridge owns provider selection through `SELFHOSTED_CODEX_REVIEW_PROVIDER`: `auto` is the default and runs the self-hosted Codex path first, falls back to OpenAI review when Codex setup or execution fails and the bridge has `OPENAI_API_KEY`, and fails loudly when the API fallback is not configured. `codex` disables API fallback; `openai` posts an API review comment only.
79
+
The monthly publish workflow creates a `monthly-review` issue, then dispatches `CryptoCodexAuditBridge` as the automated review and remediation path. The bridge owns provider selection through `SELFHOSTED_CODEX_REVIEW_PROVIDER`: `auto` is the default and runs the self-hosted Codex path first, falls back to the configured API reviewers when Codex setup or execution fails, and fails loudly when no API fallback key is configured. `codex` disables API fallback; `api` posts a combined API review; `openai` and `anthropic` post a single-provider API review only.
80
80
81
81
If the bridge dispatch fails, the monthly publish workflow fails loudly. Source-local legacy AI review workflows are intentionally removed; provider fallback lives in `CryptoCodexAuditBridge`.
0 commit comments