Skip to content

Commit 1b8e303

Browse files
123vivekrclaude
andcommitted
refactor\!: remove sandbox system and simplify agent architecture
Remove the entire sandbox security system including: - All sandbox-related Rust code and dependencies (gaol crate) - Sandbox command handlers and platform-specific implementations - Comprehensive test suite for sandbox functionality - Agent sandbox settings UI components Simplify agent configuration by removing sandbox and permission fields: - Remove sandbox_enabled, enable_file_read, enable_file_write, enable_network from agent configs - Update all CC agents to use simplified configuration format - Remove sandbox references from documentation and UI BREAKING CHANGE: Existing agent configurations will need to be updated to remove sandbox-related fields. Agent execution model has changed from sandboxed to simple process isolation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 124fe15 commit 1b8e303

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+115
-7774
lines changed

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Think of Claudia as your command center for Claude Code - bridging the gap betwe
3737
- [✨ Features](#-features)
3838
- [🗂️ Project & Session Management](#️-project--session-management)
3939
- [🤖 CC Agents](#-cc-agents)
40-
- [🛡️ Advanced Sandboxing](#️-advanced-sandboxing)
40+
4141
- [📊 Usage Analytics Dashboard](#-usage-analytics-dashboard)
4242
- [🔌 MCP Server Management](#-mcp-server-management)
4343
- [⏰ Timeline & Checkpoints](#-timeline--checkpoints)
@@ -67,14 +67,10 @@ Think of Claudia as your command center for Claude Code - bridging the gap betwe
6767
### 🤖 **CC Agents**
6868
- **Custom AI Agents**: Create specialized agents with custom system prompts and behaviors
6969
- **Agent Library**: Build a collection of purpose-built agents for different tasks
70-
- **Secure Execution**: Run agents in sandboxed environments with fine-grained permissions
70+
- **Background Execution**: Run agents in separate processes for non-blocking operations
7171
- **Execution History**: Track all agent runs with detailed logs and performance metrics
7272

73-
### 🛡️ **Advanced Sandboxing**
74-
- **OS-Level Security**: Platform-specific sandboxing (seccomp on Linux, Seatbelt on macOS)
75-
- **Permission Profiles**: Create reusable security profiles with granular access controls
76-
- **Violation Tracking**: Monitor and log all security violations in real-time
77-
- **Import/Export**: Share sandbox profiles across teams and systems
73+
7874

7975
### 📊 **Usage Analytics Dashboard**
8076
- **Cost Tracking**: Monitor your Claude API usage and costs in real-time
@@ -127,7 +123,7 @@ CC Agents → Create Agent → Configure → Execute
127123

128124
1. **Design Your Agent**: Set name, icon, and system prompt
129125
2. **Configure Model**: Choose between available Claude models
130-
3. **Set Sandbox Profile**: Apply security restrictions
126+
3. **Set Permissions**: Configure file read/write and network access
131127
4. **Execute Tasks**: Run your agent on any project
132128

133129
### Tracking Usage
@@ -351,8 +347,8 @@ claudia/
351347
├── src-tauri/ # Rust backend
352348
│ ├── src/
353349
│ │ ├── commands/ # Tauri command handlers
354-
│ │ ├── sandbox/ # Security sandboxing
355-
│ │ └── checkpoint/ # Timeline management
350+
│ │ ├── checkpoint/ # Timeline management
351+
│ │ └── process/ # Process management
356352
│ └── tests/ # Rust test suite
357353
└── public/ # Public assets
358354
```
@@ -378,13 +374,13 @@ cd src-tauri && cargo fmt
378374

379375
## 🔒 Security
380376

381-
Claudia implements multiple layers of security:
377+
Claudia prioritizes your privacy and security:
382378

383-
1. **Process Isolation**: Agents run in separate sandboxed processes
384-
2. **Filesystem Access Control**: Whitelist-based file access
385-
3. **Network Restrictions**: Control external connections
386-
4. **Audit Logging**: All security violations are logged
387-
5. **No Data Collection**: Everything stays local on your machine
379+
1. **Process Isolation**: Agents run in separate processes
380+
2. **Permission Control**: Configure file and network access per agent
381+
3. **Local Storage**: All data stays on your machine
382+
4. **No Telemetry**: No data collection or tracking
383+
5. **Open Source**: Full transparency through open source code
388384

389385
## 🤝 Contributing
390386

cc_agents/README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
## 📦 Available Agents
1818

19-
| Agent | Model | Permissions | Description | Default Task |
20-
|-------|-------|-------------|-------------|--------------|
21-
| **🎯 Git Commit Bot**<br/>🤖 `bot` | <img src="https://img.shields.io/badge/Sonnet-blue?style=flat-square" alt="Sonnet"> | ✅ File Read<br/>✅ File Write<br/>✅ Network<br/>❌ Sandbox | **Automate your Git workflow with intelligent commit messages**<br/><br/>Analyzes Git repository changes, generates detailed commit messages following Conventional Commits specification, and pushes changes to remote repository. | "Push all changes." |
22-
| **🛡️ Security Scanner**<br/>🛡️ `shield` | <img src="https://img.shields.io/badge/Opus-purple?style=flat-square" alt="Opus"> | ✅ File Read<br/>✅ File Write<br/>❌ Network<br/>❌ Sandbox | **Advanced AI-powered Static Application Security Testing (SAST)**<br/><br/>Performs comprehensive security audits by spawning specialized sub-agents for: codebase intelligence gathering, threat modeling (STRIDE), vulnerability scanning (OWASP Top 10, CWE), exploit validation, remediation design, and professional report generation. | "Review the codebase for security issues." |
23-
| **🧪 Unit Tests Bot**<br/>💻 `code` | <img src="https://img.shields.io/badge/Opus-purple?style=flat-square" alt="Opus"> | ✅ File Read<br/>✅ File Write<br/>❌ Network<br/>❌ Sandbox | **Automated comprehensive unit test generation for any codebase**<br/><br/>Analyzes codebase and generates comprehensive unit tests by: analyzing code structure, creating test plans, writing tests matching your style, verifying execution, optimizing coverage (>80% overall, 100% critical paths), and generating documentation. | "Generate unit tests for this codebase." |
19+
| Agent | Model | Description | Default Task |
20+
|-------|-------|-------------|--------------|
21+
| **🎯 Git Commit Bot**<br/>🤖 `bot` | <img src="https://img.shields.io/badge/Sonnet-blue?style=flat-square" alt="Sonnet"> | **Automate your Git workflow with intelligent commit messages**<br/><br/>Analyzes Git repository changes, generates detailed commit messages following Conventional Commits specification, and pushes changes to remote repository. | "Push all changes." |
22+
| **🛡️ Security Scanner**<br/>🛡️ `shield` | <img src="https://img.shields.io/badge/Opus-purple?style=flat-square" alt="Opus"> | **Advanced AI-powered Static Application Security Testing (SAST)**<br/><br/>Performs comprehensive security audits by spawning specialized sub-agents for: codebase intelligence gathering, threat modeling (STRIDE), vulnerability scanning (OWASP Top 10, CWE), exploit validation, remediation design, and professional report generation. | "Review the codebase for security issues." |
23+
| **🧪 Unit Tests Bot**<br/>💻 `code` | <img src="https://img.shields.io/badge/Opus-purple?style=flat-square" alt="Opus"> | **Automated comprehensive unit test generation for any codebase**<br/><br/>Analyzes codebase and generates comprehensive unit tests by: analyzing code structure, creating test plans, writing tests matching your style, verifying execution, optimizing coverage (>80% overall, 100% critical paths), and generating documentation. | "Generate unit tests for this codebase." |
2424

2525
### Available Icons
2626

@@ -76,11 +76,7 @@ All agents are stored in `.claudia.json` format with the following structure:
7676
"icon": "bot",
7777
"model": "opus|sonnet|haiku",
7878
"system_prompt": "Your agent's instructions...",
79-
"default_task": "Default task description",
80-
"sandbox_enabled": false,
81-
"enable_file_read": true,
82-
"enable_file_write": true,
83-
"enable_network": false
79+
"default_task": "Default task description"
8480
}
8581
}
8682
```
@@ -109,9 +105,8 @@ The agent import/export system is built on a robust architecture:
109105

110106
1. **Version Control**: Each agent export includes version metadata
111107
2. **Duplicate Prevention**: Automatic naming conflict resolution
112-
3. **Permission System**: Granular control over file, network, and sandbox access
113-
4. **Model Selection**: Choose between Opus, Sonnet, and Haiku models
114-
5. **GitHub Integration**: Direct import from the official repository
108+
3. **Model Selection**: Choose between Opus, Sonnet, and Haiku models
109+
4. **GitHub Integration**: Direct import from the official repository
115110

116111
## 🤝 Contributing
117112

@@ -133,7 +128,6 @@ Export your agent to a `.claudia.json` file with a descriptive name.
133128

134129
- **Single Purpose**: Each agent should excel at one specific task
135130
- **Clear Documentation**: Write comprehensive system prompts
136-
- **Safe Defaults**: Be conservative with permissions
137131
- **Model Choice**: Use Haiku for simple tasks, Sonnet for general purpose, Opus for complex reasoning
138132
- **Naming**: Use descriptive names that clearly indicate the agent's function
139133

@@ -145,4 +139,4 @@ These agents are provided under the same license as the Claudia project. See the
145139

146140
<div align="center">
147141
<strong>Built with ❤️ by the Claudia community</strong>
148-
</div>
142+
</div>
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"agent": {
33
"default_task": "Push all changes.",
4-
"enable_file_read": true,
5-
"enable_file_write": true,
6-
"enable_network": true,
74
"icon": "bot",
85
"model": "sonnet",
96
"name": "Git Commit Bot",
10-
"sandbox_enabled": false,
117
"system_prompt": "<task>\nYou are a Git Commit Push bot. Your task is to analyze changes in a git repository, write a detailed commit message following the Conventional Commits specification, and push the changes to git.\n</task>\n\n# Instructions\n\n<instructions>\nAnalyze the changes shown in the git diff and status outputs. Pay attention to:\n1. Which files were modified, added, or deleted\n2. The nature of the changes (e.g., bug fixes, new features, refactoring)\n3. The scope of the changes (which part of the project was affected)\n\nBased on your analysis, write a commit message following the Conventional Commits specification:\n1. Use one of the following types: feat, fix, docs, style, refactor, perf, test, or chore\n2. Include a scope in parentheses if applicable\n3. Write a concise description in the present tense\n4. If necessary, add a longer description after a blank line\n5. Include any breaking changes or issues closed\n\nThen finally push the changes to git.\n</instructions>\n\n# Notes\n\n<notes>\n- Replace [branch_name] with the appropriate branch name based on the information in the git log. If you cannot determine the branch name, use \"main\" as the default.\n- Remember to think carefully about the changes and their impact on the project when crafting your commit message. Your goal is to provide a clear and informative record of the changes made to the repository.\n</notes>"
128
},
139
"exported_at": "2025-06-23T14:29:58.156063+00:00",
1410
"version": 1
15-
}
11+
}

0 commit comments

Comments
 (0)