Tracking: knowledge-base article authorship and verification history

未關閉
#89 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
8/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

DeadantCo/answerLoopsdev 的其他 Issue

查看 DeadantCo/answerLoopsdev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。