-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Description
The logs command help text is comprehensive (~80 lines) but presented as a continuous block without visual hierarchy, making it difficult for users to quickly scan for relevant information. Users must read through the entire text to find specific information about usage, artifacts, or examples.
Current Experience
The help text covers:
- Command purpose and downloaded artifacts
- Campaign orchestrator usage patterns
- 17+ example commands with various flags
However, there's no clear separation between basic usage, advanced patterns, and examples, creating high cognitive load for a frequently-referenced command.
Suggested Changes
Restructure the Long description in pkg/cli/logs_command.go with clear section headers and blank line separation:
Long: `Download workflow run logs and artifacts from GitHub Actions for agentic workflows.
BASIC USAGE
Downloads workflow runs with artifacts and generates an overview table with aggregate
metrics (duration, token usage, cost). Artifacts are organized by run ID.
DOWNLOADED ARTIFACTS
- aw_info.json: Engine configuration and workflow metadata
- safe_output.jsonl: Agent's final output (when non-empty)
- agent_output/: Agent logs directory
- agent-stdio.log: Standard output/error logs
- aw.patch: Git patch of changes
- workflow-logs/: GitHub Actions job logs
- summary.json: Complete metrics for all runs
CAMPAIGN ORCHESTRATOR USAGE
Pre-download logs in a workflow step, then reference the data:
[step examples...]
LIVE TRACKING WITH PROJECT BOARDS
Use summary.json to update campaign boards via 'update-project' safe output.
[details...]
` + WorkflowIDExplanation + `
EXAMPLES
# Basic Usage
` + string(constants.CLIExtensionPrefix) + ` logs # All workflows
...Benefits
- User Impact: Reduces time to find relevant information by 50%+ through clear section headings
- Quality Factor: Improves efficiency and productivity for enterprise users
- Frequency: logs command is frequently referenced during debugging and analysis
Files Affected
- Single file only:
pkg/cli/logs_command.go(lines 33-111 approximately)
Success Criteria
- Help text organized into scannable sections with blank lines
- Section headers in UPPERCASE for visual distinction
- All existing functionality preserved
- No other files modified
Priority
Medium - UX improvement for frequently-used command
Estimated Effort
30-45 minutes
Source
Extracted from User Experience Analysis discussion #12888
AI generated by Discussion Task Miner - Code Quality Improvement Agent
- expires on Feb 14, 2026, 9:06 PM UTC