Kanshō/Context group header

Context group header

Groups related tasks, messages, and artifacts under one session or mission context — the A2A contextId. A quiet section header on its own; collapses its children behind a disclosure when given any.

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

Standalone header

No children
INC-218 postmortem missionctx-mission-218· Audit crew
52342m ago

Collapsible group

Wraps grouped rows
  1. Done: Created
  2. Done: Submitted
  3. Done: Working
  4. Current: Completed
  1. Done: Created
  2. Done: Submitted
  3. Current: Working
  4. Upcoming: Completed
  1. Done: Created
  2. Done: Submitted
  3. Reached: Working
  4. Upcoming: Completed
  5. Current: Blocked

Minimal

Just the title and id
Ad-hoc research sessionctx-9f02

Component documentation

Context Group Header

components/tasks/context-group-header.tsx

Purpose

Labels a session or mission group with counts, owner, recency, and optional collapsible content.

Appropriate use

Use to cluster tasks, messages, and artifacts that share a context id.

Example

components/tasks/context-group-header.tsx has a representative live example in the "Collapsible group" section on /components/context-group-header.

States

Headers can be static or disclosures, open or closed by default, with independently optional task, message, and artifact counts.

API and props

ContextGroupHeader accepts title, contextId, counts, updatedAt, owner, children, defaultOpen, and className.

Dependencies

Direct imports are React, Lucide icons, Disclosure, and cn.

Accessibility

When children exist, Disclosure provides a named button with expanded state; ids, counts, owner, and recency remain visible text.

Limitations

It does not load grouped rows, update counts or timestamps, or persist disclosure state.

Source

Source: components/tasks/context-group-header.tsx.

Full pack

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