Skip to content

chore: sync private v6.25.0 (5be4cff54) - #143

Merged
agent-kit-public-sync[bot] merged 1 commit into
mainfrom
sync/v6.25.0-5be4cff54
Nov 28, 2026
Merged

agent-kit-public-sync[bot] merged 1 commit into
mainfrom
sync/v6.25.0-5be4cff54

Conversation

@agent-kit-public-sync

Copy link
Copy Markdown
Contributor

Summary

  • Automated allowlist sync from the private source of truth.
  • Release v6.25.0.
  • Head branch sync/v6.25.0-5be4cff54.

Release notes

Added

  • Consumer configuration documents the command shapes a self-started headless loop needs under claude -p --permission-mode dontAsk with a closed allowlist (start in the worktree root, one command per call, no cd, && or pipes, prefix rules), so a night tick no longer stops on a denied compound command before it tests or commits.
  • agent-kit countdown keeps 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; null where unknown), and the AGENT_KIT_RESULT line gains cost_usd as 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 total and replaces that session's earlier figure (claude reports a running total), and a backend that reports no cost gives null, never 0. Token counts are not printed by the job and stay null. The ledger is gitignored (the installer adds the pattern; an older install gets a clone-local .git/info/exclude line 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, outcome needs-operator, a budget: ... reason and a ledger line, when the value is 0 or less, or below AGENT_KIT_CLAUDE_MAX_BUDGET_USD times 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 with jq. agent-kit run-plan exit codes and driver events are unchanged (protocol 1.5.0).

Changed

  • agent-kit countdown now 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 has SuccessExitStatus=2 5). agent-kit run-plan still exits 0 on an agent stop and its driver events are unchanged (protocol 1.5.0).

Source

  • Commit: 5be4cff54
  • Head branch: sync/v6.25.0-5be4cff54

@agent-kit-public-sync
agent-kit-public-sync Bot merged commit 88ef139 into main Nov 28, 2026
8 checks passed
@agent-kit-public-sync
agent-kit-public-sync Bot deleted the sync/v6.25.0-5be4cff54 branch November 28, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants