This release is a pre-release and may not be stable for production use.
AI-assisted scanner that supports long-horizon time assurance by identifying potential issues in standards and technical documentation.
pip install time-assurance-doc-scanner Copy PIP instructions
Open-source, AI-assisted documentation scanner (tads) that supports long-horizon time assurance by identifying potential defects, implicit assumptions, missing evidence, and related inconsistencies in standards and technical documentation.
"Assurance" here means systematically identifying and documenting potential time-related risks and evidence for human review. TADS contributes to that process; it does not guarantee that all such issues have been found, and it cannot prove a document, protocol, implementation, or system free of long-horizon time defects.
This repository contains the open-source scanner engine and CLI. It is the documentation-scanning sibling of time_assurance_code_scanner (tacs).
New here? Follow QUICK_START.md — install through a first scan in about 15 minutes (offline mock path, then optional real LLM).
Release candidate (package 0.6.0rc4) with Phase 2 corpus support: Tier-1 adapters for IETF, ETSI, and 3GPP; a generic analysis profile for unidentified plan / scan documents; remote fetch for W3C, ECMA, OASIS, and NIST; local-file stubs for ITU-T, IEEE, and ISO/IEC. The everyday workflow is fetch → plan → scan → human review → render. See CHANGELOG.md for changes since 0.5.1.
Default LLM: Ollama Cloud (gpt-oss:120b when OLLAMA_HOST is unset). BYOLLM also supports local Ollama, OpenAI, Anthropic, Gemini, and an offline mock provider.
Processing is ephemeral by default: the tool does not keep a private document store. That does not mean “never leaves your machine.”
TADS is an AI-assisted review aid, not an authoritative standards or compliance oracle.
TADS is not a completeness checker. A clean scan does not establish that a document is free of Y2036, Y2038, Y2106, or other long-horizon time risks or assurance gaps. Detection depends on the current taxonomy, extracted content, corpus parsing, analysis coverage and caps, prompt framework, and the selected model and provider.
In TADS reports, assurance status describes the evidence and review state of an individual candidate. It is not an assurance rating or safety verdict for the analyzed document, protocol, implementation, or system. Outputs begin as candidates for review, not confirmed defects.
python3 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e ".[dev]" # Optional PDF conversion (PyMuPDF): pip install -e ".[pdf]" # Offline plumbing (no API key) — fetch needs network once: tads fetch RFC5905 tads scan inputs/RFC5905.txt --doc-id RFC5905 --provider mock \ --max-sections 2 --force-sections --overwrite -y Then open outputs/RFC5905.md. For a real LLM scan and provider .env setup, use QUICK_START.md.
Default install covers plain text, HTML, and .docx. PDF conversion needs the optional [pdf] extra (third-party PyMuPDF; see License).
Reading reports: Markdown shows primary candidates for review; JSON is canonical (all candidates, dispositions, evidence, provenance). Edit dispositions in JSON, then tads render outputs/RFC5905.json -f.
--save-raw-on-error is off by default. If you enable it, TADS may write a .raw.txt troubleshooting file beside the JSON report. That file can contain complete model output and document excerpts, is capped at 256 KiB, is sensitive as a whole, and is not field-sanitized. Use it only for debugging parse failures.
Historical / design (optional): docs/phase0.md (completed Phase 0 record), docs/fetch_tier2_plan.md (completed Tier-2 fetch plan), docs/candidate_kind.md (design note, not implemented), docs/rfc5905_provider_compare.md (bake-off notes), eval/corpus/README.md (bootstrap eval labels), scripts/README.md (optional 12-doc bench harness).
See CONTRIBUTING.md for development setup and PR expectations. To report a vulnerability, use SECURITY.md (not a public issue).
Licensed under the Apache License, Version 2.0.
Optional PDF support (pip install "time-assurance-doc-scanner[pdf]") pulls in PyMuPDF, which is dual-licensed under AGPL-3.0 or an Artifex commercial license. Review PyMuPDF/Artifex terms if you enable that extra. TADS itself remains Apache-2.0.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




