-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Closed
Copy link
Labels
automationclicookieIssue Monster Loves Cookies!Issue Monster Loves Cookies!documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Issue Description
Priority: High
Type: Missing feature / Documentation mismatch
Problem
The CLI documentation at docs/src/content/docs/setup/cli.md extensively documents a campaign command (lines 408-420), but this command is not implemented in the codebase.
Current State (Documentation)
From docs/src/content/docs/setup/cli.md:
#### `campaign`
Manage campaign definitions. See [Agentic Campaigns Guide](/gh-aw/guides/campaigns/) for complete documentation.
**Quick Reference:**
- `gh aw campaign` - List campaigns
- `gh aw campaign status` - Show live status
- `gh aw campaign new (id)` - Create new campaign
- `gh aw campaign validate` - Validate specs
**Options:** `--json`
Alternative: create an issue with the `create-agentic-campaign` label to trigger automated campaign creation ([docs](/gh-aw/guides/campaigns/)).Actual State (Source Code)
Evidence from code analysis:
- Not in main.go: The
campaigncommand is not registered incmd/gh-aw/main.go(checked lines 1-628) - No command constructor: Search for
NewCampaignCommandinpkg/cli/*.goreturned no results - No command file: Only found
pkg/cli/workflows/example-campaign.md(example workflow, not command)
Impact
- Users following documentation will encounter "unknown command: campaign" errors
- Documentation claims functionality that doesn't exist
- Confusing user experience when trying documented features
Suggested Fix
Option 1 (Preferred): Remove campaign command documentation until implemented
- Remove lines 408-420 from
docs/src/content/docs/setup/cli.md - Keep the alternative method (create-agentic-campaign label) which appears to be the actual implementation
Option 2: Implement the campaign command
- Create
pkg/cli/campaign_command.gowith subcommands: list, status, new, validate - Register in
cmd/gh-aw/main.go - Add to appropriate command group (likely "analysis" or "execution")
Related Code
- Documentation:
docs/src/content/docs/setup/cli.md:408-420 - Main CLI:
cmd/gh-aw/main.go(campaign command not registered) - Example workflow:
pkg/cli/workflows/example-campaign.md(exists, but not the CLI command)
Related to [cli-consistency] CLI Consistency Issues - January 30, 2026 #12740
AI generated by CLI Consistency Checker
Copilot
Metadata
Metadata
Labels
automationclicookieIssue Monster Loves Cookies!Issue Monster Loves Cookies!documentationImprovements or additions to documentationImprovements or additions to documentation