# URI schemes & VFS

> Eleven orthogonal URI schemes and six VFS syscalls address every unit of intelligence, machine, person and asset.

Kernuq takes UNIX's "everything is a file" one step further: **everything is a URI**.

## Eleven schemes

| Scheme | Meaning |
| --- | --- |
| `provider://` | Intelligence supply: LLM and ACP |
| `compute://` | Execution: local host / SSH / Cloudflare Sandbox |
| `vault://` | Vault: AES-256-GCM credentials, blind-injected |
| `channel://` | Channels: webhook, email, IM |
| `vfs://` | Virtual file system: asset addressing |
| `tool://` | Tools: built-in, MCP, WASM, IPC drivers |
| `harness://` | Rotors |
| `agent://` | MicroAgents |
| `human://` | Human seats |
| `org://` | Org units, business lines and formations |
| `ui://` | Interface: SDUI views, widgets and ROM |

## Six syscalls

Every resource shares one set of primitives: `Stat`, `OpenRead`, `OpenWrite`, `Invoke`, `Watch`, `Control`.

## Invariants

- **Pass by reference** — payloads over 16 KB or binary media must live in `vfs://`; contexts carry only the URI.
- **Path traversal is blocked in Ring 0** — any path containing `..` is rejected.
- **`ui://rom/*` is physically immutable.**

## Hypertext capsules (KHLP)

Paste a `scheme://` address into the omnibar and it collapses into a clickable capsule with a type icon and a short name. Underneath is a lossless hypertext format:

```text
Ask @[Drama Studio](org://unit/drama) to rewrite @[Script v3](vfs://drama/script-v3.md) with @[DeepSeek](provider://llm/deepseek/reasoner)
```

See `kernuq schema hypertext-input` for the full contract.
