cub explain-task¶
Display detailed information about a specific task.
Synopsis¶
Description¶
The cub explain-task command shows comprehensive details about a task, including its description, status, dependencies, related artifacts, and execution history. This is useful for understanding what a task entails before working on it or debugging issues with task execution.
Options¶
| Option | Description |
|---|---|
<task-id> | The task identifier to explain (required) |
Information Displayed¶
The command outputs detailed task information including:
| Section | Content |
|---|---|
| Basic Info | ID, title, type, status, priority |
| Description | Full task description and requirements |
| Dependencies | Tasks that must complete first |
| Dependents | Tasks waiting on this one |
| Labels | Tags and categories |
| Epic | Parent epic if assigned |
| Artifacts | Related files and outputs |
| History | Status changes and execution attempts |
| Spec | Interview-generated specifications (if any) |
Examples¶
View Task Details¶
Output:
Task: cub-123
Title: Implement user authentication
Type: feature
Status: open
Priority: high
Epic: cub-auth-epic
Description:
Add email/password authentication with session management.
Support OAuth2 for social login providers.
Dependencies:
- cub-120: Database schema setup (completed)
- cub-121: API framework configuration (completed)
Dependents:
- cub-125: User profile page
- cub-126: Password reset flow
Labels:
- auth
- security
- user-facing
Artifacts:
- specs/cub-123-auth-spec.md
- .cub/artifacts/cub-123/
History:
2026-01-10 09:15: Created
2026-01-11 14:30: Started (session: narwhal)
2026-01-11 15:45: Blocked (waiting for cub-121)
2026-01-12 10:00: Resumed
Quick Reference During Development¶
Verify Dependencies¶
Use Cases¶
Before Starting Work¶
Review task details before beginning implementation:
Debugging Failed Tasks¶
Understand why a task might have failed:
cub explain-task cub-456
# Check history for error patterns
# Review dependencies that might have regressed
Understanding Task Context¶
When picking up work from another session:
Related Commands¶
cub interview- Deep-dive questioning for taskscub close-task- Close a completed taskcub artifacts- List task artifactscub status- Overview of all tasks