Add summary.json output to gh aw logs for campaign orchestrators#6879
Add summary.json output to gh aw logs for campaign orchestrators#6879
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot: Here are some clearer campaign orchestrator instructions:
|
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Added guidance in commit c675a0e on using project boards for live tracking without modifying worker files. The help text now includes a "Live Tracking with Project Boards" section explaining that:
This approach keeps workers tracked by the campaign while preserving worker file integrity by design. |
|
@copilot: For each worker, pull that data based on the last time you pulled and align with whats already on the board, etc. |
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Added incremental update guidance in commit 8e37ae0. The help text now includes instructions for:
This enables efficient incremental synchronization between worker logs and the campaign project board. |
Campaign orchestrators need workflow execution data accessible in subsequent steps without GitHub CLI. The
gh aw logscommand now writes asummary.jsonfile containing complete metrics and run data.Changes
New
--summary-fileflag (default:"summary.json")LogsDatastruct as indented JSONCampaign orchestrator documentation in help text
gh aw logs <worker> --start-date -1mo -o /tmp/logs)summary.json(GitHub CLI unavailable)update-projectsafe output, treating issues/PRs (workers) on the board as the real-time view of progress, ownership, and status without modifying worker workflow files--start-date(e.g.,--start-date -1dfor daily updates) and align with existing board items to update only changed workersImplementation:
writeSummaryFile()inlogs_report.goExample
Output structure:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.