CAIN-42 CAIN Studio
← Work Station 🎓 EXPERT MODE FALSEWORK → KEYSTONE → CAIN-42
0 / 27 studied

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

LayerResponsibilityHonest limit
FALSEWORKFind fabrication patterns deterministicallyHeuristic; caught 3 of 12 on one fresh blind set
ActorWrite the patchThe model can be wrong; that is why the prover exists
ProverDecide whether the patch is a fixOnly as strong as the reference test
GuardStop unsafe "fixes" (API loss, new deps, network/process)Not a full code review
SignerMake tampering detectableProves who signed, not that the fix is good
AnchorProve the record existed and was not backdatedNotarizes; never authorizes
ExportLet the buyer re-check without youThe buyer must pin the key themselves

2.3 The verdict table (memorize)

ConditionVerdict
FALSEWORK finds no defectNOTHING_TO_FIX — no proof is sold
Reference test passes on the originalNOT_VERIFIED — it does not demonstrate the defect
Reference test fails on the fixed codeNOT_VERIFIED — the fix is not done
Fix removes public API, adds a dependency, or adds network/process/file-writeNOT_VERIFIED — guard blocks it
FALSEWORK still finds the defect after the fixNOT_VERIFIED
Fix introduces a new MEDIUM-or-worse findingNOT_VERIFIED
Declared same-lab / unknown-lab / self-authored testNOT_VERIFIED — independence fails closed
Every check holdsVERIFIED_FIX
Project's own tests fail before and pass after, in a throwaway worktreeVERIFIED_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?"

  1. Customer / CI acceptance test — strongest. The buyer wrote it; the fixer never saw it.
  2. Project's own test suite — independent of the model, but only as strong as the project's tests.
  3. Detector-authored oracle — independent of the model, generated by us; a weak oracle is rejected.
  4. 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:

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.

ThingMust trustCan verify
The detectorThat its checks are useful (it is heuristic)The finding, the line, the code, the sample report
The testThat the test expresses the behaviour they care aboutIt fails on the old code and passes on the fix
The fixNothingDiff, code hashes, guard, FALSEWORK re-scan
The signerThe key distribution (they must pin it)Hash, signature, chain link, code digests
The clusterThe quorum assumption (f=1)Receipt fields, cluster id, config hash, geometry
The operatorThat they ran the test they said they ranRe-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.

  1. Forge the signature — need the Ed25519 private key.
  2. Change the record — the content hash, the chain link, and the signature all fail.
  3. Swap the key inside the bundle — the verifier refuses without a pinned key; a key shipped in the ZIP proves nothing.
  4. 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.
  5. Corrupt the test — the test hash is in the record; the buyer can compare the test they hold and re-run it.
  6. Collude with the cluster — with f=1, one Byzantine replica is tolerated; you would need more than one.
  7. 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

Opening line: "Your buyer asked you to prove the AI feature is real, didn't they?"

B. The team before diligence or a handover

Opening line: "When diligence asks 'is this code real?', what do you send?"

C. The platform team shipping MCP tools or agents

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)

3.3 Qualification — ask before the call

  1. What did the buyer actually ask for — a questionnaire, a pen-test report, or "show me it is fixed"?
  2. Is the code Python? (If no, stop for the code proof.)
  3. How big is the repo, roughly?
  4. Is there a deadline? (A real date, not "soon".)
  5. 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)

---

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)

  1. "What is the finding, in one sentence?"
  2. "Who is asking for proof, and what would satisfy them?"
  3. "Do you have a test that should fail today and pass when it's fixed?"
  4. "Is it Python? One module or a repo?"
  5. "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)

  1. Open https://cainstudio.online/linkedin.html — let the explainer play or skip to the proof.
  2. Free scan: POST /keystone/scan-source with their snippet. Show the grade and the line.
  3. Live ledger: https://cainstudio.online/keystone/stats — 9 records, 6 VERIFIED_FIX, 2 NOT_VERIFIED, 1 NOTHING_TO_FIX. Say: "The failures are still in the ledger. That's the point."
  4. Download the anchored bundle: run ksh-20261105T112903Z-9befe643.
  5. Verify with the pinned key → RESULT: ALL RECORDS VALID.
  6. Tamper with one byte → RESULT: TAMPERED OR INVALID.
  7. Cluster: https://cainstudio.online/api/v1/quorum/status → N=4, f=1, quorum 3.
  8. Close: "Send me the file and the test. $500, 48 hours. If we can't produce a signed record, refunded."

