Skip to content

feat: guidelines-enforcer workflow with round-robin schedule and PR review comments#1174

Merged
pelikhan merged 2 commits into
mainfrom
copilot/create-daily-agentic-workflow-yet-again
Jul 15, 2026
Merged

feat: guidelines-enforcer workflow with round-robin schedule and PR review comments#1174
pelikhan merged 2 commits into
mainfrom
copilot/create-daily-agentic-workflow-yet-again

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Adds a new guidelines-enforcer agentic workflow that enforces .github/workflows/guidelines.md rules across the corpus and integrates it into the workshop-builder dispatch loop.

guidelines-enforcer.md

Dual-mode workflow driven by $GITHUB_EVENT_NAME:

  • Schedule/dispatch: Loads round-robin state from 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 .md files from the PR via gh pr view --json files, reviews each, and posts inline comments via create-pull-request-review-comment (max 20).

Both modes enforce: numbered-header prohibition, alert callout patterns, tooling-progression ordering, cron-vs-fuzzy schedule syntax in .md files, 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.md

  • Added guidelines-enforcer to dispatch-workflow allowlist and eligibility table (nodes ≥ 3, cooldown 24 h).
  • Appended to Tier A priority list and focus-hint routing ("guidelines", "rules", "enforce").

Lock files regenerated via gh aw compile (0 errors, 0 warnings).

Copilot AI and others added 2 commits July 15, 2026 04:55
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 AI requested a review from pelikhan July 15, 2026 04:56
@pelikhan pelikhan marked this pull request as ready for review July 15, 2026 04:57
@pelikhan pelikhan merged commit 44afd33 into main Jul 15, 2026
@pelikhan pelikhan deleted the copilot/create-daily-agentic-workflow-yet-again branch July 15, 2026 04:57
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