Repository navigation
v0.1.0
First release. Pinned to openminion==0.1.24.
Features
- Agent that reads OpenMinion's docs and gives every checkable sentence one of four verdicts:
VALID,INVALID,NOT_RUNorUNCHECKABLE. The model only proposes claims; deterministic checkers decide the verdict. - Four checkers:
provider_field,config_default,roundtripandcli_accepts. Each declines asUNCHECKABLEwhat it cannot falsify. - Isolated sandbox venv of the release under test, with an allowlisted environment, closed stdin and a fixed help width.
- Guard that refuses a proposed claim unless its command, flag, value and sentence are grounded in the doc text, and that refuses negated, hedged or truncated sentences.
- Two-observation verdict engine: a result counts only when a second observation agrees; harness failures are never reported as INVALID.
- Commands:
run(live extraction or the model-free--claimspath,--sinceto re-check only changed sections,--merge),recheck(re-judge a saved report with no model call, optionally on another release,--allow-known),score(against gold labels) andrender(staticreport.html). - Live extraction through the OpenMinion SDK with a recovery ladder for failed sections, a
--rate-limit-waitoption and a per-run call cap. - Companion-CLI census, errata drafts with issue and fix drafts, and a tracker lookup that records the query and date for each INVALID.
- Static errata report (
report.html) with a refusal ledger, score, SDK-call ledger and filter chips. reproduce.sh: an optional live run on two doc sections (12 calls), then a model-free replay and re-check with a planted-error check.bench.py: per-section and per-checker latency and claims per minute from a saved run.- Submission-readiness check for placeholders, internal vocabulary, unsupported numbers and missing evidence.
Bug fixes
- Closed several false-INVALID paths: command words, config-key matching, several numbers in one sentence, code examples, roundtrip direction and Rich help output.
- Harness failures, timeouts and rate-limit retries are reported as such and no longer counted as flaky or INVALID.
- A
--helpthat fails is recorded as a surface erratum, never as a doc patch. - Provider lists,
a and bmodel pairs, trailing slashes and values paired with the wrong catalog field are parsed or declined instead of mis-judged. - A live extraction run no longer fails when the model omits the
docfield; docstruth sets it. - The reproduce summary marks a low-yield live run as degraded; the script works with bash 3.2.
Performance
- Percentiles in the benchmark are reported only from ten samples up.
Refactoring
- Provider hosts are matched exactly in the call counter and the key file is closed after reading.
Documentation
- README with measured results on
openminion==0.1.24, the animated hero, architecture figure, and an explicit list of what is not built. - Evidence notes for the live runs, the extraction experiment, the OpenMinion SDK calls and the building blocks tested.
- Landing page, pitch deck, generated report and a judge page (
/judge/) on GitHub Pages;DEMO.mdwith the output to expect. SECURITY.md(private advisory as the contact channel),CONTRIBUTING.mdwith the commit-prefix and release table, issue forms and a pull-request template.- Workflow status badges in the README.
Tests
- 130 tests, including a tripwire fixture (three planted value mutations must be INVALID, three untouched claims VALID), provider-clause and flag-binding cases, and a CI rule that fails on skipped real-CLI tests.
- Fixtures re-raise after
offline_skipso every path returns or raises; writes stay out ofassertstatements.
CI
ci(ruff, format, pytest),reproduce(model-free replay),security(gitleaks, pip-audit),codeql(Python and the workflows) andsite(validates the Pages site and checks the served copy matchesdocs/).releasecuts a semantic-versioned tag and GitHub release from conventional commits aftercipasses onmain.- Actions are pinned to commit SHAs where CodeQL asks for it; Dependabot groups weekly updates into one PR per ecosystem.
Chores
- Community health files and a key template.
Full changelog: https://github.com/edycutjong/docstruth/blob/main/CHANGELOG.md