Skip to main content

Future Requirements โ€” Living Roadmap

Last updated: 2026-06-06 Source of truth: GitHub Issues (open issues = current backlog). This doc lags GitHub โ€” when they disagree, GitHub wins. Auto-refresh planned via #247 (closed 2026-05-25, PR #711). This document is a curated view of open GitHub issues organised by priority, plus deferred/strategic items not yet tracked as issues. Review and sync weekly during launch ramp.

2026-06-06 update: Gmail API inbound polling shipped 2026-06-05 (PR #1722, closes #1060) โ€” primary path. CF Worker is now fallback during a 2-week prod soak; #1440 / #1441 remain open until that completes. Tavus integration landed in three commits: DB schema (#2052), security guardrails (#2054), on-demand video call API (#2055). ADR-028 retired railway_per_org runtime kind 2026-06-03.


P0 โ€” Must-Have Blockers (ship ASAP)โ€‹

These block Kaito-launch / first paying customer.

#TitleAreaNotes
#701Migrate humanwork production from Railway to ECS (Kaito-launch P0)InfraRailway is fine for dev; not production-grade for a paying customer. Supersedes the earlier "ECS deferred" decision in DEFERRED_M1_WORK.md.

Earlier P0 backlog (now closed or demoted โ€” kept for trail):

  • #362 Per-Org sandboxed agent runtime โ€” closed 2026-05-25 (PR #696).
  • #315 Haystack KB org-member sync โ€” demoted to P2 per Kaito lens.
  • #296 Onboarding business-context upload โ€” demoted to P2 (post-launch KB ingestion is acceptable).
  • #291 Per-tenant Haystack KB provisioning service โ€” closed 2026-05-26 (ADR-009 disposition, #723).
  • #146 Verify h.work domain in Resend for production Specialist email โ€” closed 2026-06-01 (PR #1217).
  • #702 Orb billing live โ€” superseded: Lago is the canonical billing rail (LagoProvider #1069; dual-strategy #1105; client wire-up #1155; ops UI #1155 (#1165 was closed-unmerged and superseded by #1155); Phase-7 legacy teardown #1016). See docs/decisions/2026-05-29-lago-pricing-strategy.md.
  • #677 Expert queue identity attribution bug โ€” closed 2026-06-01 (PR #1217).

P1 โ€” High Priorityโ€‹

#TitleAreaNotes
#363Thread โ†” Specialist (1:1) + Expert visibility & assignment trailBackend / Security / SpecialistsSchema, DTOs, audit history for thread-specialist assignment
#342Specialists sync v2: R2-as-truth + manual push/pull scriptsBackend / SpecialistsSpecialist config sync between platform and R2
#317Haystack KB auth federation spike โ€” Humanwork SSO/OIDC without password mirroringSecurity / Arch / RAGClosed 2026-05-26 (ADR-009, #723).
#300Cross-org Haystack KB isolation eval โ€” manual gate before first paying customerAgent / Infra / Security / RAGClosed 2026-05-26 (ADR-009, #723).
#299Per-tenant circuit breaker on Haystack retrieval โ€” fail-open floor for retrievalBackend / RAGClosed 2026-05-26 (ADR-009 disposition).
#298Haystack KB soft delete / pause with data preservedBackend / Security / RAGClosed 2026-05-27 (pause/reactivation support landed).
#297Client KB management UI โ€” /client/admin/knowledge-base upload/list/delete/searchFrontend / RAGClosed 2026-05-26 (KB UI workstream via #817/#818/#819/#823).
#237Cross-Org isolation eval running nightly on RailwayAgent / Infra / SecurityCode-side enforcement landed via #981 + #1024 (under #947 isolation epic); nightly soak still TBD.
#230Jumio bespoke KYC integration (extends #176)Backend / Agent / Security / IntegrationKYC tool descriptor wired but platform-side service not yet built
#171Frontend test coverage (5 tests for 37K lines of code)FrontendCritical gap
#170Notifications โ€” push, email alerts, user preferencesBackend / FrontendAppNotification REST + Socket.io delivery rail shipped via #915 (2026-05-27); push / email delivery / prefs UI still pending.
#169Analytics pipeline โ€” time-series, endpoints, per-role dashboardsBackend / FrontendStubs only
#168Expert workspace UX redesign โ€” keyboard shortcuts, bulk ops, conversation redesignFrontendExpert UX partially overhauled (#390โ€“#441) but deeper redesign still needed
#156Avatar image upload (R2/Vercel Blob setup)InfraR2 buckets created; upload UI and API handler not wired
#122Microsoft Teams App credentials not configured โ€” webhook unverifiedBackend / IntegrationTeams channel blocked (BLK-032)
#12Humanity Protocol credential verification integrationBackend / SecurityHP SDK identity verification
#587Migrate email channel from Cloudflare/Resend โ†’ Google Workspace (one gsuite per Specialist ร— Client)Backend / IntegrationPhase 2 shipped end-to-end 2026-05-29 via #1065/#1074/#1076/#1079/#1089/#1093/#1095. Remaining: #1062 specialists.email column drop after soak; Phase 4 DNS/Pub-Sub.
#706Slack โ€” flip Coming-Soon โ†’ Available + client Connect flowBackend / FrontendClosed 2026-05-26 via #816; per-org signing_secret landed #1219 (2026-06-01).
#559Per-channel outbound media support (WhatsApp/Slack/Telegram/Email)Backend / FrontendInbound media parsed; outbound dispatch not wired
#558Expert queue SLA timer + AM escalation when Expert ghostsBackend / FrontendNo SLA tracking today
#450No PgBouncer โ€” connection pool exhaustion risk under loadInfraClosed 2026-05-27 via #917 (Railway pooler + env-driven pool sizing).
#675WhatsApp channel connection flow โ€” no live update, wrong post-connect layoutFrontendCompanion to #677
#691KB schema (K1 + K2) โ€” entity, migration, controller scaffoldingBackend / RAGClosed 2026-05-26 via #817. KB upload UX (#692) closed via #819; retrieval (#693) via #823. KB workstream effectively complete.

P2 โ€” Important, Not Blocking Launchโ€‹

#TitleAreaNotes
#417AI Draft schema โ€” model the lifecycle properlyBackend / FrontendDraft lifecycle (pending โ†’ accepted โ†’ sent โ†’ archived) needs schema work
#416Thread Summary โ€” auto-generated, periodically updated summary at top of Workspace paneBackend / Frontend / RAGSummary derived from conversation history
#401Per-(Org ร— Specialist) sandboxed agent runtimes v2 (1:N + Specialist rotation)Agent / Infra / SecurityBuilds on #362; ADR-020 Orgร—Specialist classification shipped 2026-05-29.
#332Compiled per-org policy enforcement โ€” baked binary isolationAgent / SecurityLong-term architecture goal
#323Correction analytics & fine-tuning dataset exportBackend / FrontendExpert corrections as ML training signal
#303Correction โ†’ KB refinement loop (consumer of LearningService)Backend / Agent / RAGProcessor implemented (PR #303); UI & tuning still open
#256Specialist firstname email collision โ€” validate uniqueness at creationBackend / ArchEmail routing uses sender; collision would break routing
#251Migrate agent auth secret from global env var to per-client-agent DB columnBackend / Agent / SecurityCurrent global AGENT_SERVICE_SECRET shared across all orgs
#239Update IMPLEMENTATION_STATUS for Acme + Nango + KYC focusDocumentationStatus doc drifts quickly
#235Bump tool_exec.py coverage to โ‰ฅ80%AgentLow coverage on tool execution layer
#226Document skill bind-mount read-only contract + agent self-improvement non-persistenceDocumentation / AgentContract not documented
#177Learning, memory & RAG โ€” embeddings, knowledge base, correction feedbackBackend / AgentMemoryService deprecated; Haystack/Hayhooks is the owner
#176Domain tools & integrations โ€” Finance/IR tools, OAuth flowsBackend / Agent / IntegrationNango is the OAuth layer; individual tools need wiring
#120Slack channel โ€” deferred to post-MVPBackend / IntegrationClosed 2026-05-26 via #816 (Coming-Soon flipped).
#44Per-client deployment architecture decisionInfra / ArchStill open; issue #362 is the immediate MVP step
#23Redis cache layerBackend / InfraRedis exists but explicit caching strategy not implemented

Recently closed P2 trail:

  • #247 Audit docs/api/reference.md for stale endpoints โ€” closed 2026-05-25 (PR #711 audit, commit d6f06ff).
  • #238 Drop ECS deploy from M1 critical path โ€” superseded: ECS is now P0 via #701 per DEFERRED_M1_WORK.md.
  • #19 Enterprise SSO/SAML โ€” closed 2026-05-26 via #765/#779 (Google Workspace OAuth2 SSO with JIT).
  • #18 Multi-language support (Cantonese, Mandarin, Japanese) โ€” closed 2026-05-29 via #1106 (multi-language foundation).

P3 โ€” Nice to Haveโ€‹

#TitleAreaNotes
#227Document SOUL.md/skills storage upgrade path (M2 candidate)Documentation / Agent
#186/client/settings/channels Email Routing section doesn't show AM-added domainsFrontend
#174Auth enhancements โ€” HP SDK identity, OAuth/SSOBackend / Security
#173Infra hardening โ€” monitoring, secrets, structured logging, NetworkPolicyInfra
#155Migrate to dotenvx for encrypted env managementInfra
#154AM permissions: should AMs be able to mutate client team members?Needs-Decision
#152Team page: email column layout (email-as-subtitle pattern)Frontend
#148Client self-service leave workspaceFrontend
#147Per-specialist confidence threshold overrides (org-level)Backend
#43Customer-facing chat widget (Intercom-style)Frontend

Needs Decisionโ€‹

#TitleNotes
#378WeChat POST handler: verify SHA1 signature on inbound webhookSecurity gap for WeChat channel
#355Queue dedup: update queueItem.messageId to latest held draft on back-to-back inbound turnsData model decision

Deferredโ€‹

#TitleNotes
#175Usage metering โ€” AI tokens, expert-minutes, video-minutesNot needed until billing model clarified

Strategic Items (Not Yet Tracked as Issues)โ€‹

These are important future directions without active GitHub issues:

Webhooks & API Extensibilityโ€‹

  • REST webhook subscriptions per org: URL registration, retry + exponential backoff, HMAC-SHA256 signed payloads
  • Events: conversation.created, conversation.resolved, message.sent, message.received, expert.assigned
  • Enables client org integrations into CRM, ticketing, etc.

Knowledge Base โ†’ AI Training Loop (extends Haystack work)โ€‹

  • Structured KB per org: documents, FAQs, policies -> ingested into Haystack per org through Hayhooks
  • Expert corrections feed back into KB refinements (partial: PR #303 correction processor in place)
  • MemoryService / agent_memories deprecated; Haystack/Hayhooks is the correct owner going forward

Contact Profilesโ€‹

  • Unified contact record per client user across all conversations
  • History: all past conversations, timestamps, resolution rate
  • Custom attributes: org-defined fields (plan tier, account manager, etc.)
  • Searchable cross-conversation

Outbound Campaigns (Post-MVP)โ€‹

  • Specialist-initiated outbound to a contact or segment
  • Channel-aware: WhatsApp template messages, email sequences
  • Defer until inbound loop is fully stable

Docusaurus Docs-Siteโ€‹

  • Docs site is deployed: Cloudflare Access auth, Vercel hosting, renders /docs folder
  • Needs: structured navigation (sidebar.js), public API reference, onboarding guide for new clients
  • Issue #247 covers stale endpoint audit

Recently Closed (Reference)โ€‹

Items completed between 2026-05-07 and 2026-05-19:

ClosedTitle
#423SA Nango catalog autocomplete + link-out on /ops/clients/:id integrations
#422SA tool-permissions toggle UI on /ops/clients/:id Tools tab
#415Remove Internal Notes section from expert workspace
#414Move AI Draft to Client Conversation pane
#413Move action footer to ticket header row
#412Relabel pane titles + Specialist online โ†’ Agent Healthcheck
#411Realtime WS for Workspace (Expertโ†”Specialist) pane
#410Emit WS event when client message arrives (left pane realtime)
#409Expert queue 10s loading flicker
#393โ€“#392Expert workspace queue snoozed resurface + Assign-to-Expert
#391โ€“#388Sort by last activity, consolidate status machines, standardise customer label, stop auto-resolve
#359Agent pipeline async (POST /conversations/:id/messages no longer blocks)
#303Correction โ†’ KB refinement processor