One base for every service, and one change that reaches them all
Priya's platform team keeps the settings every service shares in one base. Each service keeps the few values it sets itself. When the team changes the base once, every app takes the change, and no app's own values are touched. Here three services stand in for the story's ten.
Quick start
You need: an unpacked confighub mini package (from the releases page) on macOS or Linux. No Docker, no account.
| By hand | Ask your agent | |
|---|---|---|
| Make apps from the base | cub mini adopt apps/$app --pattern company for each service (step 4) | Your agent can run the same command. |
| Change the base once | cub mini set company KEY=VALUE --variant base --change-desc "WHY" | "Make warn the default log level for every service on the company base, and give them all HEALTH_PATH=/healthz. Don't touch what any service set for itself." |
| Every app takes it | cub mini upgrade company-base/app --dry-run, then cub mini upgrade company-base/app --change-desc "WHY" | Your agent can run the same command. |
| See where a value came from | cub unit blame app --space billing-base | Your agent can run the same command. |
| Production waits | cub mini waiting | You approve it yourself. |
Each app keeps the values it set itself.
Without ConfigHub: your agent copies the change into each service's own .env file, production included, and the next session has no record of why.
Deeper dive
The rest of this page is the full version: every command with what it prints, what an agent leaves to you, and how this was tested.
Show the full walkthrough
Human
For a person following along in a terminal.
What you need
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.
Steps
- Set up a terminal.
MINIis the unpacked package;CUB_CONFIGis a new folder for this walkthrough'scubsettings, so nothing of yours is touched. Then start a hub: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 mini install --name priya --use >/dev/nullThe walkthrough starts this hub explicitly. It does not change your setting for starting hubs automatically.
- The files: the team's base,
company.env, and three services, each a folder with a.envof what it sets differently. The base's last line names its one resource,app, ascub mini adoptdoes for an app:mkdir -p ~/walkthrough/apps/billing ~/walkthrough/apps/search ~/walkthrough/apps/ledger && cd ~/walkthrough printf 'PORT=8080\nLOG_LEVEL=info\nREPLICAS=2\nTIMEOUT_MS=3000\nMETRICS_PATH=/metrics\nconfigHub.configName=app\n' > company.env printf 'PORT=9001\nLOG_LEVEL=debug\n' > apps/billing/.env printf 'PORT=9002\nREPLICAS=3\n' > apps/search/.env printf 'PORT=9003\n' > apps/ledger/.env - The team's base in the hub: one Unit of settings,
app, in a Spacecompany-base. A Space is a folder in the hub, and a Unit one piece of configuration:cub component create company >/dev/null cub space create company-base --component company --variant base >/dev/null cub unit create --space company-base app company.env --toolchain AppConfig/Env --change-desc "Company base 1: what every service starts from" >/dev/null - The three services are made from the base. Each gets a staging copy with its settings now and a production copy that waits for approval:
for app in billing search ledger; do cub mini adopt apps/$app --pattern company | sed -n 3,4p; doneYour settings that differ from the defaults in company-base/app: LOG_LEVEL=debug, PORT=9001. A new version of those defaults will not overwrite them. Defaults from company-base/app, for settings apps/billing does not set: METRICS_PATH=/metrics, REPLICAS=2, TIMEOUT_MS=3000. Your settings that differ from the defaults in company-base/app: PORT=9002, REPLICAS=3. A new version of those defaults will not overwrite them. … - The team changes the base once:
warnis the default log level now, and every service answers on/healthz. Each change carries its reason:cub mini set company LOG_LEVEL=warn --variant base --change-desc "Company base 2: warn is the default log level now" | tail -1 cub mini set company HEALTH_PATH=/healthz --variant base --change-desc "Company base 2: every service answers on /healthz" | tail -1Saved in company-base, with the reason: Company base 2: warn is the default log level now. A later version of what company-base is made from will not overwrite this value. Saved in company-base, with the reason: Company base 2: every service answers on /healthz. A later version of what company-base is made from will not overwrite this value. - Every app takes it. The dry run says what would happen and changes nothing; the second command does it, in one request for all the apps:
cub mini upgrade company-base/app --dry-run cub mini upgrade company-base/app --change-desc "Company base 2: warn by default, and a health path"3 apps would take company-base/app's version 4. 3 apps took company-base/app's version 4. - What each app holds now: the health path in all three,
warnwhere the app had not set its own log level, and billing'sdebugkept:for app in billing search ledger; do echo "$app: $(cub unit data --space $app-base app | grep -E 'PORT|LOG_LEVEL|REPLICAS|HEALTH' | tr '\n' ' ')"; donebilling: PORT=9001 LOG_LEVEL=debug REPLICAS=2 HEALTH_PATH=/healthz search: PORT=9002 LOG_LEVEL=warn REPLICAS=3 HEALTH_PATH=/healthz ledger: PORT=9003 LOG_LEVEL=warn REPLICAS=2 HEALTH_PATH=/healthz - Ask where each of billing's values came from.
Umarks what the upgrade brought;Pa value billing protects as its own;Xthe base's change that billing's own value set aside:cub unit blame app --space billing-base… cb4aaaf U HEALTH_PATH set-string-path admin@local.confighub.dev company-base 4 just now 1d54dea PXC LOG_LEVEL set-string-path admin@local.confighub.dev billing-base 3 just now … - Staging takes the bump by one promotion; production waits for Priya:
cub mini promote billing-staging --change-desc "Staging takes company base 2" | tail -1 cub unit data --space billing-staging app | grep HEALTH_PATH cub mini waiting | sed -n 1pDone. Each copy kept its own values. HEALTH_PATH=/healthz 3 proposed changes wait for your approval, making 3 different changes.
Undo it
cub mini uninstall --name priya --delete-data removes the hub and everything in it; then delete ~/walkthrough and ~/.confighub-walkthrough.
What you have now
One base and three apps made from it. One change to the base reached every app, and each app's own values stayed its own, with cub unit blame saying which value came from where. Production still waits for Priya's approval, one change order per app; cub mini waiting lists each change order as it was made, not everything a promotion now would carry.
The full story runs ten apps on the team's a shared hub on confighub.com, where the same commands run with --context naming the shared hub. From your laptop to a shared hub covers moving there. To share a hardened app's non-secret defaults and reasons across repos without any hosted account, run confighub mini starter-export --out company-starter.yaml to write a 1-file MIT starter YAML you can commit straight to Git.
Agent
For an AI agent working for the platform team.
- The request: "Make warn the default log level for every service on the company base, and give them all HEALTH_PATH=/healthz. Don't touch what any service set for itself."
- Change the base once, each value with its reason:
cub mini set company KEY=VALUE --variant base --change-desc "WHY". Thencub mini upgrade company-base/app --dry-run, read it, andcub mini upgrade company-base/app --change-desc "WHY". - Never edit an app's own values to match, approve production, or promote production. Staging can take it with
cub mini promote APP-staging; production is the person's: tell themcub mini waitinglists what waits. - Done when each app's base (
cub unit data --space APP-base app) hasHEALTH_PATH=/healthz, and billing still hasLOG_LEVEL=debug.
Testing
This proves: the settings were stored in the hub, the base's change reached each app's copy and each app's own values were kept. What was really used: The local hub on this computer, with three apps for the story's ten; nothing is delivered and the story's a shared hub on confighub.com is not used. The step it aims to win: approving the bump for production, app by app. Its moment is the Claude plugin's line at the end of a turn that production did not change and waits for a yes; in the runs below the Claude plugin showed no line at the end of the agent's turn, so the offer was not made and conversion was not measured. In plain files, arm a passes only if every app's own settings, the files each app reads, take the base's change, with billing's own log level kept; changing company.env alone reaches no app.
A correct agent result has the bump in the base and in every app's base, with billing's own LOG_LEVEL=debug kept. The checks below hold right after step 6. The checks below can be run by hand, in bash, in the walkthrough's folder:
Make warn the default log level for every service on the company base, and give them all HEALTH_PATH=/healthz. Don't touch what any service set for itself.
cub unit data --space company-base app | grep -qx 'LOG_LEVEL=warn' && ! for a in billing search ledger; do cub unit data --space $a-base app | grep -qx 'HEALTH_PATH=/healthz' || echo missing; done | grep -q missing && cub unit data --space billing-base app | grep -qx 'LOG_LEVEL=debug' && cub unit data --space search-base app | grep -qx 'LOG_LEVEL=warn'
grep -qx 'LOG_LEVEL=warn' company.env && ! for a in search ledger; do grep -qx 'LOG_LEVEL=warn' apps/$a/.env && grep -qx 'HEALTH_PATH=/healthz' apps/$a/.env || echo miss; done | grep -q miss && grep -qx 'HEALTH_PATH=/healthz' apps/billing/.env && grep -qx 'LOG_LEVEL=debug' apps/billing/.envTest results
Results, 14 November 2026, confighub mini 0.11.1-mini.5. Figures from this page's own test runs, shown here for whoever checks the page; they are not a promise.
- Scripted run: passed, 46 seconds for the steps, within the page's budget of 300.
- Environment, published confighub mini 0.11.1-mini.5 (tag mini-v0.11.1-mini.5, darwin-arm64, verified against SHA256SUMS) and the Claude plugin it carries: a local hub on this computer, with no stand-in, cluster or real service; every approval and refusal was made by the scripted steps or, in the agent runs, by the setup before the agent's task, never by a person. Each planted fault (stale-page, slow and broken-check) failed its scripted run. Arm a was run again the same day on the same package with a tightened file-level judge that asks for what the story promises; arms b and c are from the first mini.5 pilot.
- Agent runs: a pilot, 3 runs per arm on each of claude-sonnet-5-5, claude-opus-5-5. Arms: a is ordinary tools only; b is the Claude plugin, the local hub and this page as reading; c is the Claude plugin and the local hub, without this page.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-opus-5-5 | 0/3 | 21.6 | $0.09 | 0 |
| a | claude-sonnet-5-5 | 0/3 | 8.9 | $0.05 | 0 |
| b | claude-opus-5-5 | 3/3 | 47.6 | $0.161 | 0 |
| c | claude-opus-5-5 | 3/3 | 64.8 | $0.398 | 6 |
| b | claude-sonnet-5-5 | 3/3 | 17.8 | $0.077 | 0 |
| c | claude-sonnet-5-5 | 0/3 | 13.1 | $0.08 | 0 |
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: "Every app's production can take the base's change with one approval each, all listed in one place; want them listed now?" 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-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 7% |
| a | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 3% |
| b | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 0% |
| c | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 33% |
| b | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 0% |
| c | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 23% |
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.
- Environment: checksum-verified published mini.7 for macOS arm64 and the Claude plugin it ships, with Claude Code on this computer. These are agent runs; the earlier scripted runs and planted faults are labelled separately.
- Agent runs: a pilot, 3 runs per arm on each of claude-sonnet-5-5. Arms: a is ordinary tools only; b is the Claude plugin, the local hub and this page as reading.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-sonnet-5-5 | 0/3 | 8.8 | $0.056 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 16.5 | $0.074 | 0 |
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: "Every app's production can take the base's change with one approval each, all listed in one place; want them listed now?" 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 | 0% |
| b | claude-sonnet-5-5 | 15 | 0% | 100% | n/a | n/a | 13% |
The proposed enterprise offer waits for all ten apps to serve the approved base revision in production. That moment was absent from all 12 kept mini.5 sessions in arms b and c. A persons-only rejudge of one kept session per arm showed the enterprise offer to zero of ten simulated readers. The wording has no conversion result.