v0.7.2
TL;DR
Three commits since v0.7.1: pipelined analysis and LLM verdicts, AUR RPC caching with configurable TTL, new CLI commands (list, status, db check/vacuum/backup), database durability improvements, and a progress-bar indentation fix.
Added
- Pipelined analysis and LLM verdicts.
_analyze_outdated_batch()now runs analysis and LLM calls in the same worker thread, overlapping across the pool. Wall time for batch reviews is cut by roughly 2x when the LLM is the bottleneck. - AUR RPC response cache. Version lookups are cached in the local database. Configurable via
cache_ttl_minutesin[discovery](default 60). Repeat reviews skip the AUR server for packages that have not expired. - New CLI commands.
trustsight listshows all tracked packages;trustsight statusshows database health statistics;trustsight db check|vacuum|backupfor database maintenance. inspect --verboseflag. Shows the triggered rules and score breakdown, matching the detail level available in the review table.- Database durability.
PRAGMA busy_timeout=5000prevents lock-contention crashes when multiple processes access the database concurrently.
Fixed
- Progress-bar phase transition. The rich progress bar now correctly resets to indeterminate mode after prefetch completes, displaying elapsed time without resetting the counter.
_run_analysis_loop()output indentation. The rich-table and plain-text branches were dead code inside theif json_outputreturn and never rendered for terminal output.
Changed
_analyze_outdated_batch()restructured withThreadPoolExecutorpipelining. Each worker thread handles one full package (analysis plus verdict) instead of the previous two-phase approach._verdict_for()extracted as a module-level helper. Shared by both the batch-review path and the inspect command.- Progress bar uses indeterminate phase during LLM verdict generation. The phase transition sends a sentinel value that switches the bar to spinner mode while keeping elapsed time visible.
Stats
- 3 commits since v0.7.1
- 739 tests (22 files), all passing
- Package version 0.7.2