Kanshō

Docs / Memory and context /

MemoryPromotionQueue

Queue of memory entries flagged for promotion from working to long-term storage.

Preview

Promotion queue3 awaiting review
  • CandidateUser84% 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

  • CandidateUser96% 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

  • CandidateUser72% 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

Promotion queue0 awaiting review

Nothing waiting for promotion.

Props

PropTypeDescription
proposals*ProposedMemory[]Facts the agent wants to promote. Empty array renders the "nothing waiting" state.
onApprove(id: string) => voidCalled with the proposal ID when the user approves promotion.
onReject(id: string) => voidCalled with the proposal ID when the user rejects the proposal.
classNamestringAdditional 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)}
/>