Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 4, 2026

Campaign orchestrators were unable to create Epic issues required by the project hierarchy model. The orchestrator instructions specified Epic requirements but provided no mechanism to create them.

Changes

Orchestrator configuration (pkg/campaign/orchestrator.go)

  • Added CreateIssues safe output (max: 1) to campaign orchestrator workflows

Orchestrator instructions (pkg/campaign/prompts/orchestrator_instructions.md)

  • Added Phase 0 for Epic initialization: search by label + campaign_id, create if missing, add to project board
  • Includes campaign name and objective in Epic body template

Markdown serialization (pkg/cli/compile_orchestrator.go)

  • Fixed renderGeneratedCampaignOrchestratorMarkdown to serialize CreateIssues to frontmatter
  • Previously only serialized AddComments and UpdateProjects

Template data (pkg/campaign/template.go)

  • Added CampaignName field to support human-readable Epic titles

Result

Generated orchestrators now include:

safe-outputs:
    create-issue:
        max: 1

And compiled workflows contain create_issue in both config.json and tools.json, enabling orchestrators to create Epic issues that serve as parent issues for campaign work items.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE 0.1-go1.25.0.linGOMODCACHE GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 0.1-go1.25.0.linGOMODCACHE GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login 0541874c38771ce7/tmp/gh-aw-test-runs/20260104-152504-74950/test-orchestrator-1255404406/run-1007grep 0.1-go1.25.0.linrev-parse /usr/bin/infocmp -json GO111MODULE pkg/mod/golang.odownload infocmp -1 (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login /repos/actions/github-script/git/ref/tags/v8 --jq (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Fix campaign projects not having epic issues, these should be created:
https://github.com/githubnext/gh-aw/actions/runs/20694670193


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Add CreateIssues safe output to campaign orchestrators (max: 1)
- Add Phase 0 instructions to orchestrator template for Epic issue creation
- Include CampaignName in template data for better Epic titles
- Update orchestrator_instructions.md with Epic creation guidance
- Epic issues serve as parent for all campaign work items
- Epic only created once per campaign on first orchestrator run

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer
Copy link
Contributor

mnkiefer commented Jan 4, 2026

@copilot: Also make sure this epic issue is linked to the project.

- Add CreateIssues serialization to renderGeneratedCampaignOrchestratorMarkdown
- Ensures create-issue safe output appears in generated .campaign.g.md files
- Fixes missing create_issue in config.json and tools.json for campaign workflows
- Recompiled all campaign workflows with updated configuration

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer mnkiefer marked this pull request as ready for review January 4, 2026 15:31
Copilot AI changed the title [WIP] Fix campaign projects missing epic issues Add Epic issue creation to campaign orchestrators Jan 4, 2026
Copilot AI requested a review from mnkiefer January 4, 2026 15:34
@mnkiefer mnkiefer merged commit 7f19daf into main Jan 4, 2026
45 of 49 checks passed
@mnkiefer mnkiefer deleted the copilot/fix-campaign-project-epics branch January 4, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants