Repository navigation
chore: sync private v6.25.0 (5be4cff54) - #143
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v6.25.0.sync/v6.25.0-5be4cff54.Release notes
Added
claude -p --permission-mode dontAskwith a closed allowlist (start in the worktree root, one command per call, nocd,&&or pipes, prefix rules), so a night tick no longer stops on a denied compound command before it tests or commits.agent-kit countdownkeeps a local cost ledger and can refuse a fire over budget. Every fire except a usage error appends one JSON line to.cursor/context/cost-ledger.ndjson(at,repo,plan,todo,job,backend,model,cost_usd,input_tokens,output_tokens,exit,outcome;nullwhere unknown), and theAGENT_KIT_RESULTline gainscost_usdas its last field. The cost is what the job's agent sessions printed on their result lines: sessions add up, a later result of the same session is shown as$X session totaland replaces that session's earlier figure (claude reports a running total), and a backend that reports no cost givesnull, never 0. Token counts are not printed by the job and staynull. The ledger is gitignored (the installer adds the pattern; an older install gets a clone-local.git/info/excludeline before the first write), append-only and never leaves the machine; a failed write prints one warning and keeps the exit code.--budget-remaining <usd>refuses the fire before anything is fetched, with exit 2,outcomeneeds-operator, abudget: ...reason and a ledger line, when the value is 0 or less, or belowAGENT_KIT_CLAUDE_MAX_BUDGET_USDtimes the ticks of the fire; a value that is not a number, or an empty one, is a usage error (exit 1). The consumer configuration guide has a wrapper that computes the night's remaining budget from the ledger withjq.agent-kit run-planexit codes and driver events are unchanged (protocol 1.5.0).Changed
agent-kit countdownnow exits 5 (needs operator) when the tick ended because the agent requested a stop (LOOP_TICK_RESULT: stop - <reason>) while the plan still has to-dos, instead of 0. A stop when no pending or in-progress to-do is left stays 0, a gate stays 2 and Circuit's Dead stays 3. Every fire, refusals and usage errors included, now ends with one machine-readable stdout line,AGENT_KIT_RESULT {"outcome":"ok|needs-operator|broken","reason":"...","repo":"...","plan":"...","todo":"...","exit":N}, always the last line Countdown writes. Compatibility: a wrapper or timer that treated every 0 as "did work" now sees 5 on a stop; treat it like 2 (the documented systemd unit now hasSuccessExitStatus=2 5).agent-kit run-planstill exits 0 on an agent stop and its driver events are unchanged (protocol 1.5.0).Source
5be4cff54sync/v6.25.0-5be4cff54