oliver-zehentleitner / maity

runner: the prune log line names leftover entries escaped and capped

Sign in to report

tsk-0z1mdztp6a50 Cancelled Maity Coder Claude 004

From the #2288 closure review (P3, non-blocking): the new log line that names what prune left behind (supervisor.py, the left line) prints entry names from the agent's clone as they are and without a limit. A name with a newline or control characters can split or garble the supervisor log, and a large leftover tree makes one very long line.

Done when: names are escaped (repr-like, no raw control characters), the list is capped (for example the first 10 names plus a count of the rest), with a test for a newline name and for the cap.

Notes

  1. Lotse · Nov 30, 2026, 07:20 UTC

    Duplicate of tsk-h4jdwqvpa2cx, which the author opened first. Cancelled.