Status: in progress (see the progress table below). This plan follows the public roadmap and the detailed web control plane roadmap. Pick milestones in order; each one ships on its own and has a “done when” check. Sizes: S ≈ days, M ≈ 1–2 weeks, L ≈ several weeks.
Principles (unchanged): one binary, embedded SQLite, no required external services; every feature is optional and off by default; every change is an audited event; nothing is called validated without a CI test.
| Item | State |
|---|---|
M0: app lists, hidden apps, list view, bulk actions, paging, agent.md |
✅ Shipped (PR 27) |
M0: server-side paging (limit, offset, X-Total-Count), groups can’t reference hidden apps, bulk rollback |
✅ Done |
| M0: mobile test of the new screens | ⬜ Not done |
| M2: live URL check after promotion, rollback that keeps the HTTP status or error, on-demand check | ✅ Done (experimental) |
| M2: deploy hooks, approval gates, canary and traffic split, preview environments | ⬜ Not started |
M3: Prometheus /metrics and Grafana dashboard, on demand |
✅ Done (experimental); request counts per app need proxy counters first |
| M3: more alert channels, alert rules, log shipping, status page | ⬜ Not started |
| M5: jobs (cron and one-off commands) | ✅ Done (experimental) |
| M5: managed add-ons, buildpacks, scale to zero, autoscaling | ⬜ Not started (see “Why M5 is split”) |
| Subdomain quick-add in the dashboard | ✅ Done |
Why M5 is split. Add-ons (Postgres, Redis) need a non-HTTP health check (pg_isready through docker exec), backups of their volumes and a way to hand connection strings to an app. Buildpacks need a builder (Nixpacks or pack) installed and a CI deploy test per language. Scale to zero and autoscaling both need per-app request counts in the built-in proxy, which would also feed canary deploys and Prometheus. Each is its own change.
| Item | Done when |
|---|---|
Merge PR #27 (app lists, hidden apps, list view, bulk actions, paging, agent.md) |
CI green on cargo test --workspace, cargo check --benches, Playwright (desktop and mobile) |
| Mobile check of the new screens (list view, bulk bar, pager, Users apps picker) | ui-tests/tests/mobile.spec.js covers them |
Server-side paging for /deployments and /events (limit, offset, total count header) |
A server with 100k events loads the Events page without fetching them all |
| Groups can’t reference apps the caller can’t see | A test creates a group as an admin who hasn’t unlocked an app and gets 404 |
| Bulk actions for groups (deploy/rollback several groups) and bulk Rollback | UI test |
Why: today’s limits only apply to signed-in sessions. Staff sharing and CI need finer scopes.
read / deploy). Reuses the Visibility check from core/web/src/access.rs for tokens.GET /events as NDJSON with a cursor, plus an optional syslog/webhook sink.Done when: a token limited to wayog-api can deploy it and gets 404 on every other app; a user with TOTP can’t sign in with the password alone; an OIDC user lands with the mapped role and apps; each has a test in core/web/tests/.
<version>.<app-domain>), for manual checks before promoting.pre_deploy, post_deploy and on_failure commands in aegis.toml (migrations, cache warm-up, notifications).pr-42.app.example.com), created by the GitHub webhook and removed when the PR closes.Done when: a test deploys a release that returns 5xx for 20% of requests and the canary rolls back with no more than the canary share of requests failing; hooks run in order and a failing pre_deploy stops the deploy.
/metrics (token-protected): per-app process, restart, request count/latency/error counters from the proxy, deployment durations, host gauges. A ready Grafana dashboard in examples/.Done when: a Prometheus scrape of a test daemon shows the app’s request counters, and a forced failure produces one alert in each configured channel (against local fakes in CI).
Cloud providers and independent hosts are all optional plugins built on the event bus and the existing plugin crate.
| Area | What | Providers |
|---|---|---|
| Backups | Scheduled upload of backups to S3-compatible storage; retention rules; restore from a bucket | AWS S3, GCS, Azure Blob, Backblaze B2, Cloudflare R2, Wasabi, MinIO |
| Secrets | Resolve secret:// references at start time; no copy stored in Aegis |
AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, HashiCorp Vault, 1Password Connect |
| DNS and certificates | Create records when a domain is mapped; DNS-01 challenge for wildcard certificates | Cloudflare, Route 53, Cloud DNS, Azure DNS, DigitalOcean, Hetzner DNS |
| Registries | Pull private images for Docker apps; push built images | Docker Hub, GHCR, ECR, GCR/Artifact Registry, ACR |
Done when: a backup lands in a MinIO container in CI and restores onto a fresh data directory; a secret:// value from a fake Vault reaches the app but never the database or events.
Done when: a Postgres add-on survives an Aegis restart and a restore test; a Python and a Go example deploy in CI through the buildpack path.
aegis-agent that a main Aegis controls over mutual TLS; same API surface for deploys, logs, metrics and process control.install.sh --server).aegis --node web-2 ...); apps pinned to a node, or replicated across nodes behind the controller’s proxy.Done when: two nodes in CI (containers) serve one app, one node is killed, and the controller reports it and keeps the other serving.
Carried over from proof_phase.md: published 24 h+ soak, blocking benchmark thresholds, Aegis deploying itself, tested PM2/systemd migration, macOS and Windows test runs, install.sh --server run in CI, and certificate issuance against a real (staging) ACME CA. Every new milestone adds its rows to feature_maturity.md as 🧪 Experimental until a CI test backs them.
M0 ──► M1 (access) ──► M3 (observability) ──► M2 (canary needs error-rate metrics)
│ │
└────────► M4 (integrations) ──► M5 (add-ons need backups) ──► M6 (fleet)
M7 runs alongside everything
First slice to start (about 3–4 weeks): M0, then per-app API tokens and TOTP from M1, S3 backups from M4, and Prometheus /metrics plus email/Discord/Telegram alerts from M3.
Visibility check; keep it the only place that decides what a caller sees and test every new endpoint against it.