Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:57

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_RUN or UNCHECKABLE. The model only proposes claims; deterministic checkers decide the verdict.
  • Four checkers: provider_field, config_default, roundtrip and cli_accepts. Each declines as UNCHECKABLE what 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 --claims path, --since to 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) and render (static report.html).
  • Live extraction through the OpenMinion SDK with a recovery ladder for failed sections, a --rate-limit-wait option 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 --help that fails is recorded as a surface erratum, never as a doc patch.
  • Provider lists, a and b model 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 doc field; 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.md with the output to expect.
  • SECURITY.md (private advisory as the contact channel), CONTRIBUTING.md with 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_skip so every path returns or raises; writes stay out of assert statements.

CI

  • ci (ruff, format, pytest), reproduce (model-free replay), security (gitleaks, pip-audit), codeql (Python and the workflows) and site (validates the Pages site and checks the served copy matches docs/).
  • release cuts a semantic-versioned tag and GitHub release from conventional commits after ci passes on main.
  • 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