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

Ouverte
#108 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
20/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
content, search

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DeadantCo/answerLoopsdev

Toutes les issues de DeadantCo/answerLoopsdev

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.