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

Aberta
#108 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
20/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
content, search

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DeadantCo/answerLoopsdev

Todas as issues de DeadantCo/answerLoopsdev

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.