Triage memory proposals with the assistant and prepare batch decisions

オープン
#1,144 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
clickhouse, typescript

調査の方向性

Start with the Proposals tab in frontend/src/views/admin/ReviewQueue.tsx and the proposal decision contract in docs/features/memory/writing.md#proposals, including memory.proposal_decide and its content-hash and independent-reviewer checks. Read the existing assistant direction in #160 before designing anything. Done means a reviewer can start triage from Review with scope preserved, inspect a recommended batch with hashes and proposed decisions, and confirm it once, with per-item refusals for stale or ineligible items and no assistant-driven acceptance.

索引モデルが issue の本文から書いたものです。

説明

enhancement help wanted up-for-grabs
Company or project name

ClickHouse

Component

Dashboard

Use case

A growing proposal queue is not useful if every administrator must reconstruct the evidence and review each item through a separate interaction. Users want the assistant to help settle the work, with automation where Loom's policy permits it.

This is a focused Review queue workflow under the existing assistant direction in #160. It adds proposal triage and batch decision preparation; it does not replace that issue's general inspection, tuning or assistant implementation.

Describe the solution you'd like

Add “Help review” to the Proposals tab. Pass the current authorized scope and selected proposal revisions to the existing assistant workflow. The assistant groups related proposals, identifies possible duplicates or contradictions, gathers visible source and run evidence, and drafts accept/reject/request-evidence recommendations with reasons and uncertainty.

A reviewer can inspect a group and its exact selected claim revisions, adjust the selection and confirm a bounded batch once. Reuse ordinary proposal decision operations and audit records. This reduces evidence gathering and repeated confirmations without turning model confidence into a new approval authority.

Current memory.proposal_decide requires an administrator, and acceptance requires an independent authenticated human with the displayed content hashes. Preserve that contract. The assistant retains process attribution; it must not run a background acceptance job with a person's credentials or bypass proposal state through copying, moving, rewriting or importing.

Acceptance criteria
  • Start triage from Review with scope and selected rows preserved. Show queue age, why an item needs review, recommendation reasons, relevant evidence, contradictions and missing/unavailable sources. The assistant cannot read or enumerate a broader scope than the caller.
  • Run success, popularity and model confidence are labeled as evidence with limits, not proof of factual truth. Uncertain or conflicting items can be left undecided or sent back for evidence.
  • Show the exact batch before confirmation, including the selected keys, content hashes and proposed decisions. Reauthorize and recheck revisions at Apply. Edited, erased, ambiguous or otherwise ineligible items remain undecided with a per-item reason; retries do not replay successful decisions.
  • Final acceptance uses the deliberate human review action and existing independent-review checks. Self-acceptance, service-account approval and stale-hash acceptance remain refused. A recommendation is never displayed as an already applied decision.
  • Expose and explain existing owner-set proposal_policy automation, including rejection after graded failures. Automatic acceptance remains refused. Any future change to that admission contract is a separate policy decision, not a hidden assistant shortcut.
  • Provide bulk rejection/deferral only where the current API and authorized policy support it. Do not manufacture a decision operation for an unsupported state.
  • The manual queue works when the assistant is disabled. Assistant work is on demand, bounded and cancellable, with its model cost visible; it adds no model call to memory writes or recall.
  • Check the workflow on a labeled proposal set for grounding, unauthorized-source refusal, stale plans, independent reviewer identity, partial batches and decision corrections. Report human review effort and errors rather than claiming that fewer clicks prove better memory quality.
Describe alternatives you've considered

Automatic acceptance based on LLM confidence defeats the current independent-human contract and can promote unsupported claims. Manual review of every item leaves the reported scaling problem. Existing automatic rejection can reduce some work, but it does not assemble evidence or prepare a reviewed batch.

Where the need comes from

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

Additional context

User-requested feature, not a report of a reproduced assistant failure. No model evaluation or mutation of live proposals was run.

Parent direction: https://github.com/ClickHouse/loom/issues/160
Related: https://github.com/ClickHouse/loom/issues/745
Related implementation: https://github.com/ClickHouse/loom/pull/995

This deliverable can reuse the current assistant foundation; it does not depend on completing every feature in #160 and must work on ClickHouse-only deployments.

Related product work: https://github.com/ClickHouse/loom/issues/1141

主要言語
Python
スター
263
フォーク
47
平均マージ
14時間 21分
マージ済み PR(30日)
873

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ClickHouse/loom のほかの issue

ClickHouse/loom の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。