A start stores the task ARN when RunTask returns (or the task is found), reconcile finds an unrecorded live task, and a failed attach leaves the project in Error rather than hiding a running task. The winner of a start race puts its agent token back in the secret. A background re-attach registers only if the project still runs that task and was not stopped meanwhile. Removing a project whose connection is gone needs explicit confirmation. Names come from tofu_modules; files are read with a hard cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>