feat: guidelines-enforcer workflow with round-robin schedule and PR review comments#1174
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
feat: add guidelines-enforcer workflow
feat: guidelines-enforcer workflow with round-robin schedule and PR review comments
Jul 15, 2026
Copilot created this pull request from a session on behalf of
pelikhan
July 15, 2026 04:56
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new
guidelines-enforceragentic workflow that enforces.github/workflows/guidelines.mdrules across the corpus and integrates it into theworkshop-builderdispatch loop.guidelines-enforcer.mdDual-mode workflow driven by
$GITHUB_EVENT_NAME:cache-memory, selects 10–15 files per run using modular index arithmetic, checks each against all guidelines rules, and opens[guidelines]-prefixed issues (max 10, 7-day expiry, deduped by title).pull_request(opened/synchronize): Fetches changed.mdfiles from the PR viagh pr view --json files, reviews each, and posts inline comments viacreate-pull-request-review-comment(max 20).Both modes enforce: numbered-header prohibition, alert callout patterns, tooling-progression ordering, cron-vs-fuzzy schedule syntax in
.mdfiles, UI-first design, prerequisite scoping, checkpoint presence, and voice/tone rules.State persisted in
cache-memory:{ "round_robin_index": 42, "files_reviewed": [...], "last_run": "2026-07-15T..." }workshop-builder.mdguidelines-enforcertodispatch-workflowallowlist and eligibility table (nodes ≥ 3, cooldown 24 h)."guidelines","rules","enforce").Lock files regenerated via
gh aw compile(0 errors, 0 warnings).