Architecture Note · Operations & RevOps
Evidence-Grounded Revenue Intelligence: Deterministic Call Scoring, Deal Risk Radars, and Human-Gated Forecasts
Why naive conversation AI inflates Commit forecasts and creates unverified coaching drafts—and the deterministic local architecture that binds pipeline inspection to call evidence and explicit manager sign-off.
The Problem: Optimistic Pipeline Forecasts and Unverified Call Notes
Enterprise revenue teams running $45k–$320k ACV cycles across regional hubs—NYC, London, Frankfurt, Tokyo, Sydney, Toronto, and Zurich—depend on weekly forecast calls to separate committed revenue from wishful thinking. In practice, CRM stages reflect rep optimism rather than verifiable buyer evidence: single-threaded opportunities sit in Commit without an engaged Economic Buyer, procurement paper processes remain unmapped, and security or pricing objections go unresolved between Discovery and late-stage calls. Meanwhile, managers lack time to scrub full recordings to coach talk-to-listen discipline or verify MEDDPICC and SPICED fields before committing numbers to the board.
Why Naive Conversation AI Wrappers Fail RevOps Teams
Generic call-summary SaaS wrappers introduce four engineering and governance failures when wired directly into revenue operations:
- Third-party egress and raw file retention: Streaming unredacted VTT or SRT call transcripts—containing pricing redlines, DPA clauses, and customer identifiers—to public LLM endpoints expands compliance exposure and leaves raw uploads lingering on disk.
- Unanchored qualification hallucinations: Prompting a language model to “fill out MEDDPICC” often fabricates Economic Buyer confirmation or next steps from polite small talk without linking each claim to a verbatim speaker turn.
- Nondeterministic forecast math: Letting an LLM guess deal health produces shifting scores across runs, making Commit-vs-Best-Case variance impossible to reconcile or test in CI.
- Unreviewed automated coaching and CRM writes: Auto-publishing AI-generated rep evaluations or silently mutating forecast categories bypasses human accountability in workflows that must support coaching, not automated HR judgment.
The Deterministic Architecture That Fixes It
A production revenue intelligence system separates deterministic parsing, risk arithmetic, and human governance from optional prose synthesis:
- Ephemeral upload lifecycle and zero-key deterministic parsing:
POST /api/calls/analyzeaccepts JSON transcripts or multipart.txt,.vtt,.srt, and.jsonfiles, hashing raw bytes via SHA-256 while isolating temporary files under a strict 1-hour TTL. A background sweeper (sweep_expired_uploads) unlinks expired raw transcripts after 3,600 seconds while retaining only the SHA-256 digest metadata. By default,OfflineDeterministicAdapterextracts speaker turns, talk-to-listen ratios, longest rep monologues, call stage (discovery,security_review, orpricing), MEDDPICC/SPICED status, objections, and action items locally with zero external LLM calls. - Multi-call deal risk aggregation in SQLite WAL:
POST /api/deals/{id}/risk-scorepersists deal state in SQLite (WAL mode with foreign keys enforced) and deterministically rolls up linked calls. Single-threaded deals (≤ 1unique prospect stakeholder) add+24risk points; unconfirmed Economic Buyers add+16; Commit deals missing a verified paper process add+10; repeated competitor mentions (such as Gong, Chorus, Clari, or Modjo) add+12; and stalled call cadence (>14 days) adds+12. The resulting0–100score drives an objectiveevidence_adjusted_forecast_weightrather than opaque heuristics. - Custom coaching rubrics and HTTP 409 human sign-off gates:
POST /api/coaching/rubricsandPOST /api/coaching/evaluatescore weighted criteria—such as keeping rep talk share≤ 60%and monologues≤ 90s—into a draft permanently initialized aspending_human_review. Both finalizing coaching (POST /api/coaching/reviews/{review_id}/signoff) and overriding a deal forecast category (POST /api/deals/{id}/forecast-override) enforce a hardHTTP 409 Conflictgate untilhuman_confirmed=trueand a non-emptyreviewer_nameare supplied. - SHA-256 hash-chained audit trail and formula-safe exports: Every confirmed coaching lock or forecast override appends a serialized entry to
audit_trailchained to the prior entry’s SHA-256 hash from genesis.GET /api/forecast/evidenceexposes Rep-Submitted vs. Evidence-Adjusted Commit and Best-Case roll-ups in JSON or RFC 4180 CSV with OWASP spreadsheet formula-injection neutralization, backed by automatedpytestcoverage across parsing, scoring, rate limiting, and audit verification.
Operational Takeaway
Revenue intelligence earns executive trust when forecast haircuts trace to missing transcript evidence, raw uploads auto-wipe within an hour, and no coaching lock or Commit override clears without an authenticated, hash-chained human sign-off.