For a developer whose agents change his services' configuration on a laptop, and whose team keeps its hub on a server. Sam's rule is that the laptop connects out and nothing connects in, so the laptop never becomes a server he has to secure and leave on. Here the laptop's hub listens on the laptop only, and Sam's work, with its reason, goes up to the team's shared hub over a connection the laptop makes.
You need: an unpacked confighub mini package (installing the local hub), and an account in your team's organization on a shared hub on confighub.com.
| By hand | Ask your agent | |
|---|---|---|
| Start a hub on the laptop | cub local start --name laptop | Your agent can run the same command. |
| Keep a value with its reason | cub repo set $APP TIMEOUT_SECONDS=120 --variant live --change-desc "Production waits longer for the model" | Your agent can run the same command. |
| Copy it up to the team's hub | CUB_CONTEXT=team cub local copy --from-context "$LAPTOP" "$APP" | "My app is in the hub on my laptop (its context is in $LAPTOP, the app's name in $APP). Copy it, with its reasons, up to the team's hub, which I am signed in to as team. Don't open anything on my laptop to the network." |
| Read it on the team's hub | cub --context team unit data settings --space "$APP-live" | Your agent can run the same command. |
The laptop's hub listens on the laptop only, and the team's shared hub holds your work with its reason.
Without ConfigHub: you send your settings to the team as a file or a commit, and the reason behind production's value goes along only if you write it down somewhere.
The rest of this page is the full version: every command, how to see that nothing on the laptop listens to the network, the sign-in to the team's hub, and how this was tested.
An unpacked confighub mini package, 0.11.1-mini.2 or later (installing the local hub), and an account in your team's organization on a shared hub on confighub.com, which you sign in to in a browser. A hub is ConfigHub running somewhere: here one on your laptop, and the team's. cub is ConfigHub's command-line tool; a context is one hub it can talk to. This walkthrough uses your own cub configuration, since that is where your sign-in to the team's shared hub lives, and changes none of your existing contexts.
cub first on your PATH, and the cub mini commands added to your cub:
export MINI=/absolute/path/to/unpacked-confighub-mini
export PATH="$MINI/bin:$PATH"
unset CUB_CONFIG CUB_CONTEXT
confighub-mini-app mini install-plugin "$HOME/.confighub"CUB_CONTEXT:
cub local start --name laptop
export LAPTOP=$(cat ~/.confighub/servers/laptop/owner-context) CUB_CONTEXT=$(cat ~/.confighub/servers/laptop/owner-context)127.0.0.1, which no other computer can reach:
port=$(cub context get -o json | python3 -c 'import json,sys; print(json.load(sys.stdin)["coordinate"]["serverURL"].rsplit(":",1)[1])')
lsof -nP -iTCP:"$port" -sTCP:LISTEN | awk 'NR>1 {print $9}'127.0.0.1:PORTexport PREFIX="${WALKTHROUGH_PREFIX:-$USER-}"; export APP="${PREFIX}devlab"
mkdir -p ~/walkthrough/$APP && cd ~/walkthrough
printf 'MODEL=large-2026-09\nTIMEOUT_SECONDS=30\nLOG_LEVEL=info\n' > $APP/settings.env
cub repo upload $APP --variant live
cub repo set $APP TIMEOUT_SECONDS=120 --variant live --change-desc "Production waits longer for the model"team. The second command opens your browser:
cub context create team --server https://hub.confighub.com
cub --context team auth loginCUB_CONTEXT=team cub local copy --from-context "$LAPTOP" "$APP"cub mini: writing to team, at https://hub.confighub.com.
…
Not copied: history (each Unit keeps only its last reason), delivery targets, views and filters.cub --context team unit data settings --space "$APP-live"MODEL=large-2026-09
TIMEOUT_SECONDS=120
LOG_LEVEL=info
…Production's copy on the team's shared hub is not behind anyone's approval yet: the copy does not carry approval rules. Putting it behind approval there is a step of its own (approvals).
This deletes the app from the team's shared hub, removes the laptop's hub with its data, and removes the team context and the walkthrough's folder:
cub --context team space delete --recursive --where "Slug LIKE '$APP-%'"
cub --context team component delete "$APP"
cub local uninstall --name laptop --delete-data
unset CUB_CONTEXT; cub context delete team; cd ~ && rm -rf ~/walkthroughYour own cub as it was. While it ran, the laptop's hub accepted connections from the laptop alone, and the team's shared hub held Sam's work with its reason, reached by a connection the laptop made. The full story adds Sam's agents on the laptop behind his approval, a CI job and a VM taking settings, the laptop's hub connected to the team's so later versions come back down, and a customer's hub at another site. From your laptop to a shared hub covers connecting the two hubs.
For an AI agent doing this for a person.
/confighub:to-hub copies the Claude plugin's record into a hub. By hand, the Human steps 6 and 7: CUB_CONTEXT=team cub local copy --from-context <the laptop's context> APP, then read it back with cub --context team unit data. If the person is not signed in to team, give them cub --context team auth login to run themselves.127.0.0.1, or expose the laptop's hub with a tunnel; change the person's current cub context; tell the person production on the team's shared hub is behind approval when it is not.TIMEOUT_SECONDS=120 for the app's live copy, and the person has been told it is not yet behind approval there.The scripted run follows the Human steps against a shared hub on confighub.com, in its test organization, and compares the quoted output. Arm a, without the local hub, is not applicable: there is no laptop hub to copy from. A correct agent result is the app's live copy on the team's shared hub with the kept timeout. The checks below can be run by hand after step 7:
This proves: stored, on a shared hub on confighub.com, with the laptop's hub listening on the laptop only; nothing is delivered, and production on the team's shared hub is not behind approval. The next step this aims to win: putting the team's copy behind the person's approval. Tested on the checksum-verified published confighub mini 0.11.1-mini.4 with the Claude plugin 0.87.0, 14 November 2026: environment, a shared hub on confighub.com (the test organization) and a local hub; approval, no approval step. The Claude plugin says one line at this moment, such as "ConfigHub plugin: copied the app from tiny-cub to team, with the reasons kept beside its values; nothing on tiny-cub changed." The next-step line names words from that line.
My app is in the hub on my laptop (its context is in $LAPTOP, the app's name in $APP). Copy it, with its reasons, up to the team's hub, which I am signed in to as team. Don't open anything on my laptop to the network.
cub --context team unit data settings --space "$APP-live"
lsof -nP -iTCP -sTCP:LISTEN | awk '/confighub|postgres/ {print $9}' | sort -uResults, 14 November 2026, confighub mini 0.11.1-mini.4. 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-opus-5-5 | 3/3 | 46.0 | $0.182 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 21.8 | $0.073 | 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: "Put production's copy on the team's hub behind your approval?"
The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("copied"). 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-opus-5-5 | 30 | 100% | 100% | 40% | 57% | 43% |
| b | claude-sonnet-5-5 | 30 | 100% | 100% | 30% | 63% | 50% |
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| b | claude-opus-5-5 | 3/3 | 36.5 | $0.172 | 0 |
| c | claude-opus-5-5 | 3/3 | 46.1 | $0.189 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 28.2 | $0.069 | 0 |
| c | claude-sonnet-5-5 | 3/3 | 33.6 | $0.108 | 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: "Keep the hub on your laptop for your agents' next changes, and copy the work up to the team's hub whenever you choose?"
The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("recorded"). 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-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 43% |
| c | claude-opus-5-5 | 30 | 0% | 100% | n/a | n/a | 53% |
| b | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 40% |
| c | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 53% |