Open-source claim convergence tool
When three systems disagree, which answer holds and why?
Different scans, filings, and tables often make conflicting claims about the same entity or balance. Decoding groups claims into scoped buckets, catches false corroboration when two agreeing sources share one upstream origin, converges what is supported, and sends unresolved conflicts to an explicit review queue. Your files stay on your device.
Converged 1 bucket from 2 independent origins: $48,250,000 confirmed (exit 0).
The prospectus annex claim (origin edgar-424b2-2026-09) and ABS-EE tape claim (origin edgar-absee-2026-10) have disjoint ancestry and agree, satisfying min_corroboration = 2.
| Claim | Source Kind | Upstream Origin | Value | Bucket State |
|---|---|---|---|---|
| clm-annex-01 | prospectus_annex | edgar-424b2-2026-09 | 48250000 | CONVERGED (2/2 origins) |
| clm-absee-02 | absee_tape | edgar-absee-2026-10 | 48250000 | CONVERGED (2/2 origins) |
Inspect exact CLI command, convergence.v0, canon_entry.v0, escalation.v0, and policy JSON
{
"event": "convergence.v0",
"policy_id": "cmbs.whole_loan.decode.v0",
"totals": {
"buckets": 1,
"converged": 1,
"converging": 0,
"single_source": 0,
"conflicted": 0,
"escalated": 0
},
"top_escalations": []
}Claude Artifacts · @cmdrvl/web
Like this claim convergence engine? Put it in your own Claude Artifact.
Paste this prompt into Claude.ai to spin up an offline scoped-claim convergence and false-corroboration detector modeled on decoding v0.6.0.
Build an interactive React Claude Artifact called "CMD+RVL Claim Convergence & False-Corroboration Detector (decoding)" that reconciles claim.v0 JSONL records under a declarative policy completely in browser memory with zero server uploads.
Follow CMD+RVL's decoding contract (https://github.com/cmdrvl/decoding):
1. Group claims by (subject.kind, subject.id, property_type, exact context) and compute connected components over ancestry.origin_source_ids so claims sharing any upstream origin collapse into one dependence group (unknown ancestry earns zero independent corroboration).
2. Include 3 presets (Independent corroboration from two disjoint filings converging with exit 0, False corroboration where two agreeing tables share one upstream origin and escalate with missing_corroboration exit 1, and Real conflict between two independent filings escalating with conflicted exit 1) plus an offline Step 4 claim.v0 JSONL editor.
3. Support default ordinal redaction markers ({"redacted":true,"ref":"v1","scope":"ordinal"}) vs --explicit toggle, and inspect convergence.v0, canon_entry.v0, escalation.v0, and policy JSON inside a collapsed drawer.
4. Lead with a concrete plain-English verdict headline and per-claim ancestry table.Runs inside Claude.ai Artifacts today with zero uploads (test it with Wi-Fi off). Compiled Rust WASM modules live at github.com/cmdrvl/web.
Run it locally
Install from verified GitHub release archives or build with Cargo.
decoding is distributed via signed GitHub Release archives (with SHA256SUMS, cosign signatures, SBOM, and SLSA provenance) or from source via Cargo. It is not published on Homebrew tap yet.
decoding CLI (v0.6.0)
Reconciles bounded claim.v0 JSONL streams against a declarative JSON policy, emits auditable canon_entry.v0 records with explanation payloads, and sends unresolved conflicts to an explicit escalation queue.
1. Install via Homebrew
cargo install --git https://github.com/cmdrvl/decoding2. Run locally
decoding archaeology claims/*.jsonl --policy legacy.decode.v0.json --escalations escalations.jsonl --convergence convergence.json- Ancestry-aware
- Collapses overlapping origin_source_ids to prevent false corroboration
- Exact decimal math
- Up to 1024 significant digits with refusal instead of silent rounding
- Runs locally
- On your device · Works offline with zero uploads
- Bounded review queue
- Emits canon_entry.v0, escalation.v0, and convergence.v0 JSONL
For scripts and CI: standalone decoding binary, exit codes, and refusal codes
Inspect claim_features and run read-only doctor triage
View cmdrvl/cmdrvl on GitHub ->Verify scoped-claim support with decoding doctor capabilities --json before submitting context/ancestry records, and pass DECODING_REDACTION_KEY (>= 16 bytes) for stable HMAC-SHA256 escalation markers across runs.
Install standalone binary
gh release download -R cmdrvl/decoding --pattern 'SHA256SUMS*'Invoke directly
decoding doctor capabilities --jsonExit codes & verdicts
CONVERGED
Exit 0
Every claim bucket resolved into a canonical entry under the declared policy with zero escalations.
ESCALATED
Exit 1
One or more buckets could not resolve cleanly (conflicted, missing_corroboration, or no_resolution_path) and were written to the bounded review queue.
REFUSAL
Exit 2
Input claims, policy, or redaction key violated the contract (malformed JSONL, missing fields, unknown property_type, unknown policy key, or E_REDACTION_KEY_INVALID).
Common refusal & finding codes
| Code | When it fires | Remediation |
|---|---|---|
| E_MALFORMED_JSONL | Input claim stream contains unparseable JSON lines | Validate claim.v0 JSONL lines before rerunning decoding |
| E_CLAIM_CONTRACT | Claim misses required fields or uses an unknown source/subject/property kind | Check supported vocabulary with decoding capabilities --json |
| E_POLICY_CONTRACT | Policy file contains unknown keys or invalid tolerances | Review policy schema in decoding robot-docs guide |
| E_REDACTION_KEY_INVALID | DECODING_REDACTION_KEY is empty or shorter than 16 bytes | Supply a key of at least 16 bytes or unset for ordinal markers |
Learning progression
Claims converged or escalated? Route the result through assess.
decoding emits convergence reports and bounded escalation queues. Feed converged outcomes into assess alongside benchmark and verify so policy decides whether to proceed or escalate.
- 01rvlSee what moved
- 02shapeCheck compatibility
- 03profileScope columns
- 04verifyEnforce rules
- 05packSeal proof
- 06veilGuard privacy
Upstream · canon
Resolve entity names into canonical IDs before reconciling claims.
Use canon first so claims from multiple legacy systems or filings land on the same canonical subject.id before decoding buckets them.
Next step · assess
Route convergence outcomes through a versioned policy.
Pass decoding reports alongside verify and benchmark into assess to produce a deterministic PROCEED, ESCALATE, or BLOCK action band.
What decoding handles
- Reconciles claim.v0 streams across structural, edge, liveness, semantic_label, valid_values, and exact-decimal numeric_scalar properties
- Enforces scoped contexts (disjoint contexts never share a bucket) and ancestry dependence groups so duplicate upstream origins never count as independent corroboration
- Uses exact decimal arithmetic (up to 1024 significant digits) with optional policy-gated power-of-1000 scale inference and refusal instead of silent rounding
- Redacts candidate values in escalation.v0 by default with ordinal markers or keyed HMAC-SHA256 unless --explicit is passed
- Conservative liveness rules: alive vs dead conflicts; absence alone never auto-declares a system dead
- Provides capabilities --json, robot-docs guide, and strictly read-only doctor health/triage surfaces
Explicit boundaries & limits
- A canonical entry reflects the declared policy and supplied claims, not automatically established ground truth.
- False-corroboration detection depends on producers supplying honest ancestry origin_source_ids; unknown ancestry earns zero independent corroboration.
- decoding is distributed via signed GitHub release archives and Cargo (not yet on Homebrew tap).
- Cairn roles
- Software factory
- Evidence roles
- Checks and support, What is missing
- Semantic context
- Source meaning
- Contribution
- Reconcile bounded claims under a declared policy and send unresolved conflicts for review.
- Limit
- A canonical entry reflects the stated policy and evidence, not an automatically established ontology truth.
Questions this tool can support
- Can we use this loan tape for the analysis?
Reconcile bounded claims under a declared policy and keep unresolved conflicts visible. A policy must preserve different balance definitions rather than merge them into one value.
Potential use, not demonstrated here
Open-source starter -> Paid lineage stack
Start free on local files. License the paid stack for warehouse-wide lineage.
Open-source Rust CLIs and @cmdrvl/web browser engines cut document token spend 10x to 100x locally and work alongside any AI assistant or hosted workspace (Rogo, Hebbia, Harvey, Claude, ChatGPT, or Codex). When your firm needs end-to-end lineage across Snowflake or your cloud warehouse (Reveal catalog, paid MCP servers, Evidence MCP receipts, x402 APIs, and offline twinning and evals), license the paid stack or start with a $500 half-day founder workshop.
Complete open-source CLI suite (17 interactive offline demos)
Explore every deterministic tool in the spine.
Intake & identity
Compare & validate
Reconcile, decide & seal
- decodingcurrent
- assessRoute policy
- packSeal evidence
Workstation guardrails (CLI-only)
Common questions
- How does decoding catch false corroboration?
- When scoped claims declare ancestry.origin_source_ids, decoding groups any claims whose origin sets overlap into a single dependence group. Two tables that both extracted the same number from one SEC filing count as 1 origin, not 2 independent confirmations.
- What happens when two independent sources truly disagree?
- decoding never averages conflicting numbers or guesses a winner silently. It marks the bucket conflicted, emits no canonical entry for it, writes an escalation.v0 record with recommended_action = review, and exits 1.
- Is decoding available via Homebrew?
- Not yet. Install prebuilt signed release archives from GitHub Releases (verified with SHA256SUMS and cosign) or build directly from source with Cargo.
- Does the browser demo upload my claims JSONL?
- No. Bucket grouping, dependence-group union-find, and escalation generation run locally in browser memory. Turn off your Wi-Fi before Step 4 and it still works.