Skip to content

chore: sync agents-guard.js to allow Wave 0 deprecated removals - #195

Closed
stranske wants to merge 1 commit into
mainfrom
chore/sync-agents-guard-allow-wave0
Closed

chore: sync agents-guard.js to allow Wave 0 deprecated removals#195
stranske wants to merge 1 commit into
mainfrom
chore/sync-agents-guard-allow-wave0

Conversation

@stranske

@stranske stranske commented May 5, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

Manual: confirm the agents-guard check passes by re-running the guard on this PR

Adds the 4 deprecated template workflows from Workflows PR #1993
(agents-autofix-loop, agents-bot-comment-handler,
agents-keepalive-loop, agents-verify-to-issue-v2) to
ALLOW_REMOVED_PATHS so the upcoming sync PRs can land their
deletions cleanly.
Copilot AI review requested due to automatic review settings May 5, 2026 03:25

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

This PR updates the Health 45 Agents Guard allowlist to permit removal of additional deprecated workflow files (Wave 0 cleanup), unblocking upcoming workflow-template sync work.

Changes:

  • Expand ALLOW_REMOVED_PATHS in .github/scripts/agents-guard.js to include several deprecated consumer-template workflows so their deletion/renames don’t fail the guard check.

Comment on lines 32 to +36
// v1 verify-to-issue workflow deprecated; v2 is the active version.
// Archived to archives/deprecated-workflows/
'.github/workflows/agents-verify-to-issue.yml',
// Wave 0 cleanup removes deprecated consumer-template workflows past the
// 2026-02-15 deprecation deadline so sync PRs can delete stale copies.
Comment on lines 32 to +40
// v1 verify-to-issue workflow deprecated; v2 is the active version.
// Archived to archives/deprecated-workflows/
'.github/workflows/agents-verify-to-issue.yml',
// Wave 0 cleanup removes deprecated consumer-template workflows past the
// 2026-02-15 deprecation deadline so sync PRs can delete stale copies.
'.github/workflows/agents-autofix-loop.yml',
'.github/workflows/agents-bot-comment-handler.yml',
'.github/workflows/agents-keepalive-loop.yml',
'.github/workflows/agents-verify-to-issue-v2.yml',
@stranske

stranske commented May 5, 2026

Copy link
Copy Markdown
Owner Author

Closing — superseded by Workflows commit d9a92a4f which lockstep-updated templates/consumer-repo/.github/scripts/agents-guard.js to match the canonical (modern LEGACY+CONSUMER_ONLY structure). The next sync run will deliver the correct guard.js to this repo, so this prerequisite PR is no longer needed.

@stranske stranske closed this May 5, 2026
@stranske
stranske deleted the chore/sync-agents-guard-allow-wave0 branch May 14, 2026 19:50
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