-
Notifications
You must be signed in to change notification settings - Fork 38
feat(cli): add campaign management cmds, specs, and examples #6082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Best to avoid the "example-" pattern, instead we want to have campaign that are actually useful to gh-aw. We have lots of issues, it's triage them through campaigns. Examples rot, useful tools |
|
The campaign should probably be a markdown file itself so that we can infuse agentic level behavior. |
|
@pelikhan: This is what I'm envisioning for (enterprise) campaigns. Let me know what you think! 🙏🏼 |
pelikhan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- move campaign code to pkg/campaign package
- split campaign.go to small files
- add extensive tests
|
Use -, not _ in yaml names |
|
Mark as "experimental" so that you can break/iterate |
First-class Campaigns for Enterprises
Adds first‑class campaigns to
gh-awso enterprises can describe initiatives in specs (owners, risk, governance, metrics) while reusing existing workflows.Campaign specs (
*.campaign.md)id,name,descriptionworkflows(one or many workflow IDs)owners,executive_sponsors,risk_level,state,tagstracker_label,memory_paths,metrics_globallowed_safe_outputs,approval_policyincident-responseandsecurity-complianceorg-modernizationthat coordinates:org-wide-rollout(rollout coordinator)human-ai-collaboration(human‑in‑loop approvals)intelligence(reporting / trend analysis)gh aw campaignCLIgh aw campaign/gh aw campaign --jsonList all campaigns defined in
campaigns/*.campaign.md.gh aw campaign status/--jsonShow compiled workflow state and basic issue/PR metrics grouped by
tracker_label.gh aw campaign validateValidate specs (supports JSON output and non‑strict reporting).
gh aw campaign new <id>Scaffold a new campaign spec file under
campaigns/<id>.campaign.md.Docs & examples
docs/src/content/docs/guides/campaigns.mdto: