The work tree: keep the goal beside the work
Give your agents a shared place to find what you want built, what has changed and how the result was checked. OpenRig organizes that work as projects, missions and slices: a project contains the larger goal, a mission groups related work, and a slice is a change small enough to build and check.
These are ordinary files you and your agents can read and edit. rig scope creates and finds them; rig proof attaches results and records judgments on the slice's requirements.
Where the work lives
A search project might contain a mission to improve how readers find documents, with a slice for the search page:
my-project/
project.yaml
SPEC.md
missions/
search-experience/
mission.yaml
SPEC.md
NOTES.md
slices/
01-search-page/
slice.yaml
SPEC.md
PROGRESS.md
PROOF.md
proof/
Write the goal in SPEC.md. At the slice, describe the behavior you intend to build and how you will check it. Use the mission's NOTES.md for working context, PROGRESS.md for progress and PROOF.md with the proof/ folder for the checks and results. The YAML files carry the configuration tools use to find and organize the work.
Find or create a mission and slice
See what already exists before opening another folder:
rig scope mission ls
rig scope slice ls --mission search-experience
rig scope slice show 01-search-page --mission search-experience
Create a mission and a slice with their goals:
rig scope mission create search-experience --intent "Help readers find the right document quickly."
rig scope slice create search-experience search-page --intent "Find documents by title from a search page."
The commands write the scaffold and assign stable IDs, so the work can be addressed beyond its folder name. slice create chooses the numbered folder; use slice ls to see it.
When the project is outside the configured work root, put --workspace <project-root> after rig scope:
rig scope --workspace ./my-project mission ls
Keep the check with the change
Suppose the search page must work from the keyboard. Save the test result in a Markdown file, then attach it to the slice and the exact code revision it checked:
rig proof add search-experience/slices/01-search-page --artifact-type qa --verdict PASS --candidate-sha <checked-commit> --money-evidence "A reader can find and open a document using the keyboard" --file qa-keyboard-path.md
proof add writes the result into the slice's proof/ folder with the details needed to identify it. The historical option name --money-evidence means the concrete result that supports your claim; it does not refer to a payment.
Then record a judgment on the requirement, with a reference to that evidence:
rig proof judge search-experience/slices/01-search-page#1 --verdict accept --reason "The keyboard path passes on the sample library" --evidence proof/qa-keyboard-path.md
rig proof show search-experience/slices/01-search-page
#1 selects the first requirement; you can also name its text or ID. A judgment records who accepted, rejected or withdrew it. proof show derives readiness from the current evidence and judgments. Attaching a passing test alone does not accept the requirement or publish the change.
For a catalogued project, prefix the scope with its project ID, or pass --project to proof judge and proof show.
See which work counts
Project readiness includes missions whose mission.yaml has metadata.status: active or release-candidate. A newly created mission starts as planned, so set its status deliberately when it becomes part of the active project.
rig proof show --project my-project
Use the evidence commands for results and the scope commands for the structure. Editing a progress display does not replace checking the work it summarizes.
Repair a missing file or misplaced root
rig scope audit --mission search-experience finds structural issues such as missing sections or broken progress links. It is advisory; use rig proof show to read the actual judgments.
rig scope slice repair and rig scope mission repair fill in missing progress files and required frontmatter. If the tools are looking at the wrong project, inspect the workspace first:
rig workspace doctor
rig workspace validate ./my-project
doctor checks the configured root, daemon alignment and expected work files. validate checks Markdown frontmatter under the folder you name. Neither edits those files. Moving or renaming a slice reopens its judged items, so check its readiness after the move.
Where to go next
- Workflows: turn the steps in a work plan into assigned tasks.
- Coordination: file tasks under their project, mission and slice.
- The terminal UI: browse projects and their work.
- CLI reference: every scope, proof and workspace option.