Mastery: how to sell the FALSEWORK → KEYSTONE → CAIN-42 loop
Purpose: make you the person in the room who can explain, demonstrate, defend and disqualify this product without notes. Read this once end-to-end, then use the drills in Part VI before your first call.
Source of truth: the live routes, HONESTY.md, OFFER.md, PROOF.md, and the code. If this file disagrees with the product, the product wins. Re-check /keystone/stats before quoting a number.
---
Part I — The five mental models
If you remember nothing else, remember these five sentences.
1. The proof gap
Every AI tool can produce a diff. Very few can produce proof that the diff is a fix.
The buyer is not asking for more code. They are asking "how do I know?" You sell the answer to that question.
2. The loop is the product
The detector alone is a scanner. The model alone is a commodity. The cluster alone is a timestamp. The product is the closing loop: detect → act → prove → sign → anchor → export. Sell the loop, not any one part.
3. Independence is the load-bearing property
A test written by the model that wrote the fix is not proof. The reference test must be written by someone else — the customer, their CI, the project, or a different model lab — and it must fail on the old code and pass on the new code. Everything else in the loop exists to protect that one fact.
4. The evidence is falsifiable, not persuasive
You are not asking the buyer to believe a PDF. You are handing them a record they can recompute, a signature they can check against a key they pinned, and a verifier that imports none of your code. The correct sales sentence is:
"You don't have to trust us. Pin the key and re-run it. If we changed one byte, it says TAMPERED OR INVALID."
5. Scope discipline is the product's integrity
One finding. One independent test. One run. It does not prove the rest of the system. The moment you let a buyer believe it proves more, you have sold a certification you cannot deliver. Expertise is knowing exactly where the line is — and saying so before the buyer asks.
---
Part II — The machine
2.1 The data flow
SOURCE CODE
│
▼
FALSEWORK (deterministic) ──► finding (file, line, check, severity, snippet)
│
▼
ACTOR (frontier model, human, or CI) ──► fixed code + actor's own test
│
▼
PROVER (bubblewrap sandbox)
├─ reference test on ORIGINAL → must FAIL
├─ reference test on FIXED → must PASS
├─ FALSEWORK re-scan → finding gone, no new blocking finding
└─ fix-safety guard → public API kept, no new deps/capabilities
│
▼
SIGNER (canonical JSON → SHA-256 → Ed25519 → chain)
│
▼
ANCHOR (CAIN-42 PBFT, N=4, f=1, Q=3) ──► quorum receipt
│
▼
EXPORT (record + head + key + verifier + manifest + receipt)
2.2 What each layer is responsible for
| Layer | Responsibility | Honest limit |
|---|---|---|
| FALSEWORK | Find fabrication patterns deterministically | Heuristic; caught 3 of 12 on one fresh blind set |
| Actor | Write the patch | The model can be wrong; that is why the prover exists |
| Prover | Decide whether the patch is a fix | Only as strong as the reference test |
| Guard | Stop unsafe "fixes" (API loss, new deps, network/process) | Not a full code review |
| Signer | Make tampering detectable | Proves who signed, not that the fix is good |
| Anchor | Prove the record existed and was not backdated | Notarizes; never authorizes |
| Export | Let the buyer re-check without you | The buyer must pin the key themselves |
2.3 The verdict table (memorize)
| Condition | Verdict |
|---|---|
| FALSEWORK finds no defect | NOTHING_TO_FIX — no proof is sold |
| Reference test passes on the original | NOT_VERIFIED — it does not demonstrate the defect |
| Reference test fails on the fixed code | NOT_VERIFIED — the fix is not done |
| Fix removes public API, adds a dependency, or adds network/process/file-write | NOT_VERIFIED — guard blocks it |
| FALSEWORK still finds the defect after the fix | NOT_VERIFIED |
| Fix introduces a new MEDIUM-or-worse finding | NOT_VERIFIED |
| Declared same-lab / unknown-lab / self-authored test | NOT_VERIFIED — independence fails closed |
| Every check holds | VERIFIED_FIX |
| Project's own tests fail before and pass after, in a throwaway worktree | VERIFIED_BY_PROJECT_TESTS — a second proof, cannot upgrade a NOT_VERIFIED |
2.4 The proof-strength hierarchy
Use this whenever a buyer asks "how independent is it?"
- Customer / CI acceptance test — strongest. The buyer wrote it; the fixer never saw it.
- Project's own test suite — independent of the model, but only as strong as the project's tests.
- Detector-authored oracle — independent of the model, generated by us; a weak oracle is rejected.
- The model's own test — supporting evidence only; never sufficient.
The product's promise is not "the test is perfect." It is "the test is not the fixer's."
2.5 The evidence object
A record contains: run id, standard, timestamp, path, original code + hash, FALSEWORK findings before, the finding and its fingerprint, the reference test author/lab/origin/hash, the actor and lab, the fixed code + hash, the diff, FALSEWORK findings after, the guard result, test results before/after, the attempt log, the verdict, and the reasons. Then: sequence, previous record hash, record hash, Ed25519 signature, public key.
A bundle contains:
record-0000.json,record-0001.json— the signed records in chain order;head.json— a signed list of exactly which records the bundle holds, in order;public_key.json— the issuer's key, for comparison only;verify_keystone.py— the standalone verifier, no CAIN imports;manifest.json— SHA-256 of every file;README.md— the verification instructions;quorum-receipt.json— when the run was anchored.
The verification ritual:
unzip -q bundle.zip -d ks && cd ks
KEY=$(curl -s https://cainstudio.online/keystone/public-key | python3 -c 'import json,sys;print(json.load(sys.stdin)["public_key_b64"])')
python3 verify_keystone.py --pinned-pub "$KEY"
# RESULT: ALL RECORDS VALID
Change one byte in a record → RESULT: TAMPERED OR INVALID.
2.6 The trust budget — what the buyer must trust vs. what they can verify
This is the most important table for a technical buyer.
| Thing | Must trust | Can verify |
|---|---|---|
| The detector | That its checks are useful (it is heuristic) | The finding, the line, the code, the sample report |
| The test | That the test expresses the behaviour they care about | It fails on the old code and passes on the fix |
| The fix | Nothing | Diff, code hashes, guard, FALSEWORK re-scan |
| The signer | The key distribution (they must pin it) | Hash, signature, chain link, code digests |
| The cluster | The quorum assumption (f=1) | Receipt fields, cluster id, config hash, geometry |
| The operator | That they ran the test they said they ran | Re-run the test themselves on the code they hold |
The expert sentence:
"You don't have to trust the operator. You have to trust the test you wrote, the key you pinned, and the code hashes you can recompute. If any of those fail, don't pay."
2.7 What it would take to fake a proof
This is how you answer a security-minded buyer without hand-waving.
- Forge the signature — need the Ed25519 private key.
- Change the record — the content hash, the chain link, and the signature all fail.
- Swap the key inside the bundle — the verifier refuses without a pinned key; a key shipped in the ZIP proves nothing.
- Fake the cluster receipt — the receipt binds the digest, request id, cluster id, configuration hash, sequence and membership; the QaaS verifier pins the cluster configuration.
- Corrupt the test — the test hash is in the record; the buyer can compare the test they hold and re-run it.
- Collude with the cluster — with f=1, one Byzantine replica is tolerated; you would need more than one.
- Lie at signing time — the operator could sign a record that misstates the test. The defense is the buyer's own re-run: they have the code and the test, and the record tells them exactly what was run. Cryptography prevents undetected tampering; it does not replace the buyer's verification.
---
Part III — The buyer
3.1 Three profiles (from TARGETING.md)
A. The AI vendor in an enterprise security review — highest probability
- 10–300 people, B2B SaaS, shipped an agent or an "AI-powered" feature in the last 12 months.
- A mid-market or enterprise deal is stalled in the buyer's security review.
- The buyer sent a questionnaire or asked "can you prove it?"
- Titles: CTO, VP Engineering, Head of Platform, Head of Security, founder/CEO at a smaller company.
Opening line: "Your buyer asked you to prove the AI feature is real, didn't they?"
B. The team before diligence or a handover
- Raising a seed/A round, being acquired, or inheriting a codebase from a contractor.
- The embarrassing finding is a fabricated metric, not a breach.
- Titles: founder/CEO, CTO, VP Engineering, technical co-founder.
Opening line: "When diligence asks 'is this code real?', what do you send?"
C. The platform team shipping MCP tools or agents
- Public MCP server, agent tool surface, or a coding agent in production.
- The tool definitions are the front door, and nobody reviewed them.
- Titles: platform engineer, AI engineer, security engineer, Head of AI.
Opening line: "Your agent can call tools you haven't reviewed. What does your buyer get when they ask?"
3.2 Triggers (a trigger beats a title)
- a funding announcement in the last 60 days;
- a launch post for an agent or an "AI-powered" feature;
- a job post for an AI engineer, AI security engineer, or platform engineer;
- a public MCP server or public agent tool list;
- a post about a security questionnaire, procurement, or an enterprise customer;
- a post about Copilot, Cursor, Claude Code, or "vibe coding";
- a handover post ("excited to join as CTO");
- a public incident or near-miss in their category (do not imply it happened to them).
3.3 Qualification — ask before the call
- What did the buyer actually ask for — a questionnaire, a pen-test report, or "show me it is fixed"?
- Is the code Python? (If no, stop for the code proof.)
- How big is the repo, roughly?
- Is there a deadline? (A real date, not "soon".)
- Who signs, and what is the payment process?
If the answers are "not Python", "no deadline", and "just exploring", send the sample bundle and stop.
3.4 Disqualify early (this protects the price and the calendar)
- They want a pen test, a SOC 2, or a certification. We do not sell those.
- They want a guarantee that their system is safe. We do not sell that.
- They want a full platform or an enterprise subscription. That is not the 24-hour offer.
- They cannot share code or a module. Without code, there is no loop.
- They want the report before paying. The sample report is public; the work is the fee.
- They want us to name a customer without written permission.
---
Part IV — The sale
4.1 The 30-second version
"Your AI tool says it fixed the bug. Your buyer says prove it. We run a deterministic detector, fix the finding, prove it with a test the model didn't write, sign the record, notarize it on a 4-replica Byzantine cluster, and hand you a verifier that imports none of our code. $500, one Python module, 48 hours."
4.2 The 2-minute version
Add the six stages and one honest limit. End with the tamper demo:
"Download the bundle, pin the key, run the verifier. If we changed one byte, it says TAMPERED OR INVALID."
4.3 The 10-minute version
Use Part II. At minute 6, run the live demo (Part V). At minute 8, state the limits before they ask. At minute 9, ask for the file and the test.
4.4 Discovery script (5 questions)
- "What is the finding, in one sentence?"
- "Who is asking for proof, and what would satisfy them?"
- "Do you have a test that should fail today and pass when it's fixed?"
- "Is it Python? One module or a repo?"
- "What is the deadline?"
Then: "Send me the file and the test. I'll tell you in 20 minutes whether the detector can see it. If it can, the pilot is $500 and 48 hours. If it can't, I'll tell you and we won't take the money."
4.5 Demo script (5 minutes)
- Open
https://cainstudio.online/linkedin.html— let the explainer play or skip to the proof. - Free scan:
POST /keystone/scan-sourcewith their snippet. Show the grade and the line. - Live ledger:
https://cainstudio.online/keystone/stats— 9 records, 6VERIFIED_FIX, 2NOT_VERIFIED, 1NOTHING_TO_FIX. Say: "The failures are still in the ledger. That's the point." - Download the anchored bundle: run
ksh-20261105T112903Z-9befe643. - Verify with the pinned key →
RESULT: ALL RECORDS VALID. - Tamper with one byte →
RESULT: TAMPERED OR INVALID. - Cluster:
https://cainstudio.online/api/v1/quorum/status→ N=4, f=1, quorum 3. - Close: "Send me the file and the test. $500, 48 hours. If we can't produce a signed record, refunded."
4.6 Pricing conversation
- $500 is a pilot, not a discount. It buys a real run, a real record, a real verifier.
- $1,500 is the audit: one repo, up to 5,000 files, 48 hours, $750 deposit.
- Fix + Prove attaches at $500 / $1,500 / $2,500 per finding.
- Deep/diligence: $3,500 / $6,000.
- Never discount the proof. Reduce scope instead: one module instead of a repo, one finding instead of five.
- The alternative is not "free"; it is another week of engineering, a stalled deal, or a $10k+ audit.
4.7 Objection matrix
| Objection | Answer |
|---|---|
| "We already use Copilot/Cursor/Claude." | Keep them. They produce the patch; we prove it. The model is the commodity; the proof is the missing half. |
| "We already have tests." | Perfect. Send the one test that should fail today and pass when fixed. We run it on both versions and sign the result. |
| "We already have a scanner." | Keep it. Scanners find; they do not prove the fix. We start where the scanner stops. |
| "We already have an audit firm." | Keep them. We give you the per-fix evidence the audit firm asks for, in 48 hours, for $500. |
| "This is just a timestamp." | The quorum is one layer. The load-bearing layer is the independent test, the guard, the re-scan, and the offline verifier. |
| "Can I trust your detector?" | Don't. Re-run the bundle. It caught 3 of 12 on a fresh blind set; that is published. It is precise, not complete. |
| "Is this certified / SOC 2 / ISO 27001?" | No. No third-party audit, no certification. What we have is evidence you can re-run. |
| "What if the fix fails?" | NOT_VERIFIED, with reasons. Pilot refunded if no signed record; audit balance not billed if the bundle doesn't verify. |
| "Why not trust your AI?" | You don't have to. Pin the key and re-run the verifier. If we changed anything, it prints TAMPERED OR INVALID. |
| "Will it work on our stack?" | Python today. JS/TS detection exists; fixing and proving are Python-only. If not Python, we scope the audit instead. |
| "How is this different from an AI code review?" | A review gives you an opinion. This gives you a record that fails closed and can be checked offline. |
| "Can you guarantee it's safe?" | No. It proves one finding against one test. It does not prove the rest of the system. |
4.8 Close
"Send me the module and the test. I'll run the detector first and tell you whether it can see the defect. If it can, $500 and 48 hours. If it can't, I'll tell you and we won't take the money."
4.9 Handoff after payment
Point them to https://cainstudio.online/loop-paid.html:
- Pilot: the file + the finding (or the test they want proved).
- Audit: read-only repo access + deadline + the buyer question.
4.10 Delivery email (template)
Subject: Your PROOFLOOP proof — run <id>, signed and anchored
Attached: evidence.zip.
Verify on your machine with the key you pin from
https://cainstudio.online/keystone/public-key:
unzip -q evidence.zip -d ks && cd ks
KEY=$(curl -s https://cainstudio.online/keystone/public-key | python3 -c 'import json,sys;print(json.load(sys.stdin)["public_key_b64"])')
python3 verify_keystone.py --pinned-pub "$KEY"
Expected: RESULT: ALL RECORDS VALID.
If one byte changed: RESULT: TAMPERED OR INVALID.
What this proves: this finding, against this test, on this code.
What it does not prove: the rest of your system, your deployment, or your test suite.
If it does not verify on your machine, tell me within 48 hours. The balance is not billed.
---
Part V — The live assets and what to show
| Asset | URL | What it demonstrates |
|---|---|---|
| Sales page | https://cainstudio.online/linkedin.html | The loop + 14-scene explainer |
| Free scan | POST /keystone/scan-source | FALSEWORK, no model call |
| Ledger | https://cainstudio.online/keystone/stats | Every verdict, including failures |
| Chain verify | https://cainstudio.online/keystone/ledger/verify | Whole ledger valid |
| Anchored bundle | https://cainstudio.online/keystone/runs/ksh-20261105T112903Z-9befe643/bundle | Signed records + quorum receipt |
| Public key | https://cainstudio.online/keystone/public-key | Pin it yourself |
| Cluster | https://cainstudio.online/api/v1/quorum/status | N=4, f=1, Q=3 |
| Pilot checkout | https://buy.stripe.com/00w9AUbbxe0XbwYcWl9AB0e | $500 |
| Audit deposit | https://buy.stripe.com/9B64gAa7tbSP58A2hH9AB0f | $750 |
| Audit paid in full | https://buy.stripe.com/8x2cN67Zl9KH30se0p9AB0g | $1,500 |
| After payment | https://cainstudio.online/loop-paid.html | What to send next |
Numbers to re-check before quoting: /keystone/stats (records, verdicts, standards), /keystone/ledger/verify (chain valid), /api/v1/quorum/status (cluster health). Do not quote a remembered number; open the route.
---
Part VI — Drills (do these before your first call)
6.1 Flashcards — cover the right column
| Question | Answer |
|---|---|
| What is the product? | The closing loop: FALSEWORK → KEYSTONE → CAIN-42. |
| What does FALSEWORK do? | Deterministic detector; grades REAL/PARTIAL/STUB/UNKNOWN; no model, no network. |
| What does KEYSTONE do? | Fix, prove with an independent test, guard, sign, export. |
| What does CAIN-42 do? | Notarizes the record hash on a PBFT cluster; N=4, f=1, Q=3. |
| What makes a fix verified? | Reference test fails on old, passes on new; re-scan clean; guard passes; no new blocking finding. |
| What is the proof standard? | cain42.keystone.proof-standard.v2. |
| What does the sandbox guarantee? | No network, read-only system, 256 MB, 20 s. |
| What does the verifier import? | No CAIN code; stdlib + cryptography. |
| Why pin the key? | A key inside the ZIP proves nothing; the buyer must fetch it from the issuer. |
| What does the cluster prove? | The record existed and was committed by a quorum; it does not prove the fix. |
| What does the proof not prove? | The rest of the system, the deployment, or the test suite. |
| What did FALSEWORK catch on the fresh blind set? | 3 of 12. |
| What is the pilot price? | $500, one Python module, 48 hours. |
| What is the audit price? | $1,500, one repo up to 5,000 files, 48 hours, $750 deposit. |
| What happens if the fix fails? | NOT_VERIFIED, with reasons; pilot refunded if no signed record. |
| Who is the team? | Vincent Noriega (founder), Lena Noriega, Monica Diaz. |
| What is the entity? | FIRME AI CORPORATION, a California corporation. |
| Do we have SOC 2 / ISO / a third-party audit? | No. |
| Do we have patents? | No filed patent; do not mention patents. |
| What is the one sentence? | "A signed proof your buyer can re-run." |
6.2 The 60-second teach-back
Explain to a non-technical friend, out loud, without notes:
"AI writes code very fast, but it can't prove the code works. We find the fake part, fix it, and prove the fix with a test the AI didn't write. Then we sign the proof and stamp it on a independent cluster. The buyer can check it themselves, without us. It costs $500 and takes 48 hours."
If you stumble, you are not ready. Repeat until it is smooth.
6.3 The 10-minute technical teach-back
Draw the six-stage diagram from memory. For each stage, say:
- what it consumes,
- what it produces,
- what it can fail,
- what it proves,
- what it does not prove.
6.4 The disqualification drill
Read these aloud and practice saying no:
- "Can you do a pen test?" → "No. We prove a fix for a finding; we don't do pen tests."
- "Can you give us SOC 2?" → "No. We have no certification. What we have is evidence you can re-run."
- "Can you guarantee our system is safe?" → "No. We prove one finding against one test."
- "Can you do it for free first?" → "The scan is free. The proof is the paid work. The sample bundle is free to verify."
- "Can you name a customer?" → "No. No customer has agreed to be named."
6.5 Mock call rubric (score yourself 1–5)
- Did you open with the buyer's sentence, not the architecture?
- Did you ask the five qualification questions before pitching?
- Did you show the live ledger and the tamper demo?
- Did you state one honest limit before the buyer asked?
- Did you ask for the file and the test, with a clear price and timeline?
- Did you avoid every forbidden claim?
- Did you disqualify if it was not Python or had no finding?
- Did you leave the buyer with one next action, not three?
A 9/10 call has all eight, plus the buyer saying "send me the link."
6.6 The 7-day mastery plan
| Day | What to do | Proof you did it |
|---|---|---|
| 1 | Read Part II; run the free scan on 5 snippets; memorize the verdict table | You can explain STUB vs PARTIAL vs UNKNOWN |
| 2 | Run the verifier and the tamper demo 5 times; name every file in the bundle | You can do it without the doc |
| 3 | Run ledger-audit; explain legacy vs v2; read /keystone/stats | You can explain why 6 verified but only 1 current-standard |
| 4 | Read TARGETING + HONESTY; write 10 personalized DMs; disqualify 3 | 10 drafts, 3 no's |
| 5 | Mock call with a technical friend; record it; fix the weak answers | A 9/10 rubric |
| 6 | Post the super-mega post; reply to every comment; 20 DMs | At least 3 conversations |
| 7 | Review the calls; update your one-pager; ask for the pilot | One clear ask sent |
---
Part VII — The one-page cheat sheet
One-liner: A signed proof your buyer can re-run.
The loop: DETECT → ACT → PROVE → SIGN → ANCHOR → EXPORT.
The rule: the reference test fails on the old code and passes on the new code.
The evidence: Ed25519 + SHA-256 + hash chain + 4-replica PBFT quorum (3 of 4) + offline verifier.
The limit: one finding, one test, one scope. 3 of 12 on the fresh blind set. No SOC 2, no ISO, no third-party audit.
The offer: $500 pilot, one Python module, 48 hours. $1,500 audit, one repo, 48 hours, $750 deposit.
The close: "Send me the file and the test. $500, 48 hours. If we can't produce a signed record, refunded."
The trust sentence: "You don't have to trust us. Pin the key and re-run it. If we changed one byte, it says TAMPERED OR INVALID."
The team: Vincent Noriega (founder), Lena Noriega, Monica Diaz. FIRME AI CORPORATION.
---
Appendix — Market context you can use (third-party signals, not our data)
Use these only as context, never as proof of our product:
- 83% of organizations plan agentic AI; only 24% have controls (Cisco).
- 88% of organizations had an AI-agent incident (Gravitee 2026).
- Public unauthenticated MCP servers grew from 492 to 1,467 (Trend Micro).
- The AI-security market is projected at ~$7.44B by 2030.
The buyer's world is moving faster than their ability to prove what the agents did. That is the gap you sell into.
---
Appendix — The three sentences that must never leave your mouth
- "It's certified." (It is not.)
- "It proves your system is safe." (It proves one finding.)
- "Only we do this." (Unprovable, and the repo forbids it.)
Replace them with:
- "It's evidence you can re-run."
- "It proves one finding against one independent test."
- "Most tools stop at the diff. This loop doesn't."