ai-powered-conversational-intelligence

Changelog

Newest first. The README’s “News and Updates” section shows only the three most recent entries. This file keeps the full record. Each entry names the contract document that holds the design, the API, the configuration and the limitations.

2026-10-22: readable answers, measured latency, a retrieval fix, and status moved to UAT (pre-production)

Seven commits (60f6e23..628565d). Four result-quality fixes, one measurement pass, and a status move.

Project status is now UAT (pre-production), set at 628565d. This is the phase the 2026-10-17 release gate pointed at — its verdict (NO-GO for production, READY FOR UAT with conditions) is unchanged, and entering UAT is not passing it. Nothing has been signed off: the 15-journey, 6-role script in docs/certification/UAT_SCRIPTS_AND_SIGNOFF.md still has every result cell blank.

Result quality

Latency, measured rather than assumed

docs/PERFORMANCE.md (new) records the diagnosis. A baseline question took 123.77s, of which execute_sql was 0.05s — 0.04%. Essentially all of it is model inference: qwen2.5-coder:7b needs 5.84 GB and only 2.37 GB fits the 4 GB GPU, so it runs 41% on GPU at ~185 tok/s prompt and ~9.6 tok/s generation. Latency is therefore prompt_tokens/185 + generated/9.6, making call count and prompt size the only levers. Skipping the analytical-intent call for a question with no complexity signal — whose result provably cannot change any downstream decision — took it to 80.08s, 3 model calls to 2 (df8ffdb, 6f93ef1).

The 3-5s target is not met for a SQL answer: ~80s today, ~30s in the best configuration this hardware allows. What does meet it is progress — the first /ask/stream event lands at 0.025s and every pre-generation stage completes by 2.57s.

Verification

7,673 backend passed with 5 known failures — a pre-existing cross-file-state interaction (tests/security running before test_agent_nodes.py), unrelated to any 2026-10-22 change and recorded in CLAUDE.md §13; 11 tests/live/ deselected · 1,334 frontend tests across 95 files · tsc clean · npm run lint exit 0 · black clean over 1,661 files. ruff exits non-zero on one pre-existing import-order finding and bandit on 4 Low (0 Medium, 0 High), both deliberate and both pre-existing. pip-audit could not be re-measured — it requires PyPI and this environment has no egress.

Known and unfixed

Two phrasings (“Worst selling products”, “Most popular products”) are still refused by qwen2.5-coder:7b even with the fact table and SalesAmount verifiably in the prompt. llama3.1:8b answers both (316.1s and 110.7s), so this is model capacity rather than the pipeline; OLLAMA_MODEL is the lever, at a latency cost. Recorded in CLAUDE.md §13.

2026-10-17 (later): release-blocker verified closed, project status moved to advanced beta

A certification/status pass, not a feature change. No application code was modified — the only code change in scope landed separately as 08f385e (the scipy pin). Everything here is measurement and documentation.

Verified

Found

Changed

Not done, and why

UAT is NOT COMPLETED and is not claimed otherwise. No business user has executed or signed off a single journey, and automated tests are not UAT. Also not run: the Trivy container scan and the k6 load stack (both unblocked by the F-008 fix but not executed), DAST, the 57-case accuracy benchmark, the 500-case security benchmark, a DR restore drill, OIDC against a live IdP, and multi-worker behaviour. A second independent docker build and a CI-equivalent detect-secrets run were started and did not finish; neither is claimed as evidence.

2026-10-17: SQL shape explanation, per-model token counts, accessibility checks

Four batches from the capability-catalogue plan (docs/ai-capability-implementation-plan.md), each recorded with its full evidence in docs/ai-capability-implementation-log.md. POST /ask and /ask/stream keep their shape: every new response field is optional with a default, no route or permission was added, and no governed path (validation, row limits, masking, authorization) changed.

Added

Changed

Built, not wired (no live caller — see CLAUDE.md §1)

Benchmarks

2026-10-16: Web search — untruncated results and a synthesized answer

Scoped to the web source. POST /ask, /ask/stream and every response model are unchanged; ENABLE_WEB_SEARCH is still off by default.

Fixed

Added

Changed

Documentation: docs/MULTI_SOURCE_GUIDE.md §5, docs/CONFIGURATION.md, docs/INFERENCE_ENGINEERING_BASELINE.md §2.

2026-10-15: Source connectivity, streaming, and an evidence-based audit

Everything added here is off by default except streaming and the source picker. POST /ask is unchanged: /ask/stream calls that handler rather than reimplementing it, and omitting AskRequest.sources takes the exact path it always did.

Added

Changed

Fixed

Security

Migration and deployment

Verification

2026-10-06: AI analysis layers (Prompts 33-35)

All three layers are optional and off by default. None of them changes /ask.

Added

Changed

Security

Verification