carlos / platform Public

docs: media conversion follow-ups from the branch review, round 1

The P3 findings, one line each with file:line evidence; none starts a
review round.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 6018d09c3fe3508e5b6817633b1aaf0dfc2bd5e6 parent d293f2b
1 file changed, +12 −0
  • docs/superpowers/notes/media-conversion-followups.md +12 −0
diff --git a/docs/superpowers/notes/media-conversion-followups.md b/docs/superpowers/notes/media-conversion-followups.md
new file mode 100644
index 000000000..5e9d9fc34
--- /dev/null
+++ b/docs/superpowers/notes/media-conversion-followups.md
@@ -0,0 +1,12 @@
+# Media conversion: follow-ups
+
+P3 findings from the whole-branch review, round 1 (2026-11-19). None
+starts a review round; each is a later change.
+
+- Multipart actions (`s3:AbortMultipartUpload`, `s3:ListMultipartUploadParts`) reach every store's policy on a re-walk, even with conversion off: `internal/objstore/aws.go:209`.
+- A source deleted after submission reads as possibly infected: a 403 before the grant's expiry is `source_unreadable`, and S3 answers 403, not 404, to a GET of a missing key without `s3:ListBucket`: `internal/mediahandler/download.go:305-309`.
+- Nothing checks that the deployment (results) bucket is in the engine's region; the module only holds `region` to `store_region`: `infra/modules/media-engine/main.tf:34`.
+- The first staleness check in `launch` compares the pass's own `now` with a `dispatched_at` stamped from that same `now`, so it never fires inside one pass; use a fresh reading there: `internal/mediajobs/dispatch.go:330`. (Round 1's no-task window rests on the grant expiry check after it, `dispatch.go:347`, which reads the cloud's clock.)
+- Warn at boot when an engine is set and the default plan's `media_minutes_month` is 0, which means no limit: `cmd/console/media.go:216` (`mediaConfig`), `internal/console/mediawire.go:229` (`mediaAllowance`).
+- The refusal gate does not check the codec container's environment, so a hand-registered revision could set `CARLOS_MEDIA_FFMPEG` (Task 13): `internal/media/gate.go:109`.
+- Remove `managed_fleets_inline_retired` once every root has retired the inline copy: `infra/modules/region-host/variables.tf:504`.