Kanshō/Handoff contract card

Handoff contract card

The contract behind a handoff: who is asking whom to do what, what comes back, by when, and how it is proven. The state pill tracks where the handoff stands.

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

Handoff states

pending
Pending
accepted
Accepted
rejected
Rejected
rerouted
Rerouted
expired
Expired

Pending contract

HC-310Pending
Plan & dispatchorchestratorAudit writerwriter
Task

Draft the operator-facing postmortem for INC-218 from the audit ledger and incident thread.

Expected artifact:postmortem-INC-218.md (500–800 words)
Deadline:Today, 15:00
Proof:Reviewed diff + root-cause section sourced from ledger entries

Accepted — escalation to human

HC-311Accepted
Plan & dispatchorchestratorAveryoperator
Task

Approve the production cut-over now that staging drift is within threshold.

Expected artifact:Signed approval receipt
Deadline:Before 16:00
Proof:Explicit user approval

Component documentation

Handoff Contract Card

components/agent-setup/handoff-contract-card.tsx

Purpose

Summarises an agent handoff contract: participants, task, expected artifact, deadline, and proof requirement.

Appropriate use

Use before or during delegation when both sides need an explicit, inspectable agreement.

Example

components/agent-setup/handoff-contract-card.tsx has a representative live example in the "Pending contract" section on /components/handoff-contract-card.

States

State uses the shared handoff vocabulary; source and target roles, human target, deadline, and proof are optional.

API and props

HandoffContractCard accepts id, state, source, target, taskSummary, expectedArtifact, deadline, proofRequirement, and className.

Dependencies

Direct imports are React, Lucide icons, AgentDot, StatusPill, setup-state metadata, and cn.

Accessibility

All contract terms and state are visible text; role strings are content rather than ARIA roles.

Limitations

The card is read-only and does not accept, reject, validate deadlines, open artifacts, or prove completion.

Source

Source: components/agent-setup/handoff-contract-card.tsx.

Full pack

components/agent-setup/handoff-contract-card.tsx is documented at /components/handoff-contract-card and installs only through the single Kansho full pack; no individual component install is offered.