warden v0.10.1

Warden documentation

On this page

Everything you need to install warden, run tasks with it, and look up how each part behaves.

Who each section is for#

SectionForWhat it holds
Getting startedEveryone new to wardenInstall, set up a project, run a first task, upgrade
ConceptsEngineers and team leadsHow warden thinks: runs, steps, gates, state, reports
GuidesEngineers and team leadsStep-by-step jobs: compose a workflow, write a tool, run an epic
Lead overviewTeam leadsSee every task with its time, tokens and estimated cost, and add them up
ReferenceAnyone looking up a detailEvery command, file, setting, skill, hook and exit code
For agentsAI agents (Claude Code sessions) in your projectThe rules and the loop, in one compact page
HelpAnyone stuckSymptom to fix tables and common questions
MaintainersPeople who work on warden itselfTriage, releases, contributing

A few words used everywhere are in the Glossary at the end of this page.

Getting started#

  1. Installation: prerequisites, personal and team install, verify, uninstall.
  2. Quick start: set up your project with /warden:init, run a first small task, then a feature from plan to ship.
  3. Upgrading: how new versions arrive and how /warden:upgrade applies them to your project.

Concepts#

  • How warden works: runs, steps, the engine, the warden next / warden done loop, and the hooks that keep it honest.
  • Workflows: the templates do, feature, bugfix and chore, the step types, and custom flows.
  • Gates and self-healing: the check gate, proofs on the commit, triage, the fixer, the review gate and leftovers.
  • State and history: .warden/state versus .warden/history, worktrees, what is committed, time and tokens per task.
  • Reports: telling the warden maintainers about a problem, report statuses, answering their questions.
  • Checks and retro: periodic checks, which run by themselves and which are offered, and the retro.
  • Tools and roles: your project's own tools in .warden/tools/ and the tickets, graph and pr roles.
  • Orchestration: epics, the ticket graph, waves, ticket agents and merge order.

Guides#

Reference#

  • CLI: every warden command and flag, its output and who runs it.
  • Exit codes
  • Project files: every file and folder in .warden/ and which are committed.
  • steps.json: every field, its default and its rules.
  • Flow files: the flow JSON format and the lint rules.
  • Skills: every /warden:* skill.
  • Hooks: what each hook allows, blocks and says.
  • Environment: environment variables and the data folder.

For agents#

  • Guide for agents: the golden rules, the loop, how to hand in output, what to do when blocked or waiting, and the commands never to run.
  • The /warden:guide skill ships the short form inside the plugin. The project's agent loads it by itself when it is unsure or refused. See Skills.

Help#

Maintainers#

Design notes and build specs from earlier versions are kept in internal/. They are not user docs and may be out of date; the code wins.

Glossary#

WordMeaningMore
Your projectThe repository where you installed warden.Quick start
The project's agentThe Claude Code session that works in your project.For agents
Main checkoutThe folder where you cloned the repo. Live state always lives here, even when a task runs in a worktree.State and history
WorktreeA second checkout of the repo, with its own branch. Each task gets one, in <repo>/.worktrees/<task> (gitignored).State and history
Task idThe id of a task, for example APP-12. It must match taskIdPattern in .warden/warden.json.Project files
RunOne task going through its steps, from warden start to shipped or done.How warden works
StepOne part of a run, such as plan, implement, check or ship. Its type decides who does it and which files it may change.Workflows
FlowThe list of steps a run goes through. Also called a workflow.Workflows
TemplateA ready-made flow: do, feature, bugfix or chore.Workflows
EngineThe part of warden that moves a run from step to step and checks every hand-in.How warden works
Engine workerThe background process that runs the gates (warden gate <task>).How warden works
Hand-inThe JSON output an agent gives with warden done at the end of a step.For agents
GateA step that warden runs itself (check and review), so the agent cannot fake it.Gates and self-healing
ProofA record that a gate passed on one exact commit (its git SHA). A later commit or edit makes it stale.Gates and self-healing
Stale proofA proof that no longer covers HEAD, because the code changed after the gate. The gates then run again.Gates and self-healing
TriageSorting a failed check by fault before anything is fixed.Gates and self-healing
VerdictThe result of triage: CODE (the change broke it), OPS (the setup broke it) or UNCLEAR.Gates and self-healing
Route backThe engine sends the run back to the latest implement step, with the reason.Workflows
Triage ruleA saved pattern in .warden/triage-rules.json that gives a known failure its verdict at once.Gates and self-healing
FixerThe warden:fixer agent. It fixes a failure that is not (only) the change, on its own branch.Gates and self-healing
Fix noteThe fixer's write-up of a fix, in .warden/fixes/.Project files
FindingOne problem the reviewer found: blocking or minor.Gates and self-healing
LeftoversBlocking findings still open after the last review round. The ship step lists them in the pull request description.Gates and self-healing
WaitingA run that needs a person's decision or answer.Blocked and waiting runs
BlockedA run that hit something a person must fix, then retry.Blocked and waiting runs
Run recordThe snapshot of a run in .warden/history/<task>/, committed at the ship step.State and history
Gate filesFiles no step may change: steps.json, flows/, warden.json, triage-rules.json, state/, history/ under .warden/.Workflows
Locked configConfig files nobody may edit while any run is live: steps.json, flows/, warden.json, triage-rules.json, tools/roles.json under .warden/.Workflows
Tool, roleA tool is a command your project keeps in .warden/tools/. A role (tickets, graph, pr) tells warden which tool to use for a job.Tools and roles
Check (periodic)A recurring job in .warden/checks/, such as the retro. Not the same as a check step.Checks and retro
RetroA look back at recent work, offered every 2 days.Checks and retro
ReportA bug report or idea about warden, sent to the warden maintainers.Reports
Epic, wave, ticket agentAn epic is a parent ticket. A wave is a group of its tickets that can run now. A ticket agent drives one ticket's run.Orchestration

See also#

Type to search titles, headings and text.