Svelte browser client and its build/static assets. The Rust gateway is peritus-web; the daemon owns agent execution.
| File | Role |
|---|---|
| COMMANDS.md | Document: Command and capability routing. |
| DAEMON-INVESTIGATION.md | Document: Local daemon investigation — 2026-09-12. |
| README.md | Human guide and operating/background notes for this folder; AGENTS.md provides the local navigation map. |
| SECURITY.md | Document: Experimental WebUI security boundaries. |
| THIRD-PARTY.md | Document: Frontend third-party notices. |
| index.html | Browser HTML mount document loaded by the frontend entrypoint. |
| package-lock.json | Locked dependency resolution for the neighboring package manifest. |
| package.json | Node package metadata, dependencies and scripts for peritus-webui. |
| svelte.config.js | Svelte compiler/preprocessor configuration for the browser client. |
| tsconfig.json | TypeScript compiler and source-inclusion settings for the browser client. |
| vite.config.ts | Vite build/dev-server configuration and API proxy routing to the Rust gateway. |
| Folder | Role / next waypoint |
|---|---|
| public/ | Static files copied into the browser build, including source-controlled notices and other public assets. |
| scripts/ | Frontend inspection utility for observing the real browser interface and retaining screenshots/interaction observations. |
| src/ | Browser UI entrypoint, application composition, and client-side modules. |
Start with package.json, then trace UI state through the typed API boundary to the Rust gateway and daemon owner before changing behavior. Keep presentation-only state separate from durable run authority, and update the local component or file route when the browser surface moves.
Navigation: Parent waypoint · Repository map.
Keep this waypoint aligned when local files or child responsibilities change. Descriptions are orientation, not a substitute for reading the current implementation.