Skip to content

chore: sync workflow templates - #613

Closed
stranske wants to merge 1 commit into
mainfrom
sync/workflows-8a669b3c40c8
Closed

chore: sync workflow templates#613
stranske wants to merge 1 commit into
mainfrom
sync/workflows-8a669b3c40c8

Conversation

@stranske

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • agents-81-gate-followups.yml: Gate followups hub - consolidates keepalive and autofix followups
  • agents-bot-comment-handler.yml: Bot comment handler - dispatches agents to address bot review comments (deprecated; replaced by agents-80-pr-event-hub.yml, removal no earlier than 2026-02-15)
  • agents-verify-to-new-pr.yml: Verify to new PR - creates follow-up issue and immediately dispatches auto-pilot to prepare a replacement PR (bridge inlined)
  • agents-weekly-metrics.yml: Weekly metrics - aggregates auto-pilot, keepalive, autofix and verifier metrics into summary reports
  • aggregate_agent_metrics.py: Aggregates downloaded weekly agent metrics - required by agents-weekly-metrics.yml
  • terminal_disposition.js: Machine-readable terminal disposition records and source summaries
  • terminal_disposition_coverage.js: Warning-only terminal disposition source coverage preflight
  • bot_comment_auth_coverage.js: Warning-only bot-comment App auth coverage preflight
  • coverage_monitor_summary.js: Machine-readable weekly coverage monitor checkpoint
  • weekly_metrics_artifacts.js: Bounded weekly metrics artifact selection contract
  • weekly_metrics_download_manifest.js: Weekly metrics artifact download and extraction manifest contract
  • keepalive_loop.js: Core keepalive loop logic
  • agents_pr_meta_update_body.js: Updates PR body with agent metadata
  • setup-api-client/ (1 files): Unified API client setup - installs @octokit deps and exports all load balancer tokens

Files Skipped

  • pr-00-gate.yml: File exists and sync_mode is create_only
  • ci.yml: File exists and sync_mode is create_only
  • dependabot.yml: File exists and sync_mode is create_only
  • llm_slots.json: None

Review Checklist

  • CI passes with updated workflows
  • No repo-specific customizations were overwritten

Source: stranske/Workflows
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 8a669b3c40c8

Changes synced from sync-manifest.yml
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Apr 26, 2026
Copilot AI review requested due to automatic review settings April 26, 2026 15:16
@agents-workflows-bot

Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #613. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@agents-workflows-bot

agents-workflows-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #613 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate success
Tasks 0/18 complete
Timeout 45 min (default)
Timeout usage 6m elapsed (14%, 39m remaining)
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

@agents-workflows-bot

agents-workflows-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor
Keepalive Work Log (click to expand)
# Time (UTC) Agent Action Result Files Tasks Progress Commit Gate
0 2026-04-26 15:18:24 Codex wait (missing-agent-label-transient) skipped 0 0/18 cancelled
0 2026-04-26 15:22:16 Codex wait (missing-agent-label-transient) skipped 0 0/18 cancelled
0 2026-04-26 15:23:06 Codex wait (missing-agent-label-transient) skipped 0 0/18 success

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

Synchronizes workflow/templates from stranske/Workflows, expanding the weekly metrics pipeline and terminal-disposition telemetry so weekly reporting can capture artifact download status, verifier follow-up ledger records, and additional coverage/compatibility contracts.

Changes:

  • Add an artifact download manifest (JSON + markdown) to weekly metrics collection, and emit a machine-readable weekly metrics summary JSON contract.
  • Extend terminal-disposition + verifier telemetry (verifier follow-up ledger records, verifier model compatibility checks, richer selection status reporting).
  • Refine keepalive checklist/task accounting to exclude placeholder/status-metric items from “actionable” task counts.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
