Product Roadmap

Viv GovChat & Knowledge Management — Product Roadmap

Where the GovChat chatbot and the Knowledge Management product are headed across their repos

Updated today · 58 items · 7 milestones

This roadmap is directional and subject to change — dates are targets, not commitments.
Repo
Theme
Status
Environment
Priority

Shipped 5

Done & launched 🚀

M1Beautiful demo spine3 Q3 2026100%

Answer quality: confidence threshold + low-confidence fallback to contact page

Dev

Below a configurable confidence threshold → safe fallback, no guessing; point the resident to a configurable contact page.

WP PluginGuardrails
1/1Q3 2026
viv-typesense #22 ↗

Chat & AI Overview replies: render rich formatting (bold, lists, indentation, inline links) + Markdown in wrapper prompt

Dev

Chatbot (and search AI Overview) replies are rendered as escaped plain text — only \n→<br> and [N] citation links are handled (public/js/chatbot.js renderAnswer(), public/js/ai-overview.js).…

WP PluginCitations
1/1Q3 2026
viv-typesense #33 ↗

Gov guardrail: emergency-intent interrupt → 911 / hotline, bypass RAG

Dev

Emergency-intent detection must interrupt the RAG flow and surface emergency contacts (911 / relevant hotline) instead of attempting an answer.

WP PluginGuardrails
1/1Q3 2026
viv-typesense #21 ↗
Unassigned2 100%

Footnotes & citations: show published/updated dates + rich hover tooltip (title, dates, description, featured image)

Dev

Two related requests for the AI Overview (search) and chatbot citations.

WP Plugin
1/1
viv-typesense #35 ↗

Widget: launcher→panel morph open/collapse animation

Dev

"Spend boldness in one place: the open/collapse." The launcher pill should morph into the panel — panel grows from the launcher's corner on one shared easing curve with continuous header color,…

WP Plugin
1/1
viv-typesense #19 ↗

Now 20

Track 1 — building the demo spine

M1Beautiful demo spine7 Q3 20260%

Does our LLM have access to the publish dates of content? + is prompt wrapper working?

Todo

I started editing the wrap prompt but I realized I didn't know if it really has good access to the dates of content.

MMA SiteSite Integration
Q3 2026
mma #1168 ↗

[Epic] Demo Spine — thin, beautiful, single-corpus slice (Track 1)

Todo

Parent epic for the Track 1 demo spine (spec ) — build to show a friendly agency soon, on a real corpus (MMA site), private demo, no cost/abuse hardening.

Chatbot BackendDemo Spine
0/1☰ 1Q3 2026
viv-chatbot #11 ↗

Admin: post-type / field / taxonomy picker + last-sync status

Todo

Lighter admin that leans on WP editorial workflow.

WP PluginAdmin & Theming
Q3 2026
viv-typesense #27 ↗

Citations: deep-link to heading anchor / text fragment

Todo

Every substantive claim cites source(s) with clickable deep links (heading anchor or text fragment), not raw URLs.

WP PluginCitations
Q3 2026
viv-typesense #25 ↗

Indexing: chunk at heading boundaries; store permalink + title + heading anchor per chunk

Todo

Bake in the metadata that makes citations clickable later: chunk content at heading boundaries and store permalink + title + heading anchor on every chunk.

WP PluginIndexing & Search
Q3 2026
viv-typesense #23 ↗

Per-tenant theming knobs: launcher label, assistant name, accent color, seal/wordmark

Todo

Themeable per agency: launcher label, assistant name, accent color, seal/wordmark. Builds on the existing association/municipal theme switch.

WP PluginAdmin & Theming
Q3 2026
viv-typesense #26 ↗

Search → chat orchestration: conversational wrap + current-page context + cited answers

Todo

Part of #11 (Demo Spine). Spec Track 1 step 3: turn search into chat.

Chatbot BackendDemo Spine
Q3 2026
viv-chatbot #17 ↗
KM-M1Ticket loop + privacy foundation13 Q4 20260%

Audit every transition + article provenance view

Todo

Emit an audit event on every state transition (actor, from-state, to-state, timestamp, tenant) into the viv-chatbot append-only audit stream (#4) — see PRD. Support a "provenance view": given a…

Knowledge MgmtAnalytics & Audit
Q4 2026
viv-knowledge-management #11 ↗

Consent-time UX integrity (no dark patterns)

Todo

Consent-time UX integrity: at approval, show the resident exactly what would be published, remind them declining has no effect on getting their answer, and keep no dark patterns — decline as easy…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #27 ↗

Enforce mandatory redaction + consent gates as hard invariants

Todo

Enforce the two mandatory gates as hard invariants in the transition layer: redactionpending → consentpending requires a reviewer action, and consentpending → approved requires affirmative…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #10 ↗

Epic: Privacy UX & warnings

Todo

Parent epic. Be honest, up front, that the system cannot guarantee privacy, and steer sensitive matters to traditional channels.

Knowledge MgmtGuardrails
0/3☰ 3Q4 2026
viv-knowledge-management #7 ↗

Epic: Redaction & PII subsystem

Todo

Parent epic. The first-class subsystem that ensures nothing entering a municipal knowledge base contains personally identifying or sensitive information, and that a human always confirms it before…

Knowledge MgmtGuardrails
0/3☰ 3Q4 2026
viv-knowledge-management #5 ↗

Epic: Ticket lifecycle & state machine

Todo

Parent epic. Build the explicit, auditable state machine that carries a resident question from chat escalation all the way to a published (or deliberately-not-published) knowledge-base article.

Knowledge MgmtGuardrails
0/4☰ 4Q4 2026
viv-knowledge-management #2 ↗

Mandatory human redaction-review gate UI

Todo

Mandatory human review gate UI: reviewer sees all flagged spans and the proposed redaction, and can accept, add/remove redactions, rewrite the generalized answer, or reject + send back. Also makes…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #21 ↗

Non-publish exits: decline, timeout, sensitive diversion, withdrawal

Todo

Handle the non-happy-path exits: resident decline, consent timeout, sensitive-matter diversion, and explicit withdrawal — routing to closednopublish or withdrawn per PRD. A ticket reaching…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #12 ↗

PII detection pass (deterministic + LLM, recall-biased)

Todo

PII detection pass over the full resolved Q&A: deterministic detectors (emails, phones, structured account/case/permit/parcel IDs) plus an LLM pass via viv-chatbot's provider interface for…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #19 ↗

Redaction proposal: generalize specifics, diff-style draft

Todo

Redaction proposal generator: produce a redacted draft that generalizes specifics into a reusable answer (e.g. "123 Elm St" → "a residential address") rather than censoring a transcript, presented…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #20 ↗

Sensitive-matter off-ramp + emergency interrupt

Todo

Sensitive-matter off-ramp + emergency interrupt: when a resident indicates (or the system detects) a sensitive/personal matter, offer the traditional-channel route instead of pushing them through…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #26 ↗

Ticket entity + state model + guarded transitions

Todo

Model the ticket entity and its states (proposed, open, assigned, awaitingresident, awaitingagent, resolved, redactionpending, consentpending, approved, published, closednopublish, withdrawn) and…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #9 ↗

Up-front privacy warning before chat/ticket

Todo

Up-front privacy warning before chat/ticket: persistent, plain-language, WCAG-compliant notice — automated public assistant, can't always ensure privacy, avoid personal details, use traditional…

Knowledge MgmtGuardrails
Q4 2026
viv-knowledge-management #25 ↗

Next 28

Track 2 — productionizing after the yes

M2Production-ready multi-tenant12 Q4 20260%

[Epic] Admin & Theming Console

Todo

Parent epic for the real admin console (spec ) — the strategic control layer that the demo only glimpses.

Chatbot BackendAdmin & Theming
0/1☰ 1Q4 2026
viv-chatbot #14 ↗

[Epic] Analytics & Audit

Todo

Parent epic for observability (spec /) — the audit trail and the analytics it feeds.

Chatbot BackendAnalytics & Audit
0/2☰ 2Q4 2026
viv-chatbot #15 ↗

[Epic] Indexing & Retrieval Quality (backend)

Todo

Parent epic for production-grade indexing + retrieval quality (spec, ) — the backend side of ingestion and answer quality, beyond the demo-spine slice.

Chatbot BackendIndexing & Search
0/3☰ 3Q4 2026
viv-chatbot #13 ↗

[Epic] Multi-tenant Foundation — isolation, metering, provider abstraction (Track 2)

Todo

Parent epic for the productionization foundation (spec /) — everything that must exist before a second agency can be served and before a public endpoint is exposed.

Chatbot BackendMulti-tenant
0/3☰ 3Q4 2026
viv-chatbot #12 ↗

Analytics + content-gap dashboard

Todo

Per-tenant: volume, deflection, fallback rate, CSAT, usage/cost; content-gap list (questions with no confident answer) to guide editorial.

Chatbot BackendAnalytics & Audit
Q4 2026
viv-chatbot #5 ↗

Audit log — every Q&A with retrieved chunks + sources

Todo

Append-only, per-tenant audit of every interaction: question, retrieved chunks, sources, answer, fallback/escalation outcome. No cross-tenant visibility. Feeds content-gap + analytics.

Chatbot BackendAnalytics & Audit
Q4 2026
viv-chatbot #4 ↗

Metering + budget caps + rate limits + abuse protection

Todo

Per-tenant token/request metering (billing backbone); per-tenant spend ceiling with alerting + graceful 'service paused'; per-tenant and per-IP/session rate limits on the public widget endpoint;…

Chatbot BackendMulti-tenant
Q4 2026
viv-chatbot #2 ↗

Multi-tenant isolation + site-key issuance

Todo

Collection-per-tenant in Typesense; tenantid on every relational row; tenant resolved server-side from the widget's site key, never client-supplied. Site-key issuance + per-tenant deletion…

Chatbot BackendMulti-tenant
Q4 2026
viv-chatbot #1 ↗

Production ingestion pipeline: WP-hook sync, re-index/delete, chunk+anchor metadata, last-sync status

Todo

Part of #13 (Indexing & Retrieval Quality). Spec — the production ingestion pipeline (backend side).

Chatbot BackendIndexing & Search
Q4 2026
viv-chatbot #18 ↗

Provider abstraction: wrap LLM behind generate(messages, tools) interface

Todo

No OpenAI-specific format should leak past a single internal interface, so Azure OpenAI / Bedrock can be swapped via one adapter.

Chatbot BackendMulti-tenant
Q4 2026
viv-chatbot #6 ↗

Real admin console

Todo

Connect site / issue site key; indexed post-types/fields/taxonomies; guardrails (out-of-scope, threshold, canned responses); escalation config; off-site allowlist + referral directory;…

Chatbot BackendAdmin & Theming
Q4 2026
viv-chatbot #3 ↗

Retrieval quality: hybrid semantic+keyword + re-rank + confidence threshold + effective-date filter

Todo

Part of #13 (Indexing & Retrieval Quality). Spec — production-grade answer quality.

Chatbot BackendIndexing & Search
Q4 2026
viv-chatbot #19 ↗
KM-M2Redact, consent & publish-to-KB8 Q1 20270%

Agent reply composer + mark-resolved to redaction pipeline

Todo

Agent reply composer: write a reply that goes out via the email round-trip (Epic: Email), move the ticket to awaitingresident, and mark a ticket resolved when the matter is answered — handing it…

Knowledge MgmtAdmin & Theming
Q1 2027
viv-knowledge-management #15 ↗

Agent ticket queue/inbox with assignment + roles

Todo

Ticket queue/inbox for agents: list open/assigned tickets for the current tenant, with assignment (pick up / route), filtering, and the current state badge. Respects role (Agent/Reviewer/Admin)…

Knowledge MgmtAdmin & Theming
Q1 2027
viv-knowledge-management #13 ↗

Article lifecycle: expiry, versioning, close content-gap

Todo

Article lifecycle vs. source content: handle re-review/expiry when underlying policy changes (reuse GovChat effective-date filtering, spec ), and decide version history on edit/re-approval for…

Knowledge MgmtIndexing & Search
Q1 2027
viv-knowledge-management #24 ↗

Consent record + revocation (with unpublish)

Todo

Consent record + revocation: store affirmative consent (who, exact version approved, when, channel) for the consent gate; support later revocation that moves a published article to withdrawn and…

Knowledge MgmtGuardrails
Q1 2027
viv-knowledge-management #22 ↗

Epic: Consent/approval & publish-to-knowledge-base

Todo

Parent epic. Two required gates and the writer that puts an approved answer into the RAG corpus.

Knowledge MgmtGuardrails
0/3☰ 3Q1 2027
viv-knowledge-management #6 ↗

Epic: Government-agent reply console

Todo

Parent epic. The interface a real government agent uses to pick up an escalated ticket, read the originating GovChat conversation, and reply to the resident.

Knowledge MgmtAdmin & Theming
0/3☰ 3Q1 2027
viv-knowledge-management #3 ↗

Publish-to-KB writer: index redacted Q&A into Typesense

Todo

Publish-to-KB writer: index the approved, redacted Q&A as a document in the tenant's existing Typesense collection (the same one GovChat searches), tagged sourcetype: "kmarticle" for…

Knowledge MgmtIndexing & Search
Q1 2027
viv-knowledge-management #23 ↗

Ticket detail: conversation, contact, sources, email thread

Todo

Ticket detail view: render the originating GovChat conversation (from viv-typesense wpvivtsmessages / ?vts= token, referenced not copied), the captured contact info, retrieved sources, and the…

Knowledge MgmtAdmin & Theming
Q1 2027
viv-knowledge-management #14 ↗
KM-M3Email round-trip & integration8 Q2 20270%

Collect resident consent over email on the redacted Q&A

Todo

Consent over email: deliver the proposed redacted Q&A with clear approve/decline actions, and record the resident's decision as the consent gate input (PRD, ). Approval/decline is captured with…

Knowledge MgmtGuardrails
Q2 2027
viv-knowledge-management #18 ↗

Consume viv-chatbot escalation payload as ticket input

Todo

Consume viv-chatbot #7 escalation payload as the ticket-creation input (conversation summary, captured contact, source citations), instead of a parallel capture path (PRD ). Map the payload onto…

Knowledge MgmtSite Integration
Q2 2027
viv-knowledge-management #28 ↗

Epic: Email round-trip ingestion → RAG

Todo

Parent epic. Run the agent↔resident loop over email so residents don't have to stay in the chat. Outbound agent replies / consent requests carry a signed, opaque, per-ticket+tenant token; inbound…

Knowledge MgmtSite Integration
0/3☰ 3Q2 2027
viv-knowledge-management #4 ↗

Epic: Integration with viv-chatbot & viv-typesense

Todo

Parent epic. Wire KM into the existing stack without duplicating it.

Knowledge MgmtSite Integration
0/3☰ 3Q2 2027
viv-knowledge-management #8 ↗

Inbound email ingestion (untrusted) to ticket thread

Todo

Inbound email ingestion: receive resident replies (provider webhook or mailbox poll — PRD Q1), verify sender/token binding, strip quoted history + signatures, sanitize HTML, enforce…

Knowledge MgmtSite Integration
Q2 2027
viv-knowledge-management #17 ↗

Outbound email with signed per-ticket+tenant token

Todo

Outbound email: send agent replies and consent requests from a per-tenant sender identity. Each message embeds a signed, opaque, single-purpose, expiring token binding it to one ticket + tenant…

Knowledge MgmtSite Integration
Q2 2027
viv-knowledge-management #16 ↗

Tenant isolation, deletion + per-tenant metering for KM data

Todo

Tenant isolation + deletion guarantees for KM data: tenantid on every KM row; KM tickets/articles/KB documents never cross tenants; a published article for Town A is never retrievable by Town B;…

Knowledge MgmtAnalytics & Audit
Q2 2027
viv-knowledge-management #30 ↗

viv-km/v1 REST surface + provider-interface LLM routing

Todo

REST surface + provider routing: expose KM endpoints under a parallel viv-km/v1 namespace reusing viv-typesense/viv-chatbot auth + tenant-resolution conventions; route every KM LLM call (PII…

Knowledge MgmtSite Integration
Q2 2027
viv-knowledge-management #29 ↗

Later 5

Post-launch enhancements

M3Post-launch growth5 20270%

[Epic] Engagement & Escalation (Phase 2)

Todo

Parent epic for Phase-2 engagement & escalation (spec //) — the wow features built after the demo proves the concept and the foundation is in place.

Chatbot BackendSite Integration
0/3☰ 32027
viv-chatbot #16 ↗

Context injection: optional session navigation history (last N page titles), off by default

Todo

Optional, off by default, ephemeral: last N page titles, in-memory, not stored as a profile; disclosed in the privacy notice when enabled.

Chatbot BackendIndexing & Search
2027
viv-chatbot #9 ↗

Escalation: ticket via configurable webhook/email with explicit resident confirm

Todo

Relates to vivwebsolutions/viv-typesense#15 (Ticketing system attached to chat). Bot summarizes the conversation into a structured payload and submits via a configurable webhook or email (generic…

Chatbot BackendSite Integration
2027
viv-chatbot #7 ↗

Off-site referrals: referral directory + exit interstitial + allowlist

Todo

Simple v1 referral directory ("for X, go to agency Y at URL Z") + an exit interstitial / external-link marker every time a resident is sent off-site.

Chatbot BackendSite Integration
2027
viv-chatbot #8 ↗

Shareable conversation permalinks — storage + public read-only view

Todo

Backend half of the chat share permalink feature. UI is tracked in vivwebsolutions/viv-typesense#34.

Chatbot BackendSite Integration
2027
viv-chatbot #10 ↗