From 664c6dc4c3528a35fefc1b40315ea71a762740ab Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:06:14 +0800 Subject: [PATCH 1/2] chore: migrate audit bridge to AIAuditBridge Co-Authored-By: Codex --- .github/workflows/monthly_snapshot_audit.yml | 2 +- README.md | 2 +- README.zh-CN.md | 2 +- .../monthly_snapshot_audit_issue.py | 2 +- tests/test_monthly_snapshot_audit_workflow.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/monthly_snapshot_audit.yml b/.github/workflows/monthly_snapshot_audit.yml index e98d5a2..e62871e 100644 --- a/.github/workflows/monthly_snapshot_audit.yml +++ b/.github/workflows/monthly_snapshot_audit.yml @@ -22,7 +22,7 @@ jobs: MONTHLY_SNAPSHOT_AUDIT_ENABLED: ${{ vars.MONTHLY_SNAPSHOT_AUDIT_ENABLED || 'true' }} FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" CODEX_AUDIT_ENABLED: ${{ vars.CODEX_AUDIT_ENABLED || 'true' }} - CODEX_AUDIT_BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/CodexAuditBridge' }} + CODEX_AUDIT_BRIDGE_REPOSITORY: ${{ vars.CODEX_AUDIT_BRIDGE_REPOSITORY || 'QuantStrategyLab/AIAuditBridge' }} CODEX_AUDIT_BRIDGE_REF: ${{ vars.CODEX_AUDIT_BRIDGE_REF || 'main' }} CODEX_AUDIT_MODE: ${{ vars.CODEX_AUDIT_MODE || 'review_and_fix' }} CODEX_AUDIT_PROVIDER: ${{ vars.CODEX_AUDIT_PROVIDER || 'auto' }} diff --git a/README.md b/README.md index 75e954b..fb98432 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ This workflow does not create production data, approve live trading, deploy Clou ## Monthly AI audit -The scheduled [`monthly_snapshot_audit.yml`](.github/workflows/monthly_snapshot_audit.yml) workflow creates a monthly GitHub issue and dispatches review work to `QuantStrategyLab/CodexAuditBridge`. +The scheduled [`monthly_snapshot_audit.yml`](.github/workflows/monthly_snapshot_audit.yml) workflow creates a monthly GitHub issue and dispatches review work to `QuantStrategyLab/AIAuditBridge`. It only writes an audit package under `data/output/monthly_snapshot_audit`; it does not publish artifacts, deploy Cloud Run, change broker configuration, or place orders. diff --git a/README.zh-CN.md b/README.zh-CN.md index e589b50..0fa2667 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -108,7 +108,7 @@ gh workflow run publish-hk-snapshot-artifacts.yml \ ## 月度 AI 审计 -定时 workflow [`monthly_snapshot_audit.yml`](.github/workflows/monthly_snapshot_audit.yml) 会创建月度 GitHub issue,并把 review 工作派发到 `QuantStrategyLab/CodexAuditBridge`。 +定时 workflow [`monthly_snapshot_audit.yml`](.github/workflows/monthly_snapshot_audit.yml) 会创建月度 GitHub issue,并把 review 工作派发到 `QuantStrategyLab/AIAuditBridge`。 它只会在 `data/output/monthly_snapshot_audit` 下生成审计包,不会发布 artifact、部署 Cloud Run、修改券商配置或下单。 diff --git a/src/hk_equity_snapshot_pipelines/monthly_snapshot_audit_issue.py b/src/hk_equity_snapshot_pipelines/monthly_snapshot_audit_issue.py index c8e04b3..0e028b9 100644 --- a/src/hk_equity_snapshot_pipelines/monthly_snapshot_audit_issue.py +++ b/src/hk_equity_snapshot_pipelines/monthly_snapshot_audit_issue.py @@ -13,7 +13,7 @@ DEFAULT_SOURCE_REPO = "QuantStrategyLab/HkEquitySnapshotPipelines" DEFAULT_SOURCE_REF = "main" -DEFAULT_CODEX_AUDIT_REPOSITORY = "QuantStrategyLab/CodexAuditBridge" +DEFAULT_CODEX_AUDIT_REPOSITORY = "QuantStrategyLab/AIAuditBridge" MONTHLY_SNAPSHOT_AUDIT_TASK = "monthly_snapshot_audit" MONTHLY_SNAPSHOT_AUDIT_BUNDLE_VERSION = "hk_snapshot_monthly_audit_bundle.v1" DEFAULT_OUTPUT_DIR = Path("data/output/monthly_snapshot_audit") diff --git a/tests/test_monthly_snapshot_audit_workflow.py b/tests/test_monthly_snapshot_audit_workflow.py index f40307c..c8e3fc9 100644 --- a/tests/test_monthly_snapshot_audit_workflow.py +++ b/tests/test_monthly_snapshot_audit_workflow.py @@ -19,7 +19,7 @@ def test_monthly_snapshot_audit_workflow_dispatches_codex_bridge(): assert "actions/create-github-app-token@v3" in workflow assert "write_monthly_snapshot_audit_issue.py" in workflow assert "monthly_snapshot_audit_issue.json" in workflow - assert "QuantStrategyLab/CodexAuditBridge" in workflow + assert "QuantStrategyLab/AIAuditBridge" in workflow assert "CODEX_AUDIT_BRIDGE_REF" in workflow assert '"ref": os.environ["CODEX_AUDIT_BRIDGE_REF"]' in workflow assert "codex_audit.yml" in workflow From b04426b5ee279c7a0a1e5f22370ccc56a21815bc Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 3 Jul 2026 15:26:33 +0800 Subject: [PATCH 2/2] chore: refresh migration checks Co-Authored-By: Codex