Review queue: let reviewers add context before approving
Maintainer antworten meist innerhalb von 1 Tag
@NathanTarbert arbeitet bereits daran.
Seit 12.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Summary
Let a reviewer add free-text context to a review-queue item before approving it, so the published article reflects knowledge the assistant did not have. Follow-up to the review queue in #362.
Problem
Many unseen questions arrive with no usable draft, because the assistant had nothing to ground an answer on. Those items are flagged "No usable answer" and the reviewer has to write the whole answer from scratch in a single textarea. The same reviewer often has useful raw material (a product detail, a link, a policy snippet, an internal explanation) that would be easier to paste than to turn into a finished answer. A Reddit commenter also asked for a way to give the system "direct inputs of additional information" that improve answer quality.
Proposed behavior
- On each pending item in the Review tab, add an Additional context field next to the question and answer.
- The context is free text (suggest a max of 8,000 characters, matching the answer limit).
- On approve, the published article is built from the reviewer's final question and answer; the context is used to help produce that answer (see open question) and is stored with the item for audit.
- Context is private to the workspace and never served directly. Only the approved article is.
Open questions to settle before building
- Does the context get turned into an answer automatically, or is it just a scratchpad? Options: (a) reviewer-only notes that stay on the item, (b) an optional "Draft answer from context" button that asks the model to write an answer from the context, which the reviewer then edits and approves, (c) append the context to the article body. Recommendation: (b), because it keeps a person in the loop and fills the empty-draft case.
- Should a context-only entry exist without a captured question? A standalone "add knowledge" form (question + answer + context, no queue item) is a separate, simpler path that reuses the same article creation. Recommendation: include it in this issue as a second entry point, since it is the same code path and directly serves the "add extra context to the KB" ask.
- Cost and rate limits. Drafting from context calls the model, so it needs the same per-org rate limiting and plan quota treatment as other generation paths.
Implementation notes
- UI:
app/(dashboard)/kb/review-tab.tsx. - API: extend
PATCH /api/kb/review/[id](new optional field, or a separate action for drafting), plus a new route if the standalone form is included. Keep owner/admin-only and Pro-gated. - Data: add a nullable
contextcolumn tokb_review_itemsvia a new idempotent migration. - Reuse
embedText, the 2000-article cap inlib/kb/limits.ts, andrateLimitShared. - Docs: update the Review queue section in
content/docs/product/knowledge-base.mdxandreference/data-model.mdx.
Acceptance criteria
- A reviewer can add context to a pending item and save it without approving
- An item with no draft can be answered from context without retyping everything
- Approving still requires a non-empty reviewed answer
- Context is never searchable or served until it is part of an approved article
- Owner/admin only, Pro-gated, rate limited, org-scoped
- Docs, unit, component and e2e tests updated
- Vorherrschende Sprache
- TypeScript
- Sterne
- 16
- Forks
- 2
- Ø Merge
- 7 Std. 22 Min.
- Gemergte PRs (30 T.)
- 150
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus answerLoops/answerLoops
-
Widget: match the chat bubble color to the rest of the widgetEvtl. vergeben @uchiha-suraj hat das vor 6 Tagen übernommen. Offenenhancement help wanted
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 84/100
answerLoops/answerLoops#345 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Widget: make the chat window fit on small phonesEvtl. vergeben @anushreemehta6 hat das vor 6 Tagen übernommen. Offenenhancement good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
answerLoops/answerLoops#344 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
answerLoops/answerLoops#17 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Rank knowledge gaps and articles by frequency for reviewer follow-upEvtl. vergeben @NathanTarbert hat das heute übernommen. Offen
answerLoops/answerLoops#387 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in answerLoops/answerLoops
Ähnliche Issues
-
documentation good first issue
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 72/100
sujithputta02/Esapay#13 ·
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)Evtl. vergeben @chibenwa hat das heute übernommen. Offenai-driven-qa bug claude Cosmetic
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
linagora/twake-contacts-frontend#271 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Koenkk/zigbee2mqtt#33402 ·
Maintainer antworten meist innerhalb von 1 Tag
-
dx P2 platform Stellar Wave Wave 10
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
winsznx/routedock#579 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:ui effort:S enhancement priority:P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag