8a889050ab
Problems: - Sidecar manifest files were being treated as ingest targets, causing premature deletion. - Ignored/temporary ingest artifacts could be deleted too early when readiness checks timed out. - Stale temp cleanup was hardcoded, not user-configurable, and required restarts to change behavior. Solutions: - Filtered manifest files in the ingest watcher and added processor guards to skip them. - Added skip-delete handling for ignored/temporary files on readiness timeout to preserve artifacts. Implemented robust stale temp cleanup with age and interval settings. - Persisted cleanup settings in the CWA database with sane defaults and validation. - Exposed new cleanup controls in the settings UI and made the ingest service read live values from the database instead of environment variables. Other changes: - Centralized integer parsing and defaulting logic for the new settings. - Added clear UI descriptions and bounds for the new cleanup options. - Improved observability with explicit log messages for skip-delete behavior and cleanup timing.