fix(sessions): hide parentless named subagent sessions #178
No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/hide-parentless-named-subagents"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
(@explore subagent)and other named subagent sessions were leaking to the top-level session list when theirparent_idwas empty (parent not in the query window).doneAND had a non-emptyparent_id, plus a title check hardcoded to the literal(auto-approve subagent).... subagent)title, gated on emptyparent_idso real nested subagents still surface under their parent.Testing
TestGetSessions_ExcludesParentlessNamedSubagent.go test ./internal/db/passes (incl. existing nesting + auto-approve tests).Coverage ratchet: ✅ pass
Tolerance: -0.1%. Baseline stored on
gh-pages.