Repository navigation
Releases
Diligent 0.3.0: new accessibility checks and state law research
New accessibility checks and a first record of state accessibility and privacy law. Eight checks are new (five browser, three source), the SVG naming check is extended, and research-status authorities A70 to A78 are added for seven states and for Title VI. The new checks report needs_review rather than a pass or a fail whenever their evidence cannot settle the question, and every new DOM walk is bounded. The companion binary now has 33 browser checks and 23 source checks. Rules stay at research or draft, so an automated result is still evidence for a person to weigh, not a legal conclusion.
Added
- Browser checks
BRW-LABEL-ASSOC(form label association, WCAG 1.3.1, 3.3.2, 4.1.2),BRW-LIVE-REGION(status and alert regions, 4.1.3),BRW-DRAG-ALTERNATIVE(a single-pointer alternative to dragging, 2.5.7) andBRW-FOCUS-TRAP(focus stays inside a visiblearia-modaldialog, 2.4.3). Each has authored fixtures with recorded captures. BRW-REDUCED-MOTION, an advisory check that compares animation and transition durations underprefers-reduced-motion. It never fails and informs no success criterion: motion under reduced motion is WCAG 2.3.3, which is AAA and outside the AA packs.- Source checks
SRC-AUTOCOMPLETE-REQUIRED(1.3.5),SRC-HEADING-OUTLINE(2.4.6) andSRC-ACCESSIBLE-AUTH(3.3.8).SRC-ACCESSIBLE-AUTHpasses a login password field only when it carriesautocomplete="current-password"or the form offers a passwordless alternative, reports needs_review otherwise, and skips sign-up fields. SRC-SVG-NAMEcovers more SVG naming patterns and is listed on WCAG 4.1.2.- State accessibility and privacy authorities A70 to A77 (Colorado, California, Texas, Illinois, Minnesota, New York, Massachusetts) and A78 (Title VI and 28 CFR 42.405, recording that the EO 13166 language-access guidance was rescinded), all at research status, with a state overlay table in
references/overlays.md. entity_stateandentity_typefacts on the state and local profile, which select the state authorities.
Changed
- Rule pack channel support follows the checks that exist: browser support is
assistedfor 2.4.3, 3.3.2, 4.1.3 and 2.5.7; source support isassistedfor 2.4.6 and 3.3.8;SRC-SVG-NAMEis listed on 4.1.2;BRW-LABEL-ASSOCreplaces the nonexistentSRC-LABEL-ASSOC. 2.3.1 and 2.1.2 list no new check. - An advisory check (
never_fails) may inform no rule; a check that can fail must still map to one. docs/supported-checks.mdcounts and cells are recomputed from the packs: 17 (a11y-wcag20-aa), 6 (a11y-wcag21-aa), 4 (a11y-wcag22-aa), 52 in total.- The state and local profile claim boundary says state authorities are recorded at research status only, ship no rule pack and support no claim.
Fixed
- The new checks report pass when their criterion is met, so a compliant page no longer reads as not_tested, and report needs_review instead of pass where the evidence is a heuristic: an
aria-label-only control (3.3.2 needs a visible label), a live region whose timing is not observed, a move button matched only by a direction word, an autocomplete name matched by pattern. - Keyword and field-name matching uses whole words and tokens: "hotel" is not a phone field, "capacity" is not a city, "Sign up" is not a move control, "incomplete" is not a success message. An autocomplete value passes only when it is a valid token for the field;
on,offand invalid values count as missing. BRW-FOCUS-TRAPignores<dialog open>(a capture cannot tell a modal from a non-modal dialog) and hidden dialogs, which used to fail ordinary pages on every focus stop.BRW-LABEL-ASSOCfinds<label for>and wrapping labels;aria-labelledbypointing at a missing id no longer counts as a label.SRC-HEADING-OUTLINEcounts a heading's ownaria-labelandaria-labelledby, and no longer reports a page-level pass for descriptiveness it does not judge.- DOM walks are bounded: no recursion over page depth and no quadratic scans. Adversarial tests cover 50,000-deep pages with an accessibility tree, 20,000-wide pages and parent cycles.
BRW-DRAG-ALTERNATIVEtreats onlydraggable="true"as draggable.
Known limitations
SRC-ACCESSIBLE-AUTHreads only inlineonpaste. Paste blocking done by script, and the live sign-in flow, need a person.BRW-LIVE-REGIONdoes not observe when announcements happen, only the region's markup and text.- State authorities are research only. They ship no rule pack and support no claim.
- The issuer of FR 2025-06366 and the current text of 28 CFR 42.405(d)(1) are not yet verified against a primary source.
Diligent 0.2.1: developer integration
Developer integration lands: SARIF output for code scanning, a reusable GitHub Action, baseline and diff for backlog management, and Storybook component mode. The native gate and rules validator run through the companion binary when it is present, source-pass template support covers JSX, Vue, Svelte, Astro, Twig and Liquid, and 45 engine-informed rules were reviewed against primary sources and promoted to draft.
Added
diligent audit --storybook <url>audits the stories of a built Storybook (7 or 8) as components: each sampled story is captured and assessed with the element-level checks, whole-page obligations are recorded as not tested, a component gate sets the exit code, andCOMPONENT-BASELINE.jsonrecords each story. A component audit is not a site claim.diligent-rs assess --componentandchecks list --json(scope) support it. Seedocs/storybook-mode.md.diligent sarif --run <id> | --dir <run-dir> [--out <file>] [--baseline <file>]emits SARIF 2.1.0 from a run so results can be uploaded to GitHub code scanning. Everyfailandneeds_reviewcheck result becomes a SARIF result with a stable fingerprint, the rule's obligation text as its description, and the lifecycle note carried into the result. Hand-authoredFINDINGS.jsonentries are emitted alongside when present. Seedocs/sarif.md.diligent baseline write --run <id> --out <file>records the fingerprints of a run, anddiligent diff --run <id> --baseline <file> [--fail-on new|any|none]partitions a later run into new, known, resolved and unverified. A team can accept a backlog and block only new problems. With--baseline,diligent sarifmarks each resultneworunchanged. Seedocs/baseline-diff.md.diligent-rs infra --preload-lookupasks hstspreload.org whether the registrable domain is on the Chromium HSTS preload list and records the answer as inference evidence on theINFRA-02-hsts-preloadrow. Off by default; the Node orchestrator does not pass it in this release.- A reusable GitHub Action (
uses: Simple-Cortex/diligent@<tag>,action.ymlat the repository root) audits one URL on a Linux x86-64 runner, downloads the companion binary from the release and verifies it againstSHA256SUMS, uploads the SARIF file to code scanning and the audit directory as an artifact, and fails the job only on the condition you choose (fail-on: gate | new | any | none).baseline-outwrites a baseline for a write-on-main, diff-on-pull-request pair. Seedocs/github-action.md. diligent-rs source scanreads.jsx,.tsx,.vue,.svelte,.astro,.twigand.liquidfiles as well as HTML, and every finding now carries a source line, a column and a byte offset when the file contains the element. Expressions, components and attribute spreads are opaque and turn a result intoneeds_review; a template with nohtmlorbodytag is treated as a fragment and skips document-level checks. SARIF results for these findings point at the file and line. Seedocs/source-pass.md.plugins/vite-plugin-diligent-srcis a Vite plugin that addsdata-diligent-src="<file>:<line>"to native elements in JSX, Vue, Svelte and Astro files during development, anddiligent-rs assessrecords the attribute as asource_refon the finding it belongs to. The plugin lives in the repository and is not part of the npm package.npm run shadow:rulescomparesdiligent rules validatein Node against the companion binary over 25 mutation cases and fails on any difference. CI runs it on every push.diligent-rs gateports the regulatory gate to the companion binary.npm run shadow:gateruns the Node gate and the binary over every gate fixture, including a real audit directory from a GitHub runner, with and without--json, and fails on any difference in exit code, output,ASSESSMENT.json,EVENTS.jsonlorRUN.json. The Node gate stays authoritative. Seedocs/rust-shadow-notes.md.
Changed
- 45 engine-informed rules were reviewed against their primary sources (clause locator, modality word, baseline id) and promoted from
researchtodraft; FED-12 and INFRA-12 stay atresearch. Four modality words changed (FED-05shall, FED-08must, FED-18must, FED-29should).review-packet.mjsgainedapply, andpromotenow refuses a rule whose clause locator is stillunatomized. Seedocs/review/2026-10-20-source-review-packet.md. - Authority A43 (OMB M-15-13) now points at the archived memo;
https.cio.govno longer resolves. - The gate's limitation sentence and the claim boundary no longer say Diligent runs no automated website checks; they say automated checks run only through the separately installed
diligent-rsbinary, in both the Node and native gates. diligent gateanddiligent rules validaterun thediligent-rsbinary when one reporting protocol 1 is present and fall back to the Node scripts otherwise;DILIGENT_ENGINE=nodeforces Node, anddiligent --version --jsonlists the delegated commands. Argument errors fromdiligent-rs gatenow carry thediligent:prefix to match Node.- Artifact and rules-data JSON parse errors no longer quote the JavaScript engine's message; they read
<file>: not valid JSONso the Node and native outputs match.
Diligent 0.2.0: engine preview
Engine preview: the first release with automated website checks. They run in a companion binary, diligent-rs, that you install separately. The Node package still runs no checks by itself. Every rule stays at the research lifecycle, so an automated result is evidence for a person to weigh, not a legal conclusion.
Added
diligent audit --url <https://host/>runs the whole chain against a live site: scope with the facts you supply, applicability, inventory, sampling, collection, assessment, network checks, gate and report. It requires the companion binary, never downloads it, limits network access to the origin you name, and exits with the gate's code.diligent audit --replay <replay.json>audits recorded captures offline with the real binary, with no Chrome and no network. The run records that it was a replay.- The
diligent-rscompanion binary is built in CI for macOS (Apple silicon and Intel) and Linux x86-64, with aSHA256SUMSfile. Windows is not built. Chrome or Chromium is needed for browser checks.docs/install.mdexplains downloading, verifying and placing it, and the Rust source is now in the public repository. diligent-rs checks list [--json]prints every browser check, signal, source check and network check the build knows, with the rules each informs.diligent-rs assessruns 28 deterministic checks over captured pages without a browser: 17 accessibility checks (contrast, focus, ARIA, labels in names, target size, reflow, text spacing, bypass blocks, table headers, element language) and 11 federal public web checks (official-website banner, identifier and its links, search, Digital Analytics Program script, privacy and accessibility links, title and description, contact, language access, 320 px viewport). The matching cells indocs/supported-checks.mdmove fromunsupportedtoautomatedorassisted. Checks that inform pending standards never fail.diligent-rs collectcaptures pages with headless Chrome at four viewports and four media modes, including lab Core Web Vitals and computed styles.diligent-rs infraruns network checks on an origin (HTTPS, certificate, HSTS, SPF, DMARC, disclosure files, robots.txt, sitemap, security headers, DAP script, privacy link,.govsuffix), anddiligent-rs source scanchecks static HTML.diligent-rs inventoryreads robots.txt and sitemaps, crawls same-origin links, clusters pages into templates, and writesINVENTORY.jsonandSAMPLE.json: a structured and a seeded random sample with the seed, coverage counts and remaining work. A sample never supports a whole-site conformance claim.- A content-addressed evidence store (
diligent-rs evidence ingest | verify | resume-plan) with an append-only index, reuse logs and tombstones.collectresumes interrupted runs and reuses earlier work only when its cache key and versions match and every object still re-hashes. - Optional axe-core corroboration (
--corroborate axe, off by default, vendored 4.14.0 under MPL-2.0). Agreement changes nothing. A disagreement moves the result toneeds_review, and violations the checks missed becomeneeds_reviewleads. Profiles gain an optionalcorroboration.browserlist. - Advisory signals in
SIGNALS.jsonl(30 signals): plain readings of text, type, spacing, colour margin, motion, form patterns and lab Core Web Vitals. Signals cite a practice source and a confidence, are never normative, and never change a result or the gate.diligent reportshows them in a new section 10, "Craft and clarity (not legal obligations)", and shows accessibility results under the three separate WCAG mappings. - Browser worker protocol 1.3.0 (additive over 1.0), which adds the axe-core and performance captures.
npm run release:gateruns every release check in order, including an end-to-end smoke against a local site and an offline replay of six recorded captures.scripts/review-packet.mjswrites a review packet per rule that any check informs and promotes reviewed rules todraft.
Changed
- The runtime manifest reports the Rust engine as a companion (
status: "companion") instead of a scaffold. docs/supported-checks.mdanddocs/known-limitations.mddescribe the Node package and the companion binary separately, and add rows for platforms, Chrome, replay, sampling and lab performance.
Install
Download the archive for your platform, verify it against SHA256SUMS, and put diligent-rs on your PATH (or set DILIGENT_RS_BIN). Chrome is required for the browser stages (DILIGENT_CHROME). The Node skill never downloads anything; see docs/install.md.