25 first-use stories + 35 field walkthroughs · Zero Hub → Local Hub → Cloud Hub
See how developers deploy apps, check and share the right env without Slack .env leaks, copy and adapt bases, run cross-console swarms and sandboxes, and manage platforms as apps. Jump to the full Zero → Cloud table ↓ · Interactive storyboards (4 click-throughs) → · Video demos → · Swarms pitch deck (5 slides) → · Agentic Ops deck (6 slides) →
.envAlice has shop running with staging settings and test services (Stripe test mode, Supabase staging, OpenAI). Bob clones the repo and hits Missing OPENAI_API_KEY. Instead of pasting secrets into Slack, Alice passes a 24-hour, test-only invite backed by a key-to-key handoff — zero Bob signup, zero .env written to Bob’s disk, and instant revocation with zero upstream key rotation.
ch_proxy_...)
cub env share shop --variant staging --mode test \
--proxy openai=OPENAI_API_KEY --max-requests 50 --server "$RELAY" --approve-waitcub env join "$INVITE_URL" --as bob -- npm run dev--proxy): Bob gets OPENAI_BASE_URL + a scoped ch_proxy_... token — never Alice’s real upstream key — with instant, zero-rotation revoke.--include-test-key): Test keys seal end-to-end with X25519 so the relay never sees plaintext (self-hosted agentauth-server works today; hosted confighub.com relay is Provisional & opt-in).Try interactive storyboard → · Read full Story 29 walkthrough → · Watch 78s silent demo video (MP4) ↗ · Sandbox & relay setup →
╭─ ConfigHub · Env Invite · shop (staging · 24h · test-only) ────╮ │ ├── invite https://relay.example/env/CH-7M3P-4R9K │ │ ├── unlocks 2 staging settings + 1 brokered proxy token (50 req)│ │ ├── guard live keys blocked (--mode test) · revocable anytime│ │ ├── revoke POST .../v1/proxy/grants/pg_.../revoke │ │ └── run cub env join .../env/CH-7M3P-4R9K -- npm run dev │ ╰────────────────────────────────────────────────────────────────╯ # Bob's process env (memory only — zero .env written to disk): EDGE_CACHE_SECONDS=30 OPENAI_BASE_URL=https://relay.example/v1/proxy/pg_8f2a... OPENAI_API_KEY=ch_proxy_9c4e... # Alice's real key never leaves the relay
Owns the non-secret staging Units/Variants, NeedsProvides service links, policy checks (blocking live/prod keys in test mode), scoped read access, and capturing Bob’s non-secret tuning back as a reviewed proposal. Never stores plaintext secrets.
ConfigHub Server is not SOPS, Vault, or an LLM gateway. Teams point secret refs at vault://, 1password://, AWS/GCP Secret Manager, ESO, or Secrets Store CSI Driver (and can inspect every named secret key across Units via cub plugin install confighub/cub-secret && cub secret list, v0.1.0 early preview, with zero cluster/cloud creds), and point OPENAI_BASE_URL at their own gateway (LiteLLM, Cloudflare AI Gateway). The standalone agentauth-server relay is only an optional zero-infra dev bridge for Tier 2 X25519 handoff or Tier 3 test proxy tokens.
The confighub / cub CLI pulls live non-secret config from ConfigHub, resolves the secret or broker reference strictly into child process memory (zero .env on disk), boots the app/sandbox, and optionally submits Bob’s non-secret tweaks back to Alice.
hub.confighub.com Enterprise Proof (Slide 4) → · Watch 99s silent MP4 ↗ · Cloud Hub → · dogfood tracker (#1074)).
Watch the silent, slow-paced walkthroughs with simple story cards (no voiceover), or browse all 6 architecture slides.
▶ Watch silent walkthroughs → · 6-slide deck · Story 31 · Story 32
3-layer stack (swarm boards vs. sandboxes vs. ConfigHub), one MIT plugin across Claude Code, Codex & Google Antigravity, plus c3agent & google/ax blueprints.
Every story organized from Stage 1 (Zero Hub MIT plugin, offline) to Stage 2 (Local Hub on laptop) to Stage 3 (Cloud / VPC Hub for multi-machine swarms & fleets), tagged by the everyday basic job it solves.
| Stage | Basic (job) | Story / Walkthrough | Problem solved | Key primitive |
|---|---|---|---|---|
| 1 · Zero Hub | Check env | 23. Theo’s first app | Every config edit carries the prompt/reason from file #1 — no forgotten settings tomorrow. | cub agent why |
| 1 · Zero Hub | Deploy app safely | 27. Production waits | Agent reaches for prod with your shell creds (fly/vercel/heroku) — held once before running. |
PreToolUse prod hold |
| 1 · Zero Hub | Check repo & env | Tool: GitOps Inventory | Map what deploys what across Helm/Kustomize/Argo/Flux read-only, with no cluster or hub. | /confighub:inventory |
| 1 · Zero Hub | Get & share right env | 29. Share working env | Pass staging settings + sealed/brokered test keys into a teammate’s memory — zero .env in Slack. |
cub env share / join |
| 1 · Zero Hub | Swarms (1 machine) | 35. Cross-console swarms | Antigravity, Claude Code & Codex workers share worktree reasons, block silent undos & halt together. | --git-common-dir + cub agent halt |
| 1 · Zero Hub | Sandboxes (ephemeral) | Tool: nono, Daytona & AX |
Keep live keys out of sandboxes and capture tuned config diffs + reasons on SIGTERM before exit. |
cub env exec --mode test --capture |
| 1 · Zero Hub | Deploy immutable config | 31. New 12-Factor + OCI Bundles | Auto-validate YAML on every edit and pack deterministic OCI bundles for K8s 1.36+ volumes[].image. |
cub bundle build / podspec |
| 1 · Zero Hub | Deploy > 1 MiB config | 32. 20 Grafana Dashboards OCI | Beat etcd’s 1 MiB ConfigMap cap by packing ~1.6 MiB of dashboards into one OCI Image Volume. |
cub bundle validate + build |
| 2 · Local Hub | Deploy app (first hour) | 13. Sam’s first hour | Start a laptop hub with staging vs. prod and prove an agent cannot self-approve production. | cub server local up + cub inbox |
| 2 · Local Hub | Get right env (existing app) | 26. Staging in your own app | Adopt an existing repo as-is; run staging and approved prod live without rewriting app files. | cub repo adopt |
| 2 · Local Hub | Get right env (isolate staging) | 20. Noor’s staging | Let an agent bump staging memory freely while production stays untouched until approved. | staging / live variants |
| 2 · Local Hub | Deploy structured YAML | 30. Structured YAML → ConfigMap | Graduate past flat .env to typed AppConfig/YAML mounted at /etc/<app>/ with rolling updates & PSS. |
AppConfig/YAML + --roll-on-configmap |
| 2 · Local Hub | Copy & preview env | 3. Hub per run · 4. Preview branch | Fork a disposable preview of prod for a branch or risky agent run, see it live in Argo CD, then delete. | cub env preview |
| 2 · Local Hub | Copy, adapt & upgrade | 2. Keep changes · 7. Next version | Take ~100 upstream updates months later while keeping every intentional local override and its reason. | 3-way merge + base inheritance |
| 2 · Local Hub | Check env & right-size | 18. Fits pattern · 21. Sized by load | Measure CPU/memory under load, propose new limits with proof, and block policy violations automatically. | Policy Triggers + measured why |
| 2 · Local Hub | Copy & harden starter | 25. Alice ships, Bob hardens · 8. Agent config | Turn reviewer fixes (or shared AI assistant prompts/models) into a versioned base every app inherits. | Versioned Starters / Bases |
| 2 · Local Hub | Check drift & hand back | 1. Find fault · 9. Git vs hub · 15. The telling | Compare Git vs. hub vs. live cluster, surface waiting approvals, and export plain Git files cleanly. | cub repo drift + plain export |
| 2 · Local Hub | Deploy to VM / PaaS / Temporal | 5. Temporal · 14. Sam’s VM · 16. App platform | Deliver approved config to VMs, Temporal, Vercel, Fly, Heroku, or Unikraft with 1-command rollback. | cub repo deliver / rollback |
| 2 · Local Hub | Emergency stop & undo | 19. Sam’s bad afternoon | Halt every agent session, revoke its key, inspect every change it made, and roll back cleanly. | cub agent halt + key revoke |
| 3 · Cloud Hub | Promote laptop → team | 12. Laptop connects out | Keep your laptop hub private (0 inbound ports) and push finished config + reasons to Cloud Hub. | cub local connect / to-hub |
| 3 · Cloud Hub | Multi-agent handoff (2 AM) | 28. Three agents, 0 shared chat | Claude Code, Codex & Antigravity use scoped service accounts to ship, harden, and recover fx-api. |
Scoped service accounts |
| 3 · Cloud Hub | Multi-party RBAC & prod gate | 10. A key each · 11. Propose, not approve | Give each person, agent, and vendor a scoped key; server refuses out-of-scope writes & self-approval. | Per-actor keys + ChangeOrder |
| 3 · Cloud Hub | Slack & PR approvals (SSO) | 22. Priya approves in Slack · Tool: PRs behind SSO | Alert owners in Slack without letting chat text approve prod; record GitHub PR diffs + approvers under SSO. | Signed approval attestation |
| 3 · Cloud Hub | Swarm pods (c3agent) |
33. c3agent workstreams |
Bake ~4.8 MB MIT Linux plugin into pods (0 Postgres), post hook warnings to Slack & gate prod in hub. | Linux Zero Hub + cub inbox approve |
| 3 · Cloud Hub | Cloud sandboxes (google/ax) |
34. Google AX + Gateway | Pre-warm hooks across suspend/resume, inject Hub tokens via Gateway & govern AX YAML as a Component. |
AX Workspace + Gateway fencing |
| 3 · Cloud Hub | Platform as app & fleets | 6. Fleet audit · 17. Portal is agent · 24. 1 base, 10 apps | Query every customer/cluster in one command, replace Backstage portals & roll 1 base bump (e.g. PQC) across fleets. | Fleet query + shared base + OCI |
No matching stories — click Reset to show all 26 entries.
Audited first-use variations from opening an empty folder to reopening Friday’s production settings and sharing a working setup. Full catalog of all 25 IDs and evidence links: story-catalog.md.
Set CACHE=on for Saturday’s sale, see off → on on Turn 1, and ask a fresh chat “Why is the cache on?” without touching other edits.
Compare a new heading beside your running app while files stay untouched; a fresh chat finds the same preview process without the URL.
Run today’s app with Friday’s saved live settings in a preview: Friday’s two-retry setting queued after 3 attempts while live kept delivering on attempt 4.
preview 30s ✓ · staging 30s ✓ · prod 60s ⏳
Vercel Hobby preview returned max-age=30 while production kept max-age=60 and ConfigHub refused pending production delivery.
sandbox 240 ✓ → deleted ✗ → hub ⏳ (prod 120)
Processed 360 items at 120 vs 240 per batch in Daytona Cloud, deleted the sandbox, and kept the reason, staging value, and pending production change on a fresh hub.
staging "Delayed" ✓ · prod "Normal" ⏳ (same image)
Unikraft staging served the incident notice while production kept serving normal copy on the exact same image digest until approved.
Shared support hours updated to Daily across both staging apps on Fly while shop stayed coral and cart stayed indigo.
A colleague runs their own copy of your app, customizes theme and footer with reasons, and takes your next release without losing any of their overrides.
Starts from Workshop package bitnami-redis-25-5-3-reuse-existing-secret, keeps the staging reason in Local Hub, and verifies two ready read replicas on cluster after approval.
Move current settings and reasons to Cloud Hub for named owner approvals and CI keys, or publish a credential-free starter pattern.
| Scenario IDs | First-use scenario | Area |
|---|---|---|
13.01–13.07 | Discover from Workshop, work beside existing skills, route sandbox experiments, remember first uncommitted edit, surface prior context on next prompt, ask why before undo, stay quiet on code typos. | Zero Hub & onboarding |
23.01–23.02 | Build and open a first app in an empty folder; join an existing app halfway through without rewriting files. | New & existing apps |
18.01–18.03 | Attach staging and production; take Workshop Redis (bitnami-redis-25-5-3-reuse-existing-secret) to Cloud Hub; connect Vercel or Fly delivery with owner confirmation. | Envs, Workshop & hosts |
20.01–20.07, 3.01 | Local preview, consent-driven setup, find preview tomorrow without URL, reopen Friday’s live settings, named revision forks, Vercel 30s/60s cache, Daytona 120/240 batch, Unikraft incident notice. | Previews & providers |
22.01, 25.01, 24.01–24.03 | Approve, verify, and roll back live; second app inherits shared fixes while keeping overrides; hand off to teammates/CI; share reusable credential-free patterns. | Approvals, starters & teams |
Workshop maintains its own catalog identifiers (for example bitnami-redis-25-5-3-reuse-existing-secret); Local Hub rows reference them by link. Open the full 25-row catalog on GitHub.
Each card shows which stage it uses (Zero Hub, Local Hub, or Cloud Hub) and links to the full walkthrough.
Pass staging settings plus X25519-sealed test keys or a budget-capped ch_proxy_... proxy token into memory — zero .env on disk, zero recipient signup, instant zero-rotation revoke.
Build a New 12-Factor service (--config, --print-default-config, --validate-config), auto-validate edits in PostToolUse, and pack a deterministic OCI bundle via cub bundle build for volumes[].image.
Pack 20 Grafana JSON dashboards (~1.6 MiB, beating etcd’s 1 MiB ConfigMap cap) into a digest-pinned OCI Config Bundle mounted read-only at /var/lib/grafana/dashboards.
c3agent workstreams + Zero Hub & prod gatesBake the ~4.8 MB MIT Zero-Hub Linux plugin into c3agent’s agent-runtime, surface hook notices in Slack threads, and enforce out-of-band cub inbox approve production gates.
Pre-warm Zero Hub in Workspace.spec.setup so hooks persist across ax suspend/resume, fence Cloud Hub tokens via Gateway replaceHeaders, and govern AX YAML as a Component.
Drop one ~4.8 MB plugin into Claude Code, Codex CLI, and Google Antigravity (~/.gemini/config/plugins/confighub), share config reasons across sibling worktrees, and halt all consoles with cub agent halt.
Swarms pitch deck (5 slides) · Read walkthrough · Swarms guide
.env
AppConfig/YAML) → ConfigMapMount structured YAML at /etc/<app>/<app>.yaml from a linked ConfigMap, choose rolling updates (replicas > 1) vs. validated hot reload (replicas = 1), harden with PSS, and annotate intentional policy choices.
Adopt an existing app folder without rewriting its files, separate staging from production, and keep every setting’s reason.
Let an agent iterate freely in staging while scoped keys force production edits into an explicit owner approval queue.
Hand a live tuning task cleanly from one coding agent session to another with signed provenance and zero spoofed approvals.
Zero Hub plugin plus a Local Hub with no account: production waits for your approval and self-approval is refused.
Keep the reason for each setting an agent writes from the very first file and trace where the app came from.
An agent updates staging's own settings freely while production changes only with your approval.
See what a branch would do to production, run it locally with Argo CD, and leave nothing behind.
Gate Temporal activity retry limits and timeouts in staging before rolling approved settings out to production workers and verifying after restart.
Approve inside the Slack thread where work started; only the named owner's command approves the order.
One command pauses every agent session, revokes a key, finds its change, and rolls back cleanly.
An agent proposes a production change and is refused when it tries to approve its own order.
A pending order, an agent retrying a refused value, and an unreachable hub, with zero noise otherwise.
Agent proposes a release, owner approves, runtime takes it, and one approved command rolls it back.
Reviewer fixes become starter version 2: new apps start hardened and existing apps keep their overrides.
Update a shared platform base once and roll the fix across ten services while preserving per-app overrides.
Rules block out-of-range values before reaching the service, and a second app inherits from the first.
Customize an app someone else built, record each reason, and survive their next release without losing edits.
Upgrade a platform months later while preserving the deliberate value you set and its written reason.
Give every team a shared AI assistant while letting each team keep its own evaluated customizations.
Compare what Git says, what the hub approved, and what runs on the cluster, then hand back to Git without restarts.
A sandbox agent boots its own hub, outputs fixes as files for review, and throws the hub away.
The VM writes its config folder only from approved hub revisions while the agent holds no host access.
Measure CPU and memory under real load and propose the new limits with the measurement as the reason.
Issue separate keys per party on a Cloud Hub so every write outside a key's scope is refused.
Work locally with zero inbound ports, then copy approved work and its reasons up to the team hub.
Diagnose a broken platform, preserve intentional fixes with reasons, and export clean Git files.
Audit every customer deployment in one command: who changed what, whether they gave a reason, and rule violations.
Ask the hub directly what runs, what breaks a rule, what a key may change, and how to clone a tested service.
Already using Zero Hub or Local Hub on an app? These four stories show the direct path into Helm, Argo CD, Flux, Sveltos, NVIDIA AICR, and Kubara in the Kubernetes Workshop.
.env app to Argo CD or FluxKeep Kustomize overlays in ConfigHub so staging reconciles automatically while production waits for owner approval—without replacing Argo CD or Flux.
AI for Argo CD · AI for Flux · Argo OCI · Flux OCI · GitOps guide
Take the tested bitnami-redis Catalog package through a Local Hub to a Cloud Hub and live cluster while keeping staging reasons and two ready read replicas.
Diff rendered YAML to catch misspelled Helm keys before apply, or watch an agent diagnose and repair a broken Sveltos fleet behind approvals.
Sveltos AI partner kit · Ignored Helm values · Sveltos fleet repair
Sandbox an 8-component EKS GPU inference platform offline (130 objects, 0 conflicts), match NVIDIA AICR recipes, or bring Kubara add-ons into ConfigHub.