Skip to content

Configure namespace curation rules with previews and team sharing #1142

Open

Description

@zlareb1

Company or project name

ClickHouse

Component

Memory and search

Use case

People accumulate useful memories in personal or agent namespaces and want selected knowledge available to their team without manually copying every fact. They need a visible place to define what qualifies, preview the effect and inspect what ran.

This fits Loom as governed memory curation. It should use existing memory operations and permissions, rather than becoming a general job automation engine. “Worth sharing” needs explicit criteria; an agent's confidence score alone does not establish truth or permission to share.

Describe the solution you'd like

Add a Curation → Rules workspace reachable from Memories. Each rule records its owner, source scope, destination, matching conditions, action, execution identity, mode and revision. Distinguish these action rules from existing operation guardrail policies; a match does not grant permission.

Start with “Share a copy with the team.” Reuse memory.copy_to or memory.cross_promote under their existing authorization and lineage contracts. Retain the private original by default. memory.move renames a key and is not a cross-namespace transfer; do not label a copy as a destructive move. A true transfer or deletion of the original needs a separately designed and reviewed action.

Offer Preview, Suggest for review and explicitly enabled Automatic modes. Deterministic rules can run automatically once the owner authorizes the exact scope and criteria and the underlying policy permits the action. Semantic suggestions can rank candidates but must expose their uncertainty. Existing pending-review restrictions still apply.

Acceptance criteria

  • A person can create, preview, enable, pause and revise a rule in the UI. Preview shows matching revisions, reasons, destination visibility, collisions and exclusions before anything is shared.
  • Conditions use observable metadata such as trusted approval/verification, pins, tags, source freshness and usage evidence. Define what each signal means; graded success or a self-applied tag alone must not become approval or a disclosure grant.
  • Rules run through ordinary APIs. Recheck source access, destination write permission, grants, current content hashes, pending review, erasure/consent and applicable sensitivity restrictions at execution. A rule never grants access to an underlying private document or repository.
  • Automatic execution is opt-in and bounded by scope, batch size and frequency. It uses an explicit execution identity, supports pause and reports partial failures. No arbitrary script execution or model call is required for deterministic matching.
  • Repeated runs do not create duplicate copies. A changed source revision or rule revision is reevaluated. Destination conflicts are reported rather than overwritten. Preserve the existing copy lineage, later-redaction and erasure behavior; copying does not promise automatic synchronization with future source edits.
  • Provide run history showing the rule revision, actor, matched/skipped/applied outcomes and destination receipts, without exposing unauthorized records through counts. Document supported reversal; removing a copy cannot undo prior disclosure.
  • Rules are authoritative server data available across replicas and through API/CLI. The workflow works on a ClickHouse-only installation without another required service.

Describe alternatives you've considered

Manual Copy to… already supports one memory at a time. A personal script can automate calls but lacks a shared rule editor, preview, execution history and lifecycle. Existing policy checks govern whether an operation is allowed; they do not by themselves provide this curation workflow.

Where the need comes from

The need is mine, an AI tool helped shape the proposal

Additional context

User-requested product proposal; no live curation rule or data move was executed.

Suggested delivery order: preview and reviewed sharing first, then opt-in deterministic scheduling. Link the review-navigation issue so suggestions are discoverable.

Related product work: #1141

Activity

  1. added
    enhancement
    help wanted
    on Nov 22, 2026
  2. zlareb1 commented on Nov 22, 2026

    @zlareb1
    MemberAuthor

    Additional acceptance criteria: channel coverage

    Curation rules must be manageable without opening the dashboard.

    • Support create/list/inspect/revise, preview, enable/pause, an authorized run request, job status and run history through API, CLI, supported SDKs and UI; expose the appropriate agent tools under the same roles.

    • Preview, source/destination selection, explicit automation consent and audit receipts use server data. A scheduler or SDK caller can execute an already authorized rule without browser session state; it still rechecks permissions and content revisions.

    • Offer machine-readable previews and per-item outcomes. A CLI confirmation flag cannot bypass sharing consent, pending-review restrictions or server admission.

    • Use one authoritative backend contract across HTTP API, CLI, every supported SDK, UI and appropriate MCP/agent tools. Preserve the same permissions, scope, errors, revision checks and idempotency; publishing a feature must not leave a UI-only mutation path.

    • Document the supported operations and capability matrix, including CLI JSON output and typed SDK request/response examples. Cover Python and TypeScript and any other SDK supported when the feature ships; this requirement does not silently add new SDK languages.

    • Verify the underlying workflow with the dashboard absent. Optional services and human-only actions keep their existing authorization requirements; interface parity does not mean granting every caller every action.

    Related headless deployment requirement: #1146

  3. added
    up-for-grabs
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedup-for-grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions