Repository navigation
[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 againstSHA256SUMS, and
runspriorart checkon one finding (optionallypriorart buildon a program
folder first). CI jobactionruns it on Ubuntu, macOS and Windows. - MCP server
priorart-mcp(MCP Registryio.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
fixedpriorartcommand line whose stdout is returned unedited; no tool
runsfetch,build,init,anchors benchorcandidates --prepare.
Strict arguments (unknown keys and wrong types refused, no value that starts
with-, positional paths after--),PRIORART_MCP_ROOTto 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.jsonis the registry entry;skills/priorart/SKILL.md
is a Claude skill. Release archives now carrypriorart-mcpbeside
priorart, andverify-release.ymlchecks it answersinitialize.
default-run = "priorart"keepscargo runmeaning the CLI. priorart fetch. The only networked command. It GETs the HTTPS URLs you
name (one each, no crawling) intopages/001.html, … and writes
fetch.json.build,check,candidates,anchorsandtaxonomystay
offline.--no-default-featuresbuilds a binary with no HTTP client. The
client isureq2.12.1 with rustls: 43 packages added toCargo.lock
(commofname =lines against the previous lock).cargo deny check
andcargo auditpass; the new licence isCDLA-Permissive-2.0for the
Mozilla CA list inwebpki-roots, andbase640.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 animpactitem, not apayout-tier. A payout tier needs a
severity and an amount on the same line. GitHub code URLs and explorer
address URLs arescope-pathitems.
Added (P2)
-
Code anchors.
priorart anchors index|resolve|benchresolves a finding's
cited contracts, functions, files and state variables to spans in the audited
repository at its pinned commit, using asolar-parsecall 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 candidatesadmits 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.0is edition 2024
and declaresrust-version = "1.95". Release binaries are unaffected.