Repository navigation
PageLedger 0.2.0 — Close the route gap
PageLedger can now produce the route maps it already knew how to execute.
Added
- Structural page classification:
pageledger classifyprobes inputs or
reuses retained evidence from a complete run and emits a route map that can
execute unchanged throughpageledger run --routes. The dependency-free
classifier distinguishesblank,sparse,prose,table_likely, and
unknown, records every signal and decision in an evidence sidecar, and
supports importable classifier hooks for domain taxonomies. - Generation-indexed adapter escalation:
run.adapter_orderselects one
adapter and option set per original/rerun generation. Manifests record the
planned chain and current step; exhausted chains leave pending pages in the
human review queue. - Budget alerts and grouped cost evidence: capless
warn_pages,
warn_tokens, andwarn_usdthresholds record one first-crossing alert per
unit.cost.jsoncan now group extracted-page usage and resolved cost by
adapter and routed page type.
Compatibility
- The package version is 0.2.0, while every artifact and config contract keeps
schema_version: "0.1". Manifest escalation fields and cost alerts/rollups
are additive and optional; existing 0.1 artifacts remain valid. - Core still depends only on PyYAML. The classifier adds no bundled model,
computer-vision runtime, provider SDK, pricing catalog, or domain taxonomy.
Install
pip install -U pageledgerSee the classifier guide for the classify-review-run workflow.