Add explicit AI agent execution profiles - #1273
Merged
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3bad7cc. Configure here.
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
isolatedswitch with explicitsafeguardedandfull-localexecution profilesinternal/ai--trustflag rather than assuming version-specific supportPATHwith the drivers Radar actually initialized, includingRADAR_AI_CLI_BINoverrides in both the server API and standalone pre-boot consentProduct and security model
Radar safeguardsis the default wherever the installed agent can enforce Radar’s restrictions.Your <agent> setupis an explicit opt-out that uses the agent’s normal configuration, tools, and MCP servers.The disclosure is agent-specific:
Consent is versioned per exact agent/profile surface. Supported agents must advertise at least one profile, every advertised surface must have a configured disclosure version, and unsupported combinations are rejected centrally and by each driver.
There is intentionally no compatibility translation for the removed
isolatedfield, and profileless persisted local runs are not resumed under an implied security posture.Verification
make tscmake testmake buildgit diff --checkRADAR_AI_CLI_BINoverrideRelease note
This intentionally changes the public diagnose customization context from
isolated/setIsolatedtoprofile/setProfile. The next@skyhook-io/radar-apppublication containing this PR must use a major tag (radar-app-v2.0.0), rather than changing the source package placeholder version.Follow-up
The additional CLIs in #1265 can rebase on this framework and declare their supported profiles, defaults, driver enforcement, and disclosure copy individually.
Fixes #1272