PCResolve 1.0.4 makes the v2 lexical scope model the default and resets the public JSON output contract around full provenance.
Highlights
- v2 is now the default scope model across the public API, analyzer classes, and CLI.
--jsonnow emits the full provenance schema.--json-summaryprovides a compact summary profile for CI and lightweight consumers.- Added structured provenance, library usage aggregation, decorator provenance, call-site/source IR, diagnostics, and classification helpers.
- Expanded validation with golden output tests, AST compatibility tests, scope tests, classification boundary tests, and 42 real-project fixtures.
- Added v1/v2 differential tooling with hard baseline gates for 21 real-project baselines.
- Refreshed README and docs for the 1.0.4 contract, architecture, source semantics, trace contract, and validation workflow.
- Hardened audit/gate tooling for Windows compatibility, Unicode-safe output, nested baseline paths, and non-zero failure exits.
Package
PyPI: https://pypi.org/project/pcresolve/1.0.4/
Validation
python -m pytest tests/ -q: 557 passed, 41 warningspython scripts/diff_v1_v2.py tests/fixtures/tested_projects: 21 hard baselines OK, 0 EXCEEDED, 0 illegal keys