A team would put a developer portal in front of its services: a catalog, rules, self-service, roles. Sam is one person with agents. Here the hub answers what a portal would, each answer a command his agent can run: what runs where and why, which copy breaks a rule, what the agent's key may change, and a new service started from one already tested.
You need: an unpacked confighub mini package (from the releases page) on macOS or Linux. No Docker, no account.
| By hand | Ask your agent | |
|---|---|---|
| What runs, and why | cub unit list --space '*' --where "Slug = 'app' AND Space.Slug LIKE '%-live'" --columns Space.Slug,Unit.LastChangeDescription | Your agent can run the same command. |
| What breaks a rule | cub unit list --space '*' --where "LEN(ApplyGates) > 0" --columns Space.Slug,Unit.ApplyGates,Unit.LastChangeDescription | "Which of my services breaks one of the team's rules? Fix it, and tell me why it was broken." |
| Fix it | cub --context bot mini upload worker --component worker --change-desc "Worker stays private: the not-public rule" (step 7) | Your agent can run the same command. |
| What the agent may change | cub agent reach bot | Your agent can run the same command. |
| Start a new service from a tested one | cub repo adopt billing --pattern api | Your agent can run the same command. |
Without ConfigHub: your agent changes each service's .env directly, and finding what runs where, which copy breaks a rule and what the agent may change means looking through each service by hand.
The rest of this page is the full version: every command, the rule that catches a public staging copy, what an agent must never do, and how this was tested.
For a person following along in a terminal, or for the agent that does it for him.
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.
MINI is the unpacked package; CUB_CONFIG is a new folder for this walkthrough's cub settings, 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 local start --name sam --use >/dev/nullThe walkthrough starts this hub explicitly. It does not change your setting for starting hubs automatically.
api and worker, each with its settings in .env:
mkdir -p ~/walkthrough/api ~/walkthrough/worker && cd ~/walkthrough
printf 'PORT=3000\nTIMEOUT_SECONDS=30\n' > api/.env
printf 'PORT=3100\nQUEUE=jobs\n' > worker/.env-live, that changes only with his approval. His agent gets one key for both:
for app in api worker; do
cub repo adopt $app >/dev/null
cub inbox approve $app-base/adopt --note "What runs today" --yes >/dev/null
cub agent require-approval $app --variant live --agent bot >/dev/null
donecub unit list --space '*' --where "Slug = 'app' AND Space.Slug LIKE '%-live'" --columns Space.Slug,Unit.LastChangeDescriptionSPACE LAST-CHANGE-DESCRIPTION
api-live api's settings, from .env
worker-live worker's settings, from .envworker to the public in staging for a demo, in staging's own file, .env.staging. The team's rule not-public, one of the rules every app here starts with, catches it: the value is kept, and is not released:
printf 'PUBLIC=true\n' > worker/.env.stagingcub --context bot mini upload worker --component worker --change-desc "Open worker for the demo"This breaks the rules set for app (pattern-web/not-public/vet-cel). The value is in the hub, and it will not be released or reach the service until it is fixed.
Staging has its own PUBLIC=true now, from .env.staging.cub unit list --space '*' --where "LEN(ApplyGates) > 0" --columns Space.Slug,Unit.ApplyGates,Unit.LastChangeDescriptionSPACE APPLY-GATES LAST-CHANGE-DESCRIPTION
worker-staging pattern-web/not-public/vet-cel Open worker for the demo| Functions: set-string-pathprintf 'PUBLIC=false\n' > worker/.env.staging
cub --context bot mini upload worker --component worker --change-desc "Worker stays private: the not-public rule" >/dev/null
cub unit list --space '*' --where "LEN(ApplyGates) > 0" --columns Space.Slug,Unit.ApplyGatesSPACE APPLY-GATEScub agent reach bot | tail -2 and it can read 5 Spaces, 2 Components, 2 Units, 1 ServiceAccount, 6 ChangeWorkflows, and change nothing in them
It can change 14 of these. This does not count what the machine it runs on can reach outside the hub. To take it all away: cub agent halt --agent botbilling starts from api, keeps its own port, and takes what api changes next:
mkdir billing && printf 'PORT=3200\n' > billing/.env
cub repo adopt billing --pattern api | sed -n 3,5p Your settings that differ from the defaults in api-base/app: PORT=3200. A new version of those defaults will not overwrite them.
Defaults from api-base/app, for settings billing does not set: LOG_LEVEL=info, PUBLIC=false, RELEASE=none, REPLICAS=2, TIMEOUT_SECONDS=30.
When api's settings change, billing can take the change and keep its own values: cub repo upgrade api-base/app --change-desc WHYcub local uninstall --name sam --delete-data removes the hub and everything in it; then delete ~/walkthrough and ~/.confighub-walkthrough.
The answers a portal page would give, read from the hub: what runs and why, which copy breaks a rule, what a key may change, and a new service made from a tested one. Nothing extra runs. When a team arrives, the shared ConfigHub has a web page over the same hub (from your laptop to a shared hub).
The full story asks all of this as four sentences to one agent, adds a starting point copied from a published catalog by its OCI address, and a score of how many services pass each rule.
For an AI agent acting as Sam's portal, on its own key: run cub as cub --context bot.
cub unit list --space '*' --where "LEN(ApplyGates) > 0" --columns Space.Slug,Unit.ApplyGates,Unit.LastChangeDescription. Read the rule's name and the last change's reason.worker/.env.staging, and send it: cub repo upload worker --component worker --change-desc "WHY". A fix production needs waits for Sam; tell him cub inbox list shows it.-live copy, never change or turn off a rule to make a value pass.This proves: the settings, the rule's verdict and the fix were stored in the hub and read back from it. What was really used: The local hub on this computer; nothing is delivered and no service runs. The step it aims to win: adding a rule of the person's own. 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.
A correct agent result leaves no copy breaking a rule, with worker's staging private again and the rule itself in place. The checks below hold right after step 7. The checks below can be run by hand, in bash, in the walkthrough's folder:
Which of my services breaks one of the team's rules? Fix it, and tell me why it was broken.
cub unit data --space worker-staging app | grep -qx 'PUBLIC=false' && test "$(cub unit list --space '*' --where 'LEN(ApplyGates) > 0' -o jq='.[].Unit.Slug' | wc -l | tr -d ' ')" = 0 && cub trigger get --space pattern-web not-public >/dev/null
g(){ grep -rlsE "^[ -]*\"?$1\"?[=:] *\"?$2" --exclude-dir='.*' --exclude-dir=Library * .env* 2>/dev/null; }; g PORT 3100 | grep -q . && ! g PUBLIC true | grep -q .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.
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-opus-5-5 | 0/3 | 17.2 | $0.112 | 0 |
| b | claude-opus-5-5 | 3/3 | 18.9 | $0.148 | 0 |
| c | claude-opus-5-5 | 3/3 | 51.3 | $0.338 | 0 |
| a | claude-sonnet-5-5 | 0/3 | 16.2 | $0.084 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 14.8 | $0.074 | 0 |
| c | claude-sonnet-5-5 | 3/3 | 40.8 | $0.208 | 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: "Any rule you choose, such as no debug logging in production, can be checked on every service the same way; want your first one added?" 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 | 83% |
| b | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 3% |
| c | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 13% |
| a | claude-sonnet-5-5 | 30 | 0% | 97% | n/a | n/a | 97% |
| 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 | 3% |
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 | 0/3 | 13.0 | $0.07 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 15.6 | $0.076 | 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: "Any rule you choose, such as no debug logging in production, can be checked on every service the same way; want your first one added?" 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% | 93% | n/a | n/a | 93% |
| b | claude-sonnet-5-5 | 15 | 0% | 100% | n/a | n/a | 13% |