feat(ai): Cursor subscription canary lane + provider scenario matrix - #243
Merged
Merged
Conversation
Align execution provider contracts, centralize adapter selection, trust-check Cursor policy files, expose subscription research readiness on /healthz, and lock the analyze/review rate limiter. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Define an explicit scenario matrix so research diagnosis/briefing can adopt Cursor only when eligible, while promotion/codegen stay Codex-fixed and dormant by default. Co-authored-by: Cursor <cursoragent@cursor.com>
Admission already requires request selection, trusted spend policy, and a fresh roster. A separate AI_GATEWAY_CURSOR_ENABLED switch duplicated that and diverged from other providers. Co-authored-by: Cursor <cursoragent@cursor.com>
…atus mapping Complete remaining provider-opt audit items offline: strict review JSON, medium risk for empty paths, 401/403/429 PermissionError mapping, telemetry without raw output, and freeze legacy codex_audit_service deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
Treat Cursor as subscription capacity like Codex (not API budget), give each scenario smart defaults, and fail closed on incompatible forced provider/model/effort overrides. Wire remaining research consumers. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Gateway rejects Cursor outside drift_analysis/research_summary; fallback stays off by default and never covers promotion/codegen. Remaining research scripts use scenario helpers with fixed Codex pins. Co-authored-by: Cursor <cursoragent@cursor.com>
Current Cursor subscription rejects --exclude-workspace-context, and the root-run gateway needs AI_GATEWAY_CURSOR_HOME to use the CLI login. Co-authored-by: Cursor <cursoragent@cursor.com>
Document diagnosis/portfolio/briefing PASS and stage negative controls after AppArmor and adapter fixes on the audit bridge host. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resolve_execution_adapter, trusted policy, health readiness, rate-limit lockAI_GATEWAY_CURSOR_ENABLED; gate Cursor like Codex (subscription policy + roster)drift_analysis/research_summarycodex_audit_servicedeploy--exclude-workspace-context+AI_GATEWAY_CURSOR_HOME(31838f8)Test plan
cursor_stage_not_canaryAI_GATEWAY_CURSOR_FALLBACK_ENABLEDremains false