# #OwnFrontier 2027 Architecture & Threat Model

- Canonical URL: https://ownfrontier.com/architecture/
- Author: Iurii Trukhin (also known as Yuri Trukhin) <yuri@trukhin.com>

## 1. Single Local Daemon & Zero-Electron Surfaces
One `127.0.0.1` daemon serves GTK4/WebKitGTK (Linux primary), WKWebView (macOS preview), WebView2 (Windows preview), a 120 FPS differential TUI (`12.7 ms` median first TUI frame with empty home on Linux ARM64, `NO_COLOR=1`), composable `--output jsonl` CLI, and mobile companion.

## 2. Always-Live Chief & Scheduled Tasks
- Persistent `Chief` agent with unified dispatch across projects/worktrees, adaptive Generative UI (Mission Boards, Z+ Decision Cards, comparative tables), and proactive scientific uplift.
- First-class `Scheduled` menu directly under `Chief` in both GUI and TUI (`/schedule`) with cron/one-shot/interval editor, Run Now, Pause/Resume, and auditable run receipts.

## 3. High-Throughput `@browser` & Off-Cursor `@computer`
- `@browser`: persistent pooled CDP, AX+DOM fusion, event-driven waits, origin-scoped vault fills, high-volume parallel pipelines.
- `@computer`: OS-native background control (Linux Wayland/Portal/wlroots/AT-SPI2/X11, macOS AX/CGEvent/ScreenCaptureKit, Windows UIA/WGC) prioritizing non-intrusive off-cursor execution and batched compound actions.

## 4. Cryptographic Safety & Open Protocols
- Fail-closed OS sandbox (`bubblewrap` + seccomp-BPF on Linux, Seatbelt on macOS, AppContainer on Windows), zero idle outbound traffic.
- Single-use SHA-256 `ApprovalGate` for actions routed through `#OwnFrontier`, fail-closed TOCTOU drift detection, mandatory post-write readback, stream-aware secret redaction.
- Bidirectional `ACP` (connected external ACP agents keep their own internal tool boundaries), `MCP`, and capability-scoped Wasm `OCS` extensions (zero `dlopen`, zero host-DOM JS injection).
