plans: Astra round 2 findings on media conversion plans, unedited
One P1 (endpoint proof, F1 family), three P2. Stopping rule 2 for F1 and F12; Paul took Opus's picks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+58
−0
docs/superpowers/plans/CODEX-FINDINGS-MEDIA-PLANS-R2.md+58 −0
Intent
Human
<task-notification> <task-id>b1fcwxghw</task-id> <tool-use-id>toolu_018Awgg9pnvsm4sMhjCY8Pho</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/8509ad95-d983-414c-9679-b3ef222618ef/tasks/b1fcwxghw.output</output-file> <status>completed</status> <summary>Background command "Run Astra plan review round 2" completed (exit code 0)</summary> </task-notification>
diff --git a/docs/superpowers/plans/CODEX-FINDINGS-MEDIA-PLANS-R2.md b/docs/superpowers/plans/CODEX-FINDINGS-MEDIA-PLANS-R2.md| new file mode 100644 |
| index 000000000..908d0e9c4 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-FINDINGS-MEDIA-PLANS-R2.md |
| @@ -0,0 +1,58 @@ |
| +Round 2 of 3, reviewing `b44b1aa2` against approved spec revision 8. No files changed. |
| + |
| +| Round-1 finding | Status | |
| +|---|---| |
| +| F1 Endpoint isolation and activation ordering | Partly resolved: ordering fixed; endpoint proof remains incomplete below. | |
| +| F2 Expiry drill | Resolved through the separate diagnostic configuration. | |
| +| F3 Bucket provenance | Resolved through proven creation and conservative verification. | |
| +| F4 Foreign upload configuration | Resolved through inspection before each update. | |
| +| F5 Dispatch revision validation | Resolved, including the restart witness. | |
| +| F6 Untrusted durations | Bounds resolved; the fix introduces a separate billing deviation below. | |
| +| F7 Transition guards | Resolved through transition-specific predicates and retirement witness. | |
| +| F8 Presigned-query preservation | Resolved, including reconstructed-URL tests. | |
| +| F9 Scratch ownership and paths | Resolved. | |
| +| F10 Fragmentation and trailer handling | Resolved through corrected arguments and real fixtures. | |
| +| F11 Incorrect expected values | Resolved. | |
| +| F12 Host-claim exclusion | Unresolved; still awaiting a ruling. | |
| +| F13 Credential-variable checks | Resolved. | |
| +| F14 Missing-source classification | Resolved through the console’s listing authority. | |
| +| F15 Oversized results | Resolved through terminal settlement and cleanup. | |
| +| F16 Termination reviews | Resolved. | |
| + |
| +1. **P1 — Plans 1 and 3: the endpoint drill still cannot independently prove every endpoint’s refusal.** |
| + **Invariant: foreign credentials cannot use any of the four endpoints.** |
| + **Evidence:** [Plan 1, Task 4 Step 3](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-1-spike.md:67), [Plan 3, Task 7](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-3-engine.md:163), and [rollout R3](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-3-engine.md:312). |
| + |
| + The drill supplies an access key and secret, expects `GetAuthorizationToken` to fail, and then requires an authenticated Docker manifest HEAD. ECR’s Docker API requires a token obtained through that API; no pre-minted token is supplied. An implementation obtaining the token inside the task therefore never independently exercises Docker authorization. See [https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html). |
| + |
| + The drill also requires S3’s error to name the endpoint policy. AWS documents generic errors for unrelated-account requests and excludes endpoint-policy denials from enhanced same-organization errors. A correctly restricted endpoint can therefore fail this gate. See [https://docs.aws.amazon.com/AmazonS3/latest/userguide/troubleshoot-403-errors.html](https://docs.aws.amazon.com/AmazonS3/latest/userguide/troubleshoot-403-errors.html). |
| + |
| + **Smallest fix:** mint the foreign principal’s registry token outside the VPC and explicitly pass it into the diagnostic task. Prove each endpoint with the same authenticated request under restrictive and temporarily permissive endpoint policies, then restore and retest. Plan 3 needs that scoped control too. Establish causality through those controls, without requiring policy-specific error text. |
| + |
| +2. **P2 — Plan 2, Tasks 1 and 2: the duration fix changes the approved charging policy.** |
| + **Invariant: successful jobs consume allowance according to the approved source-duration rule.** |
| + **Evidence:** [Global Constraints](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:25), [metering](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:330), and [the new test](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:342). |
| + |
| + The new formula charges a successful two-minute video nine minutes when conversion takes nine minutes. [Spec §7.3](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/specs/2026-11-16-video-conversion-design.md:715) requires two weighted source minutes. This affects honest jobs too. “Told to Paul” does not record an amendment to the fixed spec. |
| + |
| + **Smallest fix:** retain the duration bounds and hostile-result tests, restore `w × source_ms` for successful jobs, and adjust the new witnesses accordingly. A runtime floor requires a separate approved spec amendment. |
| + |
| +3. **P2 — Plan 2, Tasks 5 and 9: the host-claim exception remains unresolved.** |
| + **Invariant: honour the approved eligibility scope.** |
| + **Evidence:** [Global Constraints](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:26), [submission checks](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:406), and [uploads checks](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-2-console.md:487). |
| + |
| + Dedicated copy explains the refusal but does not close F12. The plan explicitly says Paul still has to rule, while its implementation tasks prescribe the exception. |
| + |
| + **Smallest fix:** specify claim-compatible table, route and worker gates. If the exception is retained, mark implementation blocked on an explicit spec amendment. |
| + |
| +4. **P2 — Plan 1, Task 8: cleanup omits the newly added foreign-account log group.** |
| + **Invariant: every temporary resource is removed within the approved experiment’s duration.** |
| + **Evidence:** [Task 1 Step 4](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-1-spike.md:40) adds that group; [Task 8 Step 4](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-video-conversion/docs/superpowers/plans/2026-11-16-media-conversion-plan-1-spike.md:114) removes the foreign user and key but gives no deletion or verification for the group. |
| + |
| + **Smallest fix:** explicitly delete the named log group and verify its absence in the foreign account. |
| + |
| +F1 and F12 have persisted across two rounds in their respective fault families. Stopping rule 2 applies: do not begin another incremental fix cycle. For F1, the available cuts are to keep activation refused with an operator report, cut conversion, or consolidate the endpoint proof into one shared drill with independent controls. I recommend the shared drill, with activation remaining blocked. F12 needs the eligibility decision settled before implementation. |
| + |
| +**Plan 1: revise.** |
| +**Plan 2: revise — P2 fixes without another review round.** |
| +**Plan 3: revise.** |
| \ No newline at end of file |