Simplify campaign specs with intelligent defaults and move goals to markdown#11849
Merged
Simplify campaign specs with intelligent defaults and move goals to markdown#11849
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor campaign specs to reduce opinionation
Move campaign objectives and KPIs from frontmatter to markdown body
Jan 26, 2026
mnkiefer
approved these changes
Jan 26, 2026
Contributor
|
@copilot Simplify frontmatter even more and focus only on what's really necessary. Set defaults where you can so as not to clutter up the spec (i.e. memory paths, etc.). A campaign should be easy to define, setup and interpret. |
- Auto-generate tracker-label, memory-paths, metrics-glob, cursor-glob from campaign ID - Default state to "active" - Default discovery-repos to allowed-repos (current repository) - Remove validation requirement for discovery scope (now has default) - Simplify example campaign files by removing redundant fields - Update documentation to show minimal example and explain defaults Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Contributor
Author
Simplified frontmatter significantly with intelligent defaults. Campaign specs now require only 3 fields ( Auto-generated from campaign ID:
Example campaigns reduced from ~45 lines to ~20 lines of frontmatter. See commit 89a29cb. |
Copilot
AI
changed the title
Move campaign objectives and KPIs from frontmatter to markdown body
Simplify campaign specs with intelligent defaults and move goals to markdown
Jan 26, 2026
mnkiefer
approved these changes
Jan 26, 2026
This was referenced Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Campaign specs mixed pure configuration with natural language goals in YAML frontmatter, making them verbose and opinionated. This PR moves objectives, KPIs, and other narrative content to the markdown body, and adds intelligent defaults for repetitive configuration fields.
Changes
Code
Objectivestring andKPIs []CampaignKPIfields fromCampaignSpecCampaignKPIstruct definitionCampaignPromptDataand orchestrator templates to not inject these fieldsstatedefaults to"active"tracker-labelauto-generated asz_campaign_{id}memory-pathsauto-generated as["memory/campaigns/{id}/**"]metrics-globauto-generated asmemory/campaigns/{id}/metrics/*.jsoncursor-globauto-generated asmemory/campaigns/{id}/cursor.jsonallowed-reposdefaults to current repositorydiscovery-reposdefaults toallowed-reposExamples
Before (21 lines of frontmatter):
After (5 lines of frontmatter):
Documentation
Result
Campaign specs now require only 3 essential fields (
id,project-url,workflows). All repetitive configuration is auto-generated with sensible defaults. Natural language content (objectives, KPIs, timelines) lives in markdown where it belongs. Campaigns are now easy to define, setup, and interpret.Original prompt
💡 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.