chore: sync actions from gh-aw@v0.82.1#177
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Automated sync bringing the setup/ action assets in this repo in line with gh-aw@v0.82.1, including prompt guidance, safe-outputs git handling, Copilot SDK BYOK provider inference, and model catalog metadata.
Changes:
- Add guidance in GitHub MCP prompt snippets to avoid
get_me(403 under integration token) and rely on<github-context>for identity. - Extend setup harnesses to infer Copilot SDK BYOK provider type/wire API using
models.jsonmetadata + heuristics. - Improve safe-outputs git behavior by injecting
safe.directorytrust via env-based git config.
Show a summary per file
| File | Description |
|---|---|
| setup/md/github_mcp_tools_with_safeoutputs_prompt.md | Adds identity guidance to avoid get_me and use <github-context>. |
| setup/md/github_mcp_tools_prompt.md | Same identity guidance for the non-safeoutputs variant. |
| setup/js/workflow_metadata_helpers.cjs | Small robustness tweaks (nullish coalescing, compact return). |
| setup/js/set_issue_field.cjs | Simplifies issue-field discovery query/results to repository fields only. |
| setup/js/safe_outputs_handlers.cjs | Adds env-based safe.directory trust injection; adjusts branch pinning behavior in PR creation. |
| setup/js/package.json | Bumps JS dependencies used by setup scripts. |
| setup/js/models.json | Enriches model catalog entries with provider_type (and some wire_api). |
| setup/js/model_costs.cjs | Adds loadModelsJson() to expose/cached raw catalog access. |
| setup/js/install_frontmatter_skills.cjs | New helper script to install “frontmatter skills” via gh skill install. |
| setup/js/harness_retry_guard.cjs | Expands retry-guard patterns for “goal already active” failures. |
| setup/js/generate_aw_info.cjs | Adds optional skills info to generated aw_info.json when configured. |
| setup/js/copilot_sdk_driver.cjs | Supports BYOK provider type + optional wireApi via env vars. |
| setup/js/copilot_harness.cjs | Threads provider type/wire API from reflect+catalog into SDK driver env. |
| setup/js/codex_harness.cjs | Adds token-per-minute rate-limit detection to avoid wasteful retries. |
| setup/js/awf_reflect.cjs | Adds provider-type + wire-API inference logic using catalog + heuristics. |
| setup/js/allowed_issue_fields.cjs | Refactors allowed-field parsing/validation via a shared lowercased set builder. |
| setup/js/add_comment.cjs | Normalizes and merges pre-resolved mention aliases into the allowlist. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 17/17 changed files
- Comments generated: 1
- Review effort level: Low
Comment on lines
801
to
805
| server.debug(`Failed to pin branch '${entry.branch}': ${getErrorMessage(pinError)}`); | ||
| if (useBundle) { | ||
| return { | ||
| content: [ | ||
| { | ||
| type: "text", | ||
| text: JSON.stringify({ | ||
| result: "error", | ||
| error: `Failed to pin branch '${entry.branch}' before bundle generation: ${getErrorMessage(pinError)}`, | ||
| details: `Bundle transport requires branch pinning to prevent patch/bundle desynchronization. Retry after ensuring the branch exists locally (for example: git branch --list '${entry.branch}').`, | ||
| }), | ||
| }, | ||
| ], | ||
| isError: true, | ||
| }; | ||
| server.debug(`create_pull_request: proceeding without branch pinning for '${entry.branch}'; bundle generation will fall back to HEAD-based strategies when available`); | ||
| } | ||
| pinnedSha = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Automated sync of actions from gh-aw at
v0.82.1.