scripts/aggregate_agent_metrics.py Adds metric source attribution, parse error details, verifier follow-up ledger aggregation, and emits a JSON summary contract.
.github/workflows/agents-weekly-metrics.yml Tracks artifact download/unzip outcomes via a manifest; uploads new JSON artifacts.
.github/workflows/agents-verify-to-new-pr.yml Adds verifier follow-up ledger emission + labels, and updates multiple action references.
.github/workflows/agents-bot-comment-handler.yml Adds skip-reason output and emits a wrapper terminal-disposition record artifact.
.github/workflows/agents-81-gate-followups.yml Minor tweak to jq invocation for metrics JSON generation.
.github/scripts/weekly_metrics_download_manifest.js New script to initialize/record/finalize artifact download manifest (JSON + markdown).
.github/scripts/weekly_metrics_artifacts.js Adds “priority family” availability/selection status reporting to selection output.
.github/scripts/terminal_disposition_coverage.js Adds verifier model compatibility checks and richer terminal artifact family status reporting.
.github/scripts/terminal_disposition.js Adds verifier follow-up ledger + policy normalization helpers and extra terminal-disposition fields.
.github/scripts/keepalive_loop.js Switches to actionable-only checkbox counting and filters out status/placeholder checklist items.
.github/scripts/coverage_monitor_summary.js New weekly contract summarizing multiple coverage monitors into one status/next-action output.
.github/scripts/bot_comment_auth_coverage.js Adds reusable-wrapper skip semantics for organic evidence and richer missing/skipped requirement details.
.github/scripts/agents_pr_meta_update_body.js Adds issue metadata comment + “Closes” vs campaign-related wording based on source issue labels.
.github/actions/setup-api-client/action.yml Adds a redacted machine-readable setup_contract output describing auth modes and dependency state.

- name: Checkout repository
if: steps.check-merged.outputs.merged == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
uses: actions/checkout@v6

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

This changes actions/checkout from a pinned commit SHA to @v6. Repo workflows consistently pin actions to commit SHAs (see .github/workflows/agents-weekly-metrics.yml:29-31) for reproducibility/security; please pin this action to the same SHA style.

Suggested change
uses: actions/checkout@v6
uses: actions/checkout@FULL_LENGTH_COMMIT_SHA_FOR_V6

Copilot uses AI. Check for mistakes.
id: chain-check
if: steps.check-merged.outputs.merged == 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
steps.chain-check.outputs.exceeded != 'true' &&
steps.extract-verdict.outputs.needs_human == 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
steps.extract-verdict.outputs.needs_human != 'true' &&
steps.create-issue.outputs.issue_number != ''
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
steps.chain-check.outputs.exceeded != 'true' &&
steps.extract-verdict.outputs.needs_human != 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
id: collect
if: steps.check-merged.outputs.merged == 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Suggested change
uses: actions/github-script@v9
uses: actions/github-script@<FULL_LENGTH_V9_COMMIT_SHA> # v9

Copilot uses AI. Check for mistakes.
steps.chain-check.outputs.exceeded != 'true' &&
steps.extract-verdict.outputs.needs_human != 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Suggested change
uses: actions/github-script@v9
uses: actions/github-script@<PINNED_V9_COMMIT_SHA> # v9

Copilot uses AI. Check for mistakes.
steps.chain-check.outputs.exceeded != 'true' &&
steps.extract-verdict.outputs.needs_human != 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
- name: Remove trigger label
if: steps.check-merged.outputs.merged == 'true'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

Floating actions/github-script@v9 deviates from the repo’s pinned-SHA workflow convention (e.g. .github/workflows/agents-bot-comment-handler.yml:86). Please pin to a commit SHA with an inline # v9 comment.

Copilot uses AI. Check for mistakes.
- name: Check PR is merged
id: check-merged
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
uses: actions/github-script@v9

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

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

This workflow switches from pinned-action SHAs to a floating tag (actions/github-script@v9). In this repo, workflows typically pin third-party actions to a full commit SHA (e.g. actions/github-script@3a2844… # v9 in .github/workflows/agents-weekly-metrics.yml:314) to avoid supply-chain drift. Please revert to the pinned SHA form here.

Suggested change
uses: actions/github-script@v9
uses: actions/github-script@3a2844bcfa5f61316c1b5c2c7f3d5a2a7b6e3f2d # v9

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated sync from Workflows sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants