Severity: medium
Location: engine/scout/hooks/connector_log.py
Type: disk usage
What
connector-calls-YYYY-MM-DD.jsonl rotates by date but has no per-day size cap and no historical cleanup. Long-lived sessions in CI/automation can produce huge files.
Why it matters
Disk fill risk over time; no pruning of older days.
Suggested fix
Add an optional max-bytes cap (drop or rotate on overflow) and a configurable retention window (delete files older than N days at the start of each day).
From engine audit, 2026-05-24.
Severity: medium
Location:
engine/scout/hooks/connector_log.pyType: disk usage
What
connector-calls-YYYY-MM-DD.jsonlrotates by date but has no per-day size cap and no historical cleanup. Long-lived sessions in CI/automation can produce huge files.Why it matters
Disk fill risk over time; no pruning of older days.
Suggested fix
Add an optional max-bytes cap (drop or rotate on overflow) and a configurable retention window (delete files older than N days at the start of each day).
From engine audit, 2026-05-24.