InsuranceBot / backend /single_brain.py

Commit History

feat(single_brain): wire view_context β†’ ACTIVE POLICY DIVE-IN block (KI-330)
2a58c28

rohitsar567 Claude Opus 4.7 (1M context) commited on

feat!: remove cross-session profile recall (ADR-043) β€” net βˆ’3700 LOC
6d5684e

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(privacy v3/v4): two-fact recall gate + extended same-turn extractors (closes ADR-042 follow-ups)
2be56b4

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(privacy v2): same-turn age contradiction in apply_pending_recall
10e6843

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix: 4 hardening fixes β€” sticky-retry, canned-msg copy, admin refresh wiring, recall privacy
2acdc9e

rohitsar567 Claude Opus 4.7 (1M context) commited on

#41 + #43: fix family-history re-ask + unverifiable-UIN warning
ba47227

rohitsar567 Claude Opus 4.7 (1M context) commited on

#45: persist chat-only profiles so returning-user recall actually works
a025a43

rohitsar567 Claude Opus 4.7 (1M context) commited on

#25/#26: returning-user recall any-turn + mid-conversation state recovery
2368504

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix: deductible gating (#29), existing-cover steering + dangling-turn guard (#30), compare-modal full reviews (#32)
3fcae97

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(batch): voice interim, TTS truncation, RULE2.5 re-ask, faithfulness regression, markdown, compare-reviews, policy-name
8828a2e

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(brain): don't re-ask recalled slots after returning-user confirm
6e0462a

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(brain): wire returning-user-by-name recall into single_brain (ADR-041/KI-196)
3591985

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(voice/brain): remove hold-space, fix silent TTS + policy-Q&A refusal
abbb3a5

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(#40+voice+upload): SSOT scorecard parity + Sarvam 30s-truncation + uploaded-PDF retrieval gate
a5d9bfd

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(pricing+scoring): rebuild premium engine to 0 logical violations + classification, faithfulness, links, writing
f266901

Claude Code Claude Opus 4.7 (1M context) commited on

fix(reco): cap 3, exclude non-extracted policies, unify premium, ask PED
61980e6

Claude Code Claude Opus 4.7 (1M context) commited on

chore(cleanup): purge stale narrative/tombstones/dead code β€” codebase reads as the current standard
23b8fad

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): restore broken core flow β€” model revert + thinkingConfig + rip deterministic scaffolding
5a4b5e8

rohitsar567 Claude Opus 4.7 (1M context) commited on

recovery: integrate stalled-session work + de-stale/cleanup (pytest 215 green) [build-fix]
b87bd2d

rohitsar567 commited on

deploy#2: unified reco-fit gate + session-privacy fix + profile-completeness + full UI rebuild
b134f5b

rohitsar567 Claude Opus 4.7 (1M context) commited on

data+scoring: verbatim-source all policy_facts, recalibrate scorecard, fix recommendation
7081aaa

rohitsar567 Claude Opus 4.7 (1M context) commited on

feat(profile+pricing+voice): KI-275 β€” F-bundle: smoker + recap-verify + premium scope + price consolidation
a7d8209

rohitsar567 Claude Opus 4.7 (1M context) commited on

feat(profile+pricing): KI-269 β€” D1+D2 bundle: chip merge + panel pre-fill + copay + family history
dea6883

rohitsar567 Claude Opus 4.7 (1M context) commited on

feat(profile+pricing): KI-259..KI-266 β€” B-bundle (compare modal + per-policy + scorecard + premium band + budget/SI + union + persistence + recall)
f6901d8

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(welcome-back): KI-255 β€” RULE 4 only fires for actual returning users
3f15c03

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(closure+voice+latency): KI-253 β€” P-bundle from U1 fails (P2 watchdog + P3 mark_rec gate + P4 instrumentation)
8a7350c

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(ux+voice): KI-252 β€” align profile bar with Path B 7-slot ready gate + RULE 4 implicit confirmation + ZCR scaling
bcf9753

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(closure+hydration+voice+admin): KI-248..KI-251 β€” V1-V4 bundle from Playwright smoke
52e5881

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): KI-245..KI-246 β€” Z6 + W2 bundle (3 bugs + 6 prompt edges)
1344492

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): KI-244 β€” Z4 hardening β€” max_tokens, mark_recommendation gates, sticky-graceful retry
fe7ca39

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): KI-242 β€” 2-attempt retry on transient Gemini errors
b778c1b

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(arch+wiring): KI-237..KI-241 β€” Phase Y bundle (Y1+Y2+Y3+Y4 + profile-gate)
2524073

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): KI-237 β€” capture-first MANDATORY rule in system prompt
00fa5a8

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(single_brain): KI-236 β€” explicit retrieval query construction guidance
7d2b5a0

rohitsar567 Claude Opus 4.7 (1M context) commited on

fix(arch+robustness): KI-225..KI-235 β€” Path B single-LLM rewrite + audit bundle
f15911b

rohitsar567 Claude Opus 4.7 (1M context) commited on