Source support: recurring questions with no supporting article

Aberta
#107 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
8/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
analytics, full-stack

Direção de pesquisa

This is blocked on design: the grouping and storage approach must be recorded in #433 before any build work, and it depends on #443 and a go on #446. Read the existing clustering in lib/ai/gap-clusters.ts (from #388) to see whether it can be reused, and check the answer-level summary from #442. Done means the acceptance criteria are met: the four answer states reconcile to the completed total, question text is opt-in and expires, and pnpm test and pnpm build pass.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

backend enhancement frontend help wanted

Copied from DeadantCo/answerLoops#97 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/452 — originally opened by @NathanTarbert on 2026-10-23

Part of #437. Depends on #443 and a "go" on #446. The grouping method is a design decision recorded in #433 before any build work starts.

Problem

The article-centric buckets in #447 tell a writer which supplied articles rarely support answers. Feedback from a knowledge-base writer says the more actionable signal is the other direction: which questions keep coming back with no supporting article at all, because that shows what is missing from the knowledge base entirely. An article with weak support might just be redundant or off-topic. A question nothing supports is a gap.

Scope

  • Answer-level state. Uses the answer-level summary defined in #442; no new state logic here.
  • Recurring unsupported questions. A view for owners and admins listing question topics that repeatedly ended with no supporting article in the chosen time range and surface filter, with a count and the explicit denominator (completed assessments). Never an extrapolation from a sample, and never presented as proof the knowledge base is wrong.
  • Grouping without stored conversations. Choose in #433 how recurring questions are grouped while respecting principle 6 (no stored conversations). Candidates: a short, bounded question excerpt kept under the same opt-in and retention as evidence excerpts, or an embedding-only cluster id with a representative excerpt. Default to the option that stores less.
  • Privacy. Widget visitors are anonymous customers of the deploying business. Any question excerpt lives in its own opt-in table (columns decided in #433), not on the answer references from #430. Any stored question text is opt-in per workspace, about one sentence at most, covered by the same retention and access rules (owners and admins only), deleted on workspace removal, and documented where the setting is enabled.
  • Next step for a writer. Each group links to the recent answers in it so a writer can decide what to add. Nothing is created, unpublished or penalized automatically.

Related: #387 is closed; its clustering of Knowledge Gaps shipped in #388 (lib/ai/gap-clusters.ts). Reuse that grouping logic where it fits; this view covers answered-but-unsupported questions that never reached the review queue. Consider whether it is a filter on Knowledge Gaps rather than a new page.

Not in this issue

Auto-drafting articles from unsupported questions, ranking or retrieval changes, and per-article scoring (#447).

Acceptance criteria

  • The grouping and storage approach is recorded in #433 before work starts, with retention and access stated.
  • Answer-level states reconcile: the four states sum to the completed-answer total, and failed, pending, disabled and over-budget answers appear under not assessed.
  • Copy never says an article was "ignored" or "unused", and never claims a question is unanswerable.
  • Question text is stored only when the workspace has opted in, is bounded, and expires with the evidence retention window.
  • Keyboard, touch and 375px layout checks for the view.
  • Component and query tests (workspace scoping, opt-in off stores nothing, expiry); content/docs/product/knowledge-base.mdx documents the view and its limits.
  • pnpm test and pnpm build pass.

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.

Linguagem predominante
TypeScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DeadantCo/answerLoopsdev

Todas as issues de DeadantCo/answerLoopsdev

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.