Read one Mission in detail.
API version mission-status unreleased
Returns the Mission overview fields, the five Mission phases and a summary of each work package. The Mission is selected by its missionId only.
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.
Responses
200
The Mission in detail.
The detail of one Mission: every field of the overview (defined in MissionHead), the five Mission phases and a summary of each work package. The schema is closed, so a record with any other property is invalid.
object
When the Mission was accepted, or null while it is not accepted.
The number of work packages in the blocked status lane.
When the Mission was created, an RFC 3339 date-time with an offset.
When the Mission was abandoned, or null. It is the discarded_at key of the raw mapping that load_meta returns; no typed dictionary declares it.
A display-only sequence number assigned when the Mission is consolidated; null before that. It is not unique, repeats across Missions, and must never be used as an identifier.
The number of events in the Mission’s event log.
The human display name of the Mission, the friendly_name key of its meta.json. When the key is empty or absent this contract defines the slug as the display name; that fallback is a rule of this contract and has no code source. Human text. A host path inside it is replaced by [path] and an e-mail address by [email].
The latest moment any work package changed status lane, or null when none has. There is no Mission-level event time, so this is the maximum over the work packages.
The identifier of the last event in the Mission’s event log, or null when the log is empty.
The Mission lifecycle state, derived in this order. 1: discardedAt is set, so discarded. 2: wpTotal is 0 (including an unreadable event log), so draft. 3: any work package is claimed, in_progress, for_review, in_review or approved, so active. 4: otherwise, any work package planned or blocked, so planned. 5: otherwise (every work package done or canceled), active until acceptedAt is set, then done. Two quirks are part of the rule: a Mission whose only remaining work packages are blocked reads as planned, and a Mission whose work packages are all canceled reads as done once acceptedAt is set.
When the Mission was consolidated into its target branch, or null before that. Recorded together with the post-consolidation review baseline.
The first eight characters of missionId, used to disambiguate branch and worktree names. It is derived from missionId, which is always present, so it is always present too; it is never null and never an empty string.
The canonical machine identity of the Mission (a 26-character ULID), the only identifier clients may use for lookup.
The kind of Mission, as an open string (new kinds may appear without a contract change); null when none is recorded.
A provisional hint for the operator, or null. It is one of two English sentences, both embedding the Mission slug: the review-then-accept sentence when the Mission carries a merge baseline and is not accepted, or the consolidate sentence when every work package is done or canceled with at least one done and the Mission is not accepted. It is null once the Mission is accepted and in every other case. A Mission whose work packages are all canceled has no done work package, so its hint is null; that is a deliberate divergence from the replaced dashboard, not an omission. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]. The shape is undecided; see the open decision on #5528.
Weighted readiness and done-only completion of the Mission, computed from the status lanes of its work packages.
object
The number of work packages in the done lane.
The percentage of work packages in the done lane, rounded to four decimals; 0 when there are no work packages.
Names what weightedPercentage means. It is always weighted_readiness, a readiness measure and not a completion measure.
Lane-weighted readiness of the Mission as a percentage from 0 to 100, rounded to four decimals; 0 when there are no work packages.
The human handle of the Mission, a kebab-case slug fixed when the Mission was created.
How many work packages sit in each of the nine status lanes; every key is present and none are grouped.
object
The number of work packages whose current status lane is approved.
The number of work packages whose current status lane is blocked.
The number of work packages whose current status lane is canceled.
The number of work packages whose current status lane is claimed.
The number of work packages whose current status lane is done.
The number of work packages whose current status lane is for_review.
The number of work packages whose current status lane is in_progress.
The number of work packages whose current status lane is in_review.
The number of work packages whose current status lane is planned.
The position at the end of the Mission’s event log, from which a stream resumes. Offset 0 with the empty-input digest means an empty log.
object
The 64-character lowercase hexadecimal SHA-256 digest of the last consumed line, or the digest of the empty input when the offset is 0. The stored attribute is named content_invariant.
The byte offset in the event log just after the last consumed line; 0 means nothing consumed yet.
The branch the Mission lands on, as recorded in its meta.json.
The stored shape of the Mission’s branches and lanes; unknown when none is stored or the stored value is not one of the four known shapes.
The number of work packages the status model holds for the Mission, that is the length of the snapshot’s work package map. It can differ from the number of work package files, because a work package without events is not counted.
Exactly five entries, in the order specify, plan, tasks, implement, review. No existing reader computes these, so the rules are owned by this contract. Specify, plan and tasks are evaluated alike: complete with basis artifact when the planning file (spec.md, plan.md or tasks.md respectively) exists in the Mission directory; else complete with basis lifecycle_event when the matching Completed lifecycle event (SpecifyCompleted, PlanCompleted or TasksCompleted) exists; else in_progress with basis lifecycle_event when the matching Started event exists; else pending with basis artifact. Implement and review always carry basis derived_from_status_lanes and use statusLaneCounts and wpTotal, evaluated in this order. Implement: complete when wpTotal is above 0 and every work package is for_review, in_review, approved, done or canceled; else pending when no work package has left planned or blocked (a Mission with no work packages is pending); else in_progress. Review: complete when wpTotal is above 0 and every work package is done or canceled; else pending when no work package is for_review, in_review, approved or done; else in_progress. There is no lifecycle event for implement or review. The Mission phase is not the glossary phase.
One of the five phases of a Mission’s workflow: specify, plan, tasks, implement, review. This is the Mission phase, a stage of the workflow. It is not the glossary term phase and it is not the phaseLabel of a work package. Each entry says how far the phase has got and what that statement rests on. The first three phases rest on a planning artifact or a lifecycle event; implement and review rest on the status lanes of the work packages and never on an artifact.
object
What the status rests on. artifact: a planning file exists, or no evidence exists and the phase is pending. lifecycle_event: a Started or Completed lifecycle event. derived_from_status_lanes: the status lane counts, used for implement and review only.
Which phase this entry describes. The five phases always appear in this order.
How far the phase has got. The rule for each phase is written on the phases field of MissionDetail.
One summary for each work package of the Mission, ordered by wpId ascending compared as plain strings. A work package that has a planning file but no events is listed with a null status lane; it is not counted in wpTotal or in statusLaneCounts, which count only work packages the status model holds.
The short form of a work package that a Mission detail lists. It carries identity, position in the plan, status lane and readiness. It never carries the prompt body and none of the review or history detail; those are on the work package resource.
object
The work packages this one depends on, as authored; empty when there are none.
When the work package last changed status lane, or null when it has no events.
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].
Whether the dependencies have reached an acceptable ending.
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.
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.
How many subtasks are done, from the resolved subtask map.
object
The number of subtasks whose resolved state is done.
The number of entries in the resolved subtask map.
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.
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.