Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
….yml files Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot: Is this type of mode separation also applied when generating camapaigns? |
No, the campaign-designer agent doesn't have this mode separation. It's designed to be conversational/interactive only - it asks questions like "Start by asking focused questions to understand..." and "Show the proposed YAML frontmatter snippet to the user and refine it until they approve..." This is actually a discrepancy: the campaign-generator.md says the agent will "parse the issue, design the campaign content, and create a PR", but the campaign-designer.agent.md doesn't have non-interactive instructions for parsing issue form fields directly. For workflows, I added explicit Issue Form Mode instructions so the agent can:
The campaign system might benefit from the same approach if you want truly automated campaign generation from issue forms. |
The workflow issue form currently assigns an agent to work in the issue context interactively. It should instead generate a complete workflow specification (
.md) and compiled lockfile (.lock.yml) in a PR, matching the campaign generator pattern.Changes
.github/agents/create-agentic-workflow.agent.mdworkflow_name,workflow_description, andadditional_contextfields.mdwith inferred triggers, tools, safe-outputs, and security best practices.lock.ymlusinggh aw compile.github/workflows/workflow-generator.md.mdand.lock.ymlfiles in PRPattern
Same flow as campaign generator:
.campaign.md→.campaign.g.mdorchestrator.mdworkflow →.lock.ymlcompiled workflowExample Issue Form Output
Input:
Generates:
Compiled to
issue-classifier.lock.ymlviagh aw compile issue-classifier.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/usr/bin/gh gh api user --jq .login runs/20251219-190019-20317/test-2875231321/.github/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go l GOMOD GOMODCACHE go run nOrchestratorGitHubToken1719985445/001 invalid-command /usr/bin/gh GOSUMDB GOWORK 64/pkg/tool/linu--show-toplevel gh(http block)/usr/bin/gh gh api user --jq .login om/github/gitignore.git om/github/gitignore.git /bin/sh -test.run=^Test GOWORK 64/pkg/tool/linuGOMODCACHE /bin/sh -c it/ref/tags/330a01c490aca151604b8cf639adc76d48f6c5d4 64/pkg/tool/linuGO111MODULE /usr/bin/git l rev-parse 64/bin/go git(http block)/usr/bin/gh gh api user --jq .login ithub/workflows -buildtags e/git -errorsas -ifaceassert -nilfunc e/git init�� om/actions/cache.git om/actions/cache.git /usr/bin/git rite '../../**/*bash rev-parse 64/bin/go git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.