Fix campaign orchestrator to add all discovered items to project board #8627
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 orchestrators were discovering worker-created items (issues/PRs/discussions with tracker-ids) but not adding them to the project board, only adding tracker-labeled items.
Root cause
The "Deterministic planner step" (4.5) in orchestrator instructions limited "planned actions" to 3, which AI agents misinterpreted as a hard cap on board synchronization operations rather than strategic commentary.
Changes
Updated
pkg/campaign/prompts/orchestrator_instructions.md:Step 4.5: Reframed as "strategic observations" instead of "planned actions". Added explicit note that this does NOT limit board synchronization.
Step 5: Added
CRITICALdirective requiring ALL discovered items (tracker-labeled + worker-created) be added. Clarified prioritization when governance limits apply: tracker-labeled first, then worker-created.Step 8: Made explicit that execution adds ALL items from step 5, up to governance limit, with remainder deferred to next run.
Step 11: Split reporting to distinguish tracker-labeled vs worker-created item counts.
Example of key change:
Impact
Campaign orchestrators will now add both tracker-labeled and worker-created items to project boards, with proper prioritization when governance limits apply.
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/repos/githubnext/gh-aw/actions/runs/20657950192/usr/bin/curl curl -L -H Accept: application/vnd.github+json -H Authorization: Bearer -H X-GitHub-Api-Version: 2022-11-28 REDACTED(http block)https://api.github.com/user/usr/bin/gh gh api user --jq .login -json GO111MODULE ux-amd64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE rg/toolchain@v0.-nilfunc GOINSECURE GOMOD GOMODCACHE go(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.