Stop serving a triage recommendation when its proposal or evidence changes
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Start with server/memory/api/models_proposals.py to see how proposal content hashes are exposed and acceptance binds approved_sha256; then trace the triage read and Apply paths associated with #1144. Define which evidence revisions count as read and whether invalidated recommendations are retained as history before implementing the hash and access checks. Done means the five acceptance cases pass, including unchanged-input reuse without a model call.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Company
ClickHouse
Component
Memory and search
Use case
In #1144 the assistant drafts accept, reject or request-evidence recommendations for selected proposal revisions, and a reviewer confirms a batch later. The issue rechecks revisions at Apply, where an edited item stays undecided.
Between triage and Apply nothing ties a recommendation to the content it was written for. A proposal edited in that window still shows the recommendation drafted for its earlier text, and the reviewer reads it until Apply refuses the item.
Describe the solution you'd like
Bind each recommendation to what it read. This is a proposal; nothing is implemented or measured.
- A recommendation is keyed by the proposal's content hash and the revisions of the evidence it read.
- On every read Loom compares that key with the current hash and revisions. When either differs, the recommendation is not served, and the item shows as needing triage again with a reason:
proposal_changedorevidence_changed. - The comparison is a hash check on read. It adds no model call.
- With unchanged inputs a repeated triage request returns the stored recommendation without a second model pass.
- A stored recommendation is served only to a caller who can read the proposal and every evidence revision it read. For any other caller the item shows as needing triage, with no reason that names the evidence.
What Loom has that this builds on: memory.proposals returns content_sha256 for each proposal, and acceptance binds approved_sha256 per key (server/memory/api/models_proposals.py).
Acceptance fixture, added to #1144's labeled proposal set:
- Editing a proposal removes its recommendation from the triage read, with
proposal_changed. - Replacing a document revision the recommendation read removes it, with
evidence_changed. - A repeated request on unchanged inputs returns the same recommendation and makes no model call.
- A batch prepared before the edit leaves that item undecided at Apply, as #1144 already requires.
- A reviewer who cannot read one evidence item of a stored recommendation is not served it.
Evidence still needed before rollout:
- A read-only count, on a deployment with a proposal queue, of proposals whose content changed while they were pending. It sizes how often a recommendation would outlive its content.
Two decisions are open:
- Whether a recommendation that is no longer served is deleted or kept as history. It is derived text, and it leaves with its proposal under erasure in both cases.
- Which evidence counts as read. A grade that arrives after triage changes the evidence without changing any revision the recommendation cited.
Describe alternatives you've considered
- Rely on the recheck at Apply. The reviewer then reads a recommendation for other content until the batch is refused.
- Expire recommendations by age. Age says nothing about whether the content changed.
Where the need comes from
An AI tool suggested this feature
Additional context
Found by source review; no triage was run.
Related: Proposed as part of #1144. Roadmap: #1232.
- Ngôn ngữ chính
- Python
- Star
- 263
- Fork
- 47
- Merge trung bình
- 14 giờ 21 phút
- Pull request đã merge (30 ngày)
- 873
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ClickHouse/loom
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/loom#2014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textCó thể đã có người làm @VanshajPoonia đã nhận hôm nay. Đang mởbug good first issue help wanted up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/loom#1988 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A compiler-tier checkout fetch from a shallow mirror never records its headCó thể đã có người làm @KaloyanNaumov đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ClickHouse/loom#2016 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitCó thể đã có người làm @KaloyanNaumov đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
ClickHouse/loom#2012 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootCó thể đã có người làm @l0K1ngg đã nhận hôm nay. Đang mởbug help wanted up-for-grabs
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ClickHouse/loom#2007 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ClickHouse/loom
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Unstructured-IO/unstructured#4876 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openfoodfacts/openfoodfacts-python#579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
fairagro/m4.2_sql_to_arc#388 ·
Maintainer thường phản hồi trong vòng 1 ngày