|
| 1 | +# gh-aw Intelligence Report — 2026-04-20 |
| 2 | + |
| 3 | +**Date:** 2026-04-20 |
| 4 | +**Sources:** GitHub API (github/gh-aw, github/github-mcp-server commits) |
| 5 | +**Last KB date:** 2026-04-18 |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## 1. gh-aw Core Updates |
| 10 | + |
| 11 | +### New Safe-Output: `update-pull-request` `update-branch` parameter (PR #27244, 2026-04-20) |
| 12 | +- **Feature**: `update-branch: true` added to `update-pull-request` safe-output |
| 13 | +- **Behavior**: When enabled, calls `github.rest.pulls.updateBranch()` to sync the PR branch with its base branch **before** performing other PR metadata updates (title, body, etc.) |
| 14 | +- **Default**: `false` (opt-in) |
| 15 | +- **YAML frontmatter key**: `update-branch: true` in `safe-outputs.update-pull-request` config block |
| 16 | +- **Source**: https://github.com/github/gh-aw/commit/ca935b6cc076763418422ead6209f1ddb939c13c |
| 17 | + |
| 18 | +### New Safe-Output: `push-to-pull-request-branch` `fallback-as-pull-request` parameter (PR #27220, 2026-04-20) |
| 19 | +- **Feature**: `fallback-as-pull-request` added to `push-to-pull-request-branch` safe-output |
| 20 | +- **Behavior**: When the target PR branch has diverged (non-fast-forward), creates a new fallback PR instead of failing |
| 21 | +- **Default**: `true` (opt-out behavior — it runs automatically unless disabled) |
| 22 | +- **To disable**: `fallback-as-pull-request: false` |
| 23 | +- **Side effect of default**: `pull-requests: write` permission is now requested by default even if you don't explicitly set it |
| 24 | +- **Source**: https://github.com/github/gh-aw/commit/4f668af8348d30b8c00a1dfc92e499f6cd4e2eb1 |
| 25 | + |
| 26 | +### SEC-005 Allowlist Validation for `workflow_dispatch` Target Repo Overrides (PR #27242, 2026-04-20) |
| 27 | +- **Security**: `workflow_dispatch` target repository overrides are now validated against the SEC-005 allowlist |
| 28 | +- **Impact**: Cross-repo dispatch operations must have the target repo in the allowlist or be explicitly permitted |
| 29 | +- **Source**: https://github.com/github/gh-aw/commit/b50d2586f3b0453447859697656760445e06e04c |
| 30 | + |
| 31 | +### `push-to-pull-request-branch` `if-no-changes` incorrect values documented |
| 32 | +- **Bug in reference**: The reference file documents `"comment"` and `"skip"` as valid values for `if-no-changes` |
| 33 | +- **Actual valid values**: `"warn"` (default), `"error"`, `"ignore"` (from Go implementation) |
| 34 | +- **This is a priority-1 incorrect gap** |
| 35 | + |
| 36 | +### MCP Server CLI SSE `tools/list` fix (PR #27207, 2026-04-19) |
| 37 | +- **Fix**: MCP servers mounted as CLI tools now correctly handle SSE-formatted `tools/list` responses |
| 38 | +- **Impact**: Resolves edge case where MCP server as CLI would fail to enumerate tools |
| 39 | +- **Source**: https://github.com/github/gh-aw/commit/c27524b9eec4a58700270582c92660f6ef1e2895 |
| 40 | + |
| 41 | +--- |
| 42 | + |
| 43 | +## 2. GitHub MCP Server Updates |
| 44 | + |
| 45 | +No new releases or commits since v1.0.0 (2026-04-16). Latest commit: validation fix for `set_issue_fields` to enforce exactly one value key per field (2026-04-16). |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## 3. Gap Analysis Summary |
| 50 | + |
| 51 | +| Gap | Type | File | Priority | |
| 52 | +|-----|------|------|----------| |
| 53 | +| GAP-1: `if-no-changes` has wrong values ("comment","skip") — should be "warn","error","ignore" | incorrect | `safe-outputs.md` | 1 (highest) | |
| 54 | +| GAP-2: `update-pull-request` missing `update-branch` parameter | missing | `safe-outputs.md` | 3 | |
| 55 | +| GAP-3: `push-to-pull-request-branch` missing `fallback-as-pull-request` parameter | missing | `safe-outputs.md` | 3 | |
| 56 | +| GAP-4: `push-to-pull-request-branch` missing `allowed-files`, `excluded-files`, `patch-format`, `ignore-missing-branch-failure` | missing | `safe-outputs.md` | 3 | |
| 57 | +| GAP-5: SEC-005 `workflow_dispatch` target repo allowlist not documented | missing | `production-gotchas.md` | 3 | |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +## 4. Knowledge Base Updates |
| 62 | + |
| 63 | +- `update-pull-request update-branch` parameter documented |
| 64 | +- `push-to-pull-request-branch fallback-as-pull-request` parameter documented |
| 65 | +- SEC-005 enforcement noted |
| 66 | +- `if-no-changes` correct values recorded |
| 67 | + |
| 68 | +--- |
| 69 | + |
| 70 | +_Automated by Daily Intelligence Pipeline · 2026-04-20_ |
0 commit comments