Kanshō/Memory fact card

Memory fact card

The atomic unit of memory. Never a bare fact — always paired with scope, owner, confidence, source, timing, and reversibility, per the memory design rule.

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

Full card with controls

Static preview: rollback and delete require host persistence
ActiveUser94% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly

Irreversible (controls hidden)

ActiveOrg99% confirreversible

Org compliance baseline: SOC2 evidence is retained for 7 years.

Owner: org:policySource: approval · legalCreated: Last used: used 2h ago· decays slowly

State matrix

candidate
CandidateUser88% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly
active
ActiveUser88% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly
historical
HistoricalUser88% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly
conflicted
ConflictedUser60% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly
stale
StaleUser42% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly
expired
ExpiredUser88% conf

Avery prefers one-paragraph postmortems with a checklist of action items, not a table.

Owner: user:averySource: message · 2026-05-12Created: Last used: used 2h ago· decays slowly

Supporting sources

These installed helpers belong to components documented on this page. They do not increase the public component count.

components/memory/memory-types.ts

Shared memory layer, state, and provenance types and metadata.

Component documentation

Memory Fact Card

components/memory/memory-fact-card.tsx

Purpose

Displays a stored memory fact with scope, lifecycle, confidence, provenance, time, and optional controls.

Appropriate use

Use for inspecting one fact when its storage metadata and reversibility matter.

Example

components/memory/memory-fact-card.tsx has a representative live example in the "Full card with controls" section on /components/memory-fact-card.

States

Memory states are candidate, approved, rejected, active, historical, conflicted, stale, expired, and deleted; reversible facts may offer rollback and deletion.

API and props

MemoryFactCard accepts a MemoryFact plus optional onRollback and onDelete callbacks and className; MemoryFact carries id, fact, scope, state, owner, confidence, source, timestamps, expiry, and reversible.

Dependencies

Direct imports are React, Lucide icons, StatusPill, Tag, InlineConfirmButton, Time, shared memory types, and cn.

Accessibility

Lifecycle, scope, confidence, owner, and source are visible text; parseable createdAt values use semantic Time output, and deletion uses two-step confirmation.

Limitations

The host owns persistence, rollback, deletion, pending/error feedback, and validation of freeform last-used and expiry strings.

Source

Source: components/memory/memory-fact-card.tsx.

Full pack

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