What is this? OPlague is a careful inspector for information about computer devices and driver packages. It reads details and helps compare labels; it is not a repair tool.
How do I use it? Start with Requirements and quick start above. Use only files you chose yourself, and ask a grown-up or maintainer before running a command.
Quick start · Feature matrix · UDRV format · OPL language · Architecture · Security
Feature overview · UDRV format · Architecture · Engineering governance · Security policy
English · Українська · Русский · 简体中文
OPlague is a local device-and-driver evidence workbench for people who want a clearer view of the hardware beneath their system. It brings read-only device inventory, bounded driver-package inspection, hardware-ID matching and source-attributed telemetry into one focused workspace.
- Inventory devices. Read Windows Plug-and-Play identifiers, status and manufacturer metadata without changing device configuration.
- Inspect packages offline. Analyze INF, ZIP and UDRV metadata with explicit limits on paths, entries, sizes and compression.
- Compare hardware IDs. Build exact-match candidate relationships. A match is a lead for review—not a compatibility certificate.
- Preserve evidence. Produce ordered reports, versioned device snapshots and deterministic content fingerprints.
- Build an evidence case. The local CLI appends source-attributed JSON records to a sequence/hash-linked case file; this is tamper-evident, not a digital signature.
- Keep telemetry attributable. Retain source information for supported GPU readings; unavailable values remain unknown.
- Automate repeatable audits. OPL, the OPlague Language, expresses typed inspection workflows for INF, UDRV, PE, SYS drivers, DLLs and JSON/INI configurations.
- Work across platforms. Offline file and report workflows run on Windows, Linux and macOS. Live Plug-and-Play inventory is Windows-only.
| Area | Status | Boundary |
|---|---|---|
| Read-only device inventory, bounded package inspection, reports, candidate graph and telemetry snapshots | DONE |
Inspection and evidence collection only |
| OPL v1 language | PARTIAL |
Lexer, parser, typed IR, static PE symbol inspection and bounded read-only host runtime; no driver/DLL loading or mutation |
| Optional native diagnostics integration | PARTIAL |
Opt-in integration component; not a complete application-stack migration |
| Driver installation, removal, modification or payload execution | Out of scope | OPlague does not perform these actions |
| Compatibility certification | Not provided | Exact ID matches are candidates, not approval |
The workbench exposes a typed, read-only project quality profile covering specialization, interaction policy, numerical contracts, canonical naming, evidence-backed claims and explicitly unmeasured recognition.
- Device inventory. Read Windows Plug-and-Play information without changing device configuration.
- Package inspection. Examine INF, ZIP and UDRV metadata under explicit limits for entries, paths, sizes and compression.
- Hardware-ID analysis. Normalize identifiers and create exact-match candidate links without pretending that a match certifies compatibility.
- Local evidence reports. Produce ordered inspection records, versioned JSON snapshots and deterministic report digests.
- Rollback readiness evidence. Compare archived package bytes with a baseline snapshot; report missing or changed hashes without installing or restoring drivers.
- Telemetry with provenance. Preserve source information for supported GPU telemetry; unavailable measurements remain unknown instead of being invented.
- Cross-platform offline workflows. Inspect supported files and reports on Windows, Linux and macOS; live Plug-and-Play inventory is Windows-only.
- Native extensions. Use optional integration components only through explicit, trusted library selection.
OPlague is an inspection workbench—not a driver updater, installer or compatibility oracle. It does not install, remove, enable, unload or modify drivers. It does not execute package payloads, extract imported driver archives or turn a metadata match into a safety certification.
Imported files are untrusted. Parsers enforce resource limits; hashes help identify content changes but are not publisher signatures. Every candidate remains evidence to review, not an instruction to apply.
Requirements: Python 3.10+ for the current tools. Windows is required for live device inventory; supported offline file and report workflows can run on other platforms.
python oplague_app.pyInspect a selected UDRV package:
python tools/udrv_inspector.py path/to/package.udrv --jsonThe inspector validates the manifest, declared file inventory, sizes, hashes and path/resource constraints. It does not install, load, extract or execute package contents.
Create and verify local case ledgers with python tools/evidence_case.py create|append|verify; see the Evidence Case v1 guide.
Validate and run the OPL configuration example:
python -m oplague.lang check examples/config-audit.opl
python -m oplague.lang run examples/config-audit.oplOPL also statically inspects PE/DLL imports and exports. It never loads or executes the inspected binary. See the OPL v1 language reference.
python -m tools.rollback_evidence --snapshot path/to/before-change.snapshot.json --package archive/previous-driver.udrv- Imported files are untrusted and are processed under parser/resource limits.
- OPL programs are declarative; their only built-in capabilities are bounded local inspection, typed requirements and report generation.
- Package payloads are not installed, loaded, extracted or executed.
- Device inventory is read-only; OPlague does not enable, disable, remove or reconfigure devices.
- Candidate matches and telemetry are evidence to review, not instructions to apply.
- Hashes identify bytes; publisher signatures require their own verification and trust policy.
Feature matrix · Architecture · Information architecture · UDRV format · Device compatibility graph · GPU telemetry bridge · Documentation index
For integration boundaries and release handling, see federated integration, release distribution and SECURITY.md.
Run the same offline unit and parser suite used by CI:
python -m unittest discover -s tests -vThe proposed declarative OPQ inspection-plan language and workbench are described in INSPECTION_LANGUAGE_AND_WORKBENCH.md. OPQ is a design proposal, not an implemented feature.
Read CONTRIBUTING.md before changing parsers, schemas, matching or telemetry. Report vulnerabilities through SECURITY.md. OPlague is distributed under the Apache-2.0 License.
Inspect locally. Preserve provenance. Bound every parser. Separate candidates from conclusions. Keep every device-changing action outside the inspection path.
Read CONTRIBUTING.md before changing parsers, schemas, matching or telemetry. OPlague is distributed under the Apache-2.0 License; retain third-party notices and attribution.