Skip to content

PageLedger 0.3.0a1 — auditable local escalation

Pre-release
Pre-release

Choose a tag to compare

@peterbussch peterbussch released this 17 Aug 02:59
· 363 commits to main since this release
fd1c1da

PageLedger 0.3.0a1 — auditable local escalation

This alpha release hardens PageLedger's evidence boundary and adds a functional
machine-level Docling adapter example without pulling Docling's ML stack into
the dependency-light core.

Highlights

  • Adds examples/docling_adapter.py for document-batched standard Docling and
    page-scoped local-VLM escalation. Pipeline, model preset, version, batch mode,
    and adapter-native warnings are retained in provenance.
  • Detects joined/run-on Latin hidden text so corrupted PDF text layers no
    longer silently receive an A signals grade.
  • Adds SHA-256 identities for raw extraction artifacts and records effective
    parser, OCR, renderer, and PageLedger runtime identities.
  • Fails closed on adapter-controlled diagnostics, malformed or escaping ledger
    paths, rerun source drift, missing raw hashes, and audit-render divergence.
  • Makes cross-run directional comparisons require matching effective extractor,
    options, PageLedger version, grading policy, evidence basis, and schema
    identity.
  • Keeps local-VLM output explicitly uncalibrated and routed to human review.

Compatibility

  • Artifact schema version remains 0.1; new fields are additive and optional
    for older artifacts.
  • Verification is intentionally stricter for raw-file integrity, lineage/source
    drift, malformed evidence, and paths that escape a run directory.
  • Core still depends only on PyYAML. Docling remains an optional machine tool;
    PDF text support remains behind the pdf extra.

Release verification

  • Reviewed source: merge commit
    fd1c1da,
    tree-identical to reviewed PR head 75ab36f.
  • PR #2 merged after three
    independent final audits found no Critical, Important, or Minor release
    blocker.
  • Main CI:
    13/13 jobs passed across Python 3.10–3.14, dependency-light and PDF-enabled
    installs, Ruff, mypy, package smoke tests, and frozen-lock recreation.
  • Verify-only release run
    passed before production.
  • Production release run
    rebuilt, tested, retained, and published the inspected artifacts through
    PyPI trusted publishing with digital attestations.
  • The exact production wheel was installed in a fresh Python 3.14 environment;
    it reported pageledger 0.3.0a1, completed a real run, and passed
    verify-run.
  • Archive inventories contain 33 wheel entries and 87 sdist entries. No PDFs,
    dogfood runs, planning state, brand source material, credentials, or
    machine-local research artifacts are included.

Production SHA-256

030f6184fd26e1938c6a0887c9fdd8ecf8da68907f72497e55be5192ede37a8d  pageledger-0.3.0a1-py3-none-any.whl
b8815ae1183b9476a8717c03207effaad0594e3af620309a991da88f170dd318  pageledger-0.3.0a1.tar.gz

Install the alpha explicitly with:

pip install "pageledger==0.3.0a1"

Full change details are in the
CHANGELOG.