The product, on screen¶
One product, two seats. The person asking sees answers inside the AI they already use — they never see dst at all. The engineer sees the files those answers stand on. Both views below are the same live demo project: the definition the chat answer cites is the highlighted line in the editor underneath it. Change that line, and the answer changes.
Seat one — the person asking¶
No dashboard, no new tool to learn. Their AI calls dst behind the scenes, and the answer comes back with the SQL that produced it, a confidence grade, and the cost:
- lifetime value — total historical revenue per customer
- order amount — a single order's total
The person sees conclusions, not queries. Behind that first answer their AI made several dst calls, and each one was checked against the lens's definitions and logged with its SQL, its confidence grade, and its cost — that record exists for the engineer and the auditor, not on this screen.
Two things to notice. "Bought more than once" is not the model's guess — it is your governed definition of a repeat customer, and you will see the exact file it lives in below. And the second answer is a question back: 'value' means two different things in this data, so dst asks rather than guesses.
▲ the answer · the file it stands on ▼
Seat two — the engineer¶
Everything the chat answer stood on is a file in a folder, in version
control. The definition the answer cited — repeat_customer — is open below,
its wording highlighted. The lens (who may ask, over what data) and the
certified answers (question-and-SQL pairs a person approved) are the other
two tabs. Underneath, the terminal: dst plan previews the change, dst
apply publishes it, dst test re-checks every certified answer against it.
All of it real: the files verbatim (lens.yaml abridged), the terminal from
a live capture. The tabs and the highlighted tree files are clickable.
$ dst plan ~ semantic/definitions/examples/repeat-customer.md ~ customer_value — STALE compile (shared changed: definition/repeat_customer) ! customer_value: 1 certified answer(s) need re-verify (--full lists them) Plan: 2 to change, 4 unchanged. (--full shows diffs and hints) $ dst apply connections: ok semantic: updated definition/repeat_customer lens customer_value: updated Apply complete. 4 warning(s), 0 error(s). (--json for the row array) $ dst test customer_value PASS me/customer_value: What was total revenue? 9.7s PASS me/customer_value: How many customers are repeat customers? 37.2s PASS me/customer_value: What is the average value of a customer? [expect: clarify] ──────────────────────────────────────────────────────────────── 3/3 passed (2 certified + 1 behavioral) in org me
A definition's wording changed (the highlighted line). plan names everything
the change touches — the stale lens, the certified answer to re-verify — apply
publishes it, and test re-runs every certified answer against live generation:
3/3 passed. The revenue entry's source line carries the
correction loop's trace: it was re-certified after a
review ruling changed what revenue means.