Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 136 additions & 3 deletions .github/workflows/docs-quality-maintenance-project67.campaign.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

139 changes: 136 additions & 3 deletions .github/workflows/file-size-reduction-project71.campaign.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions pkg/campaign/orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,13 @@ func BuildOrchestrator(spec *CampaignSpec, campaignFilePath string) (*workflow.W
// Render orchestrator instructions using templates
// All orchestrators follow the same system-agnostic rules with no conditional logic
promptData := CampaignPromptData{
CampaignID: spec.ID,
ProjectURL: strings.TrimSpace(spec.ProjectURL),
Objective: strings.TrimSpace(spec.Objective),
CursorGlob: strings.TrimSpace(spec.CursorGlob),
MetricsGlob: strings.TrimSpace(spec.MetricsGlob),
Workflows: spec.Workflows,
CampaignID: spec.ID,
CampaignName: spec.Name,
Objective: strings.TrimSpace(spec.Objective),
ProjectURL: strings.TrimSpace(spec.ProjectURL),
CursorGlob: strings.TrimSpace(spec.CursorGlob),
MetricsGlob: strings.TrimSpace(spec.MetricsGlob),
Workflows: spec.Workflows,
}
if len(spec.KPIs) > 0 {
promptData.KPIs = spec.KPIs
Expand Down Expand Up @@ -245,6 +246,8 @@ func BuildOrchestrator(spec *CampaignSpec, campaignFilePath string) (*workflow.W
}

safeOutputs := &workflow.SafeOutputsConfig{}
// Allow creating the Epic issue for the campaign (max: 1, only created once).
safeOutputs.CreateIssues = &workflow.CreateIssuesConfig{BaseSafeOutputConfig: workflow.BaseSafeOutputConfig{Max: 1}}
// Allow commenting on related issues/PRs as part of campaign coordination.
safeOutputs.AddComments = &workflow.AddCommentsConfig{BaseSafeOutputConfig: workflow.BaseSafeOutputConfig{Max: maxComments}}
// Allow updating the campaign's GitHub Project dashboard.
Expand Down
Loading
Loading