Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 05:47
· 155 commits to main since this release

Added

  • rules and explain print measured precision per language. The rule
    catalog embeds eval/solana/measured.json; a rule with no fresh or held-out
    label prints unmeasured, never 100%. The JSON rule rows gain a measured
    object keyed by language with status, tp, fp, labelled, precision,
    wilson95, split, population and, for cells with fewer than five labels,
    count_only (printed as k/n (n<5, count only), never a percentage). The
    Rust and Anchor TypeScript numbers are the held-out split of the Solana PoC
    study (eval/solana-poc/), not the earlier test-suite measurement, which
    stays published in eval/solana/RESULTS.md; the Solidity number uses only the
    fresh (out-of-sample) corpus. docs/precision.md states the population and
    the limits, and the generated rule pages carry the same line.

Changed

  • rules --format json: languages lists javascript for every rule
    that checks Solana tests. The tool already read JavaScript Anchor/web3.js
    tests; the list said only rust and typescript. eval/results/rules-v0.6.0.json
    is regenerated (only languages and the new measured objects change; the
    precision tables and the R3 check are unchanged).

Fixed

  • Release workflow: the checksums job did not list verify in needs, so
    the version it repacks with was empty; and scripts/package-release.sh wrote
    the zip to a relative output directory from inside the staging directory.
    Both were caught by the 1.1.0 dry runs, before any tag. A regression case in
    scripts/test-package-release.sh covers the relative output directory.
  • Attestation test on Linux/macOS: the fake gh in
    scripts/test-verify-attestation.sh was not executable, so command -v gh
    found the runner's real gh. The Action itself runs the script with bash
    and was not affected.
  • CI package check now allows eval/solana/measured.json, which the crate
    embeds for rules/explain.

Documentation

  • Solana PoC measurement (P1-A redo, 2026-11-25). eval/solana-poc/
    measures the frozen 1.0.4 rules on 99 public Solana PoC units (12 judged,
    82 exploit-by-construction, 5 patched negative controls) from 45 pinned
    sources, preregistered before any run or label. The tool reads 1 of 12
    judged PoCs (8.3% [1.5-35.4]) and 72 of 82 exploit-by-construction ones;
    held-out precision over all rules is 46/106 = 43.4% [34.4-52.9], with RG08
    29/30 and RG09 7/7 against RG01 2/12, RG02 8/30, RG04 0/16 and RG06 0/6.
    docs/precision.md carries the summary (checked by tests/docs.rs).
    No rule logic changed.
  • Correction. eval/solana/{README,RESULTS}.md and docs/precision.md
    said a public Solana PoC corpus does not exist in a form the tool reads.
    That was wrong: the search checked three repositories and stopped, and the
    Neodyme workshop PoCs it cited are unsolved templates. The text now says so
    and links the PoC measurement.
  • P1 Rust/Anchor TypeScript measurement. Four pinned public test suites,
    174 flags, 133 sampled, 63 held-out labels, Wilson 95% intervals per rule and
    language. The report says plainly that the corpus is test suites, not PoCs,
    and records the missing PoC corpus as a gap rather than widening the claim.
  • Correction. docs/precision.md said the 264ca72 solana-program-library
    pin had five program/tests directories; at that commit only token-lending
    and governance have one. The text is corrected.

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.1.0 x86_64-unknown-linux-musl