Conversation
…, optimizer, and observability kit Agent-Logs-Url: https://github.com/github/gh-aw/sessions/e3b520b9-3b91-4e17-be93-7b8388e17a11 Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a new weekly “Agentic Optimization Kit” workflow that consolidates token auditing, optimization targeting, and observability/episode analysis into a single discussion report with embedded charts and prompt artifacts.
Changes:
- Introduces a consolidated weekly workflow (
agentic-optimization-kit.md) that downloads recent Copilot run logs, maintains repo-memory history, and drives a multi-phase analysis/reporting prompt. - Generates the compiled workflow lock file (
agentic-optimization-kit.lock.yml) with pinned actions/containers and the resolved job graph.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/agentic-optimization-kit.md |
New consolidated weekly kit workflow definition + agent instructions (baseline → optimization target → observability → charts → discussion/issue). |
.github/workflows/agentic-optimization-kit.lock.yml |
Compiled lock file for the new workflow (generated by gh aw compile). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 2
| error_count: (.error_count // 0), | ||
| warning_count: (.warning_count // 0) | ||
| } | ||
| ] |
|
@copilot check source of truth and correctness of consolidation and create a table to list the resulting report components, their source of truth and their significance for COGS reduction. |
…tions minutes' typo Agent-Logs-Url: https://github.com/github/gh-aw/sessions/1d70519c-b19b-45ed-b7ea-8e1d857bb1fc Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Here's the consolidation correctness check and component table with COGS significance: Source-of-truth verification — each capability is taken from its authoritative source as defined by the plan's precedence rules (Episodes > Optimization actions > Baseline numbers):
Consolidation correctness: the precedence hierarchy (Episodes → Optimization actions → Baseline numbers) is respected throughout all six phases. No capability has been dropped from any source workflow. The only deduplication was the log-download step and the token-ranking logic, which previously ran independently in both Audit and Optimizer. |
|
@copilot include a checkbox in the table you just created if it has a graph in the report. |
Updated table with a Graph column (☑ = has a dedicated chart in the report):
8 of 15 components have a corresponding graph. The 5 un-graphed High-COGS components (heavy-hitter flags, target selection, 4-area analysis, ranked recommendations, optimization history) are text/table only — candidates for a future chart phase if visual coverage of the optimizer output becomes a priority. |
Summary
Creates
agentic-optimization-kit.md— a single weekly workflow that consolidates all analysis capabilities from three existing source workflows:copilot-token-audit.mdcopilot-token-optimizer.mdagentic-observability-kit.mdConsolidation principles applied
memory/token-audit)<details>: Per-workflow breakdown, episode detail, portfolio opportunities, optimization evidence all collapsed by defaultWhat's new beyond the source workflows
Security review
New actions introduced via
copilot-setup-steps.ymlimport (same as every other Copilot workflow in this repository):docker/build-push-action— standard Docker action, already pinned to SHA digest across all Copilot lock files in this repo ✅docker/setup-buildx-action— same, already approved and in use ✅No new secrets introduced. Both actions are already reviewed and approved for all other Copilot workflows.
Pre-existing test failures
Two test failures in
pkg/workflow(TestWasmGolden_CompileFixtures/basic-copilotandTestCopilotDetectionDefaultModel) exist on the base branch before this change — they are golden file diffs aboutCOPILOT_MODEL/COPILOT_API_KEYenv vars unrelated to workflow authoring.