Worker
Executes requested hledger jobs and background query-history cleanup. It shares the web app's configuration and private queue, but runs as a separate process. Startup does not request financial preparation.
src/index.ts handles command-line options, signals, and exit reporting.
src/worker-service.ts owns the worker loop, health server, and queue connection,
including cleanup after a partial startup.
See development and operations for startup, inspection and data-preservation guidance.