fix(config-audit): persist config audit log to SQLite with retention (#11103)

Validated on the combined batch board over release/v3.8.50 tip d91238b7: static gates clean, typecheck:core clean, focused tests green.

Config-audit survives restarts with bounded growth (migration 161 + OR IGNORE seed, retention wired into runAutoCleanup); route cabling deliberately out of scope. Thank you @maxmad64bis!
This commit is contained in:
Dizzle
2026-08-22 19:40:09 +02:00
committed by GitHub
parent f3b190ba3e
commit 84c9dfdd2c
8 changed files with 265 additions and 30 deletions

View File

@@ -44,6 +44,7 @@ export interface DatabaseSettings {
quotaSnapshots: number;
compressionAnalytics: number;
mcpAudit: number;
configAudit: number;
a2aEvents: number;
callLogs: number;
usageHistory: number;
@@ -114,6 +115,7 @@ export const DEFAULT_DATABASE_SETTINGS: Omit<DatabaseSettings, "location" | "sta
quotaSnapshots: 7,
compressionAnalytics: 30,
mcpAudit: 30,
configAudit: 30,
a2aEvents: 30,
callLogs: 30,
usageHistory: 30,