Confidential · © 2026 Space-O Technologies Inc. · Prepared exclusively for DMA. Please do not copy, save or share.

Section 20 · Sales Rep Work Elimination / Zero-Entry CRM

20.28Lost-reason cleanup

Built in the POC
No.
20.28
DMA's reference
Decision Book p.42
Phase
Phase 1
Autonomy
L1 · Recommend
DMA's decision
Yes

What DMA asked for · Decision Book p.42

Turn messy lost reasons into one clear code.

Why it matters to DMA: Reliable lost reasons are what the deal autopsy and better scoring rest on.

In our words, from DMA's Product Decision Book v3, page 42.

How we do it

  • The same engine as 17.4: each lost deal's reason and notes are mapped to one code (price, timing, existing agency, no budget, competitor, poor fit, other), with the words it came from.
  • No words, no code: "not enough evidence" instead of a guess.
  • A code the AI is at least 80% sure of is prepared for the AI Lost Reason field in Nutshell. The write is held until DMA signs off the list of codes and the Phase 0 dry run; then it goes through the write gate like every AI write.

The flow

It plays on its own while it's on screen; hover or use the controls to pause or step through.

Lost reason"$$ / went elsewhere"Audittext + notesChecksin the list, words foundAI Lost Reason80%+ sure, after sign-off
Step 1 of 4

Messy

"$$ / went elsewhere".

  • Nutshell
  • AI
  • Rule in code

Where the data goes

The same six stages on every page. Nothing reaches Nutshell except through the write gate.

  1. 1Nutshell

    Source

    Deals, contacts, tasks, activities, notes and users.

  2. 2Sync

    Copies Nutshell changes into the bridge database

    Keeps the mirror current, so the rules see today's state.

  3. 3Bridge database

    A copy of the CRM data, plus what the AI works out

    One open flag per record and problem, with its details and the rule version.

  4. 4AI

    Claude models, only through DMA's own gateway

    Not needed for most flags: they are rules. The audit adds what only the notes say.

  5. 5Write gate

    The only way back into Nutshell: checked, approved when needed, sent once

    Flags don't write to Nutshell; fixes happen there, by people (or through the write gate where a field rule allows it).

  6. 6Nutshell

    The system of record

    Reps fix the record; the flag closes on the next run.

The tables behind it

Drawn from the POC's database catalogue: structure only, no data.

ai.extracted_factsPKiduuidfact_keytextvaluejsonbconfidencenumericevidence_quotetextobserved_attimestampstatustextIDprompt_iduuid+ 7 more columnsctrl.outboxPKiduuidoperationtextbefore_imagejsonbautonomy_leveltextFKapproval_iduuidapproved_bytextstatetext+ 21 more columns

PK primary keyFK reference the database enforces (solid line)ID reference kept by id (dashed line)

TableWhat it holdsColumns
ai.extracted_factsFacts the AI found, each with the exact quote it came from and a confidence.15
ctrl.outboxThe write gate: each proposed Nutshell change, its approval and what it replaced.28
How the tables connect (2)
ColumnPoints toKept by
ai.extracted_facts.prompt_idagent.promptsThe application (by id)
ctrl.outbox.approval_idctrl.approvalsThe database (foreign key)

Worked example

Synthetic demo data: every name, business and number is made up.

Three messy reasons and the codes (synthetic data).

Lost reasons, cleaned

In NutshellCodeEvidence
$$ / went elsewherePrice"chose a cheaper freelancer" (note, May 2025)
timingTiming"revisit after tax season" (note, Feb 2025)
?Not enough evidenceNo note explains the loss

In the running POC

localhost:13311/web/company/…
A company in the Nutshell simulator after an approved AI write.

A company in the Nutshell simulator after an approved AI write.

  1. 1The AI fields, written only through the write gate.
  2. 2The write in the company's timeline, marked as done by DMA AI.

CRM simulator (stands in for Nutshell) · one company record. Captured from the running POC on September 25, 2026; synthetic data.

See it live

Opens the exact screen in the running POC, in a new tab.

OpenWhereWhat to try
Nutshell simulatorCRM simulator (stands in for Nutshell)Open a company: the AI fields and the AI's entries in its timeline.

Status

Built in the POC

Built in the POC. This capability runs in the POC today, on synthetic data, end to end.

20.28 Lost-reason cleanup · DMA AI proof