Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __tests__/e2e/__snapshots__/happy-path.e2e.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate
✔ add the Confidence SDK ● Sign in to Confidence
✔ create your first feature flag ● Set up your agent
● Connect tools
◆ The AI agent will be able to read and write files in your ▶ Onboard project
project.
◆ The AI agent will be able to run commands, install packages, and ▶ Onboard project
modify files in your project.


──────────────────────────────────────────────────────────────────────────────────────────────────
Expand Down
4 changes: 2 additions & 2 deletions __tests__/e2e/__snapshots__/stale-mcp-auth.e2e.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ exports[`when MCP config has expired auth tokens > allows skipping when auth is
✔ add the Confidence SDK ● Sign in to Confidence
✔ create your first feature flag ● Set up your agent
● Connect tools
◆ The AI agent will be able to read and write files in your ▶ Onboard project
project.
◆ The AI agent will be able to run commands, install packages, and ▶ Onboard project
modify files in your project.


──────────────────────────────────────────────────────────────────────────────────────────────────
Expand Down
2 changes: 1 addition & 1 deletion __tests__/e2e/onboarding-invocation.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const IDE_CASES = [
name: 'Codex',
downPresses: 2,
command: 'codex',
expectedArgs: ['exec', '--json', '--sandbox', 'workspace-write', '-'],
expectedArgs: ['exec', '--json', '--sandbox', 'danger-full-access', '-'],
expectedPromptSnippets: [
'Confidence SDK',
'$analyze-project',
Expand Down
2 changes: 1 addition & 1 deletion src/integrations/codex/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function runOnboarding(

let child: ChildProcess;
try {
child = spawn('codex', ['exec', '--json', '--sandbox', 'workspace-write', '-'], {
child = spawn('codex', ['exec', '--json', '--sandbox', 'danger-full-access', '-'], {
cwd: opts.projectDir,
timeout: ONBOARDING_TIMEOUT_MS,
stdio: ['pipe', 'pipe', 'pipe'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import type { Tip } from '../../../lib/tips.js';

export const MAX_VISIBLE_STATUS = 3;

const SANDBOX_WARNING = 'The AI agent will be able to read and write files in your project.';
const SANDBOX_WARNING =
'The AI agent will be able to run commands, install packages, and modify files in your project.';

type OnboardingLeftPanelProps = {
phase: OnboardingPhase;
Expand Down