-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
p2Priority 2 - MediumPriority 2 - Medium
Description
Problem
Currently, subagent task IDs are long UUIDs like 86d44451-ab81-42e9-a79c-244b267498c1. This creates unnecessary verbosity when agents need to reference these tasks, and makes it harder for users to correlate tasks with their underlying sessions.
Proposed Solution
Use session IDs as task IDs for subagents instead of generating separate UUIDs. Session IDs are:
- Reasonably short (e.g.,
20241002_1,20241002_2) - Guaranteed to be unique
- Already tied to the underlying execution context
- Human-readable and meaningful
Benefits
- Reduced verbosity: Agents can reference tasks more concisely
- Better traceability: Users can easily correlate task IDs with session IDs
- CLI integration: Users can run
goose export --session_id <task_id> --format=markdownto see exactly what happened in a subagent task - Consistency: Task IDs and session IDs become the same concept for subagents
Implementation Notes
This should be a small, focused change separate from the current subagent consolidation work in #4828. The change would be in the dynamic task creation/execution logic where task IDs are currently generated as UUIDs.
Context
Discussion from #goose-dev: https://block.slack.com/archives/C08F3C9D0P5/p1727887782.728409
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p2Priority 2 - MediumPriority 2 - Medium