Tracking: knowledge-base article authorship and verification history

Aperta
#89 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

This is a tracking issue, so there is no single change to make here. Read the plan and the principles, then the still-open sub-issue #426 (verification that resets when content changes), which touches kb_articles and the review item fields reviewed_by and reviewed_at. Check the current behaviour in purgeExpiredReviewText and in the content/docs/product/knowledge-base.mdx page. Done means the sub-issue's regression tests pass and the doc page is updated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend enhancement frontend help wanted

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

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

Tracking issue. The work is split into the issues below, in the order they should land.

Problem

When a team fills a knowledge gap, it needs to know who added the answer, when, and when someone last checked it still applies. An article's modification date cannot answer these questions, and a useful workaround can become redundant once the official documentation catches up.

Today kb_articles stores creation and update timestamps and an optional source-ticket link, and no actor. Review-queue approval records reviewed_by and reviewed_at on the review item, but reopening the item clears them and purgeExpiredReviewText blanks approved item text after 90 days. There is no record that distinguishes a content edit or a sync from a person checking the answer.

Plan

  • Who added each article, on every creation path: #424
  • Append-only article event log and content-hash revision identity: #425
  • Explicit verification that resets when content changes: #426
  • Article history timeline in the dashboard: #427
  • Needs-review and superseded states (needs a product decision first): #428

Related: article freshness is tracked in #453.

Principles every issue follows

  • Authorship comes from the acting user. It is never inferred from promotion or approval, and the original ticket responder is a separate fact shown only when known.
  • Legacy articles show "unknown" instead of a guessed author, and nothing is backfilled.
  • Automated imports and syncs identify their source and never look like human verification.
  • Verification applies to a specific content hash, so a later edit never carries it forward.
  • Age alone never marks content incorrect or removes it from retrieval.
  • History stores hashes, not copies of article text, so it survives the review-text retention purge.
  • Each issue updates content/docs/product/knowledge-base.mdx and adds regression tests.

Related: #422 covers which articles were supplied to which answers. Verification history here is not proof that an article contributed to an answer. Automatic freshness scoring or age-based retrieval weighting is a separate design.

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.

Lingua principale
TypeScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DeadantCo/answerLoopsdev

Tutte le issue di DeadantCo/answerLoopsdev

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.