From a3166d9872c33a086d255c2820a459d118afb6ac Mon Sep 17 00:00:00 2001 From: RohanExploit <178623867+RohanExploit@users.noreply.github.com> Date: Sun, 12 Jul 2026 18:59:10 +0000 Subject: [PATCH] feat: Add Daily Civic Intelligence Refinement Engine This PR introduces the automated, self-improving infrastructure requested for VishwaGuru. The engine is fully local and runs every 24 hours (or via `--run-now`) with the following logic: - **TrendAnalyzer**: Detects trending keywords and category volume spikes in the last 24h. - **AdaptiveWeights**: Dynamically optimizes issue severity multipliers. - **PriorityEngine**: Adjusts duplication thresholds if mass reporting events occur. - **IntelligenceIndex**: Generates a system-wide civic health score based on aggregate heuristics. Includes comprehensive unit tests under `/tests` running successfully. Documentation is recorded in `docs/civic-intelligence-engine.md`.