1. filterCategory: fix inline event.target → uses btn parameter
- All Agents tab filter buttons now correctly toggle active class
2. exportRecommendations/showApplyModal: read from agentData, not removed INLINE_RECOMMENDATIONS
- Apply modal shows real recommendations
- Export generates JSON with real data
3. Heatmap cell click: add showCellDetail modal with Chart.js line chart + prompt history
- onclick='showCellDetail(model, agent)' on every td
- renderCellChart computes score history from agent.history
- prompt_change items filtered and displayed
4. watch-db.cjs: incremental DB sync tool
- Polls git for changes in .kilo/agents/*.md and kilo-meta.json
- Detects model_change vs prompt_change by comparing with previous version
- Exports to JSON after sync, logs to .kilo/logs/watch-db.log
- SIGINT/SIGTERM graceful shutdown
- Trigger: npm run evolution:watch
- SWE=null no longer zeroes score; weight IF at 0.85 for reasoning-only models
- Inline MODEL_BENCHMARKS const (sync script doesn't populate benchmarks)
- Hash fallback tightened from 50-85 to 55-80
- History-miner now shows +10 improvement (82 vs 72) instead of false regression
Replaced broken chart functions that expected non-existent fit_score_after/before
with data-agnostic implementations using model names + benchmark lookup.
- Agent Score Bar Chart: horizontal bars per agent, sorted descending, color-coded
- Model Distribution: donut chart with legend on the right
- Migration Impact Bars: before/after comparison from history entries
- Added getModelScore() helper with deterministic fallback
- Added 'Sync Evolution Data' button if data missing
Fixes: canvas dimensions, getBoundingClientRect() == 0 when tab hidden
- Create agent-evolution/ directory with standalone dashboard
- Add interactive HTML dashboard with agent/model matrix
- Add heatmap view for agent-model compatibility scores
- Add recommendations tab with optimization suggestions
- Add Gitea integration preparation (history timeline)
- Add Docker configuration for deployment
- Add build scripts for standalone HTML generation
- Add sync scripts for agent data synchronization
- Add milestone and issues documentation
- Add skills and rules for evolution sync
- Update AGENTS.md with dashboard documentation
- Update package.json with evolution scripts
Features:
- 28 agents with model assignments and fit scores
- 8 models with benchmarks (SWE-bench, RULER, Terminal)
- 11 recommendations for model optimization
- History timeline with agent changes
- Interactive modal windows for model details
- Filter and search functionality
- Russian language interface
- Works offline (file://) with embedded data
Docker:
- Dockerfile for standalone deployment
- docker-compose.evolution.yml
- docker-run.sh/docker-run.bat scripts
NPM scripts:
- sync:evolution - sync and build dashboard
- evolution:open - open in browser
- evolution:dashboard - start dev server
Status: PAUSED - foundation complete, Gitea integration pending