Automate XL-Vask invoice-period resolution (#340)

Deploy the revision-aware XL-Vask import and guarded autopilot infrastructure. Automatic actions remain fail-closed pending production readiness, calibration, dry-run, and canary gates.
This commit is contained in:
Jeppe B
2026-08-03 15:33:55 +02:00
committed by GitHub
parent 0b304a2203
commit 6d888a455d
17 changed files with 3637 additions and 223 deletions
+15
View File
@@ -150,6 +150,12 @@ $cron_tasks = [
'next_run' => 0,
'function' => 'SyncXLVaskModuleCron',
],
'ProcessXLVaskAutopilotQueueCron' => [
'interval' => 60,
'last_run' => 0,
'next_run' => 0,
'function' => 'ProcessXLVaskAutopilotQueueCron',
],
'SystemSearchCacheMaintenanceCron' => [
'interval' => 300, // 5 minutes
'last_run' => 0,
@@ -656,6 +662,15 @@ function SyncXLVaskModuleCron(): void
}
}
function ProcessXLVaskAutopilotQueueCron(): array
{
$xlvask = new xlvask();
if (!$xlvask->config->enabled->isTrue()) {
return [];
}
return $xlvask->getTasks()->processAutopilotQueue(3);
}
function EconomicTransferQueueCron(): void
{
try {