Skip to content

fix(drift): move Drift Check to QPK v2 task-service reusable workflow - #265

Merged
Pigbibi merged 1 commit into
mainfrom
fix/drift-check-v2-task-service
Oct 14, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/drift-check-v2-task-service

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Problem

Drift Check has failed daily since 2026-09-27. The pinned QPK reusable workflow 086166 runs the retired AIAuditBridge v1 dual-review pipeline (run_drift_dual_review.py, pinned AIAuditBridge 9fe2359), which only supports codex/gpt/claude reviewers. Those were removed in the v2 migration (AIAuditBridge 611c129), so reviews end in reviewers_unavailable and the step exits 3.

Change

  • Pin reusable-drift-check.yml, quant_platform_kit_ref and the preflight QPK checkout to QPK main eae362b (v2 drift_review over the project-scoped task service; same model UsEquityStrategies already uses).
  • Pass AI_SERVICE_URL, AI_SERVICE_AUDIENCE, AI_SERVICE_REVIEWERS_JSON variables. Provider choice (dot, optionally grok) lives in the service-side project policy (Pigbibi/AIGateway deploy/vps/quant.json).
  • Remove retired CODEX_AUDIT_SERVICE_URL wiring; update workflow config test.

Safety

  • Review remains advisory only and fail-closed (unavailable/pending => PARKED); no execution, trading or adoption authority.
  • The v2 drift job is gated by vars.AI_SERVICE_RELEASE_READY; until that is set, the drift job is skipped exactly like UsEquityStrategies today.
  • No secrets added or changed.

The pinned QPK reusable workflow (086166) still invoked the retired
AIAuditBridge v1 dual-review pipeline, which only knows codex/gpt/claude
reviewers. Those reviewers were removed in the v2 migration, so every
critical drift review ended as reviewers_unavailable and failed the run.

Pin the reusable workflow, its QPK checkout and the preflight QPK checkout
to QPK main (eae362b), whose drift_review step talks to the project-scoped
v2 task service. The reviewer provider (dot/grok) is selected by the
service-side project policy; this caller only passes AI_SERVICE_URL,
AI_SERVICE_AUDIENCE and AI_SERVICE_REVIEWERS_JSON. Review stays advisory
and fail-closed. Drop the retired CODEX_AUDIT_SERVICE_URL wiring.
@Pigbibi
Pigbibi merged commit 6b310c5 into main Oct 14, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the fix/drift-check-v2-task-service branch October 14, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant