fix(runtime): retire and reap owned agent tmux sessions (ODY-147)

This commit is contained in:
Alexandre Teixeira
2026-10-01 21:34:23 +01:00
parent 7892f7f650
commit 85cfe59b15
6 changed files with 259 additions and 37 deletions
+2
View File
@@ -446,6 +446,8 @@ def _write_record(grant: ContainmentGrant) -> None:
records[grant.id] = {
"id": grant.id,
"owner": grant.owner,
"manager_pid": os.getpid(),
"manager_token": process_ownership.start_token(os.getpid()),
"mechanism": grant.mechanism,
"mode": grant.mode,
"workspace": grant.workspace,