Skip to content

chore: sync workflow templates - #958

Closed
stranske wants to merge 1 commit into
mainfrom
sync/workflows-0aca1452db47
Closed

chore: sync workflow templates#958
stranske wants to merge 1 commit into
mainfrom
sync/workflows-0aca1452db47

Conversation

@stranske

@stranske stranske commented May 5, 2026

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • autofix.yml: Autofix workflow - automatically fixes lint/format issues
  • agents-80-pr-event-hub.yml: PR event hub - consolidates PR meta, bot comments, and verify-to-issue handlers
  • agents-81-gate-followups.yml: Gate followups hub - consolidates keepalive and autofix followups
  • agents-keepalive-loop-reporter.yml: Keepalive reporter - posts summary when keepalive run fails or cancels
  • agents-autofix-dispatcher.yml: Autofix dispatch bridge - listens for Gate repository_dispatch events and triggers the autofix loop
  • agents-verifier.yml: Verifier - validates agent work meets acceptance criteria
  • agents-auto-label.yml: Auto-label - suggests/applies labels based on semantic matching (Phase 5A)
  • agents-guard.yml: Agents guard - enforces agents workflow protections (Health 45)
  • agents-auto-pilot.yml: Auto-pilot - end-to-end automation orchestrator (format → optimize → agent → verify)
  • state_fingerprint.py: Computes workflow state fingerprints for unchanged-state skip gates
  • sync_test_dependencies.py: Syncs test dependency pins - required by reusable CI workflow
  • detect-changes.js: Detects changed files for CI path-based filtering
  • agents-guard.js: Health 45 agents guard logic used by the workflow protections
  • keepalive_orchestrator_gate_runner.js: Orchestrator gate runner for keepalive
  • gate_summary.py: Gate summary renderer - generates PR gate check summary
  • path-classification.yml: Path classification config used by the path-classifier composite action
  • agent-event-eligibility/ (2 files): Agent event eligibility action - early no-op gate for agent workflows
  • path-classifier/ (2 files): Classifies changed PR paths for path-aware expensive job gating
  • LABELS.md: Label definitions and usage
  • CODEX_TOKEN_REFRESH.md: Codex OAuth token refresh guide
  • WORKFLOW_USER_GUIDE.md: Workflow user guide - explains the CI/agent system for repo consumers
  • removed consumer/.github/workflows/agents-pr-meta.yml: Remove deprecated PR metadata template workflow past the 2026-02-15 removal deadline (replaced by agents-80-pr-event-hub.yml)
  • removed consumer/.github/workflows/agents-keepalive-loop.yml: Remove deprecated keepalive loop template workflow past the 2026-02-15 removal deadline (replaced by agents-81-gate-followups.yml)
  • removed consumer/.github/workflows/agents-autofix-loop.yml: Remove deprecated autofix loop template workflow past the 2026-02-15 removal deadline (replaced by agents-81-gate-followups.yml)
  • removed consumer/.github/workflows/agents-bot-comment-handler.yml: Remove deprecated bot comment handler template workflow past the 2026-02-15 removal deadline (replaced by agents-80-pr-event-hub.yml)
  • removed consumer/.github/workflows/agents-verify-to-issue.yml: Remove deprecated verify-to-issue v1 template workflow past the 2026-02-15 removal deadline (replaced by agents-80-pr-event-hub.yml)
  • removed consumer/.github/workflows/agents-verify-to-issue-v2.yml: Remove deprecated verify-to-issue v2 template workflow past the 2026-02-15 removal deadline (replaced by agents-80-pr-event-hub.yml)

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: 9a87e88315550c8f246817bb77e665f6d6c9d267
Template hash: 0aca1452db47
Sync branch: sync/workflows-0aca1452db47
Consumer repo: stranske/Manager-Database
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 0aca1452db47

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings May 5, 2026 03:15
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels May 5, 2026
@stranske
stranske temporarily deployed to agent-standard May 5, 2026 03:15 — with GitHub Actions Inactive
@agents-workflows-bot

Copy link
Copy Markdown
Contributor

Health 45 Agents Guard stopped this pull request.

What we found

  • • .github/workflows/agents-autofix-loop.yml was deleted.
  • • .github/workflows/agents-bot-comment-handler.yml was deleted.
  • • .github/workflows/agents-keepalive-loop.yml was deleted.
  • • .github/workflows/agents-verify-to-issue-v2.yml was deleted.

Next steps

  • Restore the deleted or renamed workflows. These files cannot be moved or removed.
  • Push an update or re-run this workflow after addressing the issues.

