Skip to content

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 13:22
· 23 commits to main since this release
c28122a

Added (P2)

  • Claude Code plugin. plugin/ and the root .claude-plugin/marketplace.json.
    The plugin version is the crates.io release realism-gate-ensure installs.
    A release bumps plugin/.claude-plugin/plugin.json and the marketplace
    entry with Cargo.toml; tests/plugin.rs fails if they disagree. The
    SessionStart hook only reports a missing or mismatched CLI. The plugin does
    not register realism-gate-mcp (see plugin/README.md).
  • Program model (RG-A1). check --dump-program DIR reads 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, native is_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 is Unknown, 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 DIR supplies 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-exec and rg-render are separate library
    crates; the realism-gate package keeps its name, its three binaries, its
    CLI flags and exit codes, the report/v1 and card/v1 schemas 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 as realism-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-gate cannot be packaged without them. They are internal: no API
    stability guarantee outside realism-gate. publish = false is removed;
    each carries a README, the MIT LICENSE and keywords.
  • tests/golden.rs restores 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