Configure namespace curation rules with previews and team sharing

Aperta
#1,142 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

This is a product proposal, so start by reading docs/features/namespaces-and-sharing.md (the cross-agent sharing section) and the copy workflow at server/operations/dashboard.py lines 210-213 to see how memory.copy_to is authorized. A first step is a design discussion on the issue, not a code change. Done means maintainers agree on the rule model, the execution identity and the preview contract.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted up-for-grabs
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: https://github.com/ClickHouse/loom/issues/1141

Lingua principale
Python
Stelle
263
Fork
47
Merge medio
14h 21m
PR unite (30g)
873

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ClickHouse/loom

Tutte le issue di ClickHouse/loom

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.