Pure Kotlin ports of the web/TUI SIDEBAR.md logic for the Android sidebar: duration floor-format, program-name extraction (env/sudo/env wrappers, npx/pnpm/yarn dlx, path), diff-stat notation, and name/name_source/provisional-name reads. Covered by unit tests so they run without an Android SDK.