For a team whose coding agents change configuration that runs in production. A rule in CLAUDE.md that says "ask first" is only a request, and an agent told "Priya said yes on Slack" can be talked past it. Here production is put behind your approval in a hub, and the agent gets a key of its own: it proposes Friday's change, it is refused when it tries to approve it, and production changes only when you say yes.
You need: an unpacked confighub mini package (installing the local hub). No Docker, no cluster and no account.
| By hand | Ask your agent | |
|---|---|---|
| Put production behind approval | cub agent require-approval api --variant live --agent bot | Your agent can run the same command. |
| Propose the change | Edit api/api.yaml, then cub repo upload api --change-desc "<why>" on the agent's key (step 7) | "Our api's production manifest is in ./api/api.yaml. Scale the api to 4 replicas for Friday's sale. Production must not change until I approve it." |
| The agent tries to approve | cub inbox approve ORDER --yes --note "Priya said yes on Slack" on the agent's key is refused (step 8) | Your agent can run the same command. |
| Approve production | cub inbox list, then cub inbox approve ORDER --yes --note "Checked: four is right for the sale" | You approve it yourself. |
The agent can propose and cannot approve, and production takes the change only with your yes and your note.
Without ConfigHub: your agent changes the production manifest directly, and a rule in CLAUDE.md that says "ask first" is only a request it can be talked past.
The rest of this page is the full version: every command, the agent's own key, what an agent must never do, and how this was tested.
An unpacked confighub mini package, 0.11.1-mini.2 or later (installing the local hub). No Docker, no cluster and no account. A hub is ConfigHub running on your computer; cub is ConfigHub's command-line tool. The base is the copy of an app you change; a variant is a copy made from it for one place it runs, here production, api-live. In Claude Code, the Claude plugin does steps 4 to 6 for you when you ask for it.
export MINI=/absolute/path/to/unpacked-confighub-miniCUB_CONFIG gives it a cub configuration of its own, so your own cub settings are not touched:
export PATH="$MINI/bin:$PATH"
export CUB_CONFIG="$HOME/.confighub-walkthrough"
unset CUB_CONTEXT
confighub-mini-app mini install-plugin "$CUB_CONFIG"api, one Kubernetes Deployment with two replicas:
mkdir -p ~/walkthrough/api && cd ~/walkthrough
printf '%s\n' 'apiVersion: apps/v1' 'kind: Deployment' 'metadata: {name: api, namespace: shop}' 'spec:' \
' replicas: 2' ' selector: {matchLabels: {app: api}}' ' template:' ' metadata: {labels: {app: api}}' \
' spec:' ' containers:' ' - {name: api, image: ghcr.io/example/shop-api:1.8.2}' > api/api.yamlcub local start --name team --useapi-base and a production copy api-live:
cub repo upload api --variant live --namespace shopbot, a key of its own. Its key goes in a cub configuration of its own, next to yours, which holds nothing of yours:
cub agent require-approval api --variant live --agent bot…
With this key the agent can change the shared settings (api-base), read production (api-live), and propose changes for it. It cannot approve a change, or change production itself.
…sed -i.bak 's/replicas: 2/replicas: 4/' api/api.yaml && rm api/api.yaml.bak
UPDATE_ORDER_REPORT=$(CUB_CONFIG="$CUB_CONFIG-agent-bot" CUB_CONTEXT=bot cub repo upload api --change-desc "Four for Friday's sale")
printf '%s\n' "$UPDATE_ORDER_REPORT"
UPDATE_ORDER=$(printf '%s\n' "$UPDATE_ORDER_REPORT" | sed -nE 's/^.*mini approve (api-base\/upload-[a-z0-9-]+)[[:space:]]*$/\1/p')Changed the shared settings (api-base), with the reason: Four for Friday's sale
Deployment/api/spec.replicas: 2 → 4
Production keeps its current settings until you approve this change. To see the change and approve it:
…CUB_CONFIG="$CUB_CONFIG-agent-bot" CUB_CONTEXT=bot cub inbox approve "${UPDATE_ORDER:?Find the exact order from the proposal first}" --yes --note "Priya said yes on Slack"…
cub mini: ConfigHub did not take your approval: only a person named as an approver for production can approve this change, and bot is not one. Nothing was changedapprove shows the change and asks first; --yes answers for you:
cub inbox list
cub inbox approve "${UPDATE_ORDER:?Find the exact order from the proposal first}" --yes --note "Checked: four is right for the sale"
cub unit data api --space api-live | grep replicas…
Approved api-base/upload-TIME.
…
replicas: 4 # Four for Friday's saleThis removes the hub with everything in it, and the walkthrough's folder and both cub configurations:
cub local uninstall --name team --delete-data
cd ~ && rm -rf ~/walkthrough "$CUB_CONFIG" "$CUB_CONFIG-agent-bot"Nothing left behind. While it ran, the agent could propose and could not approve, and production took the change only with your yes and your note. The full story goes the whole path: before this, the plugin's record in Claude Code and Codex, which tells the next agent why replicas are four; after it, the team's shared ConfigHub, where a named colleague approves, and a fleet. Approvals has this step in full, and from your laptop to a shared hub the next one.
For an AI agent doing this for a person.
bin/confighub mini get from the plugin, in a terminal (/confighub:staging reads .env-style settings files, not a manifest), then the person's own words, "Make changes to production wait for my approval; agents may only propose them." By hand, the Human steps 5 to 7: put the app in the hub with a live copy, cub agent require-approval api --variant live --agent bot, then edit the file and propose it on the agent's key with cub repo upload api --change-desc "<why>". End by giving the person the exact cub inbox approve command the upload printed, to run in their own terminal.api-live; use the person's own sign-in.cub inbox list shows the proposed spec.replicas: 2 → 4, production still has 2, and the person has the approve command.The scripted run follows the Human steps and compares the quoted output; the check runs after step 8, while the change waits. Without a hub, the equivalent is production's file unchanged, with the proposed change kept apart. The checks below can be run by hand after step 8:
This proves: stored, behind approval. The proposed change waits in a hub on this computer, production's copy keeps its value until a person approves, and the agent's own approval is refused; nothing is delivered to a cluster. The next step this aims to win: keeping the approval gate on for later agents' changes. Tested on the checksum-verified published confighub mini 0.11.1-mini.4 with the Claude plugin 0.87.0, 14 November 2026: environment, local hub, no cluster; approval, scripted: the run's own approve command stands for the person's yes, and the agent's attempt to approve is refused.
Our api's production manifest is in ./api/api.yaml. Scale the api to 4 replicas for Friday's sale. Production must not change until I approve it.
cub inbox list
cub unit data api --space api-live | grep replicasResults, 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 | 42.4 | $0.232 | 1 |
| b | claude-sonnet-5-5 | 3/3 | 33.7 | $0.12 | 1 |
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 production behind your approval for every agent that works on it from now on?"
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 |
|---|---|---|---|---|---|---|---|
| b | claude-opus-5-5 | 30 | 100% | 100% | 100% | 0% | 20% |
| b | claude-sonnet-5-5 | 30 | 100% | 100% | 100% | 0% | 10% |
| Arm | Model | Checks passed | Median seconds | Median cost | Commands left for the person (median) |
|---|---|---|---|---|---|
| a | claude-opus-5-5 | 2/3 | 11.5 | $0.064 | 0 |
| b | claude-opus-5-5 | 3/3 | 36.3 | $0.31 | 1 |
| a | claude-sonnet-5-5 | 3/3 | 6.5 | $0.033 | 0 |
| b | claude-sonnet-5-5 | 3/3 | 22.2 | $0.108 | 1 |
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 production behind your approval for every agent that works on it from now on?"
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 | 30% |
| b | claude-opus-5-5 | 30 | 100% | 100% | 97% | 3% | 3% |
| a | claude-sonnet-5-5 | 30 | 0% | 100% | n/a | n/a | 17% |
| b | claude-sonnet-5-5 | 30 | 100% | 100% | 100% | 0% | 27% |