Repository navigation
Releases
priorart v0.2.3
[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.
priorart v0.2.2
[0.2.2] - 2026-11-25
A harness release. The matcher is byte-identical to 0.2.1: the P1-C
claim-component redesign was frozen, measured on six corpora and reverted
because it did not lower the Code4rena false-alarm rate and collapsed
duplicate recall (BENCHMARK.md, "P1-C re-measurement results"). What ships is
the benchmark harness fixes, which do not change the matcher:
Fixed (P1-C, benchmark harness)
- The last High/Medium slice stops at the next top-level section. It used
to run to the end ofreport.md, so Low/QA/gas sections became dossier
items and one Maia alarm came only from such an item. fetch.pyquotes a source path containing spaces, so Wildcat's
docs/Known Issues.mdcan be fetched.- A prior item's heading is part of its identifiers. A symbol named only
in the item's heading is counted, which the PoolTogetherinv:009/ M-03
miss exposed. - A wrapped known-issues bullet is one item. Continuation lines join the
bullet above them instead of becoming items of their own.
Reverted before release
- The 0.3.0 alarm rule (shared claim component, absolute document frequency)
was measured and rejected: sealed Party and Wildcat FAR 3/9 = 33.3% each,
and duplicate recall collapsed (Maia 30.1% -> 2.4%). The matcher is
unchanged from 0.2.1.
priorart v0.2.1
[0.2.1] - 2026-11-25
An evidence release. The crate's code is unchanged from 0.2.0 (git diff v0.2.0 -- src Cargo.lock schemas vocab is empty apart from the version), so
the binary behaves exactly as 0.2.0; what changes is how much the benchmark
says about it. Four corpora on two judging platforms now measure the frozen
matcher, and the new ones say plainly that its alarm rule fires too often.
Benchmark
- Two Code4rena-judged corpora (
eval/benchmark/maia-c4,
eval/benchmark/panoptic-c4), preregistered before any label or run. The
false-alarm rate on paid, unique findings is 8/15 = 53.3% [30.1-75.2] on
Maia, 6/11 = 54.5% [28.0-78.7] on Panoptic and 14/26 = 53.8% [35.5-71.2]
pooled; duplicate recall@5 is 87/289 = 30.1% [25.1-35.6], 38/80 = 47.5%
[36.9-58.3] and 125/369 = 33.9% [29.2-38.9]. Maia's and the pooled interval
lie entirely above the preregistered 30% trigger, so the "shares
identifiers" warning stays off. - A second Sherlock-judged corpus, PoolTogether V5: false-alarm rate 9/40
= 22.5% [12.3-37.5], duplicate recall@5 32/85 = 37.6% [28.1-48.3], label
agreement 35/38. - Harness:
fetch.py/run.py --corpus-dir; ac4-issuessource kind
that maps Code4rena's issue labels (report ids,duplicate-N,downgraded by judge) onto the judged layout, checked against each contest's published
report (26/26 paid findings); per-corpus known-issues pattern and dossier
metadata. The Tapioca and PoolTogether manifests regenerate byte-identically. - Known defect, documented, not fixed in this release: the prior report's
last High/Medium slice carries its Low/QA sections into the dossier. One
Maia alarm comes only from such an item;BENCHMARK.mdgives the post-hoc
sensitivity row. The fix needs a new dated measurement of all four corpora.
Corrected
docs/benchmark.mdandBENCHMARK.mdsaid Code4rena -> Sherlock was the
only public platform pair with judge-grouped duplicates and excluded
findings. That was wrong;docs/validation.mdrecords the retraction.
Build
- OSS-Fuzz local project config for the parser fuzz targets (no upstream PR).
- Fixed the Linux/macOS test build.
tests/inputs.rsconstructedRun
in its Unix-only FIFO case without importing it, so CI's test and MSRV jobs
had failed since 0.2.0 (the crate itself was unaffected; Windows skips that
case). Two CLI tests now readCARGO_PKG_VERSIONinstead of a literal.
priorart v0.2.0
[0.2.0] - 2026-11-22
An input-handling release. A saved HTML program page is now read, every input
must be a regular file, finding and dossier reads are bounded, and the native
PDF fallback can be disabled. The matcher, the gates, both JSON schemas and the
vocabularies are unchanged, so the 0.1.3 benchmark numbers still describe this
release and older dossiers under the 64 MiB check limit still load. Self-review:
no external report.
Added
.htmlprogram pages are read.scope.html(orscope.htm) is
converted to Markdown-shaped text by a new in-repo normalizer,
src/dossier/html.rs:<h1>-<h6>become heading lines,<li>becomes a
bullet,<p>/<br>/<div>and other blocks become line breaks, remaining
tags are stripped,<script>/<style>contents are dropped, and common
named and numeric entities are decoded. It is designed for list-based
pages (headings plus<ul>/<li>lists). It is not a browser: CSS,
JavaScript-rendered text, table structure and attribute-only text are not
read. A plain table yields no payout/scope items, although a cell whose
text is itself a Markdown bullet (- ...) is still read as one; save a
table-based page as Markdown. Table mapping is planned for a later release,
not 0.2.0. Fixture and gates:tests/html.rs.build --no-pdftotext. The flag disables the poppler fallback entirely;
a PDF the in-process scrape cannot read is reported unread and skipped.
docs/limitations.md,ARCHITECTURE.mdandREADME.mdnow state that
pdftotextis native third-party code run as the user, without a sandbox.- A generated README example for the HTML fixture, checked by
tests/docs.rsand reproduced byscripts/regen-readme-examples.sh.
Security
- Only regular files are read. A symlink, FIFO, device or directory named
as an input is refused or skipped by name, never read through. Required
inputs (program.yamlforbuild; a finding and an explicit dossier for
check) are refused with exit 2. Optional names
(scope.*,known-issues.*, any symlink (file or directory) or non-regular
document underaudits/, and theaudits/directory itself) are named and
skipped; the build exits 2 only when no regular input remains. A FIFO used to
be able to block a build indefinitely, and a symlinked audit used to disappear
without a note. A dossier discovered beside the finding follows the same rule:
a non-regular only candidate is exit 2, and a regular candidate beside it is
used instead. - A build of this version cannot write a dossier that
checkrefuses for
size. The serialized body is checked againstMAX_DOSSIER_BYTES(64 MiB)
before the file is written, with an exit-2 error that says to split the
folder. A pre-0.2.0 dossier over the cap (0.1.3 had none) is still refused by
check. - Finding and dossier reads are bounded.
checkrefuses a finding over
16 MiB (check::MAX_FINDING_BYTES) and a dossier over 64 MiB
(dossier::load::MAX_DOSSIER_BYTES) by size, before the file is read, with
the same named exit-2 errors as the build limits. - UTF-16 PDF literals are decoded.
scrape_pdf_literalsused to read every
byte as a Latin-1 character; a UTF-16BE/LE literal came out interleaved with
NUL characters. It now honours the byte-order mark, prefers UTF-8 when valid,
and supports PDF octal escapes. Tests use UTF-16BE, UTF-16LE and UTF-8
literals.
Changed
- The
buildsummary prints the dossier path with forward slashes on every
platform, so copied output is the same everywhere.
Hardening
#![forbid(unsafe_code)]insrc/lib.rsandsrc/main.rs..github/workflows/mutants.ymlrunscargo mutantsforsrc/match/,
src/gates/andsrc/dossier/every Monday. It is not a gate; the
measurement indocs/test-quality.mdis unchanged until a scheduled run on
the release commit completes.
Tests
- New:
tests/html.rs(converted page,scope.htm, item kinds, G1/G2/G3, the
pinned table limitation and its bullet-cell edge),tests/inputs.rs(symlinks
including symlinked audit subdirectories and hidden symlinks, symlinked and
FIFO audits on Unix, FIFO program page on Unix, sparse oversized finding and
dossier, the pre-read ordering with an unreadable file, the--no-pdftotext
control, bare file-name discovery, forward-slash paths), thedossier::html
unit tests (including the apostrophe and non-ASCII cases), the build-size
guard and its real write-path call site, and four PDF literal-decoding tests. - A
html_normalizefuzz target, replayed fromfuzz/corpus/html_normalize/
every test run and by the weekly fuzz workflow. docs/validation.mdrecords the new claims, the retracted "scope.html
works" claim from 0.1.3 and its limits.
priorart v0.1.3
[0.1.3] - 2026-11-21
A correctness release. The specificity denominator, negation reading, dossier
validation and the quote window are fixed; the public benchmark was re-measured
on the new matcher. The CLI, the two JSON schemas and the vocabularies are
unchanged, so 0.1.2 dossiers still load (a dossier with a page past its
source's page count is now refused).
Changed
- The generic-symbol share is measured over the items that share a symbol
with the finding, not over every item in the dossier. An item that shares
nothing can never rank, so it no longer changes the denominator. This makes
the top-k independent of unrelated files, the invariant the property test
names. On the same public corpus and seed the matcher now measures
15/60 = 25.0% [15.8-37.2] false alarms (from 26/60 = 43.3%) and
36/64 = 56.3% [44.1-67.7] duplicate recall@5 (from 39/64 = 60.9%).
0.1.3 still ships retrieval-only. - A dossier whose item cites a page past its source's page count, or names a
source the dossier does not contain, is refused with exit 2 instead of
being read as current.checkalso reports a quote that is not in the item
text the dossier records; it does not re-read the source bytes.
Fixed
- ASCII contractions are negation cues.
isn't,doesn't,can'tand
won'twere tokenised inside one word and did not matchisn/doesn, so
"the reserve isn't funded" read as a positive statement. The apostrophe forms
are now listed explicitly. - "not without a role" means a role is required. The pair was read as a
denial, so the privileged-role precondition was lost. A cue just outside the
24-character window is now paired with awithoutinside it; a lone "no"
about something else in the clause stays ignored. - The quote window treats the identifier's position as a character index.
It was a byte offset, so non-ASCII text before the identifier could push the
window past it. The word-boundary expansion is also bounded, so a long run
with no whitespace cannot make a quote exceed the length limit. - The ledger's regex-dialect scan no longer panics on a non-ASCII pattern
such ascafé(?=x). It sliced the pattern by a character index as if it were
a byte offset. src/**/*.solmatchessrc/Vault.sol.**/now means zero or more whole
directories, as the scope lists published by programs use it.- Removed the unused root-cause scoring path and the second parse of every
item profile;checkreuses the finding profile it already built. The
public helpermatching::Profile::from_partsno longer takes the unused
root-cause slice; the library API is not a stability promise, but the
signature change is called out here. - Removed the stray tracked
.h.errfile that had been packaged into the crate.
Tests
- The five
#[ignore]d cases for these bugs are enabled: the double negation,
the hand-edited quote, the out-of-range page, the unrelated-item invariant
and its deterministic reproducer. - New unit tests: ASCII contractions; "not without"; a multibyte quote window;
**/scope matching; a non-ASCII ledger pattern. - New property tests: an unrelated item never changes the top-k;
**/crosses
directories while*does not. docs/validation.mdanddocs/threat-model.mdrecord what is now validated
and what is still open.
priorart v0.1.2
[0.1.2] - 2026-11-19
Security hardening, release provenance and tests. The matcher, the gates,
the schemas, the vocabularies and the benchmark harness are unchanged
(git diff v0.1.1 v0.1.2 -- src/match src/gates schemas vocab eval shows
only test-fixture strings), so the benchmark numbers in docs/benchmark.md
still describe this build. Five adversarial and property cases priorart gets
wrong today are committed as ignored tests with their inputs
(cargo test -- --ignored).
Added
-
docs/threat-model.md: assets, attackers, trust boundaries and the test or
CI job behind each guarantee, with file and line references. Open items are
marked unverified or read-only.SECURITY.mdanddocs/no-network.mdlink to it. -
Release provenance. Each release archive carries a build provenance
attestation, checked withgh attestation verify <archive> --repo KhomDev/priorart
(install.md). A CycloneDX
software bill of materials,priorart-vX.Y.Z.cdx.json, is attached to each
release and listed inSHA256SUMS. Attestations are made on version-tag runs
only, never on a dry run. -
verify-releaseworkflow. Runs when a GitHub release is published, and by
hand for a given version. It installs that release on Linux, macOS and Windows
three ways (cargo installfrom crates.io, the release archive checked against
SHA256SUMS, andcargo binstall), checkspriorart --version, and runs the
demo build, check and ledger validation. It writes nothing. -
fuzz/cargo-fuzz crate with seven targets: markdown and text import, the uncompressed PDF scrape,program.yaml, known-issues YAML, the ledger YAML, dossier JSON load (with the gates run over a loaded dossier) and the finding profile and matcher. The property is no panic. The targets live infuzz/src/targets.rs, whichtests/fuzz_replay.rsalso compiles, so the committed seeds (fromexamples/and hostile edge inputs) replay through every target on eachcargo testwithout nightly. -
Weekly fuzz workflow (
.github/workflows/fuzz.yml): five minutes per target on nightly, on a schedule and by hand. A crash fails its job and is uploaded as an artifact. -
Property tests (
tests/properties.rs,proptest, dev-dependency only): the dossier bytes do not depend on file creation order; the case of an audit's file name changes only its recorded path and title;check --jsonis identical across runs and validates againstcheck.schema.json; the top-k is a prefix of the larger ranking;--top-k Nreturns at most N items. Two tests are#[ignore]d: adding an item that shares no identifiers can change the top-k, because the generic-symbol threshold depends on the item count. -
docs/test-quality.md:cargo mutantsoversrc/match,src/gatesandsrc/dossier(571 mutants: 389 caught, 158 missed, 6 timeouts, 18 unviable; survival 28.6%) and onecargo llvm-covrun (87.34% line coverage), with the ten most important surviving mutants. Linked from CONTRIBUTING.md. Not gated in CI.
Security
pdftotextruns under limits. It is killed after 60 seconds or after
16 MiB of output, and the source is skipped with a warning, as for any PDF
without text. priorart finds it onPATHitself: relativePATHentries and,
on Windows, the current directory are never searched. The PDF is passed by
absolute path, so a file name beginning with-cannot be read as an option.- Input limits on a build. A folder with a file over 64 MiB, more than 1000
documents, more than 512 MiB of documents,audits/nested past 16 levels or
more than 10 000 directory entries is refused with exit 2 before the files are
read. The error names the limit.
Fixed
- Two unit-test fixtures no longer paraphrase a real finding. The
identifier-matching and PDF-scrape tests used a limiter-refund mechanism
taken from the author's private log. They now use an invented rebate bug
(settle_rebate,claim_rebate). The old text remains in earlier releases
and in git history. pdftotextis retried when the executable is busy. Starting a file that was
written a moment earlier can fail with "text file busy" (ETXTBSY) on Linux or a
sharing violation on Windows. The start is now retried up to ten times, 20 ms apart,
for those two errors only. It madea_pdftotext_that_runs_past_the_timeout_is_killed
fail intermittently on ubuntu-latest.- A dry run dispatched on a branch whose name contains a slash no longer fails
at upload: the archive names use the ref with/replaced by-. The release
step now runs only on a tag, so a dispatch on a branch cannot create a release
or a tag.
Tests
tests/adversarial.rs: inputs built to fool or break priorart, run through the real binary. A finding stuffed with every dossier identifier is ranked within the top-k bound and still reads as a reading list. A denied role does not trip the role exclusion, and exclusion clauses are quoted whole. A malformedprogram.yamland a YAML alias bomb exit 2 or 0 without a panic, and the bomb is bounded in time. Identical audits keep distinct item ids and one digest. An image-only PDF is named as unread. A homoglyph identifier does not match its ASCII form. Terminal control characters in a quote never reach stdout. Three cases fail onmainand are#[ignore]d with the bug named: a double negation is read as the opposite, a hand-edited quote that is in no source is not flagged, and a page past the source's page count is accepted.
priorart v0.1.1
[0.1.1] - 2026-11-13
Documentation, fixtures and install metadata. The matcher, the gates, the
schemas and the benchmark are unchanged, so the benchmark numbers in
docs/benchmark.md still describe this build.
Fixed
- The demo program is now fictional all the way down.
examples/dossier-demo
andexamples/finding-demo.mdreused the contract, error and token names of
a real disclosed finding (RAINUSDR-1622) and listed that finding's mechanism
as an acknowledged known issue and a prior-audit item. The fixture never
described a real audit, but read next to the public case study it implied the
finding had been known before it was reported. The demo is now an unrelated,
invented bug (LoanBook.close,FeeLedger.distributeFees,
SwapDesk.swapIn) whose prior-audit item has a different mechanism, so the
output also showstheir mechanismagainstyours. The README,docs/cli.md,
docs/gates.md,docs/dossier.md,docs/matching.mdand the unit and CLI
tests use the same invented names. cargo binstall priorartresolves the release archives. Added
[package.metadata.binstall]: archive names carry avbefore the version,
which binstall's defaults do not guess.- Removed two stray files that were committed with 0.1.0 and referenced by
nothing:.h.outandexamples/dossier-demo/sample-vault.dossier.
priorart v0.1.0
[0.1.0] - 2026-11-13
First release under the name priorart, from the repository that was
viability-gate. One question, three answers, no verdict: has this been found,
is it excluded, and can it be paid? Everything is quoted evidence with a page
number, read from files the user saved. There is no score and no outcome enum.
Added
- The dossier.
priorart build <program-dir>readsscope.md|html|txt,
known-issues.md|yaml|txt,audits/*.md|txt|pdfand an optional
program.yaml, and writes one deterministic JSON file per program
(priorart.dossier/v1). Sources carry a SHA-256 and page count; items carry a
page, a verbatim quote, strong identifiers, a clause class and a mechanism
hint. Two builds over one folder are byte-identical, and a test asserts it.
Schema:schemas/dossier.schema.json. priorart checkwith the three sections,--top-k(default 5, 1-50),
--json(priorart.check/v1),--fail-on-excludedand
--fail-on-unpayable. Exit 0 is "analysis produced"; exit 1 is opt-in and
only from those two flags; exit 2 is usage, IO or parse.- The identifier matcher behind has this been found: >=2 shared symbol
identifiers (function, error, contract, qualified names, backticked spans),
a 20% generic-symbol filter (with a one-or-two-item exception), ranking by
specificity, then rarity, then symbol count, then paths, then identifier
order. File paths are shown and break ties but never qualify an item alone.
Word overlap is not scored. - Gates G1-G4 as evidence: payout (the claimed severity against the
transcribed shape and floor), exclusion (the program's clauses against the
finding's preconditions, negation-aware), scope (cited paths and contract names
against the in-scope list), prior audits (named coverage plus ranked items).
Each gate reports what it could not read as unread, never as a pass. priorart ledger validate, the Rust port of bounty-economics
scripts/validate.py. The schema is unchanged at v1 and byte-identical to the
bounty-economics v0.6.1 tag (sha256
403324A1CA205BE9521FE9F51FCCF45030F3BE9B7AA642A2C727DF5842220A51). An
uncited entry is an error, an unstated floor is not "Low pays", and the removed
anyshape gets a migration message instead of a bare enum failure.priorart vocab list|showandpriorart explain: the 5 payout tier
shapes, the 14 exclusion clause classes and the gate cross-reference, compiled
into the binary withinclude_str!. Tier shapes and clause classes are
byte-identical to bounty-economics v0.6.1; the gate cross-reference had its
viability-gate rows removed.data/rejections/: the rejection-taxonomy v0.6.1 tree (CSV, JSON,
summary.json,SCHEMA.md,LICENSE-DATA,CITATION.cff,
provenance.json), 113 rows and 10 columns, summary keys unchanged, CC BY 4.0.
priorart rejections summaryreads its own compiled copy.priorart initscaffoldsprogram.yaml,scope.md,known-issues.md
andaudits/README.md; the scaffold builds without edits.- Offline by construction. No HTTP client in
Cargo.tomlorCargo.lock,
no socket insrc/; a test fails the build if one appears. The vocabularies
and the rejection dataset are compiled in, so there is no data directory and no
update check. - Docs:
docs/dossier.md,docs/matching.md,docs/gates.md,
docs/cli.md,docs/ledger.md,docs/schema.md,docs/vocab.md,
docs/rejections.md,docs/benchmark.md,docs/validation.md,
docs/limitations.md,docs/install.md,docs/no-network.md,
docs/licensing.md, plus MIGRATION.md.
Removed
- The prose anti-pattern engine: P1-P26,
rules/anti-patterns.yaml,
rules/packs/,docs/rules/, and the rule documentation generator. It did
not separate paid from unpaid findings: 12 of the 25 hard-killed findings were
paid, so the kill's precision was 13/25 (52%) that a finding was unpaid. - The 0-100 score and the KILL / ROUTE-TO-VERIFY / CLEAR outcome enum. There is
no replacement score; there are quotes. --strict,--funnel,--min-scoreand--severity-notes.- The citation anchor (moved to realism-gate RG20,
--target/
--target-commit) and the claim notes P23-P26 / P19 (moved to
realism-gate check --report). - The old calibration, control-set, prospective-protocol, tripwire,
negation-audit and rule-defect docs, and the staledocs/demo.gif/
docs/demo.tape.docs/import.mdanddocs/duplicate-matching.mdare
replaced bydocs/dossier.mdanddocs/matching.md.
Changed
- Repository and crate name: viability-gate -> priorart. The GitHub repository
was renamed (old URLs redirect, history and issues kept). The
viability-gatecrate cannot be renamed on crates.io, so it is frozen at
0.9.0 with a deprecation README and a one-line stderr notice. It still installs
and still works; nothing was yanked. - One binary,
priorart(priorart.exeon Windows), replacingvgand
viability-gate. - The ledger schema stays v1 and existing private ledgers need no migration.
Measured
- Dossier determinism: two builds over the committed demo folder are
byte-identical (tests/cli.rs::build_writes_one_deterministic_dossier,
2026-11-13). - Public benchmark, 2026-11-13, final build
dabfcc0c...(matcher
behaviour-identical to the2ec4c3c9...deciding run; only wording changed
after it): false-alarm
rate on 60 judged paid+unique findings 26/60 = 43.3% (Wilson 95%
31.6-55.9); duplicate recall@5 on 64 judge-grouped duplicates 39/64 = 60.9%
(48.7-71.9); known-prior recall n=1, 0 hits, not a rate; label agreement
15/20 = 75%. Two earlier matcher revisions are recorded as provenance, not
as the number of record:22648e33...measured 18/60 = 30.0% and
da176bc8...measured 15/60 = 25.0%. An earlier 0/64 duplicate-recall report
was a harness locator bug, corrected in
docs/benchmark.md. - Ledger golden files:
priorart ledger validateon
examples/ledger.example.yaml+examples/tier-shapes.example.yamlprints
6 entries, 0 error(s), 10 warning(s)and exits 0.
Ship decision: retrieval only
The plan's kill criterion triggers above a 30% false-alarm rate on unique
findings. The final point estimate is 43.3%, and the 95% interval
(31.6-55.9%) does not cross 30%, so the trigger is met: priorart 0.1.0 ships in
retrieval-only mode. The HAS THIS BEEN FOUND? section is a reading list with
quotes, sources and pages; it prints no duplicate warning and implies no
duplication. The warning can return only after the matcher is fixed and a fresh
held-out measurement puts the false-alarm rate at or below 30%. The intermediate
25.0% run and the release decision taken on it are superseded, and the benchmark
does not soften that.
Not claimed
- Not evidence that priorart finds bugs; the corpus is judged human findings.
- Not a population estimate from 60 findings on one contest pair.
- Known-prior recall is n=1 and is not a rate in either direction.
- The matcher is not a duplicate detector, and a hit is not a duplicate finding.
- A gate result is not a verdict; an unrun gate is not clear.
- The rejection dataset is one researcher's log with no positive class, no
target dimension and no paid comparison; it is a vocabulary, not a base rate. - Behaviour on private reports, other platforms or scanned (image-only) PDFs is
not measured.
viability-gate history (0.1.0 - 0.8.1, this repository before the rename)
The entries below are the viability-gate changelog, unchanged. They document a
tool that no longer exists in this form; read them as history, not as the
current surface.
v0.8.1
A correction release. 0.8.0 shipped a precision sentence that inverted the
numerator: 12 of the 25 hard kills were paid findings (48%), so the kill was
right 13/25 (52%) that the finding was unpaid. The 0.7.0 changelog and the
2026-11-10 review both repeated the inversion. The separator is still weak
either way; the number now says what it measures.
Fixed
- README,
docs/benchmark.md,docs/validation.mdand the 0.8.0 changelog
entry state the paid share (12/25, 48%) and the precision (13/25, 52%)
separately. The 0.6.0 comparison (19/38, 50%) is unchanged. - The release workflow publishes the
CHANGELOG.mdsection for the tag as the
release body. The 0.6.0, 0.7.0 and 0.8.0 bodies were the generic install
template plus GitHub's generated notes, so a reader could not see what the
release changed.
Changed
- Version 0.8.0 -> 0.8.1. No rule, gate, outcome or CLI behaviour changed.
Install
Two binaries are included: vg and viability-gate. They are the same
program. vg collides with an unrelated bioinformatics tool of the same
name, so viability-gate is the safe choice. See docs/install.md.
Verify the download before running it:
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify <asset> --repo KhomDev/viability-gate
What this release does not claim: the catalog is calibrated in-sample
against one researcher's rejection log, and its false-positive rate is
unmeasured. Read docs/calibration.md before trusting a verdict.
v0.8.0
Not published to crates.io. Install from git.
A review release. The 2026-11-10 Fable 5.2 portfolio review made the
precision problem a blocker: on the public pair a 0.7.0 hard kill was right
13/25 times (52%); 12 of the 25 kills were paid findings (48%), and the kill
hit 12 of 220 paid Medium/High findings (5.5%). The
review's point is not that the number was hidden - the README and benchmark
said it - but that a weak separator was still the default hard stop. This
release changes the default consequence.
Changed - outcomes
- A claim-heuristic hard rule is ROUTE-TO-VERIFY by default. The
P1-P26 rules no longer stop a submission unless the operator passes the new
--strictflag. A known-issue match (KI:) and a failed citation anchor
(CITE) are structured hard failures and stay KILL in every mode.
--funnelis still accepted as a deprecated alias for the default. - The default hard-kill count on the public pair is therefore 0 (was 12 of
220 paid). The same 12 paid findings are routed to verification; a route is
advice, not a stop. The measured separator is still weak (48% of the routes
are paid findings; 52% are invalid/won't-fix), anddocs/benchmark.mdsays
so in both modes. --strictreproduces the 0.7.0 behaviour (12 paid hard kills; 13/25, 52%,
precision) for callers who explicitly accept the trade.
Added
docs/validation.md, a claim-by-claim ledger: every public claim with a
test or committed result file, a date, and a status (validated / unvalidated /
retracted). It records the 2026-11-06 audit, what 0.5.0 fixed, and the
precision history.- The hard-stop policy. A claim rule may be a default stop only with
precision >= 0.75, >= 20 fires, and a paid hard-kill rate <= 1%. No rule meets
it today; the rule that comes closest is P2 at 0.53 over 19 fires. The policy
is indocs/validation.md. - A release checklist step: refresh the benchmark (or state why it did not
change) and update the validation ledger before a tag. The release workflow
already refuses a tag that disagrees withCargo.toml.
Fixed - release provenance
- Annotated tags
v0.6.0andv0.7.0are restored on the commits whose
Cargo.tomlcarries those versions. The 0.6.0 and 0.7.0 releases were on
mainwith no tag, so the README's "pin to a tag" link and a reader's
ability to match a claim to a release were both broken.
Docs
- README tagline, example, benchmark tables, outcome table and limits
distinguish the 0.8.0 default from--strict; the example now shows P18 as
ROUTE-TO-VERIFY. docs/benchmark.mdcarries both tables and states the route precision
(13/25, 52%; 12/25, 48%, paid share) instead of implying a kill is a verdict.- Rule pages say a hard rule is
KILL with --strict; ROUTE-TO-VERIFY by default since 0.8.0.
Install
Two binaries are included: vg and viability-gate. They are the same program. vg collides with an
unrelated bioinformatics tool of the same name, so viability-gate is the safe choice. See
docs/install.md.
Verify the download before running it:
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify <asset> --repo KhomDev/viability-gate
What this release does not claim: the catalog is calibrated in-sample against one researcher's
rejection log, and its false-positive rate is unmeasured. Read docs/calibration.md before trusting
a verdict.