Skip to content

chore: sync workflow templates - #351

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

chore: sync workflow templates#351
stranske wants to merge 1 commit into
mainfrom
sync/workflows-aa87958cbd5c

Conversation

@stranske

@stranske stranske commented May 4, 2026

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • agents-81-gate-followups.yml: Gate followups hub - consolidates keepalive and autofix followups
  • agents-autofix-dispatcher.yml: Autofix dispatch bridge - listens for Gate repository_dispatch events and triggers the autofix loop
  • agents-auto-pilot.yml: Auto-pilot - end-to-end automation orchestrator (format → optimize → agent → verify)
  • keepalive_orchestrator_gate_runner.js: Orchestrator gate runner for keepalive
  • 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: a7734417f00b3989ec261d80c03d9cbf1439e5cd
Template hash: aa87958cbd5c
Sync branch: sync/workflows-aa87958cbd5c
Consumer repo: stranske/Inv-Man-Intake
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: aa87958cbd5c

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings May 4, 2026 05:21
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels May 4, 2026
@stranske
stranske temporarily deployed to agent-standard May 4, 2026 05:21 — with GitHub Actions Inactive
@stranske
stranske temporarily deployed to agent-standard May 4, 2026 05:21 — with GitHub Actions Inactive
@stranske-keepalive

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-81-gate-followups.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-keepalive-loop.yml (removed)
  • .github/workflows/agents-pr-meta.yml (removed)
  • .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

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 workflow templates/docs with stranske/Workflows by consolidating references onto the new “event hub” + “gate followups” workflows and removing deprecated legacy templates.

Changes:

  • Update documentation to reference agents-80-pr-event-hub.yml and agents-81-gate-followups.yml.
  • Remove deprecated workflow templates that have passed the 2026-02-15 removal deadline.
  • Adjust automation workflows/scripts to align with consolidated followups handling.

Reviewed changes

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

Show a summary per file
File Description
docs/LABELS.md Updates label → workflow mappings to consolidated workflows.
docs/CODEX_TOKEN_REFRESH.md Updates the “verify” command to trigger agents-81-gate-followups.yml.
WORKFLOW_USER_GUIDE.md Updates troubleshooting guidance to point to agents-80-pr-event-hub.yml.
.github/workflows/agents-autofix-dispatcher.yml Replaces the old dispatch behavior with a consolidated-handling acknowledgement.
.github/workflows/agents-auto-pilot.yml Dispatches agents-80-pr-event-hub.yml and agents-81-gate-followups.yml after auto-pilot PR creation.
.github/workflows/agents-81-gate-followups.yml Updates autofix attempt tracking to reference the consolidated workflow filename.
.github/scripts/keepalive_orchestrator_gate_runner.js Enhances keepalive gate runner behavior (label normalization, agent inference, draft disposition routing).
.github/workflows/agents-verify-to-issue.yml Removes deprecated workflow template.
.github/workflows/agents-verify-to-issue-v2.yml Removes deprecated workflow template.
.github/workflows/agents-pr-meta.yml Removes deprecated workflow template.
.github/workflows/agents-keepalive-loop.yml Removes deprecated workflow template.
.github/workflows/agents-autofix-loop.yml Removes deprecated workflow template.
.github/workflows/agents-bot-comment-handler.yml Removes deprecated workflow template.

Comment on lines +174 to +183
const body = [
DRAFT_DISPOSITION_MARKER,
'### Draft PR requires human disposition',
'',
`Keepalive found this PR still in draft with ${checkboxCounts.unchecked} unchecked checklist item(s). Draft PRs must not occupy automation capacity silently.`,
'',
`Applied \`${NEEDS_ATTENTION_LABEL}\`, \`${NEEDS_HUMAN_LABEL}\`, and \`${PAUSE_LABEL}\` so this is visible in automation summaries and human queues.`,
'',
'Next human action: finish the unchecked acceptance items and mark the PR ready for review, or close/supersede the PR.',
].join('\n');
Comment on lines 44 to +65
@@ -65,32 +58,8 @@ jobs:
core.setFailed('Missing gate_run_id in payload');
return;
}
const owner = context.repo.owner;
const repo = context.repo.repo;
const defaultBranch = context.payload.repository?.default_branch || 'main';
const ref = `refs/heads/${defaultBranch}`;
try {
await withRetry((client) =>
client.request(
'POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches',
{
owner,
repo,
workflow_id: 'agents-autofix-loop.yml',
ref,
inputs: {
gate_run_id: gateRunId,
pr_number: String(prNumber),
head_sha: headSha,
},
}
)
);
const shaNote = headSha ? `, headSha=${headSha}` : '';
const trace = `gateRunId=${gateRunId}${shaNote}`;
core.info(
`Triggered agents-autofix-loop for PR #${prNumber} (${trace}).`
);
} catch (error) {
core.setFailed(`Failed to dispatch autofix workflow: ${error.message}`);
}
const shaNote = headSha ? `, headSha=${headSha}` : '';
const trace = `gateRunId=${gateRunId}${shaNote}`;
core.info(
`Autofix for PR #${prNumber} is handled by agents-81-gate-followups via Gate workflow_run (${trace}).`
);
@stranske

stranske commented May 5, 2026

Copy link
Copy Markdown
Owner Author

Closing as stale because a newer sync workflow templates PR exists for this repository in the current cleanup campaign.

@stranske stranske closed this May 5, 2026
@agents-workflows-bot
agents-workflows-bot Bot deleted the sync/workflows-aa87958cbd5c branch May 14, 2026 19:35
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