Kanshō/Task envelope card

Task envelope card

The task as a unit of work — the routing header (ids, owner, lifecycle state) paired with the payload (input message, artifacts, metadata). One envelope, the whole task at a glance.

Included in the single kansho full pack. Components are not offered as separate installs.

Default

Click to select

Lifecycle states

The same envelope across every state
task-newctx-mission-218
Audit writerwriter
New

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-acceptedctx-mission-218
Audit writerwriter
Accepted

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-in-progressctx-mission-218
Audit writerwriter
In progress

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-awaiting-inputctx-mission-218
Audit writerwriter
Awaiting input

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-waiting-dependencyctx-mission-218
Audit writerwriter
Waiting on dependency

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-pollingctx-mission-218
Audit writerwriter
Polling

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-reconnectingctx-mission-218
Audit writerwriter
Reconnecting

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-completectx-mission-218
Audit writerwriter
Complete

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-failedctx-mission-218
Audit writerwriter
Failed

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0
task-cancelledctx-mission-218
Audit writerwriter
Cancelled

Draft the INC-218 postmortem from the gathered sources and prior incidents.

Artifactspostmortem-draft.mdtimeline.json
Priority
High
Deadline
2h
Retries
0

Minimal

No artifacts or metadata
task-0a11ctx-mission-218
Source searchsearch
Accepted

Find prior INC-218 postmortems across the three search indexes.

Supporting sources

These installed helpers belong to components documented on this page. They do not increase the public component count.

components/tasks/task-types.ts

Shared task, artifact, and checkpoint types and metadata.

Component documentation

Task Envelope Card

components/tasks/task-envelope-card.tsx

Purpose

Packages task routing, lifecycle, input, artifacts, and metadata into one inspectable card.

Appropriate use

Use for A2A-style task lists where operators need the context id, owner, state, and payload together.

Example

components/tasks/task-envelope-card.tsx has a representative live example in the "Default" section on /components/task-envelope-card.

States

Task states are new, accepted, in-progress, awaiting-input, waiting-dependency, polling, reconnecting, complete, failed, and cancelled; selection is optional.

API and props

TaskEnvelopeCard accepts taskId, contextId, owner, state, input, artifacts, metadata, selected, onClick, and className.

Dependencies

Direct imports are React, Lucide icons, AgentDot, Card, StatusPill, shared task types, and cn.

Accessibility

Ids, owner, state, input, artifact labels, and metadata are visible text; the card becomes a button with pressed state only when onClick is supplied.

Limitations

It does not route, execute, mutate, or validate tasks and does not fetch artifact contents.

Source

Source: components/tasks/task-envelope-card.tsx.

Full pack

components/tasks/task-envelope-card.tsx is documented at /components/task-envelope-card and installs only through the single Kansho full pack; no individual component install is offered.