Skip to content

feat(ci): add agentic workflow config-sync-checker#224

Merged
YousefHadder merged 2 commits intomainfrom
yousefhadder/feat-config-sync-checker
Mar 7, 2026
Merged

feat(ci): add agentic workflow config-sync-checker#224
YousefHadder merged 2 commits intomainfrom
yousefhadder/feat-config-sync-checker

Conversation

@YousefHadder
Copy link
Copy Markdown
Owner

Daily agentic workflow that checks the 4 canonical config files stay in sync and opens a GitHub issue when they drift.

The 4 files that must agree on every config option:

  • lua/markdown-plus/types.lua — LuaCATS type definitions
  • lua/markdown-plus/config/validate.lua — validation schema
  • lua/markdown-plus/init.lua — default values
  • doc/markdown-plus.txt — vimdoc documentation

The workflow runs 3 phases:

  1. Extract — reads all 4 files, parses config fields using file-specific patterns
  2. Cross-reference — builds a comparison matrix, categorizes mismatches by severity (CRITICAL/HIGH/MEDIUM/LOW)
  3. Report or exit — creates a [config-sync] issue with fix instructions, or exits cleanly if everything is in sync

Also includes skip-if-match to prevent duplicate issues when one is already open.

Side-effect: gh aw compile bumped gh-aw from v0.53.6 → v0.54.0 in the maintenance and daily-doc-updater lock files.

Tested by running gh aw compile — 0 errors, 0 warnings, valid YAML output.

Copilot AI review requested due to automatic review settings March 7, 2026 06:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 adds a new daily agentic workflow (config-sync-checker) that verifies the 4 canonical config files stay in sync (types, validation, defaults, and vimdoc), and opens a GitHub issue when they drift. As a side-effect, gh aw compile bumped gh-aw from v0.53.6 → v0.54.0 in the maintenance and daily-doc-updater lockfiles.

Changes:

  • New config-sync-checker.md workflow with 3-phase analysis (extract fields → cross-reference → report/exit), severity-based categorization, and skip-if-match dedup
  • Auto-generated config-sync-checker.lock.yml lockfile produced by gh aw compile
  • Version bump of gh-aw from v0.53.6 to v0.54.0 in daily-doc-updater.lock.yml and agentics-maintenance.yml

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/config-sync-checker.md New agentic workflow definition with agent instructions for config consistency checking across 4 canonical files
.github/workflows/config-sync-checker.lock.yml Auto-generated lockfile for the new config-sync-checker workflow
.github/workflows/daily-doc-updater.lock.yml gh-aw version bump from v0.53.6 to v0.54.0 (SHA → tag refs)
.github/workflows/agentics-maintenance.yml gh-aw version bump from v0.53.6 to v0.54.0 (SHA → tag refs)

@YousefHadder YousefHadder merged commit a6803f8 into main Mar 7, 2026
15 checks passed
@YousefHadder YousefHadder deleted the yousefhadder/feat-config-sync-checker branch March 7, 2026 06:42
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