Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

Template files in pkg/cli/templates/ used old naming convention with -agentic- infix while target files in .github/aw/ had been renamed to remove it, causing build failures.

Changes

Template renames:

  • execute-agentic-campaign-workflow.mdexecute-campaign-workflow.md
  • generate-agentic-campaign.mdgenerate-campaign.md
  • orchestrate-agentic-campaign.mdorchestrate-campaign.md
  • update-agentic-campaign-project-contract.mdupdate-campaign-project-contract.md

Code updates:

  • Updated //go:embed directives in commands.go
  • Updated runtime import in generator.go: generate-agentic-campaign.mdgenerate-campaign.md
  • Updated template loading calls in template.go and copilot-agents.go
  • Fixed Makefile sync-templates target to copy correct files
  • Updated test expectations to match new template content format

Test consolidation:

  • Removed unused update-agentic-campaign-project.md template
  • Updated test fixtures in test_helpers_test.go and template_test.go

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Rename template files to match target file names
- Update Go code embeddings to use new template names
- Update Makefile sync-templates target
- Update generator.go to import generate-campaign.md
- Update template.go to use renamed templates
- Update test expectations to match new template content
- Update init_test.go to check for generate-campaign.md import

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Align campaign file names in templates fix: align campaign template file names with target files Jan 19, 2026
Copilot AI requested a review from mnkiefer January 19, 2026 07:53
@mnkiefer mnkiefer closed this Jan 19, 2026
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