Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 7, 2026

Previously, campaign orchestrators included copy-project safe output, requiring users to manually create project boards before starting campaigns. This moves project creation to the campaign-generator workflow, automating it during campaign initialization.

Changes

Campaign orchestrators - Removed copy-project configuration:

  • pkg/campaign/orchestrator.go - Removed CopyProjects from BuildOrchestrator
  • pkg/cli/compile_orchestrator.go - Removed copy-project rendering logic
  • pkg/campaign/orchestrator_test.go - Removed TestBuildOrchestrator_CopyProjectSafeOutput

Campaign generator - Added copy-project safe output:

  • .github/workflows/campaign-generator.md - Added copy-project with source template and custom token
  • .github/ISSUE_TEMPLATE/start-campaign.yml - Updated to reflect automatic project creation
  • .github/agents/agentic-campaign-designer.agent.md - Updated instructions for auto-created projects

Compiled workflows - Recompiled to reflect changes:

  • Campaign orchestrators no longer include Copy Project step
  • Campaign generator now includes Copy Project step configured with template source

Result

Projects are automatically copied from https://github.com/orgs/githubnext/projects/74 when campaigns are created via issue form, eliminating manual project setup. Campaign orchestrators focus on managing existing campaigns rather than infrastructure creation.

# campaign-generator.md now includes:
safe-outputs:
  copy-project:
    max: 1
    source-project: "https://github.com/orgs/githubnext/projects/74"
    github-token: "${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}"
Original prompt

Revert having copy project in the campaign orchestrators, see #9121
Instead, make it part of the campaign generator to skip having to create and provide a project before hand via the issue template of otherwise. The project will be created (copied from template) by the campaign manager when a new campaign is created.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…enerator

- Remove CopyProjects configuration from BuildOrchestrator in pkg/campaign/orchestrator.go
- Remove copy-project rendering logic from pkg/cli/compile_orchestrator.go
- Remove TestBuildOrchestrator_CopyProjectSafeOutput test
- Remove unused constants import from orchestrator.go
- Add copy-project safe output to campaign-generator workflow with source template
- Update campaign-generator instructions to copy project when creating campaigns
- Update issue template to indicate automatic project creation
- Update agentic-campaign-designer agent instructions to reflect auto-created projects
- Recompile campaign orchestrator workflows to remove copy-project
- Recompile campaign-generator workflow to add copy-project

Co-authored-by: mnkiefer <[email protected]>
Copilot AI changed the title [WIP] Revert project copying in campaign orchestrators Move copy-project from campaign orchestrators to campaign-generator Jan 7, 2026
Copilot AI requested a review from mnkiefer January 7, 2026 12:01
@mnkiefer mnkiefer marked this pull request as ready for review January 7, 2026 12:05
@mnkiefer mnkiefer merged commit 5b0d252 into main Jan 7, 2026
48 checks passed
@mnkiefer mnkiefer deleted the copilot/revert-copy-project-feature branch January 7, 2026 12:09
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