Session 31 — Friday AI UX Overhaul + Smart Reconciliation + Unified Brain

What was built

  • Friday AI UX Overhaul — 4-theme system (Original, Parchment Rule, Glass, Parchment Warm Band)
    • Draggable bubble + draggable/resizable chat panel
    • ReactMarkdown + remark-gfm for Tufte-formatted output
    • Slash command system (/help, /commands, /revenue) with gold rendering — zero API cost
    • Owner/admin model upgraded to Opus, other roles to Sonnet
    • Glass theme: dark frost body, solid black header, gold rule separator
  • Smart Reconciliation (TB-04) — confidence-based auto-matching for EFT payments
    • Three tiers: HIGH (auto-mark Paid), MEDIUM (queue for human), LOW (dashboard review)
    • $5K guardrail requires human confirmation
    • Auto-close pipeline with Stripe webhook dedup
  • Unified Brain (TB-11) — Friday absorbs Kulu’s operational knowledge + shared conversation log
    • conversation_log.py (SQLite) with log_exchange(), get_recent(), extract_topics()
    • Topic extraction auto-detects project identifiers in both directions
  • ProjectDetail Inline Cert/Invoice Actions (TB-06) — state-machine-aware actions, confidence routing UI
  • Historical file linkage (TB-08) — 12,495 files linked from 3 archives, 8,237 photos optimized, 732 dupes skipped
  • Friday + Kulu tool consolidation (TB-08b) — 6 new /history/* endpoints, 4 new Friday tools

Services touched