rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Verafyai/verafyHarness
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Harnessed AI validators for Actually Smart Contracts. The validator for Verafy Chain, built on DeepSeek Harness. MIT licensed. No token.
Project site: harness.verafy.ai · Concept site · Run a harness · Testnet · Coin Agnostic · The essay · The three draft SIMDs · SIMD discussion #724 · Roadmap
Status. A working prototype, not a running network. Nothing here has been audited. What is real today: a full jury on one machine, live rulings by five different models, and juror mode inside DeepSeek Harness. See what has been measured.
Smart contracts can only enforce what someone can write as math. Most of what people actually want enforced isn't math: a policy, a promise, a claim, a condition about the world. Today those decisions leave the chain and come back as somebody's word.
AI models can now read and weigh almost anything, and there is early research on proving which model produced an answer. Verafy Harness puts the two together: a contract written in words, ruled on by a jury of open-weight models from different families, with every vote committed, revealed, signed and open to challenge.
Three choices shape the project:
Verafy Harness does two things.
| Status | Evidence | |
|---|---|---|
| A full jury on one machine: contracts, pinned context, commit and reveal, agreement against the bar, exits, payouts, linked blocks | Works | npm test (167 tests), npm run demo |
| Live rulings by five different models through OpenRouter | Measured Nov 6, 2026: five contracts, 5.9 to 30.1 s each, $0.0163 in total | results/live-2026-11-06.md |
| Juror mode inside DeepSeek Harness: five DSH processes on five different models, block sealed from their reveals | Measured Nov 6, 2026: all five voted NO, 100% against an 80% bar; 24 of 24 other tools denied | docs/dsh-juror.md |
| Payment router: accept lists, a local payout ledger | Works; on-chain routers planned | verafy.config.json, .verafy/payouts.jsonl |
| Routing agent: keyblock, banker, API router, payment wallet | Works with test venues and test APIs; real venues and on-chain signing planned | npm test, packages/core/test/core.test.js |
| Auditors, challenges and escalation in core: an auditor from another model family re-checks a sealed ruling; a challenge appends affirm, overturn or supersede and never edits the ruling; a below-bar ruling's escrow funds a wider jury from other model families | Works with scripted models; not yet run live or on a network | packages/core/src/challenge.js, packages/core/test/m3.test.js |
| Retry for rate-limited models: each harness backs off on 429, 5xx and network errors, then is dropped if it still fails | Works with fake providers; not yet measured live | packages/core/src/providers.js |
Light client: reads the source chain across 3 RPC endpoints from 2 or more operators at finalized; disagreement is unknown and pauses the contract; intake checks escrow, the outbox confirms triggers landed |
Works with mocked RPCs; measured read-only on Solana devnet Nov 6, 2026 (3 endpoints, 3 operators). Ethereum sync-committee verification (Helios) is an optional adapter, not yet run | packages/lightclient, config/lightclient.devnet.json |
| Proof packing: an atomizer that drafts atom plans with a model, exact composition rules, dedupe across contracts, first-fit packing into 1,024-token requests, strict reply reading | Works with mock models; prove-once and the fidelity panel on devnet are planned | packages/pack, packages/pack/test/pack.test.js |
| Economics of proven blocks and proof packing: cost per proof, per block and per decision, batch size, who earns what | Modeled, with every source labeled; packing itself is designed, not built | packages/economics, harness.verafy.ai/economics |
TinySVM phase 1: exact settlement next to the AI. LiteSVM 0.18.2 as a sidecar running sBPF programs (escrow, bond, ledger, and exit programs for graded insurance, ranked prizes and milestone escrow); an optional exitProgram per exit with bounded params; runtime.js and TinySVM side by side, disagreement a fault |
Works locally with scripted juries; runtime.js stays the default, and TinySVM needs Rex to become it | packages/tinysvm, packages/core/test/exitprogram.test.js, packages/tinysvm/test/tinysvm.test.js |
| Research demo (Part H): svmLLM as an optional third settlement runtime. The five integer programs, hand-written in svmLLM's reduced sBPF, run on hand-built transformer weights and agree with runtime.js and TinySVM (faults 0 over 1,500 random calls, measured Nov 6, 2026); one settlement proved with the mock prover only | Demo. The jury pay rule is not covered (doubles). No real proof; the success criterion, a settlement proof cheaper than the judgment proof, is untested | packages/tinysvm/src/svmllm.js, packages/tinysvm/scripts/svmllm-proof.mjs, packages/tinysvm/README.md |
| Proving (L2) end to end with a mock prover: commit, reveal, then a proof hash per counted vote before a proof deadline; a missing or failed proof drops the vote, re-measures agreement against the bar (escalating below it) and records a fault against the bond; proving never blocks the commit. Prover and Verifier interfaces with mock, DeepProve and FlashProve adapters (subprocess or HTTP), map-then-reduce splitting of long contracts, prover batches, proving as a service through the API router | Works with the mock prover, which is not a proof of inference. The DeepProve and FlashProve adapters are tested against a stand-in binary only; no real proof has been made or verified here | packages/prove, packages/core/src/proving.js, packages/prove/test/prove.test.js |
| A network of harnesses, bonds and slashing, testnet | Planned | ROADMAP.md, docs/testnet.md |
Needs Node 22 or later. The core has no dependencies.
git clone https://github.com/Verafyai/verafyHarness.git
cd verafyHarness
npm test # 198 tests, plus the spec check
npm run demo # five contracts, five rulings, five blocks, scripted answers
npm run testnet # a whole testnet on this machine: a daemon per model family, juries over HTTP, sealed blocks
With real models through any OpenAI-compatible endpoint (OpenRouter by default):
export VERAFY_API_KEY=... # never commit it
node bin/verafy.js doctor --live
node bin/verafy.js run examples/market-resolution.json --live
Run a harness anywhere (v0.0.2-alpha):
curl -fsSL https://raw.githubusercontent.com/Verafyai/verafyHarness/main/install.sh | sh
verafy up # pick a target and a model; local, Docker, DigitalOcean, Hetzner or any cloud
verafy up --ui # the same, as a page on 127.0.0.1
verafy harness serve # the daemon itself, configured by VERAFY_* variables
verafy testnet up --solana # local testnet, settling each ruling on a local Solana validator
verafy packed examples/market-resolution.json examples/packed/cloture.json --plans examples/packed/plans.json
See harness.verafy.ai/launch and harness.verafy.ai/learn.
Other commands: verafy doctor [--live], verafy validate <file>, verafy pin <file> (writes SHA-256 pins for every context entry), verafy seal <file> <juror-dir...> (seals a block from reveals that separate harness processes wrote, such as DSH jurors), verafy chain, and --json for machine output. Installed as a package, the command is verafy.
Renamed from swarm. The CLI was swarm; swarm still works as an alias and prints a one-line notice. Older setups keep working: swarm.config.json is read when verafy.config.json is missing, .swarm/chain.json is read while .verafy/ is empty, SWARM_API_KEY and SWARM_KEYBLOCK_PASSPHRASE are read when the VERAFY_ names are unset, contracts of kind swarm.asc/0 still validate and keep their hashes, and triggers of kind swarm.trigger/0 still verify. New contracts are verafy.asc/1 and new triggers are signed as verafy.trigger/1.
Verafy Harness ships as an MCP server, verafy-mcp (packages/mcp), with a plugin or config folder for each major agent. Your agent can draft a contract, validate it, pin its sources, run a jury in mock mode, and read the ruling and the sealed block. Your agent is the client and never votes; there is no vote, key or funds tool. Live calls are off until the server is started with --allow-live and a call sets live: true and a maxSpendUsd.
| Agent | Folder | Status |
|---|---|---|
| Claude Code | integrations/claude-code |
verified, Nov 6, 2026, Claude Code 2.1.319 |
| OpenAI Codex | integrations/codex |
config written, not run end to end |
| Cursor | integrations/cursor |
config written, not run end to end |
| Gemini CLI | integrations/gemini-cli |
config written, not run end to end |
| Goose | integrations/goose |
config written, not run end to end |
| Hermes Agent | integrations/hermes |
config written, not run end to end |
| OpenClaw | integrations/openclaw |
config written, not run end to end |
| Any MCP client | integrations/mcp |
verified with MCP Inspector 2.14.0 |
In Claude Code: /plugin marketplace add Verafyai/verafyHarness, then /plugin install verafy-harness@verafyHarness. Every config starts the server with npx -y @verafy/mcp; from a clone it is node bin/verafy-mcp.js. The safety model and the spend rule are in the guide.
The full guide is docs/run-a-harness.md, also on the site as Run a harness. It covers harnesses and nodes, consensus, machine requirements for API, open-weights and proving harnesses, bandwidth and state size, acceptable models, where to get them, how a model is proven, install, configure, run, joining the network, payments, costs and earnings. The testnet plan is in docs/testnet.md.
| Setup | Machine | Model |
|---|---|---|
| API harness | 2 vCPU, 4 GB RAM, 20 GB SSD, no GPU | Hosted, through an API key |
| Open-weights harness | 1 x 80 GB GPU, 128 GB RAM for gpt-oss-120b; larger models need 4 to 8 GPUs |
On your machine, through vLLM (scripts/run-vllm.sh) |
| Proving harness | 1 x 80 GB GPU and about 290 GB host memory (vendor-reported) | Llama 4 Maverick only, research |
| Node | 8 vCPU, 32 GB RAM, 2 TB NVMe | None |
bash scripts/setup-ubuntu.sh # Node 22, clone, test, demo
bash scripts/setup-ubuntu.sh --gpu # plus GPU checks
MODEL=openai/gpt-oss-120b bash scripts/run-vllm.sh
node bin/verafy.js doctor --live --config verafy.config.local.json
Every Actually Smart Contract has four parts. The schema is schemas/asc.schema.json; the examples are in examples/.
| Part | What it holds | Example |
|---|---|---|
| Context | Links, text, policies, documents or repos, each pinned by SHA-256 so every juror reads the same bytes. Links are snapshotted at a set time. | senate.gov roll call, snapshot Dec 1; market rules; resolver policy v2 |
| Question | The intention compressed to what must be decided, and the form of the answer: a verdict from options, a forecast probability, or a graded answer on an ordered scale. |
Did H.R. 4410 pass the Senate by Nov 30? YES, NO, UNCLEAR |
| Payment | Escrow in any asset on any chain, the jury's size, how many model families it must span, the quorum, the bar it must clear, and how the escrow splits. | 1.20 USDC on Solana · jury of 5 across 5 model families · bar 80% |
| Exits | The only things the contract can do with an answer: pay, refund, hold, record, call a contract on another chain, or escalate. A *below-bar exit is required. |
NO → call market.settle(NO) on Solana |
{
"kind": "verafy.asc/1",
"id": "market-senate-bill-nov30",
"instructions": "You resolve a prediction market. Use only the pinned roll-call snapshot...",
"context": [{ "kind": "link", "url": "https://www.senate.gov/...", "snapshotAt": "2026-12-01T00:00:00Z", "sha256": "..." }],
"question": { "prompt": "Did H.R. 4410 pass the Senate by November 30, 2026?", "answer": { "type": "verdict", "options": ["YES", "NO", "UNCLEAR"] } },
"payment": { "escrow": 1.2, "currency": "USDC", "chain": "solana", "bar": 0.8, "jury": { "size": 5, "minFamilies": 5, "quorum": 4 }, "split": { "jurors": 0.8, "auditors": 0.1, "storage": 0.05, "sealer": 0.05 } },
"exits": [
{ "outcome": "NO", "effect": { "type": "call", "chain": "solana", "target": "market.settle", "args": ["NO"] } },
{ "outcome": "*below-bar", "effect": { "type": "escalate", "jurySize": 9 } }
]
}
The contract's identity is a hash over everything except snapshot content, so it is the same whether the content travels with the contract or is fetched later by hash.
Payment may also say when the contract is willing to seal: minBatch (never in a block with fewer contracts) and maxWaitSeconds (no later than this after it is queued, paying a larger share of the block's fixed cost). Both are optional; a contract without them keeps its hash. Before its jury is drawn, a contract can wait in the chain's encrypted queue (src/queue.js), readable by nobody; see the Verafy Chain batching doc for what that does and does not hide.
| What a validator does today | What the harness does | In this repo |
|---|---|---|
| Receives transactions | Intake validates each contract, refuses one that asks more of a vote than its bond covers, and refuses payment in assets it doesn't accept. | Harness.intake |
| Re-executes bytecode | The model reads the instructions and pinned context and returns an answer with a confidence. | juror.deliberate |
| Checks state | The context loader verifies every pin before the model reads a word. | juror.loadContext |
| Votes on blocks | The signer commits a hidden vote, reveals it, and signs an attestation of which model produced it. | signer.commit, Harness.reveal |
| Stakes | The bond sizes how much value a vote can decide and is lost for a proven fault. | Harness.bond |
| Runs the state machine | The contract runtime picks the exit, builds the exact diff, splits the escrow, and checks that totals are conserved. | runtime.js |
| Holds the keys | The keyblock keeps every API key and wallet key encrypted and issues short-lived scoped keys, so no other part of the harness holds a raw secret. | keyblock.js |
| Calls outside APIs | The API router plugs into AI APIs, external API routers, provers, cloud hosts and payment endpoints, attaches keys from the keyblock, meters each call, and sends each contract only to AI that meets its provability requirement. | apirouter.js, routing.js |
| Gets paid, pays its way | The banker accepts any token, swaps between tokens at the best approved quote, and pays each API in the token it takes, from the payment wallet, within the operator's caps. | banker.js, routing.js, payments.js |
| Serves RPC | The outbox posts votes and emits triggers, such as a call to a Solana program. Triggers need a quorum signature. | ruling.triggers |
Consensus has two layers. The full definition is in the guide.
Judgment is fuzzy, so a ruling does not have to be exact. It has to clear the contract's bar.
| Answer type | Agreement | Example |
|---|---|---|
verdict |
Confidence-weighted share of the jury that chose the winning option | 5 of 5 say NO: 100% against a bar of 80%, final |
forecast |
1 - min(1, meanAbsDeviation / tolerance) around the median |
Live, Nov 6: forecasts 0.35 to 0.65, 55% against a bar of 70%, below the bar |
graded |
A vote on the winning grade counts fully, one step away counts half | 4 misleading, 1 false: 90% against 70%, final |
Below the bar, the *below-bar exit runs. In the examples it escalates to a 9-harness jury in the next block and moves the escrow to fund it; no juror is paid. Rulings are also checked after the fact: auditor harnesses re-run a sample with different model families, anyone can challenge with new evidence, and forecasts are scored when the outcome arrives.
A block exists only when a jury rules. Nothing mines or stakes its way into producing one. The money that creates a block pays for the judgment inside it, and each block commits to the hash of its rulings and to its parent.
| Proof of work | Proof of Judgment | |
|---|---|---|
| What a block costs | Hashing nobody needed | Model compute somebody paid for |
| Who can produce one | Anyone with hardware | Anyone running a harness |
| How a forgery is caught | Instantly, by checking a hash | By audit, re-execution or challenge, backed by bonds |
| What would make it as strong | Small proofs of inference, checkable like a hash |
There is no token, and there is no need for one. A contract is paid in whatever asset the requester chooses, on the chain where they hold it: USDC or SOL on Solana, ETH or any ERC-20 on Ethereum. Any wallet works. The money never moves to Verafy Chain: escrow is held on the source chain, Verafy Chain records the ruling, and a quorum-signed trigger releases the escrow there, in the same asset.
Each harness plugs in a payment router that decides which payments it accepts and where its share goes:
{
"payments": {
"router": "ledger",
"accept": [{ "chain": "solana", "asset": "USDC" }],
"book": { "harness:h-mistral-1": { "solana": "<your Solana address>" } }
}
}
| Router | Status | What it does |
|---|---|---|
ledger |
Available now, the default | Records every payout to .verafy/payouts.jsonl. Nothing moves on any chain. |
solana-usdc |
Planned | Releases escrow held by a Solana program, in USDC or any SPL token, with a quorum-signed trigger |
evm |
Planned | The same for Ethereum and EVM chains, in ETH or any ERC-20 |
A harness only takes seats on contracts paying in an asset on its accept list. Bonds are posted the same way, in the asset of the chain the harness earns on.
Earnings pay for the work: the inference each juror runs, the machine and bond behind it, audits, storage and bookkeeping. A harness's routing agent is four blocks: a keyblock that holds every API key and wallet key encrypted and issues scoped keys, a banker that accepts any token and swaps between tokens, an API router that plugs into and pays different APIs, and a payment wallet that earnings land in and bills are paid from, automatically. It accepts payment in any asset and converts between them, connects to AI APIs and cloud hosts, pays for its own inference and hosting within caps the operator sets, and routes each contract only to AI that meets the contract's provability requirement, up to a zero-knowledge proof of inference. All four run in the core today with test venues and test APIs: keyblock.js, banker.js, apirouter.js, routing.js. Real exchange venues, on-chain signing and renting hosts are planned. The full policy, with a worked example, is in Coin Agnostic.
Requesters pay because they need decisions: prediction markets need resolutions, fact checkers need volume, forecasting apps need a crowd that runs around the clock, and contracts on other chains need decisions they cannot make in code.
| Role | Does | Earns, in the contract's asset | Risks |
|---|---|---|---|
| Juror | Rules with its committed model | A share of split.jurors per counted vote |
Its bond, for running another model, missing a reveal, or failing audit |
| Auditor | Re-runs sampled rulings with a model from a different family | split.auditors, plus the bond of any juror it catches |
A smaller bond, for a false accusation |
| Storage | Keeps context and evidence fetchable by hash | split.storage for the challenge window |
Its bond, if a file cannot be produced |
| Sealer | Collects reveals, checks quorum and diffs, signs the block | The remainder of the escrow | Rejection of the block |
Every counted vote is paid, including dissent, so no juror is rewarded for following the majority. There is no block reward. Costs and earnings are worked through in the guide.
A block stores the short request inline and every piece of context as a hash. Full text sits in an availability layer kept by storage harnesses, and every juror's context loader fetches it and checks each hash before the model reads it. In the prototype, snapshot content travels in the contract file under content; the hash check is the same either way.
Running a harness means posting a bond that can be taken for misbehavior. Every ruling records its faults, with signed evidence where a fault can be proven, and a published schedule prices them:
Every price is illustrative until Rex sets it. Watch it happen: node examples/slashing/walkthrough.mjs, or node bin/verafy.js testnet up --misbehave h-llama-1:no-reveal. Designs: docs/proposals.
A harness commits to one model. Swapping the AI means changing the provider and model id, nothing else.
verafy.config.json. Each pool entry names an open-weight model and its family (the base model it descends from), served through an OpenAI-compatible endpoint: a local vLLM or Ollama server (verafy.config.local.json), or a provider that serves the same open weights.config/cordis.verafy.yml. DSH's @deepseek-ai/dsh-llm-pi-ai adapter serves any OpenAI-compatible gateway, such as OpenRouter, or a self-hosted server, with keys as credential references.Any open-weight model from Hugging Face will do; the network does not care which. It requires that each jury spans several model families and several operators, and that every harness posts a bond it can lose.
DeepSeek Harness is an MIT-licensed agent harness built on an everything-is-a-plugin architecture. Verafy Harness uses it as the harness runtime and adds juror mode as a plugin, leaving the upstream tree unmodified. See UPSTREAM.md for the pinned commit.
packages/dsh-verafy-juror registers:
verafy:juror system prompt section with the juror rules,verafy_load_contract, which validates a contract and checks every context pin,verafy_cast_vote, which validates the vote, signs a commitment and an attestation, keeps the vote and salt in a private reveal file, returns only the commitment, and concludes the turn,tools.restrict), and a tools/pre-execute gate denies any other call,verafy_cast_vote is told, at most twice, that only the tool call counts.git submodule update --init --depth 1
cd upstream/deepseek-harness
CI=true npx -y pnpm@11.28.5 install --frozen-lockfile # needs Node 24.9 or later
CI=true npx -y pnpm@11.28.5 run build
cd ../..
node scripts/dsh-juror.mjs setup # link the plugin into the headless profile
node scripts/dsh-juror.mjs vote --family mistral # one DSH juror, scripted model, no key
node scripts/dsh-juror.mjs jury # five DSH jurors, then verafy seal
VERAFY_API_KEY=... node scripts/dsh-juror.mjs jury --route openrouter # five different live models
Status: milestone 2 is met. Five DeepSeek Harness processes on five different models (one dsh-llm-pi-ai route each, through OpenRouter) ruled on examples/market-resolution.json and swarm seal (now verafy seal) sealed the block from their reveals. See docs/dsh-juror.md for the run, and docs/dsh-gaps.md for what DSH does not expose.
Many independent harnesses form a pool. Each request draws a random jury that meets the contract's rules: enough model families, enough operators, enough bond, the right specialty, an accepted payment. The first networks:
| Network | Request | Jury | Exit |
|---|---|---|---|
| Market resolution | Did the bill pass the Senate by Nov 30? | 5 harnesses, 5 families, bar 80% | market.settle(NO) on Solana |
| Fact checking | Did the CEO say revenue doubled? | 5 harnesses, 4+ families, bar 70% | Graded verdict, misleading, with dissent |
| Forecasting | Probability of a rate cut in March? | 5 harnesses, 5 families, bar 70% | Forecast, scored at resolution |
| Triggers | Pay if UA 1532 lands 3+ hours late | 5 harnesses, bonds of 250+ | delay_cover.settle(PAY, 250) on Solana |
Every number carries a label.
| Lane | Latency per ruling | Model cost per ruling | Basis |
|---|---|---|---|
| Jury of 5 hosted models, live | 5.9 to 30.1 s | about $0.003 ($0.0163 for five rulings) | Measured Nov 6, 2026, through OpenRouter, results |
| Fast screen (System 1 model) | 70 to 500 ms | about $0.0004 | Vendor-reported (TypeSafe Jev, early access), not reproduced |
| Jury of 5, modeled | set by the slowest model | about $0.006 | Modeled: 1,500 tokens in, 300 out, OpenRouter prices of Oct 11, 2026 |
| Proven jury, one proof per vote | about 16 s proving per vote | about $0.14 | Modeled: FlashProve at 110 tokens/s per H100, $6.16/hour; one open model, 1,024-token context |
| Object (canonical JSON, measured) | Size |
|---|---|
| One signed vote | 300 bytes |
| Ruling with five votes | about 2.5 KB |
| Block header | about 400 bytes |
| Contract without context text | 1.0 to 1.5 KB |
At one ruling per second network-wide, the chain grows by about 350 MB a day (modeled). A harness needs under 1 Mbps for that load. One proof of inference is about 18.78 MB and takes about 17 s to verify on 24 CPU threads, so proofs are checked off chain and only their hashes recorded. Source: Anthropic, Progress on provable inference.
Security is economic: lying has to cost an operator more than it pays.
| Attack | Defense | Strength |
|---|---|---|
| A juror copies the others | Commit-then-reveal | Strong |
| One model family's blind spot decides | Juries must span distinct model families | Strong |
| Tampered context | Every pin is checked before the model reads it | Strong |
| A vote outside the declared options | Rejected at parse; the jury can only pick declared exits | Strong |
| An operator runs a cheaper model than committed | Bonds, audits, attestation; proofs where available | Moderate today, strong with proofs |
| Bribery or collusion | Seeded random juries, bonds sized above what one vote decides, audits | Moderate, bounded by bond size |
| Prompt injection in evidence | Prompt Guard compiles untrusted evidence into quoted statements and directives, so no juror reads it raw; the juror prompt forbids following directives; juror mode locks tools | Moderate. Measured on the scanner only: 45% of a held out injection set caught with no false alarms, 93% or more of jury-directed payloads under every obfuscation tested, 0.7% of task hijacks that never address the reader. Not yet measured at the jury. |
| Poisoned or forged evidence | Pinned sources, challenges, safe defaults, caps per ruling | Weak; in Verafy's testing poisoned evidence fooled every model tried |
| A compromised harness fires a trigger | Triggers need a quorum signature | Strong |
| One RPC provider lies about escrow or a trigger | The light client asks 3 endpoints from 2 or more operators and accepts only agreement; a split or a stale slot is unknown, and the contract pauses | Moderate: it trusts that the operators do not collude. A Solana light-client protocol or Helios on Ethereum would make it strong |
| Verafy Harness (this repo) | Verafy Chain | |
|---|---|---|
| What | The validator: an AI model in a harness | The chain: nodes that hold contracts, coordinate juries, seal and store blocks |
| Runs a model | Yes | Never |
| Where | Verafyai/verafyHarness | Verafyai/verafyChain (in progress) and the concept at chain.verafy.ai |
Most of the work lives here. Verafy Chain imports this repo's core for every hash, signature, agreement and diff check and never reimplements them.
bin/verafy.js CLI: run, seal, doctor, validate, pin, chain, read, confirm
bin/swarm.js the pre-rename alias for bin/verafy.js
bin/verafy-mcp.js the MCP server from a clone
packages/economics/ modeled economics: proven blocks, proof packing, roles (zero dependencies)
packages/pack/ proof packing: atomize contracts, dedupe and pack atoms into proven requests, compose outcomes exactly
packages/tinysvm/ TinySVM: sBPF settlement programs, the LiteSVM engine sidecar, the cross-runtime check (optional)
packages/prove/ proof of inference (L2): Prover and Verifier interfaces; mock, DeepProve and FlashProve adapters (optional)
packages/core/ zero-dependency core
src/asc.js Actually Smart Contract format and validation
src/juror.js context loader, juror prompt, vote parsing
src/signer.js Ed25519 keys, commit-then-reveal, attestations
src/agreement.js verdict, forecast and graded agreement
src/runtime.js exits, escrow split, conservation check, triggers
src/exitprogram.js optional exit programs in the contract format, params bounds
src/settle.js the reference settlement runtime and settle()
src/payments.js payment routers: accept lists, ledger, planned on-chain routers
src/routing.js payment wallet; inference routes by assurance level up to ZK proofs
src/keyblock.js encrypted key vault; issues scoped keys
src/env.js new names and their pre-rename fallbacks: config, state folder, env
src/banker.js exchange: accept any token, best-quote swaps, fund payments
src/apirouter.js plugs into and pays outside APIs: AI, routers, provers, hosts
src/harness.js the harnessed validator; admit() is intake plus the funding check
src/sourcechain.js funding check at intake, the outbox, the pause log (no reader inside)
src/network.js jury draw, ruling from recorded messages, ruling verifier, sealing, Proof of Judgment
src/trigger.js quorum-signed triggers (verafy.trigger/1; swarm.trigger/0 still verifies)
src/challenge.js auditors, challenges and reviews, escalated contracts
src/queue.js the encrypted queue: a contract sealed t of n to the node set (Shamir over an AES-256-GCM key)
src/proving.js L2 proof records and checks, the proof gate, finality, faults against bonds (no prover code)
src/providers.js mock and OpenAI-compatible model providers, retry with backoff
test/ node:test suite
packages/lightclient/ read the source chain without trusting one RPC, zero dependencies
solana/ multi-RPC reader for Solana
evm/ multi-RPC reader for EVM chains; optional Helios adapter for Ethereum
shared/ agreement, staleness and policy; JSON-RPC through the API router
packages/dsh-verafy-juror/ juror mode as a DeepSeek Harness plugin
packages/mcp/ zero-dependency MCP server: eight tools, resources, prompts
integrations/ one plugin or config folder per agent; _shared/ holds the skill and launch command
.claude-plugin/marketplace.json Claude Code marketplace listing integrations/claude-code
config/cordis.verafy.yml DSH profile overlay: one model route per model family, juror mode
config/lightclient.devnet.json three public Solana devnet endpoints for the light client
scripts/ setup-ubuntu.sh, run-vllm.sh, dsh-juror.mjs, dsh-link.mjs, scripted-llm.mjs,
sync-integrations.mjs, mcp-smoke.mjs
examples/ eight Actually Smart Contracts (three with exit programs) and scripted answers
schemas/asc.schema.json JSON Schema for verafy.asc/1 (swarm.asc/0 still validates)
verafy.config.json the local pool, provider and payment router
verafy.config.local.json a pool with a local vLLM model beside hosted ones
docs/run-a-harness.md getting started: hardware, models, proving, install, run, payments, costs
docs/testnet.md local devnet now, Testnet 0 plan
docs/dsh-juror.md, dsh-gaps.md juror mode inside DeepSeek Harness
docs/blog/, docs/simds/ the essay and the three draft SIMDs
docs/assets/ logo, banner, screenshots, animation
results/ measured runs
upstream/deepseek-harness DeepSeek Harness, pinned submodule
MIT. Verafy Harness is built on DeepSeek Harness by DeepSeek-AI, also MIT; its license and notices are in the submodule. Verafy Harness is a Verafy research project by Rex St John and is not affiliated with or endorsed by DeepSeek, OpenRouter, or any model provider.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。