Skip to content

Component status

One row per component shown in the diagrams. Every box in a diagram links to its row here. The states are taken from the project’s status file (docs/STATUS.md in the code repo) as of Oct 14, 2026, and never go beyond it.

State Meaning
Works live Deployed and exercised against the live Worker and real Artifacts repos.
Built, not verified live Built and tested (unit tests, fakes or dry runs), but not deployed or not yet run against the live system.
Stubbed Present in the code but returns placeholder or sample data.
Planned Decided or wired up, but the behaviour is not built.

The hosted web app requires Cloudflare Access sign-in. To evaluate Wayglass in your own account, follow the self-hosting guide.

ComponentStateHow it was verifiedSource
wayglass CLI
One Go binary. Every command takes --json and returns the {"v":1,"ok":...} envelope for agents.
Works livescripts/demo/golden-path.sh runs three agents in parallel against the live Worker, each on its own agent key: 21/21 pass. 603 Go tests and subtests in the root module.cmd/wayglass
internal/cli
TUI: wayglass watch
Bubble Tea view of intents, declared vs pushed paths, tags as they are classified, overlaps and counters.
Works liveRuns against the live Worker. Overlaps carry a suggested re-plan; nothing re-plans automatically.internal/tui
TUI: wayglass review
Queue of changes routed to a person; approve or reject with a required reason. review --for agent --json lists agent_review work for a reviewer agent.
Works liveSmoke-tested live Oct 14 on the us and eu demo projects: queue, detail and all-decisions views render; the approve and reject forms open and cancel with nothing recorded. Decisions themselves are verified live from the CLI.internal/tui
Desktop app
Wails v2 app: swarm, Needs-you queue with approve/reject and a reason, overlaps, audit timeline, counters.
Works liveExercised on screen against the live Worker Oct 14 (swarm, Needs-you queue, overlaps, audit timeline on both demo projects). Approved a change from the window on the live Worker Oct 14 (throwaway project; AI advice asked, author landed it). Go tests against a fake Worker.desktop
Web app
The audit view at / and the review console at /console/, served by the Worker. Sign in with Cloudflare Access on the hosted app, or with a key when self-hosted without Access. Approve or reject with a reason through the same Worker checks.
Works liveServed live behind Cloudflare Access on api.wayglass.dev. Model tests (tests/console-model.test.mjs); the Chrome run (tests/console-browser.mjs) was not rerun after the Access changes.web/console
Public audit view
Read-only page at the Worker root: overview, intents, decisions, audit timeline, measured cost. Anonymous reads require a self-hosted Worker configured with --public, Access off, and projects that opted in.
Works liveChecked Oct 13 on demo projects through /v1/public/projects/<name>/... (golden path step 8). Since Oct 14 the hosted Worker serves no anonymous reads: /v1/public answers 404 there, and the signed-in web app reads the trail with its session key.web
worker/src/public.ts
selfhost.sh
Deploys the Worker to your own Cloudflare account from a generated, git-ignored wrangler config. --access sets up Cloudflare Access sign-in on a custom domain or on workers.dev; --uninstall removes it all.
Built, not verified liveRun live by an evaluator agent on an existing account (Tier B, 10/10) and, on Oct 14, on a brand-new account (Tier A passed; the Access sign-in it set up was verified there). Stub tests in CI (scripts/test-selfhost.sh) and shellcheck. The fresh-account run was still in progress at the status cutoff.scripts/selfhost.sh
Release builds and install.sh
macOS and Linux archives (arm64, amd64) with checksums, and an install script that verifies them.
Built, not verified livemake release-dry-run builds them. No release is tagged yet, so the public install line fails until one is published.scripts/install.sh
release workflow
ComponentStateHow it was verifiedSource
Worker (api.wayglass.dev)
TypeScript Worker: auth, token minting, intents and forks, abandon and restack, push and overlap check, propose, decide, land, audit, why, sessions, keys, Access sign-in, read-only browse routes, public routes, static assets.
Works liveDeployed by Workers Builds from main; routes checked Oct 13 against api.wayglass.dev. 447 Vitest tests.worker/src
Project Durable Object
One SQLite-backed object per project: intents, decisions, approvals, sessions and the append-only audit log.
Works liveUsed by every live project route.worker/src/project.ts
Registry Durable Object
Holds SHA-256 hashes of agent and human keys (wgk_...), the name each one is bound to, its kind, source and expiry, and the key event log (GET /v1/keys/events).
Works livePer-agent keys, human keys, Access-minted keys and GET /v1/whoami are deployed.worker/src/keys.ts
Policy evaluator (Go, Wasm)
The same Go evaluator the CLI uses for its preview, compiled to WebAssembly and run on the Worker for the decision that counts.
Works liveDeployed (policy wire v2). make wasm-check rebuilds policy.wasm reproducibly.internal/policy
cmd/policywasm
Shadow mode
Rules with mode: shadow are logged (shadow_matches, would_differ) without being enforced.
Works liveDeployed; wayglass policy test previews it locally.internal/policy
ComponentStateHow it was verifiedSource
Artifacts namespace wayglass (us)
Trunks and intent forks of projects created with --jurisdiction us. Binding ARTIFACTS.
Works liveGolden path runs on demo projects in this namespace.worker/wrangler.jsonc
Artifacts namespace wayglass-eu (eu)
Trunks and forks of projects created with --jurisdiction eu. Binding ARTIFACTS_EU. Changes here are tagged eu.
Works livePII changes quarantined live on an eu-demo project (golden path step 4).worker/wrangler.jsonc
Queue artifacts-events
Receives cf.artifacts.repo.* events from per-trunk event subscriptions; the Worker consumes them.
Works liveQueue consumer and per-trunk push subscriptions are deployed; trunk pushes are counted from these events.worker/src/events.ts
worker/src/subscriptions.ts
Workers Builds
Builds and deploys the Worker on every push to main.
Works liveCheck runs on each main commit report the build and deploy.worker
Workers AI binding and AI Gateway
The optional AI reviewer calls Workers AI through the AI binding and routes calls through AI_GATEWAY_ID when configured. It can approve an eligible agent_review change or escalate it to a person. Human-routed changes still require human approval. Self-hosting leaves the reviewer off by default.
Works liveLive on Oct 14 at ce3bb14: Workers AI approved a routine change, its why-note was verified, reviewer-directed instructions escalated, and an auth change refused AI approval while receiving advice. The test project and keys were removed. Daily reservations passed concurrency/fallback tests. Anthropic and OpenAI calls are locally tested, not verified live.worker/src/aireview.ts
worker/test/ai-review.test.ts
docs/POLICY.md
worker/wrangler.jsonc
ComponentStateHow it was verifiedSource
Intents and forks
intent declare records goal, paths and reason; the Worker forks the trunk for it and returns a fork token. --on stacks on an unlanded intent.
Works liveGolden path steps 1 and 2.internal/intent
worker/src/index.ts
Overlap check
On push, declared and pushed paths are compared with every open intent. Overlaps carry a suggested re-plan (land_first, stack, split).
Works liveGolden path step 3. The re-plan is a suggestion; nothing re-plans automatically.worker/src/paths.ts
Classification
The Worker computes the diff itself and tags it: area, data class, risk, jurisdiction. It classifies only what landing would add to the trunk (the fork head from its merge base with the trunk), so trunk files merged in by wayglass sync do not count.
Works liveGolden path step 4. The own-change diff was verified live Oct 14 on a throwaway project (a synced intent was classified on its own file only).internal/classify
worker/src/diff.ts
Policy actions
.wayglass/policy.yaml maps tags to auto_merge, agent_review, human_approve, multi_approve, quarantine or block.
Works liveDocs auto-merge, auth to a person and PII quarantine all seen live (golden path step 4).internal/policy
Approve and reject
A person or reviewer agent decides with a reason. No self-approval; filler and placeholder reasons are refused.
Works liveapprove and reject work live (golden path step 5).worker/src/index.ts
Land
Merges an approved change onto the trunk with a 300 s trunk token; the Worker verifies the result (landed) or takes it back (land/abort). Only the intent author or the admin key may land; it works from any checkout (wayglass clone), fetching the approved commit from the fork.
Works liveWorks live; conflicts stop with land_conflict. If the trunk policy changed since the decision, land refuses with policy_changed and the change must be proposed again (verified live Oct 14).internal/cli
Git notes and why
The decision is written to refs/notes/wayglass on the landed commit; wayglass why <file>:<line> reads it back.
Works liveGolden path step 6. why checks each note against the Worker (verified: worker, mismatch or unchecked), because anyone who can push could forge one.internal/notes
Audit log
Every intent, push, overlap, decision, verdict, token, land and abort is appended to the project log. No edit route; only throwaway projects (demo-test-*, eu-demo-test-*) can be deleted whole, with the admin key (wayglass project delete).
Works liveRead live through wayglass log, the audit view and GET /v1/audit.internal/audit
worker/src/project.ts
Session share and fork
session share publishes an intent with its notes and context; session fork continues it on another machine, stacked on the source.
Works liveShared on a Mac, forked, pushed and proposed in a linux/arm64 container (golden path step 7).scripts/demo/second-machine
Sync with the trunk
wayglass sync fetches the trunk into an intent clone with a 60 s read-only token and merges it (never rebases); a conflict stops with sync_conflict and the files to resolve. Then push and propose again.
Works liveVerified live Oct 14 on a throwaway project: policy edit landed, land refused with policy_changed, sync merged, no token left in .git, re-proposed, approved and landed.internal/cli
100-agent scale run
scripts/demo/scale.sh starts N agents at once on a fresh project, each with its own agent key, seven of them breaking one rule each, and checks every breaker is caught.
Works live100 agents live Oct 14: 448 s wall, 7/7 breakers caught, 0 server errors, 58 landed, 3,986 metered Artifacts operations (39.9 per agent). Declare p50 5.2 s, push 2.7 s, propose 1.3 s (docs/scale-run-2026-10-14.md). These agents are scripts, not language models.scripts/demo/scale.sh
ComponentStateHow it was verifiedSource
Cloudflare credentials
Only the Worker holds them: Artifacts through bindings, plus Worker secrets (admin key, account id, a Queues-only token). None in the Go binary.
Works liveWorker secrets set on the deployed Worker.worker/src/env.d.ts
Admin key, agent keys and human keys
Clients call the Worker with a key. Agent keys and human keys (keys create --human, or minted by an Access sign-in) are bound to one name; the admin key names itself.
Works liveDeployed. Only a person (the admin key or a human key) can decide a change policy routed to a person; an agent key gets needs_human. Project-scoped keys are not built.worker/src/auth.ts
worker/src/keys.ts
Short-lived repo tokens
Per-repo Artifacts tokens: fork write 900 s, land trunk write 300 s, trunk read 60 s (doctor, sync, clone, plain git fetch after clone), fork read 300 s (diff, clone --intent, land from another checkout). Passed to git through environment variables or the credential helper, never on disk.
Works liveUsed by every live push and land; the read tokens were verified live Oct 14 (sync, clone and plain git fetch on demo-1791938487).internal/gitx
worker/src/artifacts.ts
Cloudflare Access sign-in
People sign in through Cloudflare Access; agents keep keys. The Worker verifies the Access token itself and mints a 12-hour human key bound to the email, recorded on approvals as "(Access)". wayglass login --human signs in from the terminal.
Built, not verified liveThe gate is live on api.wayglass.dev: the web app and /v1/human redirect to the Access login, the key API answers 401 without a key. A real sign-in end to end (browser and wayglass login --human) was verified Oct 14 on a brand-new account's own Worker, not yet on api.wayglass.dev. Sign-out from the web app is not yet tried in a browser.worker/src/access.ts
Untrusted text guard
Goals, reasons, paths, notes and commit text come from agents and are treated as data. The Worker refuses control characters; the CLI strips terminal escapes and bidi controls; --json lists agent-written fields in untrusted.
Works liveDeployed Oct 14. A forged git note shows verified: mismatch in why.internal/textsafe

These are listed as open in the status file and are not shown as components:

  • Artifacts has no branch protection. The Worker detects a trunk push that was not an approved land, after the fact; it cannot prevent one.
  • Agent keys are long-lived and not scoped to a project. Short-lived session tokens for agents and project-scoped keys are not built. (Human keys minted by an Access sign-in expire after 12 hours.)
  • Third-party AI providers have local tests but no recorded live calls. The hosted Workers AI reviewer, advisory route and human gate passed a live check on October 14; daily budgets are covered by concurrency and fallback tests. See the AI review guide for evidence and limits.
  • The queue consumer maps a repo to its project by name only, which holds while names are unique across the two namespaces.