Changelog
What changed, release by release.
0.5.0 (2026-12-03)
Added
- apt and rpm packages at pkg.getcaffeine.dev, for amd64 and arm64 (glibc 2.34 or later: Debian 12, Ubuntu 22.04, Fedora, RHEL / Rocky 9, openSUSE and later). The package is
getcaffeine, the command stayscaffeine: Debian, Ubuntu and openSUSE already ship an unrelatedcaffeine(a screen-idle inhibitor), which the package conflicts with since both install/usr/bin/caffeine. Both install the zsh completion. A manualreleaseworkflow builds and uploads them. See Install.
0.4.0 (2026-12-02)
Added
- Skills on agent steps.
skills:on a pipeline (default) or an agent / review step loadsSKILL.mdfiles into the agent's rules: from the pipeline's folder (<pack>/skills/<name>), then~/.caffeine/skills/<name>, then an optional external resolver (skills.resolver: wskainconfig.yaml, throughwska resolve, withprofiles:). Injected forclaude(--append-system-prompt-file, plus--add-diron the skill's folder),llm(system message) andcmd(prompt file); the workspace is never touched. Resolved when the pipeline loads;skills.max_kbcaps the size andskills.timeout(120 s) boundswska resolve;summary.jsonrecords each step's skills andcaffeine run -nlists them. wska plugins load their skills only; installers, agents and MCP items are refused. {{skill.NAME}}: the folder of a skill the step loads, in its prompt,verifyandenv.- Sandboxes.
sandboxes:inconfig.yamldeclares where steps run, andsandbox:on a pipeline or step picks one:podmanordocker(one container per run and target, as you, credentials passed by name only),bwrap(Linux, no image) orkubernetes(one pod per run: the whole run moves into it and its logs come back; from Linux). A sandbox sees the workspace (its.gitread-only), the run's logs, the pipeline's files and skills and thecaffeinebinary, nothing else of your home.sandbox_default, andsandbox_required: trueto refuse any step left on the host.caffeine doctorchecks each engine, image and the Claude Code CLI inside;summary.jsonrecords each step'ssandboxandengine. - Network.
network:on a pipeline or step:none, named host lists (networks:inconfig.yaml, with built-incrates,npmandgithub) orfull(the default).noneis enforced on podman, docker and bwrap; on kubernetes,noneis aNetworkPolicyand a host list aCiliumNetworkPolicy(cni: cilium), with only the listed names resolving. Withhubble, refused connections go to<logdir>/network.logandsummary.json(network_denied), andnetwork_on_deny: failfails the run.network_allow_full: falserefusesfull; a target'snetwork_default; a project's.caffeine.confcan only narrow the network. caffeine prfrom a kubernetes pod, as the pipeline's last step: only that command gets the GitHub token (pr_env, defaultGH_TOKEN), never the pod's environment.- Caches between runs.
cache:entries keep build output from one run to the next:dir:(a folder given in an environment variable, such asCARGO_TARGET_DIR) orpaths:(files in the workspace, archived astar.zst), keyed with{{hash:<globs>}},{{os}},{{arch}},{{sandbox}}, withrestore:prefixes,save:andshare:. Always a copy, never written in place; a cache never fails a run. Stored in~/.caffeine/cache/(max_gb,max_age_days, pruned bycaffeine gc) or on any S3-compatible store (cache.store: s3).caffeine cache ls|rm. memory_store: cachekeeps the memory ofmemory: truepipelines on the cache's store, shared by the machines that use it.- Review steps fix what they find.
fix:on a review step: an agent (claudeorcmd) fixes the blocking issues, then a fresh review runs again, for up torounds(1-5). Logs<step>.fixN.log,<step>.roundN.log;fixesinsummary.json. auth: api_keyon aclauderole runs the Claude Code CLI on an API key (api_key_env, defaultANTHROPIC_API_KEY) to spend a plan's monthly API credits: subscription credentials are removed, and the step fails if the CLI used another one.caffeine gcalso removes the containers, pods, Secrets and network policies that a dead caffeine of this install left (labelcaffeine/install, from~/.caffeine/install-id).- CI builds a static
x86_64-unknown-linux-muslbinary, the one to mount in a sandbox whose image has another libc. caffeine initwrites amidrole (Sonnet) next tocheapandsmart.- The
site-careexample ships a pack-local skill, and a newtechdocexample loads a technical-docs skill from wska: checks and repository facts as scripts, a plan, one agent per group of components (foreach), an assembly validated by the skill's own script, and a review.
Changed
- The
clauderunner gets the rules through--append-system-prompt-file(<logdir>/<step>.system.md) instead of one argument, capped at 128 KB on Linux. caffeine prpushes to the target'sgit:URL and opens the pull request on that repository, never on whateverorigina step left in the clone.- The
gitthat caffeine runs in a workspace ignores its hooks, fsmonitor, external diffs and textconv; a.gitthat a step creates in a folder run in place fails the run. - CI runs on Linux only for now (macOS runners were unreliable), and tests the
bwrapengine for real.
Fixed
- A step that cannot finish for a reason outside its own work (a log or prompt file it cannot write: a full disk, a quota) now fails as that step:
failed_stepis set, the error names the file, andalwayssteps still run. It used to stop the run with a bare "Disk quota exceeded". - A run without agents cost
-0.0insummary.jsonand-0.0000in$CAFFEINE_COST_USD(Rust's sum of nof64); it is0.0.
0.3.0 (2026-11-29)
Added
- Variables between steps.
key=valuelines in.agent/varsbecomevars.KEYinif:and{{vars.KEY}}in templates;steps.NAME.ok|skipped|failed|exit|costreads an earlier step's result. - Failure handling.
continue_on_error: true, andalways: truesteps that run after a failure (if: failedfor failure-only ones). - Attempts and model ladders.
model: [cheap, mid, smart]tries each role in turn untilverifypasses;attempts: Nfor one role. Logs<step>.attemptN.log. - Loops.
loop:blocks withmax(1-100) and an optionaluntil:condition. - Parallel blocks.
parallel:runs plain steps at the same time. - foreach. One step per item of a list,
files("glob"), or avars./context./env.value;{{item}},{{item_index}},foreach_max. - Step templates.
uses: nameoruses: pack/namefromsteps/<name>.yaml, overridden key by key. - Per-step
env:andcwd:.
Changed
- The fallback attempt's log is
<step>.attempt2.log(was<step>.fallback.log).
0.2.0 (2026-11-29)
Added
- Conditional steps.
if:on any step (andapply:steps):target,pipeline,repo,kind,dry_run,today,weekday,context.KEY,env.NAME, with==,!=, glob=~/!~,in [...],<<=>>=,&&,||,!, parentheses andexists("path"). Checked when the pipeline loads; a skipped step is marked insummary.json. - Packs.
caffeine pack add <git url or folder> [--subdir] [--name],list,update,remove.{{pack}}points to a pipeline's own folder. - MCP server.
caffeine mcpexposes pipelines, runs, the inbox, the digest and stats to any MCP client;run_pipelinestarts runs in the background.--read-only, and--allow-decisionsforapprove/reject. - Inbox.
.agent/ACTIONS.jsonproposals and unmerged pull requests wait forcaffeine approve [--only]orcaffeine reject;apply:steps run what was approved.claude_connectors: truegives pipelines your claude.ai connectors, still limited toallowed_tools. - Review steps.
review:gives the run's diff to a reviewer with fresh eyes, which returns a JSON verdict. - Automation.
schedules:in workspace.yaml andcaffeine schedule install|list|remove|cron(LaunchAgents throughcaffeinate);caffeine secretandkeychain_env; gatescaffeine gate changed|release|cargo|npm. - Checks.
caffeine check urls|json|unchanged|actions|smoke|deployed,caffeine changed. - Measure.
caffeine stats,caffeine digest,caffeine feedback, budget caps, hooks,caffeine gc. - Reliability. Clean Ctrl-C (process groups killed, workspace cleaned,
interruptedin the summary), timeouts for every runner, per-target locks, retries of transient agent failures (retries:), per-targetmemory: true. - Folders are recognised as their declared target (any git remote spelling, or
dir:), and.or a path can be given as a target. config.yaml(settings) andworkspace.yaml(targets, schedules) are separate files.
Fixed
- Checks only see what a run changed, not work already in an in-place folder.
- Two runs started in the same second no longer share a log folder.
check smokewaits until the app is really stopped before returning.
0.1.0 (2026-11-29)
First release of the Rust CLI: pipelines of scripts and agents over git repos, folders and scratch folders; claude, llm and cmd runners with model roles and fallback; verify, guard and tool allowlist; .caffeine.conf overlays; caffeine pr, scope, init, doctor, list, runs, open / close.