Skip to content

chore: sync actions from gh-aw@v0.80.7#164

Merged
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.80.7
Jun 21, 2026
Merged

chore: sync actions from gh-aw@v0.80.7#164
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.80.7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of actions from gh-aw at v0.80.7.

@pelikhan pelikhan marked this pull request as ready for review June 21, 2026 17:12
Copilot AI review requested due to automatic review settings June 21, 2026 17:12
@pelikhan pelikhan merged commit 7f7cdc7 into main Jun 21, 2026
9 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.80.7 branch June 21, 2026 17:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated sync of the setup/ action scripts and supporting assets from gh-aw@v0.80.7, updating the activation/runtime tooling used by this repository’s agentic workflows.

Changes:

  • Adds new shared helpers for slash-command matching and common entity update payload construction (issue/PR updates).
  • Enhances safe-outputs behavior (invocation-time per-type max enforcement) and improves failure/diagnostic handling (engine max-runs signal, tool-call previews, Copilot SDK idle-timeout handling).
  • Extends MCP and CLI bridge validation/UX (schema minLength enforcement; per-field stdin support) and updates model metadata.
Show a summary per file
File Description
setup/setup.sh Adds slash_command_matcher.cjs to the safe-outputs copy list so it’s available inside the safe-outputs runtime tree.
setup/md/engine_max_runs_exceeded.md New prompt template for max-runs guardrail failures.
setup/js/write_daily_aic_usage_cache.cjs Improves cache logging robustness when details can’t be JSON-stringified.
setup/js/update_pull_request.cjs Refactors shared update payload logic to buildCommonEntityUpdateData.
setup/js/update_pr_description_helpers.cjs Minor refactor to reuse assembleMarkdownBodyParts return shape more cleanly.
setup/js/update_network_allowed.cjs New script to expand tokens/domains into network.allowDomains in AWF config.
setup/js/update_issue.cjs Refactors shared update payload logic to buildCommonEntityUpdateData.
setup/js/update_entity_helpers.cjs New shared helper for building common issue/PR update data (title/body/footer).
setup/js/tool_call_details.cjs New helper to extract a best-effort shell command string from tool payloads.
setup/js/slash_command_matcher.cjs New shared parsing/matching for slash commands (exact, wildcard, catch-all).
setup/js/sanitize_content_core.cjs Updates command neutralization to use slash-command matcher and handle wildcards.
setup/js/safe_outputs_handlers.cjs Adds per-type max enforcement at invocation time (dual enforcement) via counted appends.
setup/js/safe_output_type_validator.cjs Improves error messaging with typeHint support for required field validation.
setup/js/run_operation_update_upgrade.cjs Adds notify-via-issue mode for upgrade operations and related dedup/closing logic.
setup/js/route_slash_command.cjs Refactors slash parsing; adds built-in /help response generation and wildcard route matching.
setup/js/resolve_mentions_from_payload.cjs Adds optional allowed-teams support by fetching team members (best-effort).
setup/js/parse_threat_detection_results.cjs Extends parsing to extract final assistant verdicts from additional stream envelope types.
setup/js/models.json Adds/updates model entries and costs.
setup/js/mcp_server_core.cjs Adds schema-driven minLength validation and enhances empty-args guidance with schema hints.
setup/js/mcp_scripts_validation.cjs Implements validateStringMinLengths helper for MCP schema validation.
setup/js/mcp_cli_bridge.cjs Adds per-field stdin (--key .) support and refines stdin handling docs/behavior.
setup/js/handle_agent_failure.cjs Adds tool-call previews for recent tool calls and detects engine max-runs failures.
setup/js/generate_usage_activity_summary.cjs New usage artifact summarizer aggregating firewall/session/gateway activity logs.
setup/js/copilot_sdk_session.cjs Adds command capture to tool start events and treats idle-timeout as success when appropriate.
setup/js/copilot_harness.cjs Uses getPromptPath indirection for prompt rendering; makes proxy auth diagnostic render injectable.
setup/js/check_command_position.cjs Updates command matching to support wildcard/catch-all configured commands.
setup/js/allowed_issue_fields.cjs Improves allowed-fields validation (case-insensitive set, * wildcard support).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 27/27 changed files
  • Comments generated: 4

Comment on lines +1 to +9
> [!WARNING]
> **Engine Max Runs Exceeded**: The {engine_label} engine hit the workflow max runs guardrail and could not continue.

This signal was detected from engine runtime logs.

**What to do next**
- Increase workflow `max-runs` if the task legitimately needs more model invocations.
- Reduce per-run model calls by simplifying prompts, limiting retries, or breaking work into smaller steps.
- Review the run logs to identify repeated loops or retries that consumed invocation budget unexpectedly.
Comment on lines +363 to +369
const leadingWhitespace = s.match(/^\s*/)?.[0] ?? "";
const remainder = s.slice(leadingWhitespace.length);
const matchedCommand = resolveMatchedCommand(remainder, commandNames);
if (matchedCommand) {
const escapedCommand = matchedCommand.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
return s.replace(new RegExp(`^(\\s*)/(${escapedCommand})\\b`, "i"), "$1`/$2`");
}
Comment on lines 371 to 379
for (const name of commandNames) {
if (name.endsWith("*")) {
continue;
}
const escapedCommand = name.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
result = result.replace(new RegExp(`^(\\s*)/(${escapedCommand})\\b`, "i"), "$1`/$2`");
// Stop after first substitution (only one command can be at position 0)
const result = s.replace(new RegExp(`^(\\s*)/(${escapedCommand})\\b`, "i"), "$1`/$2`");
if (result !== s) {
break;
return result;
}
Comment on lines +566 to +571
* When `stdinContent` is provided and non-empty, any '--key .' or '--key=.'
* pair substitutes that field's value with the raw stdin text (per-field
* stdin mode). This enables agents to pipe large text into a single field:
* printf 'Long issue body...' | safeoutputs create_issue --title "Bug" --body .
* When stdin is empty, the '.' is passed through as a literal value.
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants