Repository navigation
v1.5.0
Added (P2)
- Claude Code plugin.
plugin/and the root.claude-plugin/marketplace.json.
The plugin version is the crates.io releaserealism-gate-ensureinstalls.
A release bumpsplugin/.claude-plugin/plugin.jsonand the marketplace
entry withCargo.toml;tests/plugin.rsfails if they disagree. The
SessionStart hook only reports a missing or mismatched CLI. The plugin does
not registerrealism-gate-mcp(seeplugin/README.md). - Program model (RG-A1).
check --dump-program DIRreads a protocol
working tree and reports, per entry point, the authority it requires
(Signer(account),Role(name),Owner,None,Unknown(reason)) with
source spans. Anchor#[derive(Accounts)]constructs, nativeis_signer/
owner / key checks and Solidity modifiers and body guards are resolved; an
IDL fills gaps but the source wins and records the conflict; a resolution
failure isUnknown, never a guess. The model reads only the target tree. - Exploit model (RG-A2). Actors carry provenance (generated, loaded,
derived PDA, funded, granted, deployer); steps carry program, entry point,
signers, a separate payer and the required authority; mutations, assertions
and data-dependency phases are recorded, with position only a tiebreaker.
An authority over an account the attacker created or funded is
attacker-owned, and a payer is never a role signer.--dump-model FILE
writes the model deterministically with no absolute paths;
--model-target DIRsupplies the protocol checkout the rules read.
On the opened v2 corpus the model removes all 28 RG02 and 8 RG03 false
positives with no other rule moved and readability unchanged (in-sample;
not a fresh precision claim).
Changed (build)
- The crate is a Cargo workspace.
rg-ir,rg-frontend-sol,
rg-frontend-rust,rg-frontend-ts,rg-frontend-move,rg-program,
rg-model,rg-rules,rg-execandrg-renderare separate library
crates; therealism-gatepackage keeps its name, its three binaries, its
CLI flags and exit codes, thereport/v1andcard/v1schemas and the
SARIF output. A golden test pins the CLI output over every committed
fixture to prove the split changed no bytes. - The ten library crates are published to crates.io, each at the same
version asrealism-gate(rg-ir,rg-frontend-sol,rg-frontend-rust,
rg-frontend-ts,rg-frontend-move,rg-program,rg-model,rg-rules,
rg-exec,rg-render), in the dependency order of PACKAGING.md, because
realism-gatecannot be packaged without them. They are internal: no API
stability guarantee outsiderealism-gate.publish = falseis removed;
each carries a README, the MIT LICENSE and keywords. tests/golden.rsrestores the recorded tool version before hashing
the CLI output, so a version bump no longer changes all 109 recorded hashes;
every other byte is still compared.- Release cadence exception. 1.5.0 is the fourth release in three days
(1.1.0, 1.2.0 and 1.4.0 shipped on 2026-11-25), which RELEASING.md's
one-minor-per-week rule does not allow. It is a recorded exception
decided by the maintainer; see RELEASING.md.
Install
cargo binstall realism-gate
or download an archive below and check it:
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify <archive> --repo KhomDev/realism-gate
Three binaries are included: realism-gate (the checker), rgate
(the same program under a short name) and realism-gate-mcp (the MCP
server). cargo binstall installs all three. Linux builds are static
(musl).
Built with rustc 1.95.0 and repacked deterministically, so the
archives can be compared with a local rebuild. From a checkout of this
repository:
scripts/reproduce-release.sh v1.5.0 x86_64-unknown-linux-musl