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

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

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

評価

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

調査の方向性

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.

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

説明

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.

主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

DeadantCo/answerLoopsdev のほかの issue

DeadantCo/answerLoopsdev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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