--- # claudbg-jupi title: Sub-agent file discovery status: todo type: task created_at: 2026-03-27T19:39:15Z updated_at: 2026-03-27T19:39:15Z parent: claudbg-mztt --- Given a session ID, locate its subagents/ directory under ~/.claude/projects/{project-dir}/{session-id}/subagents/. Enumerate agent-{id}.jsonl files and their corresponding .meta.json files. Return AgentRef { agent_id: String, agent_type: Option, session_id: Uuid, file_path: PathBuf }.