On the OpenShell runtime each task's model keys are registered as gateway providers when the task starts and deleted when it ends. If archied stops between the two (crash, kill, host restart), those providers stay on the gateway with real keys in them. Nothing removes them: the boot sweep removes only sandboxes.
Wanted
Mark the providers archie creates as this instance's, and delete leftovers at boot alongside the sandbox sweep.
Done when
After archied is killed mid-task and restarted, no provider it created for that task remains on the gateway.
## Problem
On the OpenShell runtime each task's model keys are registered as gateway providers when the task starts and deleted when it ends. If archied stops between the two (crash, kill, host restart), those providers stay on the gateway with real keys in them. Nothing removes them: the boot sweep removes only sandboxes.
## Wanted
Mark the providers archie creates as this instance's, and delete leftovers at boot alongside the sandbox sweep.
## Done when
After archied is killed mid-task and restarted, no provider it created for that task remains on the gateway.
sam
added the bughigh labels 2026-11-13 16:34:39 +00:00
Verified live: after several archied restarts under the OpenShell runtime, the gateway lists no providers, so the boot sweep leaves no keys behind. Sweep covered by TestOpenShellModelEgressSweepsOnlyItsOwnLeftovers.
Verified live: after several archied restarts under the OpenShell runtime, the gateway lists no providers, so the boot sweep leaves no keys behind. Sweep covered by TestOpenShellModelEgressSweepsOnlyItsOwnLeftovers.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
On the OpenShell runtime each task's model keys are registered as gateway providers when the task starts and deleted when it ends. If archied stops between the two (crash, kill, host restart), those providers stay on the gateway with real keys in them. Nothing removes them: the boot sweep removes only sandboxes.
Wanted
Mark the providers archie creates as this instance's, and delete leftovers at boot alongside the sandbox sweep.
Done when
After archied is killed mid-task and restarted, no provider it created for that task remains on the gateway.
Landed on main; task check passed on the merged tree. Not yet proven live.
Verified live: after several archied restarts under the OpenShell runtime, the gateway lists no providers, so the boot sweep leaves no keys behind. Sweep covered by TestOpenShellModelEgressSweepsOnlyItsOwnLeftovers.