← technext-edge

Casa Escondida Extractor Pod

Casa Escondida Extractor Pod An architecture diagram generated by Archify. Guest · WhatsApp msg · Architecture component Guest WhatsApp msg Meta WhatsApp · Graph API · Architecture component Meta WhatsApp Graph API Casa BFF · Hono webhook · Architecture component Casa BFF Hono webhook Conv. Store · dedupe + history · Architecture component · in-memory Conv. Store dedupe + history in-memory converse() · re-extract transcript · Architecture component converse() re-extract transcript AI Provider · Gemini (swap) · Architecture component · EXTRACTOR_PROVIDER AI Provider Gemini (swap) EXTRACTOR_PROVIDER postProcess() · dates, norms, evidence · Deterministic — no model output reaches the guest postProcess() dates, norms, evidence renderReply() · 3 fixed templates · Deterministic — no model output reaches the guest · no LLM text renderReply() 3 fixed templates no LLM text message webhook (HMAC) dedupe + append history extract() raw fields Trip reply send reply reply Deterministic — no model output reaches the guest Legend Backend Database Cloud Security External

Zero-fabrication boundary

  • • Every field is stated / inferred / missing with verbatim evidence
  • • No LLM ever writes a sentence a guest reads — renderReply() picks a fixed template

Provider seam

  • • converse() -> extract() calls one ExtractProvider interface
  • • Gemini or DeepSeek (via a Railway gateway) — an env var, not a code change

Known gap

  • • Conversation store is in-memory — not yet Redis/KV
  • • A serverless cold start or instance swap can lose an in-flight thread