Tracking: knowledge-base article authorship and verification history

Ouverte
#89 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
8/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript

Piste de recherche

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.

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

Description

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.

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.