From db0aa8a7817dc4bd321ee9b94246489b3b083365 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Jun 2026 05:04:29 +0000 Subject: [PATCH 1/2] Update impact efficiency report: executive report + issue-linked PRs only Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .../objective-impact-report.lock.yml | 6 +-- .github/workflows/objective-impact-report.md | 49 ++++++++++++++----- 2 files changed, 41 insertions(+), 14 deletions(-) diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index fab0babc804..01b413a7425 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -1,4 +1,4 @@ -# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"d2bca470c27b25256be1071d07254e340589733d170b6c9e9f475369fdf2cf2a","body_hash":"bdcc3de08e69ba565b30c9c238fd38da492c12b1843309770c4a717570da8aa5","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} +# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b39364ad203d74ac1dac7560e96997357dbfb466b7cdb8ff97d667d459c3ddf3","body_hash":"ff33c3135533c8f303d4a8664f7d3abd4c2d7867eedbe76b694bc687bfc34f46","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} # gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/cache/save","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/checkout","sha":"df4cb1c069e1874edd31b4311f1884172cec0e10","version":"v6.0.3"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2","digest":"sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2","digest":"sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2","digest":"sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.25","digest":"sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.25@sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa"},{"image":"ghcr.io/github/github-mcp-server:v1.1.2","digest":"sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c","pinned_image":"ghcr.io/github/github-mcp-server:v1.1.2@sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c"}]} # This file was automatically generated by gh-aw. DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # @@ -23,7 +23,7 @@ # # For more information: https://github.github.com/gh-aw/introduction/overview/ # -# Impact efficiency report from workflow outcomes and linked objectives. +# Executive impact efficiency report from workflow outcomes tied to tracked objectives. # # Secrets used: # - COPILOT_GITHUB_TOKEN @@ -1361,7 +1361,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: WORKFLOW_NAME: "Impact Efficiency Report" - WORKFLOW_DESCRIPTION: "Impact efficiency report from workflow outcomes and linked objectives." + WORKFLOW_DESCRIPTION: "Executive impact efficiency report from workflow outcomes tied to tracked objectives." HAS_PATCH: ${{ needs.agent.outputs.has_patch }} with: script: | diff --git a/.github/workflows/objective-impact-report.md b/.github/workflows/objective-impact-report.md index 986b1a6b0c3..5a354933e41 100644 --- a/.github/workflows/objective-impact-report.md +++ b/.github/workflows/objective-impact-report.md @@ -1,6 +1,6 @@ --- emoji: 📊 -description: Impact efficiency report from workflow outcomes and linked objectives. +description: Executive impact efficiency report from workflow outcomes tied to tracked objectives. on: workflow_dispatch: permissions: @@ -19,9 +19,9 @@ safe-outputs: ## Goal -POC: Test whether Impact Efficiency is a more meaningful signal than accepted outcome counts alone. +Produce a comprehensive executive report on what work was performed, what AIC tokens were spent on, and which outcomes delivered the highest impact. The report must clearly answer: *What did we build, fix, and ship — and was it worth the cost?* -Focus only on **pull request outcomes** and **safe output outcomes** (issues created or closed via the safe-output mechanism). Other outcome types are excluded from this POC because their acceptance criteria are not yet well-defined and most remain pending. +Focus only on **pull request outcomes** and **safe output outcomes** (issues created or closed via the safe-output mechanism). Other outcome types are excluded because their acceptance criteria are not yet well-defined and most remain pending. Use this model: @@ -59,7 +59,7 @@ If a run's `aic` field is missing or null, treat it as `0` and count it as missi Analyze only the following outcome types from the last 180 days: -- **Pull request outcomes**: PRs created by GitHub Agentic Workflow runs. Accepted = merged. Rejected = closed without merge. Skip open (pending) PRs. +- **Pull request outcomes**: PRs created by GitHub Agentic Workflow runs **that have a linked closing issue** (`Closes #N`). Accepted = merged. Rejected = closed without merge. Skip open (pending) PRs. **Exclude entirely** any PR without a traceable linked issue — do not fall back to PR labels. - **Safe output outcomes**: issues created or closed by workflow runs via the safe-output mechanism. Accepted = issue successfully created/closed. Skip any with unresolved state. Exclude all other outcome types (direct issue outcomes, comments, discussions, etc.). These are omitted because their acceptance criteria are incomplete and most are left pending, which would distort the metric. @@ -91,11 +91,11 @@ If a traced root object has no labels that exist in the mapping, mark the outcom For each in-scope outcome, follow the implemented root-tracing behavior: -1. For pull-request outcomes, trace the PR to its linked closing issue and use that root issue's labels. -2. If PR root tracing fails, use labels on the PR itself. +1. For pull-request outcomes, trace the PR to its linked closing issue (`Closes #N`) and use that root issue's labels. +2. If PR root tracing fails (no linked closing issue found), **exclude the PR from analysis entirely**. Do not fall back to PR labels. Count it in the "PRs excluded (no linked issue)" total. 3. For safe-output issue outcomes, use labels on the safe-output issue itself. 4. Record the traced root URL when one is found so the report preserves an audit trail. -5. If no mapped objective labels can be found, mark the outcome as `unmapped`, exclude it from `Σ Outcome Value`, and report it separately. +5. If no mapped objective labels can be found after tracing, mark the outcome as `unmapped`, exclude it from `Σ Outcome Value`, and report it separately. ## Computation @@ -141,27 +141,52 @@ Impact Efficiency Report - YYYY-MM-DD The report must include: +### Executive Summary + +Write 2–4 sentences that directly answer: *What did we work on, what was the highest-impact work, and how efficiently were AIC tokens spent?* Highlight the most impactful objective categories and call out any significant gaps (e.g., large AIC spend with no mapped objective value). + ### Summary -- PR outcomes analyzed (merged / closed / excluded open) +| Metric | PRs | Safe-output Issues | Combined | +|---|---:|---:|---:| + +Include: + +- PRs analyzed with linked issue (merged / closed / excluded open) +- PRs excluded (no linked closing issue) - Safe output outcomes analyzed -- Objectives mapped +- Outcomes mapped to objectives - Unmapped outcomes - Accepted outcome count - Total outcome value - AI Credits - Impact Efficiency +### What We Worked On + +Group all **accepted, mapped** outcomes by objective category (the highest-value objective label from the mapping). For each category, list: + +- Objective category name and its mapping value +- Number of accepted outcomes in this category +- Total outcome value contributed +- Representative examples (up to 3 linked outcomes) + +Sort categories by total outcome value descending. This section is the executive narrative of where effort actually went. + ### Top outcomes by outcome value -| Outcome | Type | Associated objective | Objective Value | Outcome Value | +| Outcome | Type | Root / Associated Objective | Objective Value | Outcome Value | |---|---|---|---:|---:| +List the top 15 outcomes with highest Outcome Value. Include a link to the PR or issue. + ### Unmapped outcomes | Outcome | Type | Reason objective was not mapped | |---|---|---| +Only include outcomes that were in scope (linked-issue PRs and safe-output issues) but had no matching label in the objective mapping. Do not include PRs that were excluded for lacking a linked issue — those are already counted in "PRs excluded". + ### Interpretation Compare: @@ -171,11 +196,13 @@ Compare: Explain which one better reflects meaningful delivered value relative to cost. +Call out the most significant finding: which objective category delivered the most value per AIC? Which categories consumed AIC with little or no mapped value? + ### Data quality Mention missing or weak links in: -- PR root tracing and linked-closing-issue coverage +- PR root tracing and linked-closing-issue coverage (count of PRs excluded for lacking a linked issue) - safe-output issue label mapping coverage in `.github/objective-mapping.json` - AI Credits availability From eadda31ee4a8b35ad08ed84bf89fcd0c722e8198 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Jun 2026 05:15:33 +0000 Subject: [PATCH 2/2] Show AIC consumed per objective category in What We Worked On section Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .github/workflows/objective-impact-report.lock.yml | 2 +- .github/workflows/objective-impact-report.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index 01b413a7425..80234b64a15 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -1,4 +1,4 @@ -# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b39364ad203d74ac1dac7560e96997357dbfb466b7cdb8ff97d667d459c3ddf3","body_hash":"ff33c3135533c8f303d4a8664f7d3abd4c2d7867eedbe76b694bc687bfc34f46","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} +# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b39364ad203d74ac1dac7560e96997357dbfb466b7cdb8ff97d667d459c3ddf3","body_hash":"545ccd14bbcd96b5c6fb4c72aea771fc66d7425481bb320b0991c05ac3c05e5c","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}} # gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/cache/save","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/checkout","sha":"df4cb1c069e1874edd31b4311f1884172cec0e10","version":"v6.0.3"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2","digest":"sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2","digest":"sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2","digest":"sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.25","digest":"sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.25@sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa"},{"image":"ghcr.io/github/github-mcp-server:v1.1.2","digest":"sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c","pinned_image":"ghcr.io/github/github-mcp-server:v1.1.2@sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c"}]} # This file was automatically generated by gh-aw. DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # diff --git a/.github/workflows/objective-impact-report.md b/.github/workflows/objective-impact-report.md index 5a354933e41..3bb4e132f46 100644 --- a/.github/workflows/objective-impact-report.md +++ b/.github/workflows/objective-impact-report.md @@ -169,9 +169,11 @@ Group all **accepted, mapped** outcomes by objective category (the highest-value - Objective category name and its mapping value - Number of accepted outcomes in this category - Total outcome value contributed +- AIC consumed by outcomes in this category +- Impact Efficiency for this category (total outcome value / AIC consumed) - Representative examples (up to 3 linked outcomes) -Sort categories by total outcome value descending. This section is the executive narrative of where effort actually went. +Sort categories by total outcome value descending. Also call out separately which category consumed the **most AIC** (highest denominator cost), so readers can see where budget was spent regardless of value delivered. ### Top outcomes by outcome value