The real pure-uploader.js engine + the Test Drive upload flow I improved — embedded live below. Drop a file in the frame to test it end-to-end; the wiring on the right shows every step.
Test Drive: pick a sample doc or upload your own — it classifies live (mcp_doc_match) and runs the full path in a sandbox. · If the embed is blank, click Open live (some pages block embedding).
How it flows & is wired
Drop / upload
pure-uploader.js — drag-drop, file preview, OCR/text parse. Mounts on any surface.
PureUploader.mount(cfg)
Classify
Detects the document type + finds the matching deal.
mcp_doc_match(filename, text, hints)
Ingest propose matches
Stores the doc and proposes each extracted field as a pending match.
mcp_doc_ingest(…)pure_field_publishes
Extract · enter-once
Writes fields once to canonical columns; surfaces any clashes.
The responsible party approves each match before it writes — never silent.
mcp_field_resolve(deal, field, accept)
Write to record
Lands in the canonical table via the field-lineage map.
dealspure_loan_appspure_offers
Test Drive The improved Test Drive uploader runs this whole path in a sandbox and returns a live trace (upload classify extract validate route write) with pass/fail — via mcp_testdrive_ingest_run. No real records touched.