Repository navigation
opencaselaw-cli 0.8.0
The court-grade offline draft check.
ocl checknow also checks the statutes a draft cites (Art. 8 Abs. 1 ZGB, art. 335 al. 1 CO, § 12 StG/ZH): act known, article present, quotation against the article text. Online today; offline oncestatutes.sqlitesits next to the pack.- The report says what was established and no more: "exists" and "passage retrieved" instead of "verified"; the scope statement stands above the results; a quotation that could not be compared is "not checked", never "not found"; "not in the corpus" is qualified by what the corpus holds for the court named; citation-like strings that were not checked are listed. Report in de, fr, it or en (
--language). - Offline mode is safe on the thread pool (0.7.0 could crash at the default
--jobs 4),--localis a plain switch with--pack PATH,ocl --local doctorreports the pack, and pack failures become row errors. ocl pack pullresumes an interrupted download, verifies the gzip against the published.sha256sidecar before installing (fail-closed;--insecureoverrides), records the verification forocl pack verify, and refuses packs newer than the client reads.- Windows: pack directory
%LOCALAPPDATA%\ocl; paths with spaces,%or#work; an Inno Setup installer around the PSF-signed embeddable runtime is built byinstaller-cli.yml(assets follow once the smoke test passes on the runner).
Install or update:
pipx install --force opencaselaw-cli
uv tool install --force opencaselaw-cli
Note: the first weekly verification pack is expected with the Sunday 2026-09-13 build; until it carries a .sha256 sidecar, ocl pack pull needs --insecure.