AGENTS.md@apps/desktop/src · diff
git:20260815.34bdc98 to git:20260910.f078337
1 added, 1 removed. Audit A to A.
# Contents
- - `main.zig` – Atet identity, frontend source, gateway lifecycle, bridge dispatcher, navigation policy, icon, and initial window.
+ - `main.zig` – Slopcamera identity, frontend source, gateway lifecycle, bridge dispatcher, navigation policy, icon, and initial window.
- `runtime_host.zig` – asynchronous gateway process, bounded JSONL request/response transport, and UI-loop responder delivery.
- `runner.zig` – pinned Native SDK lifecycle, logging, platform, and WebView integration.
# Guidelines
- Keep product composition in `main.zig`; keep `runner.zig` aligned with the pinned Native SDK scaffold.
- Keep child I/O off the UI thread and call bridge responders only while draining effects on the UI loop.
- Keep bridge command names and allowed origins identical in `runtime_host.zig`, `app.zon`, and TypeScript contracts.
- Resolve packaged gateway and capture-helper paths only inside the signed app resources. Development overrides must be absolute and are ignored from a packaged app.
- Do not expose generic filesystem, process, clipboard, network, camera, or microphone capabilities to the renderer. Recording crosses one owned bridge command.