Task activity receipt
A durable, append-only log of who changed a task's state and why. Each entry pairs the actor and change with an optional reason — an auditable receipt rather than an opaque status flip.
Included in the single kansho full pack. Components are not offered as separate installs.
Full receipt
Mixed actors and changes- Orchestratoragent
Opened task from the INC-218 mission plan.
- Orchestratoragent
Routed to Audit writer.
Capability match: long-form report generation.
- Audit writeragent
Began drafting from 6 gathered sources.
- Audit writeragent
Paused awaiting publish approval.
Policy: postmortems require human sign-off before publish.
- Averyuser
Approved the draft for publication.
- Audit writeragent
Published postmortem and attached final artifacts.
Failed run
Ends in failure- Orchestratoragent
Opened task from the INC-218 mission plan.
- Orchestratoragent
Routed to Audit writer.
Capability match: long-form report generation.
- Audit writeragent
Began drafting from 6 gathered sources.
- Audit writeragent
Aborted after the source index timed out 3 times.
Upstream search index unavailable.
Component documentation
Task Activity Receipt
components/tasks/task-activity-receipt.tsxPurpose
Renders an append-only-looking timeline of task state changes and their reasons.
Appropriate use
Use to explain who changed a task, what changed, why, and when.
Example
components/tasks/task-activity-receipt.tsx has a representative live example in the "Full receipt" section on /components/task-activity-receipt.
States
Actor kinds are agent, user, and system; changes are created, started, state-change, paused, handed-off, approved, completed, and failed.
API and props
TaskActivityReceipt accepts title, entries, and className; each ActivityReceiptEntry supplies id, change, actor, actorKind, summary, reason, and at.
Dependencies
Direct imports are React, Lucide icons, Time, and cn.
Accessibility
Actor, change label, summary, reason, and time are visible text; machine timestamps use semantic Time output and markers are decorative.
Limitations
The component cannot guarantee append-only storage, authenticity, ordering, or pagination; it displays the supplied array.
Source
Source: components/tasks/task-activity-receipt.tsx.
Full pack
components/tasks/task-activity-receipt.tsx is documented at /components/task-activity-receipt and installs only through the single Kansho full pack; no individual component install is offered.