Skip to content
ConfigHub for coding agents
Reference / docs/why-durable-config.md Source on GitHub

Why not just Git, your hosting service, or a rules file?

Developers already have Git, .env files, host dashboards, and CLAUDE.md. ConfigHub does not replace any of them, it fills the specific gap created when ephemeral coding agents, sandboxes, and containers change live configuration.

Ephemeral work vs. durable config

EPHEMERAL (come and go)                    DURABLE (ConfigHub)
───────────────────────────────────────    ──────────────────────────────────────────
Claude / Codex chat   (forgets tomorrow) ┐
Local preview         (temp local port)  ├──▶ ConfigHub (local, cloud, or self-host)
Daytona sandbox       (deleted!)         │    ├── settings + exact reason ("why")
Unikraft / Fly / Vercel (redeployed)     ┘    ├── shared defaults → staging / prod
                                              └── 1:1 production gate (human approves)
  • Git records committed diffs. It shows nothing for gitignored .env files, untracked tweaks, or settings tuned inside a disposable cloud sandbox before teardown. ConfigHub stores the reason alongside each setting value across sessions (limits).
  • Your host's env var UI (Vercel, Fly, Heroku, Unikraft) holds the latest value, not why an agent changed it, and a shared host login lets an agent modify production directly. ConfigHub maps each production config 1:1 to its live host target so your agent updates staging freely while production waits (⏳) for your approval (Next.js on Vercel · Rails on Fly).
  • A rule in CLAUDE.md that says "ask before touching production" is only a prompt hint. A ConfigHub hub enforces the boundary cryptographically: the agent's scoped key is refused by the server if it tries to self-approve production (propose, not approve).
  • Branch protection and CODEOWNERS remain your gate when Argo CD or Flux deploys from Git. ConfigHub sits beside them to record why each rendered value changed and verify every cluster's live state 1:1 against approved revisions (Argo CD / Flux guide).

When a team grows (many apps, many agents)

  1. Shared defaults without copy-paste drift: Keep shared settings (timeouts, log levels, security rules) in one linked starter while every app keeps its own overrides. Updating the starter once propagates cleanly across apps (shared defaults across services).
  2. Named human approvals: Agents propose; named owners approve via Terminal, GitHub PRs, or Slack (an agent relaying "owner said yes" approves nothing: approve from Slack).
  3. 1:1 live drift visibility: Compare Git, approved ConfigHub state, and what is actually running on the host or cluster side by side (Git, hub, and running state).