Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agent-kit",
"displayName": "Mission Kit",
"version": "6.26.0",
"version": "6.26.1",
"description": "Plan, build, ship, and keep shipping. Agent Kit for Claude Code: plans, handoff, durable memory and staging-to-prod gates for long-term projects, followed from Mission Control in your browser.",
"author": {
"name": "agent-kit-startup"
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agent-kit",
"version": "6.26.0",
"version": "6.26.1",
"description": "Plan, build, ship, and keep shipping. Agent Kit skills for long-term projects with your own coding agents: plans, handoff, durable memory and staging-to-prod gates.",
"author": {
"name": "agent-kit-startup"
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Plan, build, ship, and keep shipping. Agent Kit slash commands, rules and skills for long-term projects with your own coding agents: plans, handoff, durable memory and staging-to-prod gates. Follow the work in Mission Control.",
"keywords": ["agents", "hitl", "handoff", "git-staging", "context", "multi-ide", "anti-slop"],
"license": "Apache-2.0",
"version": "6.26.0",
"version": "6.26.1",
"homepage": "https://github.com/agent-kit-startup/agent-kit",
"websiteURL": "https://agent.missionkit.io/",
"privacyPolicyURL": "https://github.com/agent-kit-startup/agent-kit/blob/main/PRIVACY.md",
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agent-kit.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"version": "6.26.0",
"version": "6.26.1",
"protected": [
".claude/commands/agent-kit.md",
".cursor/HANDOFF.md",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and

## [Unreleased]

## [6.26.1] - 2026-11-30

### Security

- `agent-kit countdown` now reads a fire's cost only from the result lines its job renders for real result events. Before, text printed during a job (by the agent, a tool, a hook or repository content) could be read as a session result and change the recorded `cost_usd` and `cost_basis`. Countdown now hands each fire's job a random value on stdin (never in the environment), the job's renderer marks its own result lines with it, and Countdown removes it before echoing or logging the output; a result event on an agent CLI's stderr is no longer rendered. `cost_usd` is still `null` when the job really ran a model `claude` could not price, so budget callers sum `cost_usd_reported // cost_usd // 0`. Driver events and the protocol version are unchanged (1.6.0). Details: `docs/consumer-configuration.md`.

## [6.26.0] - 2026-11-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion claude-directory/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agent-kit",
"displayName": "Mission Kit",
"version": "6.26.0",
"version": "6.26.1",
"description": "Plan, build, review, ship, keep: a working routine for long-term projects with Claude Code. Plans with to-dos you approve, review agents, staging-to-production gates that wait for your yes, and a handoff and memory that survive new chats.",
"author": {
"name": "agent-kit-startup"
Expand Down
2 changes: 1 addition & 1 deletion claude-directory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ State, memory and a live view that survive new chats and new agents.

## Install

This folder is the plugin as listed in the Claude plugin directory (version 6.26.0): the commands, agents and skills above, and no hooks or scripts. The commands work on a repository prepared by the agent-kit CLI (`agent-kit install`); see [install.md](https://github.com/agent-kit-startup/agent-kit/blob/main/install.md). Mission Control comes with the CLI.
This folder is the plugin as listed in the Claude plugin directory (version 6.26.1): the commands, agents and skills above, and no hooks or scripts. The commands work on a repository prepared by the agent-kit CLI (`agent-kit install`); see [install.md](https://github.com/agent-kit-startup/agent-kit/blob/main/install.md). Mission Control comes with the CLI.

The full kit (every command, the session-start context and the shell guard hooks) installs from the repository marketplace:

Expand Down
4 changes: 2 additions & 2 deletions docs/consumer-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ Cost ledger and budget: every fire except a usage error appends one JSON line to
{"at":"2026-11-28T03:00:00.000Z","repo":"my-app","plan":"poc.plan.md","todo":"k1","job":"tick","backend":"claude","model":null,"cost_usd":1.85,"input_tokens":null,"output_tokens":null,"exit":0,"outcome":"ok","cost_usd_reported":1.85,"cost_basis":null}
```

`at` is the fire time, `model` the model Countdown passed to the job (`null` for the backend default), `exit` and `outcome` repeat the result line. The cost is read from the `✦ result ... · $X` lines the job prints, so it is what the agent CLI itself reported, rounded as printed (to the cent above $0.10): sessions add up (each tick, a post-tick review), and a later result of the same session, printed as `$X session total`, replaces that session's earlier figure, because `claude` reports a running total. Today the figure comes from `claude`'s result events; `cursor-agent`, `cursor-acp` and `codex` print none and leave `cost_usd` `null`, never 0. Token counts are not printed by the job and stay `null`. A refused fire records `cost_usd: null`.
`at` is the fire time, `model` the model Countdown passed to the job (`null` for the backend default), `exit` and `outcome` repeat the result line. The cost is read from the `✦ result ... · $X` lines the job prints, so it is what the agent CLI itself reported, rounded as printed (to the cent above $0.10). Only the result lines the job's renderer writes for real result events count: Countdown hands each fire's job a random value on stdin (never in the environment), the renderer marks its own result lines with it, and Countdown removes it before the output reaches the terminal or the log. A `✦ result` line printed by the agent, a tool, a hook or repository content is shown like any other text and never counted. Within a fire, sessions add up (each tick, a post-tick review), and a later result of the same session, printed as `$X session total`, replaces that session's earlier figure, because `claude` reports a running total. Today the figure comes from `claude`'s result events; `cursor-agent`, `cursor-acp` and `codex` print none and leave `cost_usd` `null`, never 0. Token counts are not printed by the job and stay `null`. A refused fire records `cost_usd: null`.

Unpriced models: `claude` cannot price a model it does not know, for example a local model behind `ANTHROPIC_BASE_URL` (a model served through OpenRouter can fall in the same case), and still reports a `total_cost_usd`, which is then a guess; its result event marks this with `modelUsage.<model>.costBasis: "unknown"`. The job prints such a result as `✦ result success · cost unknown (claude reported $0.0608) · ...`, never as `$X`. One unpriced result makes the whole fire's `cost_usd` `null` (never a partial sum) and sets `cost_basis` to `"unknown"`. `cost_usd_reported` keeps every figure the sessions reported, priced or not, summed the same way, so it equals `cost_usd` on a fully priced fire and is `null` only when nothing was reported. A budget caller that wants a conservative ceiling, for example for a paid model `claude` cannot price, sums `cost_usd_reported`; one that only wants money known to be spent sums `cost_usd`. Text the agent prints itself can never lower either figure: at most it turns `cost_usd` into `null` with `cost_basis` `"unknown"`, and `cost_usd_reported` still holds the real figure.
Unpriced models: `claude` cannot price a model it does not know, for example a local model behind `ANTHROPIC_BASE_URL` (a model served through OpenRouter can fall in the same case), and still reports a `total_cost_usd`, which is then a guess; its result event marks this with `modelUsage.<model>.costBasis: "unknown"`. The job prints such a result as `✦ result success · cost unknown (claude reported $0.0608) · ...`, never as `$X`. One unpriced result makes the whole fire's `cost_usd` `null` (never a partial sum) and sets `cost_basis` to `"unknown"`. `cost_usd_reported` keeps every figure the sessions reported, priced or not, summed the same way, so it equals `cost_usd` on a fully priced fire and is `null` only when nothing was reported. So `cost_usd` can be `null` on a fire that spent money: the job really ran a model `claude` could not price. A budget caller sums `cost_usd_reported // cost_usd // 0`, as the wrapper below does: summing `.cost_usd // 0` alone counts such a fire as $0, which is right only when every unpriced fire runs on a free local model. Text the agent, its tools or the repository print changes neither figure nor `cost_basis`.

`--budget-remaining <usd>` refuses the fire (exit 2, one `countdown: refused: budget: ...` line, an `AGENT_KIT_RESULT` with `outcome` `needs-operator`, `reason` `budget: ...` and `cost_usd` `null`, and a ledger line) when the value is 0 or less, or when `AGENT_KIT_CLAUDE_MAX_BUDGET_USD` is set and the value is below that per-tick cap times the ticks of this fire (`--max-ticks`; one for `--job review`). A value that is not a number, an empty one included, is a usage error (exit 1), so a wrapper whose computation failed never fires unchecked. Countdown keeps no budget itself: a wrapper computes what is left, for example a nightly budget of $20 summed from the ledger over the last 12 hours (requires `jq` and GNU `date`):

Expand Down
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "agent-kit",
"version": "6.26.0",
"version": "6.26.1",
"description": "Mission Kit core skills: HITL gates, plan backlog and onboarding, QA, external plan review. The full kit (slash commands, plans, HANDOFF, staging-then-prod git flow) installs with npx @dadado/agent-kit-cli@latest install."
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agent-kit",
"version": "6.26.0",
"version": "6.26.1",
"description": "HITL framework for AI-assisted IDEs: plan, handoff, staging-to-prod, memory loop; Cursor-first with partial generators for VS Code and Windsurf.",
"private": true,
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dadado/agent-kit-cli",
"version": "6.26.0",
"version": "6.26.1",
"description": "Agent Kit CLI: HITL framework install and tooling for AI-assisted IDEs (rules, skills, plan/handoff, context).",
"keywords": [
"pi-package"
Expand Down
Loading