FIELD GUIDE / ARCHITECTURE

V-native core.
Versioned clients.

Veasel is server-first. The V application owns session state, storage, event history, bounded workspace tools, and the provider loop. Clients — the SolidJS + OpenTUI terminal UI today, anything on the HTTP API tomorrow — stay behind that boundary.

Builder · SSE · json2 — performance without fake numbers

Hot paths use strings.Builder, resumable events ride SSE with monotonic IDs, and contracts decode through json2. We publish process-startup microbenchmarks when measured — never invented agent-quality scores or Harbor Index claims.

State change first, event alongside it

Session state and its creation event are written in one database transaction. The event stream carries monotonically increasing IDs so a client can reconnect from a cursor and recover what it missed.

Permission before effect

The model can propose a bounded replacement for one text file. Veasel saves its diff without touching the workspace. In the normal TUI flow, the user opens that diff before a one-time approval can apply it; application verifies the reviewed file snapshot and uses an atomic replacement. Shell commands require a separate review of the exact command, workspace directory, and timeout before a one-time approval. Approved shell defaults to Bubblewrap (Linux), Seatbelt (macOS), or AppContainer+Job (Windows), with a missing backend refusing execution. Explicit VEASEL_SHELL_SANDBOX=auto permits unsandboxed fallback and off disables wrapping; those modes inherit the server environment. The loopback API has no application token, so same-user processes can call approval routes. Interrupted file writes and shell commands are not replayed automatically.

What stays out of marketing math

Feature presence is not a task-resolution score. Cross-agent latency, cost-per-solved-task, and Harbor Index / Terminal-Bench / SWE-bench leaderboards are not claimed here. See Benchmarks for measured process-startup artifacts only.

Open the implementation plan