Article freshness: product-version stamps and a review-priority list (decision needed)

Đang mở
#108 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
20/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ệ
typescript
Lĩnh vực
content, search

Hướng nghiên cứu

This is a decision issue, not an implementation: the deliverable is a recorded build/defer/drop recommendation per option and follow-up issues for anything marked build. Start by reading searchArticles in lib/db/queries/kb.ts to see how ranking works today, then read the related threads (#426, #428, #429, #430) that own the verification state, needs-review flag and usage counts the options depend on. Nothing ships, so "done" means the four open questions are answered in the issue thread and each option has a stated recommendation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

backend enhancement frontend question

Copied from DeadantCo/answerLoops#98 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/453 — originally opened by @NathanTarbert on 2026-10-23

Research and decision issue. It does not ship user-facing behavior. Standalone; not part of the source-support series.

Related: #422 (answer records), #423, #426 (verification), #428 (needs-review and superseded states), #429 and #430 (usage and answer history).

Problem

A knowledge-base writer told us that confident but outdated answers were the failure that hurt most in their own knowledge base. Their fix was to stamp each article with the product version it was written against and downweight older articles at retrieval. Today retrieval ranks by similarity only (searchArticles in lib/db/queries/kb.ts), and nothing records which product version an article was checked against. Our own principle is that age alone never marks content wrong or drops it from retrieval, because an old article may be correct and a frequently supplied one may be outdated.

Options to evaluate

  1. Downweight older articles at retrieval. Recommendation: do not build. Date is a poor proxy for correctness, and silently demoting correct articles hides content from customers with no signal to the team. Revisit only if it can be measured against labeled examples.
  2. Product-version stamps that flag review. The workspace records its current product version, and an article last verified against an older version shows as needing review. It stays live and visible to the team. Builds on #426 (an optional verified_product_version) and #428. Open question: where the version comes from for products that do not have version numbers.
  3. Review-priority list. Rank articles by how often they are supplied (#429, #430) against how long since a person verified them (#426), so the writer sees "supplied often, never verified" first. Changes nothing customers receive, and works without version numbers. Recommendation: build once #429 and #426 have landed.

Option 3 absorbs the ranking idea from closed issue #387 step 3. The needs-review state itself is owned by #428, and the version column by this issue.

Decisions needed

  • Is option 3 the first step, with option 2 designed after the #428 decisions?
  • Where would a workspace set or discover its current product version, and what counts as "older"?
  • Does a version mismatch only flag for review (recommended), or ever change retrieval?
  • What would we measure to know a review trigger helps: fewer outdated answers reaching customers, or only fewer stale articles?

Out of scope

Automatic unpublishing or deletion, ranking penalties applied without a visible flag, and anything that treats age alone as evidence of error.

Acceptance criteria

  • The decisions above are recorded in this issue.
  • A build, defer or drop recommendation is recorded for each option.
  • Follow-up implementation issues are opened only for options marked "build".

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.