It unsets every caller AWS_* variable (keeping only where the profile's
files are, now documented), sets AWS_PROFILE explicitly, attempts the ECR
delete in the EXIT trap unconditionally (RepositoryNotFound tolerated,
bounded at 120 s), and exits 130/143 on INT/TERM (M21).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review round 1 of Task 9:
- the phase-5 body runs under a 45-minute timeout and each exec under
180 s, so a hang becomes a panic the guard catches; the body future is
boxed (moved into the timeout it overflowed the test thread's stack,
which aborts without any guard);
- scripts/aws-e2e-workspace.sh builds and pushes the image to a throwaway
ECR repository, runs the test and deletes the repository in an exit
trap; the test's guard deletes it too (TRIPLEC_E2E_ECR_REPO);
- the guard survives a poisoned lock, closes the tunnel and restores
AWS_CONFIG_FILE;
- new live probe: a bare elasticfilesystem:TagResource on the user's own
file system is denied; README records it and the final run (R8 removal
end state), and the admin command uses xargs -r.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>