User prefers TypeScript over JavaScript for all new projects.
Owner: kansho-agentSource: conversation msg-334Created: 2 Jun 2026Last used: used yesterday· decays slowly
Card for a single memory entry: claim, source, confidence rating, and forget action.
User prefers TypeScript over JavaScript for all new projects.
High confidence — active
Repo name: kansho-ui — the component library being built in public.
Medium confidence — stale
Current deadline: end of Q2 for the public launch of the component catalog.
Low confidence — active
User may prefer dark mode — inferred from screenshot, not confirmed.
Irreversible — no controls
Organisation billing plan upgraded to Pro — confirmed via Stripe webhook.
| Prop | Type | Description |
|---|---|---|
| fact* | MemoryFact | The memory fact object to display. See MemoryFact interface. |
| onRollback | (id: string) => void | Called with the fact ID when the user triggers rollback. Omit to hide the button. |
| onDelete | (id: string) => void | Called with the fact ID after the user confirms deletion. Omit to hide the button. |
| className | string | Additional CSS classes for the card root. |
* required.
import { MemoryFactCard } from "@/components/memory/memory-fact-card";
import type { MemoryFact } from "@/components/memory/memory-fact-card";
const fact: MemoryFact = {
id: "f-001",
fact: "User prefers TypeScript over JavaScript.",
scope: "user-scoped",
state: "active",
owner: "kansho-agent",
confidence: 0.92,
source: "conversation msg-334",
createdAt: "2 Jun 2026",
};
<MemoryFactCard
fact={fact}
onRollback={(id) => console.log("rollback", id)}
onDelete={(id) => console.log("delete", id)}
/>