Files seen in this run

  • .github/workflows/agents-80-pr-event-hub.yml (modified)
  • .github/workflows/agents-81-gate-followups.yml (modified)
  • .github/workflows/agents-auto-label.yml (modified)
  • .github/workflows/agents-auto-pilot.yml (modified)
  • .github/workflows/agents-autofix-dispatcher.yml (modified)
  • .github/workflows/agents-autofix-loop.yml (removed)
  • .github/workflows/agents-bot-comment-handler.yml (removed)
  • .github/workflows/agents-guard.yml (modified)
  • .github/workflows/agents-keepalive-loop-reporter.yml (modified)
  • .github/workflows/agents-keepalive-loop.yml (removed)
  • .github/workflows/agents-pr-meta.yml (removed)
  • .github/workflows/agents-verifier.yml (modified)
  • .github/workflows/agents-verify-to-issue-v2.yml (removed)
  • .github/workflows/agents-verify-to-issue.yml (removed)

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 repo’s GitHub Actions automation/templates from stranske/Workflows, including consolidation of deprecated agent workflows and new gating utilities to reduce unnecessary runs.

Changes:

  • Replaces deprecated agent workflows with consolidated hubs (agents-80-pr-event-hub.yml, agents-81-gate-followups.yml) and updates docs to reference the new entrypoints.
  • Adds unchanged-state skipping via scripts/state_fingerprint.py and wires it into verifier/keepalive/gate-followups workflows.
  • Introduces reusable gating utilities (agent-event-eligibility and path-classifier) and updates supporting scripts (guard, change detection, gate summary).

Reviewed changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
WORKFLOW_USER_GUIDE.md Updates troubleshooting guidance to reference consolidated workflows.
scripts/sync_test_dependencies.py Expands stdlib/module mapping logic used for test dependency syncing.
scripts/state_fingerprint.py New helper to hash workflow inputs and persist/read prior fingerprints (PR comments or repo variables).
docs/LABELS.md Updates workflow references for label-driven behaviors (verify/create-issue, keepalive).
docs/CODEX_TOKEN_REFRESH.md Updates token refresh instructions to use the consolidated gate-followups workflow.
.github/workflows/autofix.yml Adds early eligibility gate and safer defaults for should_run.
.github/workflows/agents-verify-to-issue.yml Removes deprecated v1 verify-to-issue workflow.
.github/workflows/agents-verify-to-issue-v2.yml Removes deprecated v2 verify-to-issue workflow (replaced by PR event hub).
.github/workflows/agents-verifier.yml Adds fingerprint-based unchanged-state gating before invoking reusable verifier.
.github/workflows/agents-pr-meta.yml Removes deprecated PR meta workflow (replaced by PR event hub).
.github/workflows/agents-keepalive-loop.yml Removes deprecated keepalive loop workflow (replaced by gate followups).
.github/workflows/agents-keepalive-loop-reporter.yml Adds fingerprint-based skip to avoid duplicate reporter posts.
.github/workflows/agents-guard.yml Adds event eligibility gating to reduce unnecessary guard executions.
.github/workflows/agents-bot-comment-handler.yml Removes deprecated bot comment handler workflow (replaced by PR event hub).
.github/workflows/agents-autofix-loop.yml Removes deprecated autofix loop workflow (replaced by gate followups).
.github/workflows/agents-autofix-dispatcher.yml Switches to an informational “handled by consolidated workflow” acknowledgment.
.github/workflows/agents-auto-pilot.yml Adds eligibility gating and updates dispatch targets to consolidated workflows.
.github/workflows/agents-auto-label.yml Updates triggers and adds eligibility gating to avoid bot-driven runs.
.github/workflows/agents-81-gate-followups.yml Adds fingerprint skip + consolidates followup logic under the new workflow.
.github/workflows/agents-80-pr-event-hub.yml Adds eligibility gating and routes handlers via consolidated PR event hub.
.github/scripts/keepalive_orchestrator_gate_runner.js Enhances keepalive gate logic (label normalization, draft routing, self-healing labels).
.github/scripts/gate_summary.py Incorporates PYTHON_REQUIRED to interpret skipped Python CI correctly.
.github/scripts/detect-changes.js Hardens input normalization and makes rate-limit wrapper optional.
.github/scripts/agents-guard.js Allows removal of additional deprecated workflow paths in guard enforcement.
.github/path-classification.yml Adds repo path classification rules for CI/workflow gating.
.github/actions/path-classifier/classify.js New action script to classify changed files into categories.
.github/actions/path-classifier/action.yml Composite action wrapper for path classification.
.github/actions/agent-event-eligibility/eligibility.js New action to pre-filter events/actors/labels via a simple predicate language.
.github/actions/agent-event-eligibility/action.yml Composite action wrapper for event eligibility gating.

Comment on lines +88 to +93
- name: Compute state fingerprint
id: fingerprint
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: >-
@stranske

stranske commented May 5, 2026

Copy link
Copy Markdown
Owner Author

Closing as stale because Workflows source fixes merged and a newer sync workflow templates PR now exists for this repository.

@stranske stranske closed this May 5, 2026
@stranske
stranske deleted the sync/workflows-0aca1452db47 branch May 14, 2026 18:40
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