Read one work package of a Mission in full.
API version mission-status unreleased
Returns the authored plan, the resolved state, the review evidence, the readiness and the status history of one work package. The prompt body is included only when includePrompt is true. An unknown Mission or an unknown work package is a 404.
Parameters
Path Parameters
The canonical machine identity of a Mission: a 26-character Crockford ULID minted when the Mission is created and never changed. Never confuse it with displayNumber, which is display-only and repeats.
The identity of the Mission, a 26-character ULID. It is the only identifier accepted to select a Mission; the display number is never accepted.
The identifier of a work package inside one Mission: the letters WP and at least two digits, for example WP01 (the same rule the planning-file reader enforces). A status-transition row of the event log whose work package id does not match is not forwarded as an event and is counted as dropped. It is unique within a Mission and is not unique across Missions, so it is always read together with a missionId.
The identifier of the work package inside the Mission, for example WP01.
Query Parameters
Set to true to include the work package’s prompt body as promptMarkdown. When the parameter is absent, or false, the response omits promptMarkdown; there is no default body.
Responses
200
The work package.
One work package of a Mission in full. The fields fall in three groups. Authored plan: read from the planning file; what was intended (authored, ownedFiles, dependencies, requirementRefs, executionMode, taskType, priority, mergeTargetBranch, trackerRefs, phaseLabel, title). Resolved state: read from the status snapshot, never from the agent, assignee, shell, lane or review status keys that old planning files still carry (statusLane, assignment, subtasks, subtaskProgress, implementerOfRecord, lastTransitionAt, forceCount, lastEventId, actor, cancellation). Derived and review evidence: readiness, readyToStart, review, history, staleness. The prompt body is returned only when the request asks for it.
object
Resolved state. Who made the latest status change, as three handles; three nulls when the work package has no events or the stored actor is not a valid handle.
object
The handle of the agent profile the actor used, or null when unknown or not a valid handle.
The handle of the role the actor held, or null when unknown or not a valid handle.
The handle of the agent or tool that acted, or null when unknown or not a valid handle.
Resolved state. Who holds the work package and the binding that ran, from the status snapshot.
object
The agent that currently holds the live claim, or null when none does (a release clears it).
The agent profile of the resolved binding, or null when none resolved.
The version of the resolved agent profile, or null.
The assignee recorded in the status snapshot, or null.
The model of the resolved binding, or null. The internal marker for a pick-up that resolved no model reads as null.
The provider of the resolved binding, or null.
The role of the resolved binding, or null.
Authored plan. The recommended assignment and subtask roster from the planning file. What was intended, never what ran.
object
The recommended agent profile, or null when the planning file names none.
The recommended model, or null when the planning file names none.
The recommended role, or null when the planning file names none.
The subtask identifiers the planning file lists, in authored order; empty when there are none.
Why a canceled work package was canceled, and whether a person wrote the reason. It is present only while the work package sits in the canceled status lane.
object
The human text recorded with the cancellation, or null when none was recorded. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]; only the matching text is replaced.
Operator when a person wrote the reason; synthetic when the tool filled in a default.
Authored plan. The work packages this one depends on; empty when there are none.
Authored plan. How the work package executes, as an open string such as code_change or planning_artifact; null when the planning file names none. Some planning files store the value with a balanced pair of literal quotes around it; one such pair is stripped, so a stored “code_change” in quotes is read as code_change.
Resolved state. How many of the work package’s transitions bypassed the usual guards; 0 when it has no events.
Review evidence. The status transitions of the work package, oldest first, ordered by time then event identifier. Only transitions appear; annotation and lifecycle rows of the event log are not exposed.
One status transition of a work package. History lists transitions only: annotations and lifecycle rows of the event log are never shown here, so kind has the single value transition.
object
Who made the transition, as three handles.
object
The handle of the agent profile the actor used, or null when unknown or not a valid handle.
The handle of the role the actor held, or null when unknown or not a valid handle.
The handle of the agent or tool that acted, or null when unknown or not a valid handle.
When the transition happened, an RFC 3339 date-time with an offset.
The identifier of the event, unique within the Mission’s event log.
True when the transition bypassed the usual guards.
The display state of a work package in the status model. Exactly nine values. The runtime enum also carries genesis and uninitialized, which are not display values: a work package with no events reads as a null status lane, never as one of those two. This is the status lane, not a code lane or the repo-root lane; the contract never groups these values into board columns.
The kind of row; always transition.
The human text recorded with the transition, or null when none was recorded. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]; only the matching text is replaced.
The verdict of a review: approved, or changes_requested. A work package that was rejected and sent back carries changes_requested; one that passed review carries approved.
The status lane the work package entered.
Resolved state. The agent that last claimed the work package for implementation, kept after the live claim is released; null when no claim was recorded or the snapshot predates the field.
Resolved state. The identifier of the last event that touched the work package, or null when it has no events.
Resolved state. When the work package last changed status lane, or null when it has no events.
Authored plan. The branch the work package merges into, or null when the planning file names none.
Authored plan. The repository-relative files or patterns the work package owns; empty when none are declared.
Authored plan. The grouping label the planning file gives the work package, or null. It is a label written by the author of the plan; it is not a Mission phase and not the glossary term phase. Human text. A host path inside it is replaced by [path] and an e-mail address by [email].
Authored plan. The priority the planning file gives the work package, as an open string; null when none.
The authored markdown body of the work package’s planning file. It is returned only when the request sets the includePrompt query parameter to true; otherwise the property is absent from the response. It is the one text field that is not redacted: it passes through as authored (Mission D-14), so it can carry host paths and e-mail addresses that the [path] and [email] tokens would have replaced elsewhere. Authored prompts are the reason it is opt-in; the includePrompt request parameter is the only guard, and a consumer must treat the value as sensitive. Corpus-derived payloads are not scanned for it, but the examples in this contract are.
Whether every dependency has reached an acceptable ending, and which have not.
object
True when no dependency is unsatisfied.
The dependencies that have not reached an acceptable ending, in dependency order; empty when satisfied.
True only when the status lane is planned and the dependencies are satisfied; false in every other case, including a null status lane.
Authored plan. The requirements the work package covers, as authored references; empty when none are listed.
Review evidence. The latest review result and any review override; each is null until it exists.
object
The latest recorded review outcome of a work package: who reviewed, the verdict, and a reference to the review. The reference is a review-cycle reference or a legacy free-text reference; the contract never exposes a location on the machine that holds the review notes.
object
The review reference as recorded, a review-cycle reference or legacy free text. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]; only the matching text is replaced.
The handle of the reviewer, or null when the stored value is not a valid handle.
The verdict of the review.
A recorded override of the review step: when it was recorded, by whom, and the stated reason. It is present whenever the status snapshot holds an override record, including a partial one. complete is true only when the record’s at, actor, work package id and reason are all non-empty (the rule of the code). A partial record (complete false) is not discarded by the code and keeps blocking the merge gate, so it is shown here with the blank members as null: a consumer that sees complete: false knows an override exists and that the merge gate is blocked by it. The work package id is not carried, because the override sits inside its own work package. The release marker that clears an override (all four fields empty) is not an override and is projected as null for the whole object.
object
The handle of whoever recorded the override, or null when the record has none or the stored value is not a valid handle.
When the override was recorded, an RFC 3339 date-time with an offset, or null when the record has no time (a partial record).
True when at, actor, the work package id and reason of the record are all non-empty. False for a partial record, which still blocks the merge gate.
The reason given for the override, or null when the record has none (a partial record). Human text. A host path inside it is replaced by [path] and an e-mail address by [email]; only the matching text is replaced.
Whether the work happening on a work package has gone quiet. It needs git and a worktree, so it cannot be computed from the event log alone. Provisional: how staleness is measured and whether v1 carries it is an open decision on #5528.
object
The minutes since the last meaningful commit of the work package, or null when unknown.
A short machine-readable reason for the status, or null. Exactly the two reasons the code sets today: planning_artifact_repo_root_shared_workspace (a planning-artifact work package shares the repository root, so there is no worktree to measure) and live_claim_process (the claiming process is alive). Whether more reasons exist is pending the open decision on #5528.
Fresh when recent work exists, stale when it has gone quiet, not_applicable when the work package is not being worked on.
The display state of a work package in the status model. Exactly nine values. The runtime enum also carries genesis and uninitialized, which are not display values: a work package with no events reads as a null status lane, never as one of those two. This is the status lane, not a code lane or the repo-root lane; the contract never groups these values into board columns.
Resolved state. How many subtasks are done and how many exist, both from the resolved subtask map.
object
The number of subtasks whose resolved state is done.
The number of entries in the resolved subtask map.
Resolved state. The state of each subtask, keyed by subtask identifier. This is a deliberately open map, the one exception to closed objects: the keys are the subtask identifiers of the work package and cannot be listed in the contract. Empty when no subtask state was recorded.
object
The display state of a work package in the status model. Exactly nine values. The runtime enum also carries genesis and uninitialized, which are not display values: a work package with no events reads as a null status lane, never as one of those two. This is the status lane, not a code lane or the repo-root lane; the contract never groups these values into board columns.
Authored plan. The kind of task, as an open string; null when the planning file names none.
The human title of the work package. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]; only the matching text is replaced.
Authored plan. External tracker references such as an issue number; empty when none are listed.
The identifier of the work package inside its Mission.
404
The request failed. The body is a problem details object.
The only non-2xx body of any module. A problem details object in the sense of RFC 9457, served as application/problem+json.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.
default
The request failed. The body is a problem details object.
The only non-2xx body of any module. A problem details object in the sense of RFC 9457, served as application/problem+json.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.