Skip to content

chore: sync workflow templates - #618

Merged
stranske merged 1 commit into
mainfrom
sync/workflows-3df44990832a
Apr 26, 2026
Merged

chore: sync workflow templates#618
stranske merged 1 commit into
mainfrom
sync/workflows-3df44990832a

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
  • AGENTS.md: Context file for agents and coding assistants
  • CLAUDE.md: Context file for Claude/AI assistants

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
Source SHA: da4862697843b534523be3398900d8870719ab21
Template hash: 3df44990832a
Sync branch: sync/workflows-3df44990832a
Consumer repo: stranske/Template
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 3df44990832a

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 18:02
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Apr 26, 2026
@stranske-keepalive

Copy link
Copy Markdown
Contributor

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

@stranske-automation-bot

stranske-automation-bot commented Apr 26, 2026

Copy link
Copy Markdown

🤖 Keepalive Loop Status

PR #618 | 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/20 complete
Timeout 45 min (default)
Timeout usage 6m elapsed (15%, 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). |

@stranske-automation-bot

stranske-automation-bot commented Apr 26, 2026

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

@stranske
stranske merged commit aa79eda into main Apr 26, 2026
120 of 132 checks passed
@stranske
stranske deleted the sync/workflows-3df44990832a branch April 26, 2026 18:07

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

Syncs this repository’s workflow/scripts template set with stranske/Workflows (source SHA da4862697…) to expand weekly metrics artifact handling and improve agent telemetry/coverage reporting.

Changes:

  • Add weekly metrics artifact download manifest generation, plus richer aggregation outputs (Markdown + JSON contract).
  • Extend terminal disposition + bot-comment auth coverage logic and emit additional terminal disposition telemetry artifacts.
  • Refine keepalive loop task counting (actionable-only) and update PR meta preamble behavior for campaign issues.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/aggregate_agent_metrics.py Adds artifact/source attribution, parse-error detail tracking, legacy JSON fallback, and emits a JSON summary contract alongside Markdown.
CLAUDE.md Documents optional GitNexus usage as a local-only indexing/cache helper.
AGENTS.md Mirrors optional GitNexus guidance for agent/coding-assistant context.
.github/workflows/agents-weekly-metrics.yml Generates/records an artifact download manifest, sanitizes artifact dirs, and uploads JSON summary + new artifacts.
.github/workflows/agents-verify-to-new-pr.yml Adds verifier follow-up ledger telemetry and label/agent resolution tweaks; updates action references.
.github/workflows/agents-bot-comment-handler.yml Emits a wrapper terminal disposition artifact with explicit skip reasons and uploads it for coverage/telemetry.
.github/workflows/agents-81-gate-followups.yml Tweaks jq invocation to compact/null-input mode for metrics JSON generation.
.github/scripts/weekly_metrics_download_manifest.js New script to initialize/record/finalize a machine-readable artifact download/unzip manifest + Markdown table.
.github/scripts/weekly_metrics_artifacts.js Adds priority-family status reporting and “latest candidate by family” metadata into the selection report/markdown.
.github/scripts/terminal_disposition_coverage.js Adds verifier model compatibility checks, priority-family status reporting, and expands markdown/report outputs accordingly.
.github/scripts/terminal_disposition.js Extends terminal disposition schema normalization and adds verifier follow-up ledger/policy normalization utilities.
.github/scripts/keepalive_loop.js Counts only “actionable” checklist items (filters placeholders/status metrics) and suppresses some noisy comments.
.github/scripts/coverage_monitor_summary.js New script that summarizes weekly coverage monitor reports into a single JSON/Markdown contract.
.github/scripts/bot_comment_auth_coverage.js Improves organic evidence reporting, including wrapper-driven “reusable invocation expected” skip semantics.
.github/scripts/agents_pr_meta_update_body.js Adjusts preamble to differentiate campaign issues vs normal “Closes #…” behavior and emits issue meta marker.
.github/actions/setup-api-client/action.yml Adds a redacted setup/auth/dependency “setup_contract” output and minor dependency-check commentary.

details[index] = replace(existing, count=existing.count + detail.count)
return

details.append(replace(detail, line=None))

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.

_append_parse_error_detail() is meant to cap stored parse-error details, but when len(details) >= detail_limit and no existing aggregate entry matches, it appends a new detail anyway (with line=None), which can grow the list beyond the configured limit. Adjust the overflow behavior so the list never exceeds detail_limit (e.g., aggregate into an existing "overflow" bucket / last entry, or drop additional details after incrementing a counter).

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 now uses floating action tags (e.g., actions/github-script@v9, actions/checkout@v6, actions/setup-python@v6, actions/upload-artifact@v7). Elsewhere in this repo, the same actions are typically pinned to full commit SHAs with an inline major-version comment (e.g., .github/workflows/agents-weekly-metrics.yml pins actions/checkout and actions/setup-python). Please re-pin these actions to SHAs to reduce supply-chain risk and keep behavior reproducible.

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.

3 participants