Tracking: knowledge-base article authorship and verification history

Open
#89 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
8/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

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.

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.