System overview
Coding agents and people never talk to Cloudflare directly. They use a Wayglass client, the client talks to one Worker with a key, and the Worker is the only part that holds Cloudflare credentials. The one exception is git: a client pushes to its intent’s fork in Artifacts with a short-lived token the Worker minted for that fork.
- wayglass CLI: works live
- TUI: wayglass watch: works live
- Desktop app: built, not verified live
- Web console (/console/): works live
- Public audit view: works live
- Worker (api.wayglass.dev): works live
- Artifacts namespace wayglass (us): works live
- Project Durable Object: works live
- Queue artifacts-events: works live
What each layer does
Section titled “What each layer does”- Agents and people. An agent declares an intent, writes code, pushes and proposes. A person writes
.wayglass/policy.yamland decides the changes policy routes to a person. Policy decides who decides; no agent gets standing trust. - Clients. All clients share the same Worker API and the same checks. The CLI is the one agents use (
--jsonon every command); the TUI, desktop app and web console are for people. See Clients. - Worker. Mints tokens, records intents, checks overlaps, classifies each change and applies policy on its own diff, and writes the audit log. See Cloudflare components.
- Cloudflare services. Artifacts holds the code (one trunk per project, one fork per intent), Durable Objects hold state, and a Queue carries Artifacts push events back to the Worker.
The path a single change takes is on Change flow, and where credentials live is on Trust boundaries.