Missions and evidence
Preview. Missions work end to end for one person, but several pieces are still to come — see What is not there yet.
An agent saying "done" is a claim. A mission turns a goal into tasks, gives each task to a conversation, and records what actually happened — so you can tell claimed from verified at a glance, across many agents.


Create a mission
- Choose Missions in the main navigation, or find Open the missions board in the command palette (
⌘K). The board belongs to the connected Runner. Workspaces returns to the layout you were using. - Create a mission with an outcome and an optional brief. Choose Add first task to describe one deliverable. The board appears when you add that task. Later tasks can depend on earlier ones.
- Assign a task: pick a workspace and start a new conversation there (or hand it to one you already have), optionally sending the task's brief as the first message. If the response is lost, retry the same form. The Runner reuses the assignment and completes any pending brief delivery.
Choose Detach mission to keep the selected mission in its own window while you switch workspaces. The detached window stays on that mission across reloads. Opening the same mission again focuses its window. Opening a task conversation from a detached mission brings the main window forward or reopens it.
The board has four columns — Ready, Working, Needs you, Done — and each card shows the task's status, its trust, its evidence, the conversation working on it and whether that agent is alive.
The board summary includes blocked, failed and canceled tasks. A canceled task stays in the original total. Select the task named below the summary to jump to its card. For approved plans with a pinned spec, expand Acceptance criteria under the outcome to review the agreed requirements.
Evidence is recorded for you
While a conversation works on a task, Lazybox attaches evidence to the task without anyone asking:
- every
lazybox run(orlazybox log) that finishes, with its exit status, the full output and what the agent saw; - commits made through the PR loop;
- pull requests explicitly delivered by the assigned conversation, and their checks. Run
lazybox link <PR URL>in that conversation, or create the PR there with a supported tool such asgh pr create. Link it while the conversation has one active task so the Runner can identify the attempt. A workspace branch alone does not associate its PR with a mission. An ambiguous command or result needs an explicit link. When a task changes hands, the replacement attempt starts with its own evidence. Previously recorded workspace-only checks and earlier attempts remain in the expanded history. Verification requires a check observation after delivery to the current attempt.
The collapsed task card and acceptance inbox show the latest run and the most recent unresolved failed run when they differ. A failure stays until a later run of the same command passes: a different passing command can test a different part of the work. Expand the card for the full history.
Click a run to open its output in the console; click a pull request to open it on GitHub. Each delivered PR has its own chip. Linking another PR keeps existing check results visible.
Trust, derived — never declared
| Trust | Means |
|---|---|
| claimed | Reported done, with no passing evidence. A failing last run is flagged. |
| observed | The last real lazybox run exited 0, or the agent is running. |
| verified | Current checks passed on an explicitly delivered PR for this attempt. Failing, pending or stale checks on another delivered PR block verification. A newer local revision can make checks stale. |
| accepted | You passed the task's gate. |
Accept or send back
For work that spans conversations, keep one versioned roadmap in workspace Artifacts. Record a stable milestone ID, phase, dependencies and definition of done. The roadmap reader groups the work by phase. Only accepted milestones count toward phase completion. Export its mission plan to preserve those details in each remaining task brief. At acceptance, expand Review task brief and acceptance criteria in the Inbox and compare the original brief with the report and Runner evidence.
When the work looks finished, Report done… on the task's card records what was done. An agent an orchestrator started reports its own task with lazybox agents report; any other conversation's task is reported from its card. A reported task waits at its gate for you. The inbox lists Awaiting acceptance first, and counts it in its badge: Accept, or Ask for changes with a note. From a terminal:
lazybox missions # missions and their tasks
lazybox missions show <mission>
lazybox missions accept <mission> <task>
lazybox missions reject <mission> <task> --note "the migration is missing"A hook on mission.accepted can react when you accept a task.
What is not there yet
- Only an agent an orchestrator started reports its own task (
lazybox agents report). A conversation you assigned yourself does not: you use Report done… on its card. - No automatic reviewer: verdicts and findings from a second agent are designed but not built.
- The process file is not applied yet. Every mission uses the built-in process: one agent per task, and you accept each task (the board says so under the mission's title; its id is
solo-pair). You can already write and check a.lazybox/process.yamlwithlazybox process validate. - Assigning from the board does not create a workspace: you pick one. An orchestrator can give an agent a workspace of its own (
lazybox agents spawn --workspace new).
Starting workers from a fixed base
In a Mission plan, set a task's workspace to pinned to start it in separate worktrees at the base workspace's committed revisions when the plan was proposed. All pinned tasks in that plan share the same member list and commits. Commit or set aside pending changes before proposing. Approve the plan and spawn each task by ID. A pinned task refuses a workspace override. If a dependency changes a shared interface, propose a new plan from the updated base before dispatching work that needs that interface.
To pin a structured acceptance contract, add contract: {artifact: ARTIFACT_ID, version: 1} to the plan YAML. The Runner reads that exact spec.v1 from the planner's workspace. The approval sheet shows its criteria and the captured member commits. Each child spawned from the approved task receives the accepted criteria in its brief, even when the artifact has since been revised. This grants no additional artifact browsing permission.
When you start a review of an active Mission worker from Changes, its reviewer receives the criteria, artifact version and digest from the approved plan. The reviewer can compare the worker’s changes with that contract even if someone has since revised the base spec or published a scratch plan in the child workspace.
Recovering a pinned worker
Dispatch reserves the task’s budget slot, workspace ID and conversation ID in the Mission log before creating the worktrees. A card marked Reserved is waiting for the Runner to finish preparing the worker and handing its brief to the conversation. Reissuing lazybox agents spawn --task TASK_ID resumes that reservation. Keep the same --key when retrying after a lost response. Once the Runner has adopted surviving sessions after a restart, it also checks unfinished reservations. If preparation fails, restore the missing prerequisite and retry the task.
Reviewing a candidate
For a worker with an approved spec contract, commit the candidate in each changed member and choose Changes → Review with…. A changes review captures the diff and records its member revisions and contract digest. Keep the worker’s workspace clean during review. If a member moves, is dirty or becomes unreadable when the review finishes, the outcome is unknown. Repeat the review on the current candidate. A later recorded commit or run on a different revision can also invalidate the earlier verdict. The Mission evidence returned by lazybox missions show MISSION_ID --json includes the member-to-commit map and contract digest. The person still accepts the task.
A fresh pinned worker starts with its own evidence. The board keeps earlier attempts in the task history and evaluates the current attempt’s checks and reviews. A passing turn review cannot clear blockers from a review of the pinned candidate.
Test the workers together
From an owner terminal, report the pinned tasks for acceptance and finish a passing Changes review for each current worker. Use the same approved plan and spec throughout. Supply a finite shell check that exercises the repositories together from the workspace root. For a plan whose members are named runner and client, this might be a reconnect scenario hosted by the client.
lazybox mission integrate MISSION_ID --plan PLAN_ID --key reconnect-1 --check 'sh client/tests/reconnect.sh runner'
lazybox missions show MISSION_ID --json
lazybox mission promote MISSION_ID --candidate CANDIDATE_IDIntegration merges the reviewed commits into a dedicated workspace and runs the check there. The candidate ID is also the workspace ID. Its console holds the command output. The Mission records the check, command ID, tested commits and result. On a conflict or failed check, inspect the repair task and workspace. Request changes before accepting the individual tasks, have the workers repair and obtain fresh reviews, then repeat the same check with a new key. For tasks already accepted, propose a new reviewed plan for the replacement inputs.
Retry an interrupted request with its original key, plan and check. The Runner reconciles a recorded check from the command journal. If it cannot identify a check, it preserves the workspace and records the interruption as a failed candidate. A fresh key starts another candidate.
Promotion is an explicit owner decision. It verifies the worker reviews, clean candidate commits and current accepted generation. The accepted manifest advances once. The next candidate starts from those accepted commits, which local Git refs retain. The original base worktrees remain available for planning. Publishing to upstream repositories is a separate operation.
Naming delivery criteria
A structured spec can use spec.v2 to give each acceptance criterion a stable ID and mark it required or optional. Start from lazybox artifact template delivery-spec, publish it with lazybox artifact put spec.json --title "…" (the Runner recognizes the schema), and pin its artifact version in the Mission plan. The artifact reader lists each criterion by ID and requirement level. The approval sheet and worker brief include the IDs and requirement levels.
{
"schema": "spec.v2",
"problem": "Deliver an authenticated catalog",
"requirements": ["Persist and retrieve work items"],
"acceptanceCriteria": [
{"id": "storage", "expected": "Duplicate inserts retain one work item", "required": true},
{"id": "api", "expected": "An authorized client retrieves that item after restart", "required": true}
]
}Existing spec.v1 plans continue to use text criteria.
Checking delivery criteria
Run each criterion's check through lazybox run, naming the criterion:
lazybox run --needs generate -- codefly add service catalog
lazybox run --check storage -- psql -f checks/storage.sql
lazybox run --check api -- go test ./api -run TestAuthorized| Run | Exit | Effect on the criterion |
|---|---|---|
--check | 0 | passed |
--check | non-zero | failed |
--needs | non-zero | blocked: a prerequisite failed |
--needs | 0 | clears a blocked criterion; proves nothing else, so run its --check |
| either | 126 or 127 (could not start) | blocked |
| either | stopped (Stop in Lazybox, an interrupt) | marks an unrun criterion unverified; never erases a result |
Only a --check, or a prerequisite that failed, replaces a criterion's result: a later --needs or a stopped rerun never clears an earlier failure or pass.
A check waits for its result: it never moves to the background, and --background is refused. The run ends with one line saying what was recorded, for example check storage: passed on candidate:3f2a… (“Catalog spec” v3), and lazybox ls repeats it.
The candidate is the files the check ran on: each workspace repository's commit and any uncommitted changes, taken when the run starts. Checking before you commit is fine, but committing changes the candidate, so run the checks again on what you commit. A run whose files change while it runs (an edit or a commit) records nothing and says so. A check is refused before it runs when a workspace repository is not ready.
A worker on a Mission task checks against the plan's approved contract. An ordinary conversation pins a published spec.v2 version first (a requirements.v1 version, from lazybox artifact template requirements, binds the same way):
lazybox delivery bind spec-catalog@3Each bind of a different version, even one bound before, starts a new attempt with no results yet; earlier results stay with the attempt they were checked in. A check is refused before it runs when no contract names its criterion, and in a conversation that works more than one Mission task at once. The Runner saves each result with the run's completion and records it once, including after a restart.
Reading the delivery outcome
The Runner keeps one outcome per attempt and serves it everywhere: the Mission card and the acceptance inbox show it in one line, and the conversation shows it under its messages once a turn ends (open it for every criterion). From an agent, or from your terminal with --mission ID --task ID:
lazybox delivery status # the verdict, what blocks it, each criterion's evidence
lazybox delivery status --json # the same, machine-readable| Verdict | Means |
|---|---|
| Delivered | every required criterion passed on the workspace's current files |
| Failing | a required check failed |
| Blocked | a required criterion's prerequisite failed |
| Incomplete | a required criterion is not yet proven on these files |
| Unverified | nothing names required criteria (no spec, or a text-only spec.v1) |
The verdict is for the workspace's current files, uncommitted changes included, read again on every lookup: right after a commit the new files read Incomplete until their checks run. The spec and each run are named by their titles (lazybox run --title names a run). Files nobody checked yet read Incomplete, and the files checked earlier are listed with their own verdicts. A failure a later check resolved stays in the evidence, marked resolved. Select a run to open its output; output the Runner no longer keeps says so. Accepting a task, or asking for changes, is shown beside the verdict and never changes it: accepting with a criterion still open leaves that gap visible.
A reviewer of a contract-bound Mission review records its verdict on each criterion with lazybox delivery review <criterion> passed|failed. It counts for the files under review and is refused once the work has new commits.
Publishing a verdict
lazybox delivery publish keeps the outcome as a report artifact (schema delivery-outcome.v1); lazybox delivery publish --id ID publishes the next version. Each version keeps the verdict it was published with: publish while blocked, repair, publish again, and the first version still reads Blocked. The reader shows a verdict per candidate with each criterion's state and evidence, and says which run outputs were no longer kept when it was published.