forked from mtusi2026/mtusi2026lab4
The review of lab 4 found four gaps at the attachment boundaries: an anonymous upload with a too large Content-Length got 413 before 401, the single request deadline cut slow but steady uploads and downloads, the API S3 key could list the bucket and run multipart actions, and the one-off services ran as root or as PID 1 without an init process. The change checks the token first, paces the request deadline by the bytes moved, splits the S3 keys of the API and of the reconciler and runs the one-off services as non-root with an init process. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27