Tell agents how retrieved knowledge may be used
Maintainer thường phản hồi trong vòng 1 ngà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
- 15/100
Hướng nghiên cứu
Read server/memory/domain/trust.py first to see how origin, verification, lifecycle and freshness are already modelled, then server/memory/api/models_search.py and server/memory/app/for_file.py to see how those facts reach responses. Trace the other read paths named (unified search, context assembly, file/code lessons) and the HTTP, MCP, SDK and dashboard surfaces before designing anything. Done means a documented, model-free projection of existing metadata that is identical across every read path, with unknown states explicit and no policy silently tightened; treat #745, #25 and #1149 as prior context.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Component
Memory and search
Use case
An agent retrieves an authored instruction, an unreviewed learning and an instruction whose reviewed content has since changed. All three can be relevant to its question, but relevance alone does not tell it which guidance it can follow or which claims need checking.
Loom already records provenance, verification, lifecycle and freshness information. Give clients one documented interpretation of those facts so each integration does not invent its own trust rules.
Describe the solution you'd like
Return consistent, machine-readable use guidance alongside retrieved knowledge. Derive it from existing metadata and explicit policy. Preserve the underlying facts rather than replacing them with one unexplained score.
Acceptance criteria:
- Keep origin, lifecycle, review evidence, source or code freshness, and unresolved disputes separately inspectable. A source-authored claim is not automatically factually correct; process verification is not human review.
- Explain the permitted next step and its reasons. Examples include following applicable approved guidance under the caller's policy, validating an unconfirmed lead, clarifying a dispute, or rechecking a stale source. Missing evidence is unknown.
- When the current-source dispute contract in #25 is available, attach the applicable qualifiers and authorized competing evidence to a disputed hit even if only one claim ranks in the result window. Label incomplete evidence when the response budget or source availability limits coverage. Apply access checks to the evidence and its counts.
- Bind review evidence to the content it covers. Editing reviewed content changes the guidance until the applicable review requirement is met again. Popularity, similarity, pinning and client-reported use must not substitute for review.
- Project the same interpretation through memory search, unified search, context assembly and file or code lessons where those paths return maintained knowledge. Carry the relevant fields through HTTP, MCP, both SDKs and the dashboard. Clients may present them differently but must not independently reinterpret the evidence.
- Preserve existing review and publication policies. The first delivery adds a shared read contract; it does not silently require human review for every existing memory or replace procedure lifecycle rules.
- Respect ordinary retrieval exclusions for rejected or withdrawn content. Diagnostic access remains explicit and authorized. A report alleging an error starts investigation; it does not by itself establish that a claim is false.
- Apply source authorization before returning reasons or evidence. Cached guidance must reflect content changes, revoked access and erasure. If current evidence cannot be checked, disclose that limit rather than presenting a stronger state.
- Compute the projection without a model call on each read. Document its rules, unknown states and how hosts should use them when answering. Loom can return and filter by these facts; external hosts remain responsible for their agents' behavior.
Acceptance should cover authored but unreviewed content, process verification, content-bound human review, an edited reviewed item, an unresolved dispute and a fresh unchanged item. The same authorized revision must carry the same interpretation across the supported read paths.
Describe alternatives you've considered
Returning separate flags leaves each integration to decide whether verified, source_class, lifecycle and freshness mean the same thing. A single confidence score hides those distinctions. Existing badges remain useful, but need a common server contract beneath them.
Where the need comes from
An AI tool suggested this feature
Additional context
Feature proposal from source review at 583b59b36366b4a0d5e59b44eea752a656f41f21. No client failure or live evaluation was reproduced.
- Content-bound verification states.
- Search response metadata and file-specific retrieval.
- #745 tracks independent review policy; merged #1103 supplies independent human proposal acceptance. This request builds on those controls.
- #25 tracks competing claims and scoped resolution, including the current-source dispute workflow. This issue defines how that state affects the guidance returned to agents.
- #1149 records revision-specific usage and outcomes. #1181 covers audience selection; use guidance does not replace audience authorization.
- 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