Repository navigation
pi-fold 4.2.2
pi-fold 4.2.2
Use Pi's getContextUsage() directly for the live fold-bar reading, refreshed on every render. Aim and commit markers use the same full-window scale; serving-budget trigger timing is unchanged.
Unknown Pi usage stays unmeasured, including after native compaction. The widget-less status fallback uses the same source, and detailed status/editor views explicitly label their separate serving headroom as Budget.
Document the default folding allowance without claiming it is a measured provider output reservation. Correct the README's token diagram and refresh the renderer-backed bar illustrations. No new options, provider ceilings, saved formats or research findings.
Validation: clean install, lint, 72 runtime gates (9,307 assertions), 118 experiment gates, authentic sealed-corpus re-extraction with unchanged findings, README/DOI checks and the exact 24-file package allowlist. New gate 177 pins direct host usage, render-time refresh, unknown states, coordinate conversion and unchanged trigger behavior.