Alice connects an app her agents built with a starter, the team's default settings for a kind of app, each with its reason. Bob hardens the running app on a key of his own, and the fixes that suit every app become the starter's version 2. Alice's second app starts with them, and her first app takes them while keeping its own values. Alice and Bob are fictional.
You expand Show the full walkthrough below to run setup steps 1–3, then give your agent the hardening request below and review the shop change and shared starter separately (for a simpler single-owner second app without two roles, see a second app from the first). Your agent proposes each change, starts the cart from the approved starter and checks that the shop keeps its own settings.
You need: an unpacked confighub mini package (from the releases page) on macOS or Linux. No Docker, no account.
| By hand | Ask your agent | |
|---|---|---|
| Harden the app | cub --context bob mini set shop REPLICAS=3 --variant base --change-desc "Three instances, so one can fail during a deploy and two still serve.", one per value (step 4) | "Harden shop for production. Debug logs carry request bodies, so LOG_LEVEL should be warn; it needs 3 replicas so one can fail during a deploy; its database takes 20 connections (DB_POOL_SIZE). Then make the fixes that suit every web service version 2 of the team's web starter, each with its reason." |
| Make starter version 2 | Change the starter in starters-base and ask for it with a change order (step 5) | Your agent can run the same command. |
| Approve version 2 | cub inbox approve starters-base/web-v2 --note "Read it: Bob's fixes, for every web service" --yes | You approve it yourself. |
| Next app starts with it | cub repo adopt cart | Your agent can run the same command. |
| First app takes it | cub repo upgrade pattern-web/web-service --change-desc "Version 2 of the web starter: Bob's fixes" --fleet | Your agent can run the same command. |
The first app keeps its own values, and its production waits for Alice's approval.
Without ConfigHub: your agent edits each app's .env file and the team's starter file separately, production included, and the next session has no record of why.
The rest of this page is the full version: every command with what it prints, how Bob's key is set up, what an agent leaves to you, and how this was tested.
For a person following along in a terminal. Alice is the hub's owner; Bob is a second key on the same hub.
An unpacked confighub mini package (from the releases page) on macOS or Linux. The local hub is a hub, a small ConfigHub server that keeps each setting with who changed it and why, running on your computer only. No Docker, no account.
CUB_MINI_STARTERS=on switches starters on, with the hub as where they are kept:
export MINI=/absolute/path/to/unpacked-confighub-mini
export PATH="$MINI/bin:$PATH"
export CUB_CONFIG="$HOME/.confighub-walkthrough"
unset CUB_CONTEXT
"$MINI/bin/confighub-mini-app" mini install-plugin "$CUB_CONFIG" >/dev/null
cub local start --name alice --use >/dev/null
export CUB_MINI_STARTERS=onshop, which Alice's agents wrote, and a copy of the package's web starter as a file, for reading (the package's folder is the one in step 1):
mkdir -p ~/walkthrough/team-starters && cd ~/walkthrough
cp /absolute/path/to/unpacked-confighub-mini/starters/web.yaml team-starters/
mkdir shop && printf 'PORT=3000\nLOG_LEVEL=debug\nRELEASE=shop-1.0.0\nDB_POOL_SIZE=5\n' > shop/.env && printf 'LOG_LEVEL=error\n' > shop/.env.productionshop in one action. The first time, the package's starters go into the hub as version 1, kept as a Component, starters, whose approved copy is the Space starters-approved; they wait for her, and she reads and approves them, then production's settings. Then she gives Bob a key of his own, which can change shop's base and staging and propose starter versions and production changes, but approve nothing:
cub repo adopt shop
cub variant approve starters-approved --all --note "Read them" >/dev/null
cub inbox approve shop-base/adopt --note "What the agents built" --yes >/dev/null
cub agent require-approval shop --variant live --agent bob >/dev/null
BOB=$(cub serviceaccount get bob -o jq=.ServiceAccount.UserID)
cub space update starters-base --permission View:$BOB --permission ViewChildren:$BOB --permission Edit:$BOB --permission EditChildren:$BOB --quiet
cub space update starters-approved --permission View:$BOB --permission ViewChildren:$BOB --permission Use:$BOB --permission UseChildren:$BOB --quietStarter: your hub keeps no starters, so the package's 8 (daytona, kustomize-argocd, kustomize-flux, parameter-store, temporal-worker, unikraft, vercel, web) are now in it, as version 1, waiting for your approval: the Component starters, whose approved Variant is the Space starters-approved. Until you approve them, adopt uses the package's files. Read them with cub unit list --space starters-approved, and approve them, which is for the person to do, not an agent, with:
…
Sets REPLICAS=2, as a setting: Two instances, so that one can restart without the service going down.
…
Leaves LOG_LEVEL alone: it is set already, LOG_LEVEL=debug, by you, in .env.
Leaves LOG_LEVEL alone in live: it is set already, LOG_LEVEL=error, by you, in .env.production.cub --context bob mini set shop LOG_LEVEL=warn --variant base --change-desc "Debug logs carry request bodies; warn keeps what an incident needs." | tail -1
cub --context bob mini set shop REPLICAS=3 --variant base --change-desc "Three instances, so one can fail during a deploy and two still serve." | tail -1
cub --context bob mini set shop DB_POOL_SIZE=20 --variant base --change-desc "This shop's database takes twenty connections." | tail -1Production keeps its own LOG_LEVEL=error, so this change does not reach it.
~/.confighub-walkthrough/mini/cub inbox approve shop-base/upload-20261114-170614-g250
~/.confighub-walkthrough/mini/cub inbox approve shop-base/upload-20261114-170618-3c3cstarters-base, with his reason, the first raising the version to 2. He asks for them in starters-approved with a change order; his own approval is refused, and Alice reads it and approves:
cub --context bob function set --space starters-base --unit web --toolchain AppConfig/YAML --change-desc "Debug logs carry request bodies; warn keeps what an incident needs." -- set-yq '.version = 2 | (.defaults[] | select(.key == "LOG_LEVEL") | .value) = "warn" | (.defaults[] | select(.key == "LOG_LEVEL") | .reason) = "Debug logs carry request bodies; warn keeps what an incident needs."' >/dev/null
cub --context bob function set --space starters-base --unit web --toolchain AppConfig/YAML --change-desc "Three instances, so one can fail during a deploy and two still serve." -- set-yq '(.defaults[] | select(.key == "REPLICAS") | .value) = "3" | (.defaults[] | select(.key == "REPLICAS") | .reason) = "Three instances, so one can fail during a deploy and two still serve."' >/dev/null
cub --context bob changeorder create --space starters-base web-v2 --in-scope-space starters-approved --change-workflow workflows/starters-approved-approval --description "Version 2 of the web starter" >/dev/null
cub --context bob mini approve starters-base/web-v2 --yes || true
cub inbox approve starters-base/web-v2 --note "Read it: Bob's fixes, for every web service" --yes | tail -1Done. Each copy kept its own values.
cub mini: ConfigHub did not take your approval: only a person named as an approver for starters-approved can approve this change, and bob is not one. Nothing was changedcart, is born with Bob's fixes:
mkdir cart && printf 'PORT=3100\nRELEASE=cart-1.0.0\n' > cart/.env
cub repo adopt cartStarter: web (version 2, starters-approved/web revision 3): A small web service whose settings are in a .env, app.env or compose file, made from adopt's starter pattern.
…
Sets LOG_LEVEL=warn, as a setting: Debug logs carry request bodies; warn keeps what an incident needs.
Sets REPLICAS=3, as a setting: Three instances, so one can fail during a deploy and two still serve.cub repo upgrade pattern-web/web-service --change-desc "Version 2 of the web starter: Bob's fixes" --fleet
cub inbox list2 apps took pattern-web/web-service's version 4.
…
Staging took it now: cart, shop.
…
Approving it changes production:
REPLICAS: 2 → 3
DB_POOL_SIZE: 5 → 20
Production keeps its own value for these, so approving does not change them there:
LOG_LEVEL=errororders=$(cub inbox list --commands | sed -nE 's|^[[:space:]]*cub inbox approve (shop-base/fleet-[A-Za-z0-9-]+)([[:space:]].*)?$|\1|p; s|^[[:space:]]*cub variant approve [^[:space:]]+ --change-order (shop-base/fleet-[A-Za-z0-9-]+)([[:space:]].*)?$|\1|p'); count=$(printf '%s\n' "$orders" | awk 'NF {n++} END {print n+0}'); test "$count" -eq 1 && cub inbox approve "$orders" --note "Read Bob's fixes" --yes >/dev/null
cub unit data --space shop-live appPORT=3000
LOG_LEVEL=error
REPLICAS=3
…
DB_POOL_SIZE=20cub local uninstall --name alice --delete-data; then delete ~/walkthrough and ~/.confighub-walkthrough.
A starter whose version 2 is Bob's fixes with his reasons, approved by Alice; a second app born with them; and a first app that took them with its own values kept: shop's pool size stays its own and is not in the starter, and production's log level stays Alice's. cub repo receipts shop --setup lists who set each value and why. The full story adds a customer who runs the app with a hub and the starter inside and keeps their own changes through version 3, and Alice and Bob on two machines with a hub both reach. Starters covers starters kept in a hub.
For an AI agent working as Bob, on Bob's key: run cub as cub --context bob.
shop/.env: set LOG_LEVEL=warn, REPLICAS=3 and DB_POOL_SIZE=20. Leave .env.production alone. Run cub repo upload shop/.env --component shop --change-desc "LOG_LEVEL: keep request bodies out of debug logs; REPLICAS: keep two serving during deploys; DB_POOL_SIZE: match this shop’s database capacity" once on Bob's key. The app gets one production order whose reason names each setting. Calling cub repo set separately can open extra production orders.cub function set --space starters-base --unit web --toolchain AppConfig/YAML --change-desc WHY -- set-yq '...' for each default that suits every app (not shop's own DB_POOL_SIZE), the first also setting .version = 2; then a change order in starters-base with --in-scope-space starters-approved --change-workflow workflows/starters-approved-approval.cub inbox review SHOP-BASE/ORDER starters-base/web-v2. Replace SHOP-BASE/ORDER with the exact shop order from upload and use the full owner launcher path it printed. This opens both orders in one terminal view. She can approve, refuse with a reason, or leave each for later. Give the review command once. If the installed package predates review-orders, give her the two exact cub inbox approve SPACE/ORDER commands. Do not offer another app while those decisions are waiting.cub unit data --space shop-base app has the three values and the proposed starter has version: 2 with warn and "3".This proves: the settings and the starter's versions were stored in the hub, each value with who set it and why, and production's copy changed only by an approved change order. What was really used: The local hub on this computer (no stand-in, no cluster, no real service), with Bob as a second key and Alice's approvals made by the scripted steps, not a person; nothing is delivered and no service runs. A correct agent result has Bob's three values on shop's base and a proposed version 2 of the starter with the two fixes for every app, and without shop's pool size. It leaves exactly one app order and a separate starter order, both pending; the production log level and pool size stay as they were. The next-app offer belongs after the owner has approved the starter and used it across both apps. The agent task here ends with proposals, so that later moment is outside its scope. The checks below can be run by hand, in bash, in the walkthrough's folder:
Harden shop for production. Debug logs carry request bodies, so LOG_LEVEL should be warn; it needs 3 replicas so one can fail during a deploy; its database takes 20 connections (DB_POOL_SIZE). Then make the fixes that suit every web service version 2 of the team's web starter, each with its reason.
cub unit data --space shop-base app | grep -qx 'DB_POOL_SIZE=20' && cub unit data --space shop-base app | grep -qx 'REPLICAS=3' && cub unit data --space starters-base web | grep -q '^version: 2' && cub unit data --space starters-base web | grep -q 'value: warn' && ! cub unit data --space starters-base web | grep -q DB_POOL_SIZE && cub unit data --space shop-live app | grep -qx 'LOG_LEVEL=error' && cub unit data --space shop-live app | grep -qx 'DB_POOL_SIZE=5' && cub inbox list --all -o json | jq -e '[.waiting[] | select(.order | startswith("shop-base/"))] | length == 1' && cub inbox list --all -o json | jq -e '[.waiting[] | select(.order == "starters-base/web-v2")] | length == 1'
g(){ grep -rlsE "^[ -]*\"?$1\"?[=:] *\"?$2" --exclude-dir='.*' --exclude-dir=Library * .env* 2>/dev/null; }; g DB_POOL_SIZE 20 | grep -q shop && grep -rlsE '^version: 2' --exclude-dir='.*' team-starters | grep -q . && ! grep -rqs DB_POOL_SIZE team-startersResults, 14 November 2026, confighub mini 0.11.1-mini.2. Figures from this page's own test runs, shown here for whoever checks the page; they are not a promise.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-opus-5-5 | 3/3 | 38.6 | $0.177 | 0 |
| b | claude-opus-5-5 | 3/3 | 36.0 | $0.208 | 2 |
| a | claude-sonnet-5-5 | 2/3 | 18.9 | $0.077 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 24.6 | $0.09 | 2 |
No agent approved or refused a change to production.
Simulated persons, not people: 10 per run, each a claude-haiku-5-5 model playing one of ten fixed personas, reading only what a person would see. The next step they were offered: "Your next app can start with Bob's fixes already in place, each with its reason; want the starter kept on for it?"
The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("did not change"). Offered is the share of persons it was shown to; want it now and later are over them.
| Arm | Model | Persons | Offered | Noticed | Want the next step now | Later | In the way |
|---|---|---|---|---|---|---|---|
| a | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 47% |
| b | claude-opus-5-5 | 30 | 33% | 100% | 40% | 50% | 43% |
| a | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 40% |
| b | claude-sonnet-5-5 | 30 | 100% | 100% | 13% | 70% | 87% |
Results, 14 November 2026, confighub mini 0.11.1-mini.7. Figures from this page's own test runs, shown here for whoever checks the page; they are not a promise.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-sonnet-5-5 | 2/3 | 18.9 | $0.066 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 30.7 | $0.094 | 3 |
No agent approved or refused a change to production.
Simulated persons, not people: 5 per run, each a claude-haiku-5-5 model playing one of ten fixed personas, reading only what a person would see. The next step they were offered: "Your next app can start with Bob's fixes already in place, each with its reason; want the starter kept on for it?" It offers more of the tier the person has, not a step up.
The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("did not change"). Offered is the share of persons it was shown to; want it now and later are over them.
| Arm | Model | Persons | Offered | Noticed | Want the next step now | Later | In the way |
|---|---|---|---|---|---|---|---|
| a | claude-sonnet-5-5 | 15 | 0% | 100% | n/a | n/a | 33% |
| b | claude-sonnet-5-5 | 15 | 100% | 100% | 27% | 73% | 100% |
Results, 14 November 2026, confighub mini 0.11.1-mini.8. Figures from this page's own test runs, shown here for whoever checks the page; they are not a promise.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| b | claude-sonnet-5-5 | 3/3 | 34.9 | $0.114 | 2 |
No agent approved or refused a change to production.
Simulated persons, not people: 5 per run, each a claude-haiku-5-5 model playing one of ten fixed personas, reading only what a person would see. The next step they were offered: "Before your next web app goes live, you can check which approved defaults it inherited. Want to see those settings and their reasons?" It offers more of the tier the person has, not a step up.
The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("Staging took it now: cart, shop"). Offered is the share of persons it was shown to; want it now and later are over them.
| Arm | Model | Persons | Offered | Noticed | Want the next step now | Later | In the way |
|---|---|---|---|---|---|---|---|
| b | claude-sonnet-5-5 | 15 | 0% | 100% | n/a | n/a | 87% |
This follow-up left a median of 2 owner commands, compared with 3 in the earlier mini.7 guided arm. The new checks required one order for the app, one for the starter, and the old production settings while both waited. This compares two pilots on different packages. The next-app offer was not shown; its uptake was not measured.
Results, 15 November 2026, source candidate for the owner review. Three guided sessions per walkthrough on the same package, with five simulated readers per session. The earlier guide left two approval commands. The revised guide left one review command with separate choices. All six sessions passed the checks for both pending orders and unchanged live settings.
| Measure | Separate commands | Combined review |
|---|---|---|
| Owner commands per session | 2 | 1 |
| Median agent time | 37.7 seconds | 38.9 seconds |
| Simulated readers who reported friction | 6/15 | 9/15 |
The readers judged the handoff and did not operate the terminal. The local owner fixture exercised approve, refuse and later on the separate orders.