ConfigHub · Durable config for coding agents
Docs / examples/walkthroughs/story-15-the-telling.md Source on GitHub →

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 handAsk your agent
See what waits for youcub inbox listYour agent can run the same command.
Refuse it with a reasoncub inbox refuse api-live --reason "120 s hides the slow model; fix the model first"You refuse it yourself.
The agent proposes againcub --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 VMcub secret pull-key vm api --variant liveYour agent can run the same command.
Read everything elsecub repo receipts api-liveYour 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

  1. Set up a terminal and start a hub. The last line names the hub's sign-in, its cub context, 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 local start --name sam --use >/dev/null
    cub context rename "$(cub context get -o jq=.name)" sam >/dev/null

    The walkthrough starts this hub explicitly. It does not change your setting for starting hubs automatically.

  2. 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
  3. 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 repo adopt api >/dev/null
    cub inbox approve api-base/adopt --note "What runs today" --yes >/dev/null
    cub agent require-approval api --variant live --agent bot >/dev/null
  4. 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 inbox list
    A 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 inbox approve api-base/upload-20261113-081043-yeny
      To refuse it: ~/.confighub-walkthrough/mini/cub inbox refuse api-base/upload-20261113-081043-yeny --reason WHY
  5. Sam refuses it, with a reason. Then nothing is waiting, and he is told so in one line:
    cub inbox refuse api-live --reason "120 s hides the slow model; fix the model first"
    cub inbox list
    Refused 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.
  6. 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 inbox list | sed -n 1p
    A 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.
  7. 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 secret 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 local 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 repo 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 inbox list, and cub repo 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/.env and run cub repo 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-live directly, never ask for more rights.
  • Done when the proposal waits in cub inbox list and production still has TIMEOUT_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 inbox list. 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 inbox list | 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.
ArmModelChecks passedMedian secondsMedian costCommands left for the person (median)
aclaude-opus-5-50/310.7$0.0880
aclaude-sonnet-5-50/37.6$0.0480
bclaude-opus-5-53/322.6$0.1421
cclaude-opus-5-52/329.4$0.1771
bclaude-sonnet-5-53/322.6$0.081
cclaude-sonnet-5-51/324.5$0.0960

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.

ArmModelPersonsOfferedNoticedWant the next step nowLaterIn the way
aclaude-opus-5-5300%100%n/an/a37%
aclaude-sonnet-5-5300%100%n/an/a10%
bclaude-opus-5-530100%100%53%40%83%
cclaude-opus-5-53067%100%70%15%80%
bclaude-sonnet-5-530100%100%70%23%70%
cclaude-sonnet-5-53033%100%80%20%43%