Skip to content

Add UX Design Patrol agent#356

Merged
strawgate merged 3 commits intomainfrom
copilot/add-ux-design-drift-agent
Feb 22, 2026
Merged

Add UX Design Patrol agent#356
strawgate merged 3 commits intomainfrom
copilot/add-ux-design-drift-agent

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

Adds a new ux-design-patrol scheduled agent workflow to detect user-facing UI/UX design drift introduced by recent commits and file actionable consolidation reports only when inconsistencies are concrete and user-noticeable.

What this PR changes

  • Adds .github/workflows/gh-aw-ux-design-patrol.md with the workflow definition, drift-detection prompt, and a strict quality gate that prefers noop unless findings are high-signal.
  • Adds .github/workflows/gh-aw-ux-design-patrol.lock.yml (compiled workflow).
  • Adds .github/workflows/trigger-ux-design-patrol.yml for dogfooding (weekday schedule + workflow_dispatch).
  • Adds consumer-facing docs and template workflow:
    • gh-agent-workflows/ux-design-patrol/README.md
    • gh-agent-workflows/ux-design-patrol/example.yml

Inputs

Input Default
model gpt-5.3-codex
additional-instructions ""
setup-commands ""
allowed-bot-users github-actions[bot]
messages-footer ""
lookback-window 7 days ago

Reporting behavior

  • Uses create-issue safe output with title prefix [ux-design-patrol] .
  • Limits open reports to 1 and auto-closes older patrol reports.
  • Sets a 7-day expiry for generated reports.
  • Treats noop as the expected default when no strong inconsistency is found.

Fixes #353.

Generated by Update PR Body

Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com>
Copilot AI changed the title [WIP] Add UX design drift agent for consistent design patterns Add UX Design Patrol agent Feb 21, 2026
Copilot AI requested a review from strawgate February 21, 2026 21:39
@strawgate strawgate marked this pull request as ready for review February 22, 2026 00:46
@coderabbitai
Copy link

coderabbitai bot commented Feb 22, 2026

📝 Walkthrough

Walkthrough

The PR introduces a comprehensive UX Design Patrol automation system that detects UI/UX design drift through Copilot-based analysis, alongside a minor workflow naming normalization. It includes a scheduled CI/CD workflow with multiple interdependent jobs, artifact management, and supporting documentation.

Changes

Cohort / File(s) Summary
Agentics Maintenance
.github/workflows/agentics-maintenance.yml
Removed quotes from workflow name, changing from "Internal: Agentic Maintenance" to unquoted format.
UX Design Patrol Workflow Infrastructure
.github/workflows/gh-aw-ux-design-patrol.lock.yml, .github/workflows/trigger-ux-design-patrol.yml
Adds a comprehensive locked workflow for UX Design Patrol automation with multi-stage jobs (activation, agent execution, detection, safe outputs), Copilot CLI integration, MCP server configuration, artifact handling, and issue creation. Includes a trigger workflow that runs on weekday schedule (0 13 * * 1-5) or manual dispatch.
UX Design Patrol Documentation
.github/workflows/gh-aw-ux-design-patrol.md
Adds detailed workflow documentation covering automation metadata, inputs, secrets, permissions, detection criteria (formatting, prompts, status representations, color/icon usage), analysis methodology, and issue template format.
UX Design Patrol Agent Setup
gh-agent-workflows/ux-design-patrol/README.md, gh-agent-workflows/ux-design-patrol/example.yml
Adds README with purpose, installation, trigger conditions, and inputs table; includes example workflow file demonstrating UX Design Patrol invocation with proper permissions and secret handling.

Sequence Diagram

sequenceDiagram
    participant Schedule as Scheduler/Manual
    participant Trigger as trigger-ux-design-patrol
    participant Activation as Activation Jobs
    participant Agent as Agent Execution
    participant Detection as Detection Pipeline
    participant Outputs as Safe Outputs
    participant GitHub as GitHub Issues

    Schedule->>Trigger: Trigger workflow (schedule or manual)
    Trigger->>Activation: Start activation checks
    Activation-->>Agent: Pre-flight validation
    Agent->>Agent: Create prompts
    Agent->>Agent: Setup MCP server
    Agent->>Agent: Run Copilot CLI
    Agent-->>Detection: Output analysis results
    Detection->>Detection: Parse threat/drift analysis
    Detection-->>Outputs: Detected issues
    Outputs->>Outputs: Redact logs/secrets
    Outputs->>Outputs: Generate reports
    Outputs->>GitHub: Create consolidation issues
    Outputs-->>Trigger: Complete workflow
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested reviewers

  • github-actions

Poem

🐰 Hop hop, designs aligned!
Where patterns once were undefined,
Now drift detection keeps things true,
One cohesive UX view!
No more scattered UI confusion—
Just consolidated precision!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add UX Design Patrol agent' clearly and concisely describes the main change—introducing a new UX Design Patrol agent that detects UI/UX design drift.
Linked Issues check ✅ Passed The pull request fully implements the objective from issue #353: a low-noise, high-signal agent to detect and consolidate UI/UX design drift across recent commits.
Out of Scope Changes check ✅ Passed All changes are directly related to implementing the UX Design Patrol agent; the minor workflow name normalization is incidental and not out-of-scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch copilot/add-ux-design-drift-agent

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Add UX Design Drift Agent

2 participants