{"repo":"NousResearch/hermes-agent","public_id":"133501","display_label":"Kanban parent workspace premature sweep bug fix","summary":"A bug where a parent workspace is incorrectly swept or deleted before it reaches a terminal state, triggered when its last child finishes or is archived. The members describe the problem and associated fix attempts.","subsystem":"hermes_cli","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":134618,"merged_at":"2026-10-07T15:48:06+00:00"},"resolution":{"state":"resolved","by":"pr-134618"},"freshness":{"state":"verified","last_verified_at":"2026-10-07T15:48:06+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":133501,"pr_number":134618,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-07T15:48:06+00:00"}],"members":[{"kind":"issue","number":133501,"title":"[Bug]: Kanban deferred parent sweep (#33774) deletes a still-running parent's scratch workspace when its last child is archived or finishes","url":null,"state":"closed"},{"kind":"pr","number":133516,"title":"fix(kanban): only sweep a parent workspace once the parent itself is terminal","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#33774","number":33774},{"kind":"pr","value":"#134618","number":134618}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":134618,"title":"fix(kanban): only sweep a parent workspace once the parent itself is terminal (salvage #133516)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["hermes_cli/kanban_db_workspace.py","tests/hermes_cli/test_kanban_worktree_teardown.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}