teqo-backup/docs
Francisco Ignácio Fontoura Solla f9cd1df7b2 feat: AI chat 'Sollinha' — campaign data assistant (v1 read-only)
- Streaming AI endpoint at /campanha/api/ai-chat with DeepSeek V4 Flash
- 8 tools: calculate, getMunicipalityVotes, getTopDeputies, getDobradinhas,
  getMunicipalityOverview, getLeaderships, getOrganizations, searchEntities
- In-memory rate limiter (50 msgs / 15 min per user)
- Desktop: resizable right sidebar via react-resizable-panels
- Mobile: full-screen Drawer opened by FAB (2/3 size of quick-actions FAB)
- Markdown rendering with react-markdown + remark-gfm (tables, bold, lists)
- Session-bound context (clean slate each open)
- Auth via existing campaign-token cookie, tools respect user RBAC
- Architecture doc: docs/plans/ai-chat-sollinha.md
- E2E tests: campaignAiChat.e2e.spec.ts (mocked endpoint)
2026-08-04 06:17:31 -03:00
..
design-refs Version UX Pilot design refs and map them to roadmap plans 2026-07-18 16:36:09 -03:00
plans feat: AI chat 'Sollinha' — campaign data assistant (v1 read-only) 2026-08-04 06:17:31 -03:00
research Add emendas parliamentary-amendments discovery cycle (ciclo 3): 4-axis compendium, four synthetic personas, two-round interviews with cross-examination, consolidated report (kernel, 12 ranked pains, OST mapped to /mandato-/campanha-/comunicacao, anti-goals, 14 bets), and the real-interview script for the gabinete's planilha keeper. 2026-07-28 18:05:35 -03:00
AGENT-OPS.md style: prettier AGENT-OPS and promote-related script 2026-08-03 00:23:26 +00:00
ARCHITECTURE.md Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
CHANGELOG-AGENTS.md B154 — criar assessor inline no popover da lista de municípios 2026-08-03 22:46:06 -03:00
CUSTOMER.md style: prettier-format public-release docs 2026-07-31 13:16:22 -03:00
CUTOVER-MAIN-ONLY.md fix(ci): clear domain gitBranch so CLI prod deploys can alias 2026-08-01 15:59:41 +00:00
GUARDRAILS.md merge main and close Pass 5 P1 ledger row 2026-08-03 04:45:27 +00:00
IMPROVE-APP-PLAN.md chore: public release tip — All Rights Reserved, sanitize field material 2026-07-31 12:53:12 -03:00
IMPROVE-CODE-QUALITY-PLAN.md docs: format Pass 5 audit artifacts with Prettier 2026-08-03 04:36:11 +00:00
PAYLOAD-REFERENCE.md chore: format docs 2026-07-30 05:22:58 -03:00
roadmap.md feat: convert roadmap items to issues + model properties 2026-07-30 12:22:05 -03:00
TECH-DEBT.md merge main and close Pass 5 P1 ledger row 2026-08-03 04:45:27 +00:00
TESTING.md docs: Pass 5 engineering audit artifacts 2026-08-03 04:35:45 +00:00