v0.3.0 — cost accountability + LLM call audit trail (#7)

Per-call recording of cost and I/O for every LLM probe. New tables prv_call_meta (schema v3) and prv_call_io. New admin pages: Costs (spend drill-down vs $5 cap) and Call Log (paginated + detail drawer). 90-day I/O retention prune via prv_daily_prune cron. P0 security: key never stored; gateway client exposes HTTP status only.

QA APPROVED 2026-06-15 SHA 09dc6db9ce
This commit is contained in:
peptiderepo
2026-06-15 17:07:08 +07:00
committed by GitHub
parent 2f4c1b2c72
commit 2e2c72cac6
37 changed files with 3246 additions and 325 deletions

View File

@@ -17,6 +17,7 @@ declare(strict_types=1);
* Dependencies: PRV_Cron.
*
* @see class-prv-cron.php — Cron registration + clearing.
* @see class-prv-prune-cron.php — Daily prune cron clear (v0.3.0).
* @see uninstall.php — Full data purge on uninstall.
* @package PrVision
*/
@@ -31,5 +32,7 @@ class PRV_Deactivator {
*/
public static function deactivate(): void {
PRV_Cron::clear_schedule();
// v0.3.0: clear the daily prune event.
PRV_Prune_Cron::clear_schedule();
}
}