06
LAYER 06 / 06

Runtime

The runtime layer manages security and state. It enforces permission levels (from plan mode to full auto), runs tools in sandboxed environments, manages session persistence, and handles the context window — the working memory that makes long conversations possible.

AT A GLANCE
3
Memory Scopes
[ DETAILS ]
JWT
Bridge Auth
[ DETAILS ]
Zod v4
Config Schemas
[ DETAILS ]
React
Terminal UI
[ DETAILS ]

Permission Levels

Plan ModeAuto EditFull AutoDon't Ask
Auto Edit

Can read and edit files, but needs approval for shell commands.

ReadGrepGlobEditWriteBashAgent

Context Window (1M tokens)

Conversation
Tool Results
Available
System Prompt8%
CLAUDE.md3%
Conversation25%
Tool Results15%
Available49%
Used
510k
Available
490k
Total
1M