Propose tightening the lab 4 attachment boundaries as an openspec change

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
This commit is contained in:
Artyom
2026-10-30 08:41:27 +03:00
co-authored by Claude Opus 5.5
parent c8cb263c77
commit 96e934ed8f
7 changed files with 250 additions and 0 deletions
@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-10-30