MemoryPromotionQueue
Queue of memory entries flagged for promotion from working to long-term storage.
Preview
- Candidate→ User84% conf
User's preferred commit message style: imperative mood, under 72 chars.
Mentioned explicitly in 3 separate conversations over 2 weeks.
conversation msg-44, msg-312, msg-788
- Candidate→ User96% conf
Project kansho-ui targets Next.js 16 and React 19.
Derived from package.json read during tool call on 8 Jun.
tool:read_file · package.json
- Candidate→ User72% conf
Joey prefers Bun over npm for JavaScript projects.
Stated in a CLAUDE.md instruction; low confidence as it may be project-specific.
file:CLAUDE.md
Variants
Empty state
Nothing waiting for promotion.
Props
| Prop | Type | Description |
|---|---|---|
| proposals* | ProposedMemory[] | Facts the agent wants to promote. Empty array renders the "nothing waiting" state. |
| onApprove | (id: string) => void | Called with the proposal ID when the user approves promotion. |
| onReject | (id: string) => void | Called with the proposal ID when the user rejects the proposal. |
| className | string | Additional CSS classes for the section root. |
* required.
Usage
import { MemoryPromotionQueue } from "@/components/memory/memory-promotion-queue";
<MemoryPromotionQueue
proposals={pendingProposals}
onApprove={(id) => promote(id)}
onReject={(id) => dismiss(id)}
/>