CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

Build complete Jetstrike Conflict Detector plugin #3834

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/woocommerce-conflict-detector-tb9Ggmainopened Apr 13, 2026
ccantynzcommented Apr 13, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/Intelligent-Plugin-Conflict-Detector/pull/2


Full-stack WordPress plugin for intelligent plugin conflict detection targeting WooCommerce store owners. Production-quality architecture with subscription-ready tiering (Free/Pro/Agency).

Core Systems:

  • Static Analyzer: PHP tokenizer-based detection of function redeclarations, class collisions, global variable conflicts across plugins
  • Hook Analyzer: WordPress action/filter conflict detection with priority collision analysis and aggressive removal warnings
  • Resource Analyzer: Script/style handle collisions, shortcode conflicts, REST API namespace detection
  • Performance Analyzer: Loopback-based per-plugin timing, memory, and query impact measurement with compound slowdown detection
  • WooCommerce Analyzer: Payment gateway conflicts, checkout field interference, cart calculation hooks, template override collisions, HPOS compatibility

Scanner Engine:

  • SandboxEnvironment: Isolated loopback HTTP testing without affecting live site
  • BinarySearch: O(N log N) conflict isolation algorithm with recursive cross-group testing and fixed-plugin isolation
  • ScanQueue: Batched WP-Cron processing with locking, state persistence, and automatic recommendation generation
  • ScanEngine: Orchestrator combining static + runtime + performance analysis

Background Monitoring:

  • Automated scheduled scans via WP-Cron (Pro)
  • Plugin update detection triggering re-scans
  • New plugin activation scanning
  • Health scoring integrated with WordPress Site Health

REST API (jetstrike/v1):

  • Full CRUD for scans and conflicts
  • Plugin listing, system status, settings management
  • Feature-gated endpoints with capability checks

Admin Dashboard:

  • Health score circle with grade (A-F) and contributing factors
  • Conflict severity breakdown (critical/high/medium/low)
  • Quick/Full scan buttons with live progress polling
  • Conflict management table with status actions
  • Scan history with pagination and detail views
  • Settings page with license activation, scan frequency, notifications
  • Upgrade banner for Free tier users

Notifications:

  • HTML email templates with severity-colored conflict tables
  • Slack webhook integration with attachment formatting
  • Admin notice queue for background scan results

Subscription Infrastructure:

  • LicenseManager with API-based activation/validation/deactivation
  • FeatureFlags with tier hierarchy and per-feature gating
  • Weekly scan limits for Free tier, unlimited for Pro/Agency

https://claude.ai/code/session_01HsXnEfW1nKkhcKQFJQC9E3

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts