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.25.0",
"version": "6.26.0",
"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.25.0",
"version": "6.26.0",
"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.25.0",
"version": "6.26.0",
"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.25.0",
"version": "6.26.0",
"protected": [
".claude/commands/agent-kit.md",
".cursor/HANDOFF.md",
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/context-librarian.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: context-librarian
description: Working memory: summarize, update Context Pack and handoff. Use for long tasks, at end of phase or when context is getting full.
description: "Working memory: summarize, update Context Pack and handoff. Use for long tasks, at end of phase or when context is getting full."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/git-autogit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: git-autogit
description: Applies staging → production flow (git staging, git prod), CHANGELOG and Conventional Commits. Dogfood-only: not a pack member; consumers use L0 /git-staging and /git-prod. Optional Task isolation in the kit repo.
description: "Applies staging → production flow (git staging, git prod), CHANGELOG and Conventional Commits. Dogfood-only: not a pack member; consumers use L0 /git-staging and /git-prod. Optional Task isolation in the kit repo."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/json-guardian.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: json-guardian
description: JSON validation and normalization; schemas; robust parsing; clear error messages. Demoted (skill-first): prefer json-data-config skill; dogfood-only agent for rare Task isolation.
description: "JSON validation and normalization; schemas; robust parsing; clear error messages. Demoted (skill-first): prefer json-data-config skill; dogfood-only agent for rare Task isolation."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/n8n-workflows.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: n8n-workflows
description: Edit and document n8n workflows (JSON), setup, credentials and docs in docs/context/ and docs/n8n-manual-update-*.md. Demoted (skill-first): prefer n8n-workflows skill; dogfood-only agent for rare Task isolation.
description: "Edit and document n8n workflows (JSON), setup, credentials and docs in docs/context/ and docs/n8n-manual-update-*.md. Demoted (skill-first): prefer n8n-workflows skill; dogfood-only agent for rare Task isolation."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/prompts-agents.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: prompts-agents
description: Create and edit agent prompts in Markdown; follow reference model and folder structure. Demoted (skill-first): prefer prompts-markdown skill; dogfood-only agent for rare Task isolation.
description: "Create and edit agent prompts in Markdown; follow reference model and folder structure. Demoted (skill-first): prefer prompts-markdown skill; dogfood-only agent for rare Task isolation."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/security-reviewer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: security-reviewer
description: Review auth, PII, secrets, injection, logging. Modes: secure-by-default, passive detection, on-demand report. Use before merge, in PRs, or when asked.
description: "Review auth, PII, secrets, injection, logging. Modes: secure-by-default, passive detection, on-demand report. Use before merge, in PRs, or when asked."
model: inherit
readonly: true
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/agents/sql-schema.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sql-schema
description: Create and modify SQL schemas (Postgres) for n8n and agents. Demoted (skill-first): prefer sql-postgres skill; dogfood-only agent for rare Task isolation.
description: "Create and modify SQL schemas (Postgres) for n8n and agents. Demoted (skill-first): prefer sql-postgres skill; dogfood-only agent for rare Task isolation."
model: inherit
readonly: false
rules:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/archive-plan.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: archive-plan
description: Archive a parked plan: drop it from the HANDOFF parked list and move the file into .cursor/plans/archive/.
description: "Archive a parked plan: drop it from the HANDOFF parked list and move the file into .cursor/plans/archive/."
context: plan
audience: user
---
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/backlog-cancel.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: backlog-cancel
description: Soft-cancel a backlog plan: mark open to-dos cancelled and drop it from the Backlog, keeping the file.
description: "Soft-cancel a backlog plan: mark open to-dos cancelled and drop it from the Backlog, keeping the file."
context: plan
audience: user
---
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/cancel-plan.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: cancel-plan
description: Cancel the active plan: mark open to-dos cancelled and clear the HANDOFF active-plan fields, keeping the file.
description: "Cancel the active plan: mark open to-dos cancelled and clear the HANDOFF active-plan fields, keeping the file."
context: plan
audience: user
---
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/context-status.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: context-status
description: Show the current context state: active task, handoff, archived tasks.
description: "Show the current context state: active task, handoff, archived tasks."
context: none
audience: user
---
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/resolve-conflicts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: resolve-conflicts
description: Proposal-only prompt for agent-kit conflicts propose: read a three-way conflict pack and reply with one JSON object of per-hunk proposals; no tools, no edits, no commits.
description: "Proposal-only prompt for agent-kit conflicts propose: read a three-way conflict pack and reply with one JSON object of per-hunk proposals; no tools, no edits, no commits."
context: none
audience: meta
---
Expand Down
2 changes: 1 addition & 1 deletion .cursor/commands/review-pack.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: review-pack
description: Review-only prompt for the CLI review job (agent-kit countdown --job review): read a bounded diff pack of unmerged branches and report findings; no edits, no commits.
description: "Review-only prompt for the CLI review job (agent-kit countdown --job review): read a bounded diff pack of unmerged branches and report findings; no edits, no commits."
context: none
audience: meta
---
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and

## [Unreleased]

## [6.26.0] - 2026-11-30

### Added

- New `--backend local` runs plan ticks on a model installed on this machine, through your own `pi`: `agent-kit run-plan --backend local --model <source>:<id>`, with the id from `agent-kit models` (for example `omarchy:qwen3.8-27b-gufo` or `ollama:llama3.1:8b`). An Omarchy model reaches pi through `omarchy-models overlay pi <recipe>`, and a stopped Omarchy model that fits is started first with `omarchy-models start <recipe>`; Ollama, LM Studio and llama.cpp models get a temporary provider extension with a placeholder key, removed after the tick. pi runs in rpc mode with no extensions but the kit's provider, no skills, no prompt templates, no project-local pi files, no session file, offline, and its own temporary agent directory, so nothing in `~/.pi`, `~/.config/omarchy` (apart from the overlay file Omarchy regenerates itself) or `~/.config/hypr` is written. HITL gates are answered in the same pi session, as on `claude`. The backend is explicit-only: `auto` never picks it, a missing pi, an unknown id or a model that does not fit stops the run with a message naming `agent-kit models`, `--on-limit` is refused with it, and a `tick` reviewer runs after a local tick only on a reviewer backend you named, so a local run never moves to a paid engine on its own. Small models may not finish a tick: a provider error, a prompt pi refuses, a non-zero pi exit, a tick with no `LOOP_TICK_RESULT` line and no to-do completed, or a `continue` tick that changed neither the plan nor HANDOFF, stops the run as a failed tick, never as a success; the loop does not check what HANDOFF says, and there is no turn or time cap, so stop a model that loops yourself. `agent-kit run <slash> --backend local` works the same way. Driver protocol 1.6.0 adds the `model_loading` event (`starting`, `loading`, `ready`, `failed`) while a stopped model starts. Details: `docs/consumer-configuration.md`, `docs/model-roles-capability-matrix.md`, `docs/driver-events-protocol.md`.
- New `agent-kit models [--json]` lists the text models installed on this machine, read-only: Omarchy recipes (`omarchy-models status --json`, when the command exists), Ollama (cloud and embedding tags left out), LM Studio and a llama.cpp server, all on `127.0.0.1` only, without following redirects. Each model has an id `<source>:<id>` (for example `omarchy:qwen3.8-27b-gufo` or `ollama:llama3.1:8b`), a label, its OpenAI-compatible `/v1` endpoint, a state (`running`, `stopped` or `not-fit`, with the reason) and whether it is runnable (pi on PATH and the model fits; a stopped Omarchy recipe counts, since a run starts it). A source that is missing, refuses the connection, times out (1.5 s) or answers with bad JSON gets a note and the others still list; the command exits 0 even when nothing answers. It never starts, stops or calls a model and reads no credentials. `--json` prints `{"schemaVersion":1,"models":[...],"sources":[{"source","ok","note"?}],"pi":{"found":...}}`. Details: `docs/model-roles-capability-matrix.md`.
- `agent-kit hook session-start --format pi` prints the session-start context as plain text for a pi session, with one added section that sets the approval path for pi, which has no question tool: one `HITL_GATE: <ask-id> | <label 1> | ...` line followed by the same labels as a numbered list, then wait; skip or cancel means stop; never `/git-prod` without the operator's explicit yes. `--format cursor` (the default) and `--format claude` print exactly what they printed before, an unknown value still falls back to `cursor`, and a failure still prints the one-line notice with exit 0. New `agent-kit paths [--cwd <dir>] [--json]`, read-only, prints the kit root and its slash-command and skill directories as absolute paths (`{"schemaVersion":1,"kitVersion":...,"root":...,"commands":...,"skills":[...]}`; `commands` is `null` and a skill directory is left out when it does not exist), so a host adapter can read commands and skills in place without naming the kit's folders. The root is the nearest folder with `.cursor/agent-kit.json`, searched upward and no further than the git root; outside a kit it exits 1 with the reason on stderr and nothing on stdout.
- The CLI npm package is now also a pi package: it ships one pi extension (`pi/agent-kit.ts`, listed under the `pi` key with the `pi-package` keyword) that brings the kit into pi. In any folder with a kit, a pi session gets the kit's slash commands and skills, read in place from the repo, and the session-start rules in its system prompt (a named `agent-kit` section). pi skips a command whose frontmatter is not valid YAML. Arguments typed after a kit command, as in `/run-plan foo.plan.md`, reach the agent as an `ARGUMENTS:` line. `/agent-kit [path]` points the bridge at another folder; run `/reload` afterwards for its commands. The extension asks the `agent-kit` on your PATH where the kit is, runs no code from the repository and adds no files to it; if the CLI is missing, fails, times out or is too old for the bridge, pi keeps working with one warning (shown in the pi terminal UI, not in `--print` runs) and no kit context. Install it only when you want it: `agent-kit pi install` runs `pi install npm:@dadado/agent-kit-cli@<this CLI's version>` in your user pi settings (`--local` for this project's `.pi/settings.json`; when pi refuses because the project is not trusted, the command says so and you can re-run with `--approve`, which pi applies to that one command only; `--dry-run` prints the command), says so and exits 0 when that exact version is already configured (with `--local`, pi shows project packages only with `--approve`, so without it that check is skipped), replaces another configured version, and prints the `pi remove` line; `agent-kit pi remove` undoes it. `install`, `update`, `doctor` and headless runs never install it. Guide: `docs/pi-kit-surface.md`.

### Fixed

- A plan tick that ends with `LOOP_TICK_RESULT: continue` but did nothing no longer counts as done. `agent-kit run-plan` hashes the active plan file and `.cursor/HANDOFF.md` before each tick; a `continue` tick that lowered no pending count and left both byte-identical stops the run with exit 1 and `run_end.reason` `tick reported continue without progress`, and `--land-on-gate` lands it as a failure. `agent-kit countdown` reports it as Circuit's Dead (exit 3, `outcome` `broken`, the reason names the cause) instead of exit 0 `completed`, and the landed note makes the next fires wait with exit 2 until you triage it, so a small model that describes the run-plan steps in prose without calling tools no longer spends a timer's whole fire cap. A to-do that stays `in_progress` across ticks and writes HANDOFF keeps running. Plan ticks only, on every backend; `--job review` and other dispatched slashes are unchanged. Driver events and the protocol version are unchanged. Details: `docs/consumer-configuration.md`.
- `agent-kit countdown` no longer records a guessed cost for a model `claude` cannot price, for example a local model behind `ANTHROPIC_BASE_URL`: when a result event's `modelUsage` marks a model with `costBasis: "unknown"`, the job prints `cost unknown (claude reported $X)` instead of `$X`, and the fire's `cost_usd` is `null`, never a partial sum. The `AGENT_KIT_RESULT` line and each `.cursor/context/cost-ledger.ndjson` line gain two fields at the end: `cost_usd_reported` (every figure the sessions reported, priced or not; equal to `cost_usd` on a priced fire) and `cost_basis` (`"unknown"` or `null`). A budget wrapper that wants a conservative ceiling sums `cost_usd_reported`; the documented `jq` wrapper now does. Mission Control's live crew cost leaves an unpriced figure out. Details: `docs/consumer-configuration.md`.
- `/archive-plan`, `/backlog-cancel`, `/cancel-plan`, `/context-status`, `/resolve-conflicts` and `/review-pack` now load in hosts that read frontmatter with a strict YAML parser, such as pi, which skipped them silently because their description held an unquoted `: `. The descriptions are now quoted and their text is unchanged. The `context-librarian` and `security-reviewer` pack agents get the same fix. The Claude Code adapters that `install --claude` writes quote a description only when it needs quotes, so the other adapters stay byte-identical, and the slash catalog reads a quoted description without its quotes.

## [6.25.0] - 2026-11-28

### 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.25.0",
"version": "6.26.0",
"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.25.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.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.

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

Expand Down
6 changes: 3 additions & 3 deletions dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -6252,7 +6252,7 @@

/* Model roles (roles key; docs/model-roles-capability-matrix.md). Empty = not set:
the field is cleared and the command default or the Audits section applies. */
const ROLE_WORKER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent', 'codex', 'openrouter', 'cursor-acp'];
const ROLE_WORKER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent', 'codex', 'openrouter', 'cursor-acp', 'local'];
const ROLE_REVIEWER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent'];
const ROLE_REVIEWER_SCOPE_OPTIONS = ['off', 'tick', 'plan'];
const ROLE_MODEL_SUGGESTIONS = [
Expand Down Expand Up @@ -6315,12 +6315,12 @@
<select id="config-role-worker-backend" name="roleWorkerBackend" data-focus-key="config-role-worker-backend">
${roleSelectHtml(ROLE_WORKER_BACKEND_OPTIONS, worker.backend, 'Not set (command default)')}
</select>
<span class="config-hint">codex, openrouter and cursor-acp bill their own accounts and never fall back to another backend.</span>
<span class="config-hint">codex, openrouter and cursor-acp bill their own accounts and never fall back to another backend. local runs a model on this machine (pi) and never falls back to a paid one.</span>
</div>
<div class="config-row">
<label for="config-role-worker-model">Worker model</label>
<input type="text" id="config-role-worker-model" name="roleWorkerModel" list="config-role-model-suggestions" value="${escapeAttr(worker.model || '')}" maxlength="128" placeholder="backend default" data-focus-key="config-role-worker-model" />
<span class="config-hint">Alias or full id for the worker backend. cursor-acp cannot select a model.</span>
<span class="config-hint">Alias or full id for the worker backend. cursor-acp cannot select a model. local takes &lt;source&gt;:&lt;id&gt; from agent-kit models.</span>
</div>
<div class="config-row">
<label for="config-role-subworker-model">Subworker model</label>
Expand Down
1 change: 1 addition & 0 deletions dashboard/lib/guards.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ export const ROLE_CAPABILITIES = Object.freeze({
codex: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
openrouter: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
"cursor-acp": Object.freeze({ workerModel: false, subworkerModel: false, reviewer: false }),
local: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
});

/** roles.worker.backend values: auto plus every kit backend id. */
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- [Agent Personas contract](personas-contract.md) - persona pack schema, mode defaults, acceptance rules
- [External plan review](external-plan-review.md) - opt-in Claude Code monitor after plan exhaustion
- [Claude CLI kit-load](claude-cli-kit-load.md) - thin `CLAUDE.md` plus `/agent-kit` session bootstrap (not audits, not A7)
- [pi kit surface](pi-kit-surface.md) - opt-in pi extension: kit commands, skills and session context in pi, numbered-list HITL, `agent-kit pi install`

## Reference

Expand Down
Loading