Skip to content

Choose a tag to compare

@github-actions github-actions released this 27 Nov 18:35
· 10 commits to main since this release
c11e8fc

[0.2.3] - 2026-11-27

The P2 work (opt-in fetch, code anchors, structural candidates, the ranker
and alarm) plus the MCP server. The check matcher is unchanged since 0.1.3.

Benchmark. Not re-run for this tag. The DEV numbers for the ranker, alarm
and pairs are in docs/measurement-2026-11-27.md,
measured on a7f5490. Since then src/ changed only by the MCP server
(src/mcp.rs, src/bin/priorart-mcp.rs, one mod line in src/lib.rs),
which runs the CLI and does not touch ranking, plus a three-crate
Cargo.lock bump (dependabot #34). The published 0.2.2 benchmark in
docs/benchmark.md still describes the check matcher.
All P2 numbers are DEV-only; none is held-out.

Package. The crate now leaves out the sealed multi-language set, the
search logs, the pair files, the P2R amendments and docs/assets/ (see
exclude in Cargo.toml); they stay in the repository. tests/release.rs
checks the list and that the action's default release matches the crate version.

Added

  • GitHub Action (action.yml, docs/action.md). A composite
    action that installs a release archive, checks it against SHA256SUMS, and
    runs priorart check on one finding (optionally priorart build on a program
    folder first). CI job action runs it on Ubuntu, macOS and Windows.
  • MCP server priorart-mcp (MCP Registry io.github.KhomDev/priorart,
    docs/mcp.md). A second binary in the same crate: newline
    JSON-RPC over stdio (Content-Length framing also read), protocol revisions
    2025-06-18, 2025-03-26 and 2024-11-05. Eleven read-only tools, each one
    fixed priorart command line whose stdout is returned unedited; no tool
    runs fetch, build, init, anchors bench or candidates --prepare.
    Strict arguments (unknown keys and wrong types refused, no value that starts
    with -, positional paths after --), PRIORART_MCP_ROOT to confine
    paths, a per-run timeout (PRIORART_MCP_TIMEOUT_SECS, default 120 s), a
    4 MiB output cap (refused, not cropped) and an 8 MiB frame cap. No new
    dependency. server.json is the registry entry; skills/priorart/SKILL.md
    is a Claude skill. Release archives now carry priorart-mcp beside
    priorart, and verify-release.yml checks it answers initialize.
    default-run = "priorart" keeps cargo run meaning the CLI.
  • priorart fetch. The only networked command. It GETs the HTTPS URLs you
    name (one each, no crawling) into pages/001.html, … and writes
    fetch.json. build, check, candidates, anchors and taxonomy stay
    offline. --no-default-features builds a binary with no HTTP client. The
    client is ureq 2.12.1 with rustls: 43 packages added to Cargo.lock
    (comm of name = lines against the previous lock). cargo deny check
    and cargo audit pass; the new licence is CDLA-Permissive-2.0 for the
    Mozilla CA list in webpki-roots, and base64 0.22.1 is kept beside 0.23.1
    because ureq 2.12.1 pins it.
  • HTML tables and links. A <table> becomes one bullet per row. An empty
    <a href>, or one whose text is not the URL, appends the URL (utm_*
    removed; relative links resolve only against a fetched final URL). A
    severity label in its own block labels the reward that follows it. An
    impacts row is an impact item, not a payout-tier. A payout tier needs a
    severity and an amount on the same line. GitHub code URLs and explorer
    address URLs are scope-path items.

Added (P2)

  • Code anchors. priorart anchors index|resolve|bench resolves a finding's
    cited contracts, functions, files and state variables to spans in the audited
    repository at its pinned commit, using a solar-parse call graph and
    state-variable read/write sets. Resolution is deterministic and offline;
    unresolved citations abstain with a reason (no-citation, file-missing,
    not-found, ambiguous, parse-failure, commit-mismatch, …). Existing
    commands, schemas and output are unchanged.
    On the six DEV corpora, 1296 of 1299 findings that cite code resolve to at
    least one span (99.77%, Wilson 95% [99.32%, 99.92%])
    ; the command is
    priorart anchors bench, reproducible offline once the pinned codebases are
    present.

  • Structural candidates. priorart candidates admits a prior item when it
    shares a function or state-variable anchor with the finding, is a call-graph
    neighbour within distance 2, or asserts the same root cause in the same
    contract. Each pair carries the five features the ranker consumes (function
    and state anchor overlap, call-graph distance, mechanism match, impact match,
    today's identifier score). Shared identifiers alone never admit a candidate;
    abstentions carry a reason. On the six DEV corpora, 504 of 696 judge-grouped
    duplicates (72.41%, Wilson 95% [68.98%, 75.60%]) have their representative in
    the candidate set
    , with an 11.64% abstention rate; this is candidate recall
    on DEV, not recall@5 or FAR (PA-B4/B5).

Changed (P2)

  • The MSRV is now Rust 1.95 (was 1.89): solar-parse 0.2.0 is edition 2024
    and declares rust-version = "1.95". Release binaries are unaffected.