Memory provenance drawer
Answers 'where did this memory come from?' — a chain of the message, tool call, file write, and approval that produced the fact. No memory should be unexplainable.
Included in the single kansho full pack. Components are not offered as separate installs.
Open the drawer
Component documentation
Memory Provenance Drawer
components/memory/memory-provenance-drawer.tsxPurpose
Explains a memory fact through the events that produced it.
Appropriate use
Use as a detail drawer when operators need the message, file, tool-call, or approval trail behind a fact.
Example
components/memory/memory-provenance-drawer.tsx has a representative live example in the "Open the drawer" section on /components/memory-provenance-drawer.
States
Event kinds are message, file, tool-call, and approval; events may include actor attribution, and drawer visibility is controlled.
API and props
MemoryProvenanceDrawer accepts open, onClose, fact, events, and className; ProvenanceEvent supplies id, kind, title, excerpt, timestamp, and optional actor.
Dependencies
Direct imports are React, Lucide icons, Modal sheet primitives, Tag, and cn.
Accessibility
The sheet supplies dialog focus behaviour through Modal, while event kinds, titles, excerpts, times, and actors are visible text.
Limitations
It does not validate provenance, fetch evidence, link to source records, or format freeform timestamps.
Source
Source: components/memory/memory-provenance-drawer.tsx.
Full pack
components/memory/memory-provenance-drawer.tsx is documented at /components/memory-provenance-drawer and installs only through the single Kansho full pack; no individual component install is offered.