Repository navigation
13 Permissions
Source: docs/design/13-permissions.md
Soft + hard isolation: path gateway for file tools; sandbox for shell; explicit grants for anything beyond defaults.
Workdir (if bound), system/toolchain dirs read-only allowlist, never the app data directory (D36).
Granted to the requesting Bot, valid in the current conversation; once (single tool call + absolute TTL) or for the rest of the conversation; revocable anytime. Revoke interrupts affected running tasks (permission_revoked).
File overreach → approval card. Shell → sandbox with live rules. Uns sandboxed execution → every time confirm (D38). Git remote → confirm (D31). Sandbox unavailable → per-command confirm mode (D39) with optional read-only command allowlist (D40).
Agent-native tools run in the agent’s own sandbox; permission requests map to agent_tool cards. Never bypass; agents without OS sandbox confirm every command. Not implemented.
After danger acknowledgment, pending confirms auto-approve with full audit; optional timed off. Fail-closed: unsandboxed commands that cannot be statically proven off the app data dir are auto-denied. Profile changes never auto-approve (D99).
Same tool+args already completed on the task chain may skip or annotate cards; unknown prior outcome → card and no unattended auto-approve; user denial → no card. Cards carry payloadHash (stale → APPROVAL_STALE) and execution receipts.
KepCup
Core
- 01-Conversation
- 02-Execution
- 03-Bot
- 04-Memory
- 05-Wiki-and-Skills
- 30-Supervisor-and-Tasks
- 40-Capability-Mounting
- 43-Task-Loop-Harness
Runtime
- 06-Isolation-and-Storage
- 07-Local-Runtime
- 08-Workdir
- 09-Tech-Stack
- 10-Sandbox
- 11-Storage
- 13-Permissions
- 24-Durable-Execution
Product
- 12-UI-Layout
- 33-Narrow-Layout
- 39-Workbench
- 41-Project-Team
- 42-Task-Run-View
- 45-Bot-File-Cards
- 47-File-WebApp-Viewer
Capabilities
- 14-Models-and-Browser
- 15-Interactive-Execution
- 16-Capability-Models
- 17-MinerU-Document-Parsing
- 18-Inline-Setup
- 19-Work-Path-and-Group-Setup
- 20-Conversation-Media
- 21-Web-Search
- 22-File-Skill-Routing
- 23-MCP-and-SubAgent
- 25-Capability-Tools
- 26-Voice-Input
- 31-Sensors
- 32-Bot-Widgets
- 35-Mail-Channel
- 36-Wiki-Multimodal-Ingest
- 38-Conversational-Settings
Team & agents
- 27-Butler-and-Delegation
- 28-External-Agents-ACP
- 37-Bot-Asset-Handover
- 41-InkCop-Local-Collab
- 48-Bot-Template-Export
Cloud & remote