// Shared in-process state for the background ticket analysis runner. // Works because we run in Docker (long-lived Node process), not serverless. export const analysisState = { isRunning: false, total: 0, done: 0, errors: 0, startedAt: null as Date | null, };