Kanshō/Task proof checklist

Task proof checklist

A definition of done for a task — the proofs that must land before it can close: tests pass, screenshot, file path, reviewed diff, user approval. Each row carries its own status so both required and already-satisfied evidence are modelled.

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

In progress

Some proofs still outstanding
Required proofs2/5
  • Satisfied: Tests pass42 passed
  • Satisfied: File pathsrc/retry.ts
  • Pending: Reviewed diff
  • Required: Screenshot
  • Required: User approval

Complete

All proofs satisfied
Required proofs5/5
  • Satisfied: Tests pass42 passed
  • Satisfied: File pathsrc/retry.ts
  • Satisfied: Reviewed diff
  • Satisfied: Screenshot
  • Satisfied: User approval

Failed proof

A required proof failed
Required proofs1/3
  • Failed: Tests pass3 failed
  • Satisfied: File pathsrc/retry.ts
  • Required: Reviewed diff

Component documentation

Task Proof Checklist

components/tasks/task-proof-checklist.tsx

Purpose

Tracks required proof items and exposes recovery actions for failed evidence.

Appropriate use

Use for definition-of-done checks when the host owns proof collection, retry, and inspection.

Example

components/tasks/task-proof-checklist.tsx has a representative live example in the "In progress" section on /components/task-proof-checklist.

States

Proof kinds are test-pass, screenshot, file-path, reviewed-diff, and user-approval; statuses are required, pending, satisfied, and failed.

API and props

TaskProofChecklist accepts title, proofs, onRetry, onInspect, and className; each TaskProof supplies id, kind, status, and optional detail.

Dependencies

Direct imports are React, Lucide icons, Spinner, Button, and cn.

Accessibility

Proof kind, status, and evidence detail are textual; pending has a visible spinner plus screen-reader status text, and failed actions are named buttons only when their callbacks are supplied.

Limitations

It does not run tests, capture evidence, enforce completion, or show pending/error feedback after host-owned recovery callbacks; the owner examples do not demonstrate those actions.

Source

Source: components/tasks/task-proof-checklist.tsx.

Full pack

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