4.6 Pricing conversation

4.7 Objection matrix

ObjectionAnswer
"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:

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

AssetURLWhat it demonstrates
Sales pagehttps://cainstudio.online/linkedin.htmlThe loop + 14-scene explainer
Free scanPOST /keystone/scan-sourceFALSEWORK, no model call
Ledgerhttps://cainstudio.online/keystone/statsEvery verdict, including failures
Chain verifyhttps://cainstudio.online/keystone/ledger/verifyWhole ledger valid
Anchored bundlehttps://cainstudio.online/keystone/runs/ksh-20261105T112903Z-9befe643/bundleSigned records + quorum receipt
Public keyhttps://cainstudio.online/keystone/public-keyPin it yourself
Clusterhttps://cainstudio.online/api/v1/quorum/statusN=4, f=1, Q=3
Pilot checkouthttps://buy.stripe.com/00w9AUbbxe0XbwYcWl9AB0e$500
Audit deposithttps://buy.stripe.com/9B64gAa7tbSP58A2hH9AB0f$750
Audit paid in fullhttps://buy.stripe.com/8x2cN67Zl9KH30se0p9AB0g$1,500
After paymenthttps://cainstudio.online/loop-paid.htmlWhat 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

QuestionAnswer
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:

6.4 The disqualification drill

Read these aloud and practice saying no:

6.5 Mock call rubric (score yourself 1–5)

  1. Did you open with the buyer's sentence, not the architecture?
  2. Did you ask the five qualification questions before pitching?
  3. Did you show the live ledger and the tamper demo?
  4. Did you state one honest limit before the buyer asked?
  5. Did you ask for the file and the test, with a clear price and timeline?
  6. Did you avoid every forbidden claim?
  7. Did you disqualify if it was not Python or had no finding?
  8. 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

DayWhat to doProof you did it
1Read Part II; run the free scan on 5 snippets; memorize the verdict tableYou can explain STUB vs PARTIAL vs UNKNOWN
2Run the verifier and the tamper demo 5 times; name every file in the bundleYou can do it without the doc
3Run ledger-audit; explain legacy vs v2; read /keystone/statsYou can explain why 6 verified but only 1 current-standard
4Read TARGETING + HONESTY; write 10 personalized DMs; disqualify 310 drafts, 3 no's
5Mock call with a technical friend; record it; fix the weak answersA 9/10 rubric
6Post the super-mega post; reply to every comment; 20 DMsAt least 3 conversations
7Review the calls; update your one-pager; ask for the pilotOne 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:

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

  1. "It's certified." (It is not.)
  2. "It proves your system is safe." (It proves one finding.)
  3. "Only we do this." (Unprovable, and the repo forbids it.)

Replace them with:

  1. "It's evidence you can re-run."
  2. "It proves one finding against one independent test."
  3. "Most tools stop at the diff. This loop doesn't."

Flashcards

Click the card to reveal. Shuffle before a call.

Loading…
1 / 1

Quiz — 12 questions

No score is sent anywhere. Aim for 10/12 before a call.

60-second teach-back

Explain the product to a non-technical buyer before the timer hits zero. Say it out loud.

60

If you stumble, you are not ready. Repeat until it is smooth.

The one-page cheat sheet

One-linerA signed proof your buyer can re-run.
LoopDETECT → ACT → PROVE → SIGN → ANCHOR → EXPORT
RuleThe reference test fails on old, passes on new.
EvidenceEd25519 + SHA-256 + chain + PBFT 3-of-4 + offline verifier
LimitOne finding, one test, one scope. 3 of 12 on the fresh blind set.
Offer$500 pilot · $1,500 audit · 48 hours
CloseSend the file and the test. Signed record or refunded.
TrustPin the key and re-run it. One byte changed → TAMPERED.
NeverCertified · proves your system safe · only we do this.