Article history: needs-review and superseded states (decision needed)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 12/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- typescript
- Domaine
- documentation
Piste de recherche
The issue is blocked on five product decisions (needs-review effect, superseded retrieval, who can set states, verification interaction, confirmation wording) that are not yet settled in the thread. Retrieval lives in lib/db/queries/kb.ts (searchArticles, getKBContext) and would need its own tests. Do not start implementation until the decisions are recorded; done means the decisions are written here and the acceptance criteria are refined.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Copied from DeadantCo/answerLoops#84 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/428 — originally opened by
@NathanTarberton 2026-10-21
Part of #423. This one needs a product decision before anyone builds it.
Problem
Today an article is either published (searchable and used for answers) or not. A reviewer cannot say "this answer looks stale, take another look" or "the official docs now cover this, use that instead" without unpublishing or deleting the article. Age alone must never classify content as wrong or silently drop it from retrieval.
Decisions needed
Please settle these in the comments before implementation starts:
- Needs review. Does flagging an article for re-review change anything for customers (stays live, or pulled from answers)? Recommendation: stays live, with a visible flag for the team.
- Superseded. When an article is marked superseded by another article or a documentation link, is it excluded from retrieval, or still used but ranked below its replacement? Recommendation: excluded from retrieval, with the replacement shown to the reviewer.
- Who can set these. Owners and admins only, or any reviewer?
- Interaction with verification. Does editing a verified article automatically flag it as needing review, or only show "changed since last verified"?
- Effect clarity. What exactly does the person taking the action see before confirming, so they know whether customers are affected?
Likely scope once decided
An article status separate from published, event types for the flag and supersede actions, a confirmation step that states the effect on answers, and a retrieval change only if superseded articles are excluded. Retrieval lives in lib/db/queries/kb.ts (searchArticles, getKBContext), so a retrieval change needs its own tests.
Acceptance criteria (to refine after the decisions)
- The decisions above are recorded in this issue.
- Flagging and superseding append events and are visible on the article.
- The confirmation step states the effect on retrieval.
- Retrieval behavior matches the decision and is covered by tests, including a regression test that unflagged articles are unaffected.
- Docs describe each status.
Product-version stamps that flag review (option 2 of #453) are decided here: a version mismatch sets the needs-review state decided in this issue.
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
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend help wanted
Difficulté 2/5 Une demi-journée Accessibilité débutants 75/100
DeadantCo/answerLoopsdev#68 · 3 commentaires ·
-
Widget: make the chat window fit on small phonesPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
DeadantCo/answerLoopsdev#67 · 9 commentaires ·
-
Add 'select all' option to Slack channel picker in SettingsPeut-être pris @sethr07 l’a pris aujourd’hui. Ouvertefrontend good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
DeadantCo/answerLoopsdev#22 · 5 commentaires ·
-
enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#140 ·
Toutes les issues de DeadantCo/answerLoopsdev
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
microsoft/playwright#44340 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
sindresorhus/eslint-plugin-unicorn#4045 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
CreadorLanda/yo#316 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
awslabs/social-messaging-agent-runtime-toolkit#232 ·
Les mainteneurs répondent en général sous 3 jours