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

Open
#108 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
content, search

Research direction

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.

Written by the indexing model from the issue text.

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.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.