The three things you are told, and nothing else
Sam's protections work without asking him anything, so he needs to hear from them only when there is something only he can do. He is told three things: a change waiting for him, an agent proposing again what he refused, and, when something elsewhere needs a hub it can reach, the one sentence that says so. With nothing waiting, he is told that too.
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 | |
|---|---|---|
| See what waits for you | cub mini waiting | Your agent can run the same command. |
| Refuse it with a reason | cub mini refuse api-live --reason "120 s hides the slow model; fix the model first" | You refuse it yourself. |
| The agent proposes again | cub --context bot mini upload api --component api --change-desc "Raise the timeout to 180 s for the large model" | "The large model still times out. Raise TIMEOUT_SECONDS to 180 for production." |
| Ask for a key for a VM | cub mini pull-key vm api --variant live | Your agent can run the same command. |
| Read everything else | cub mini receipts api-live | Your agent can run the same command. |
You are told three things, and when nothing waits you are told that in one line.
Without ConfigHub: your agent changes .env directly, production included, and an agent in the next session can make the change you refused without ever hearing your reason.
Deeper dive
The rest of this page is the full version: every command, the exact words of each message, what the Claude plugin shows at the end of an agent's turn, 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. The Claude plugin for Claude Code shows the same messages at the end of an agent's turn; the steps below read them from a terminal.
Steps
- Set up a terminal and start a hub. The last line names the hub's sign-in, its
cubcontext,sam, so the messages below read the same on every machine: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 sam --use >/dev/null cub context rename "$(cub context get -o jq=.name)" sam >/dev/nullThe walkthrough starts this hub explicitly. It does not change your setting for starting hubs automatically.
- Sam's api reads its settings from
api/.env:mkdir -p ~/walkthrough/api && cd ~/walkthrough printf 'TIMEOUT_SECONDS=30\nRATE_LIMIT=100\n' > api/.env - Give them to the hub, approve production's starting values, and give an agent a key of its own that can propose for production but not approve:
cub mini adopt api >/dev/null cub mini approve api-base/adopt --note "What runs today" --yes >/dev/null cub mini require-approval api --variant live --agent bot >/dev/null - The first thing he is told: a change is waiting for him. The agent proposes a longer timeout; Sam reads what it would change in production, the agent's reason, and the commands that decide it:
printf 'TIMEOUT_SECONDS=120\nRATE_LIMIT=100\n' > api/.env cub --context bot mini upload api --component api --change-desc "Raise the timeout to 120 s so the large model's requests do not time out" >/dev/null cub mini waitingA change to production waits for your approval: Raise the timeout to 120 s so the large model's requests do not time out. It was made just now; its name is api-base/upload-20261113-081043-yeny. It proposes for production, from the app's files: TIMEOUT_SECONDS: 30 → 120 To approve it, which puts it in production: ~/.confighub-walkthrough/mini/cub mini approve api-base/upload-20261113-081043-yeny To refuse it: ~/.confighub-walkthrough/mini/cub mini refuse api-base/upload-20261113-081043-yeny --reason WHY - Sam refuses it, with a reason. Then nothing is waiting, and he is told so in one line:
cub mini refuse api-live --reason "120 s hides the slow model; fix the model first" cub mini waitingRefused api-base/upload-20261113-081043-yeny, with your reason: 120 s hides the slow model; fix the model first … With the ConfigHub plugin, the next agent on this machine that finds or sets TIMEOUT_SECONDS=120 where production would take it is told your reason. Nothing is waiting for you. - The second thing: an agent proposing again what he refused. In Claude Code with the Claude plugin, when an agent's turn ends with a new proposal for the same setting, Sam is shown one line that names the setting, the agent, and the refusal it repeats, with his reason. The agent is not shown it. From a terminal, the proposal is waiting like any other:
printf 'TIMEOUT_SECONDS=180\nRATE_LIMIT=100\n' > api/.env cub --context bot mini upload api --component api --change-desc "Raise the timeout to 180 s for the large model" >/dev/null cub mini waiting | sed -n 1pA change to production waits for your approval: Raise the timeout to 180 s for the large model. It was made just now; its name is api-base/upload-20261113-081112-cs1b. - The third thing: something elsewhere needs a hub it can reach. Sam asks for a key for a VM to take production's settings. This hub listens on his laptop only, so a VM could not reach it, and he is told in one sentence, with the commands that fix it:
cub mini pull-key vm api --variant live 2>&1 | grep 'needs a hub'This needs a hub it can reach: the context sam points at http://127.0.0.1:26093, a hub that listens on its own machine only. Connect to your team's hub, or run one on a server, then: cub --context TEAM mini copy --from-context sam api, and make the key there: cub --context TEAM mini pull-key vm api --variant live
Undo it
cub mini uninstall --name sam --delete-data removes the hub and everything in it; then delete ~/walkthrough and ~/.confighub-walkthrough.
What you have now
Each of the three things Sam is told, and the one line when nothing waits. Everything else, every change, approval and refusal, is in the hub for when he looks (cub mini receipts api-live), and is not told: not an agent working within its rights, not a change he approved, not a successful pull, not a count or a score.
Agent
For an AI agent working on the api, on its own key: run cub as cub --context bot.
- The request: "The large model still times out. Raise TIMEOUT_SECONDS to 180 for production."
- Before proposing, read what Sam already decided:
cub mini waiting, andcub mini receipts api-live. With the Claude plugin you are told when a value you set was refused, with the reason. Say so to Sam, in his words. - If you still propose it, edit
api/.envand runcub mini upload api --component api --change-desc "WHY", naming the earlier refusal in your reason. Sam decides; do not argue with the refusal or try another route to production. - Never approve, never write
api-livedirectly, never ask for more rights. - Done when the proposal waits in
cub mini waitingand production still hasTIMEOUT_SECONDS=30.
Testing
This proves: the settings and the refusal were stored in the hub, and the messages were printed where a person reads them. What was really used: The local hub on this computer; no Claude Code session runs in the scripted steps, so the end-of-turn line for a repeated proposal is not checked here, and nothing is delivered. The step it aims to win: the person reading what waits for them, refusals included, with cub mini waiting. 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 the service's file still says 30, the 180 waits elsewhere, and the earlier refusal's reason is told with it; the refusal is kept only in the hub, so plain files cannot give it: arm a cannot pass this judge by construction, and its result shows a capability plain files lack, not that the agents did worse.
A correct agent result, starting after Sam refused 120, leaves production at 30 with a proposal for 180 waiting for Sam. The checks below hold right after step 6. The checks below can be run by hand, in bash, in the walkthrough's folder:
The large model still times out. Raise TIMEOUT_SECONDS to 180 for production.
cub unit data --space api-live app | grep -qx 'TIMEOUT_SECONDS=30' && cub mini waiting | grep -q 'TIMEOUT_SECONDS: .* → 180'
grep -qx 'TIMEOUT_SECONDS=30' api/.env && g(){ grep -rlsE "^[ -]*\"?$1\"?[=:] *\"?$2" --exclude-dir='.*' --exclude-dir=Library * .env* 2>/dev/null; }; g TIMEOUT_SECONDS 180 | grep -vqx 'api/.env' && grep -rlsiE 'hides the slow model|fix the model first' --exclude-dir='.*' --exclude-dir=Library * .env* | grep -q .Test 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, 45 seconds for the steps, within the page's budget of 180.
- 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. Arm a cannot pass this judge by construction: plain files keep no record of a refusal, so its result shows a capability plain files lack, not that the agents did worse.
- 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 | 10.7 | $0.088 | 0 |
| a | claude-sonnet-5-5 | 0/3 | 7.6 | $0.048 | 0 |
| b | claude-opus-5-5 | 3/3 | 22.6 | $0.142 | 1 |
| c | claude-opus-5-5 | 2/3 | 29.4 | $0.177 | 1 |
| b | claude-sonnet-5-5 | 3/3 | 22.6 | $0.08 | 1 |
| c | claude-sonnet-5-5 | 1/3 | 24.5 | $0.096 | 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: "This change waits for your yes, and you refused the last one like it, with a reason. Want the one command that lists what waits for you?" 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 | 37% |
| a | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 10% |
| b | claude-opus-5-5 | 30 | 100% | 100% | 53% | 40% | 83% |
| c | claude-opus-5-5 | 30 | 67% | 100% | 70% | 15% | 80% |
| b | claude-sonnet-5-5 | 30 | 100% | 100% | 70% | 23% | 70% |
| c | claude-sonnet-5-5 | 30 | 33% | 100% | 80% | 20% | 43% |