- Remove localStorage wipe before mergeCachedResults() — was deleting
cached research results when Evolve button triggered load()
- mergeCachedResults(): only fill gaps (existing===undefined||0), never
override scores from DB — prevents stale cache from shadowing live data
- updateCell(): auto-create agent entry in reportData.agents if missing
- updateCell(): add model to allAvailableModels for modal checkboxes
- mergeCachedResults(): auto-create agent entry, normalize model names via modelShort()
- mergeCachedResults(): add new models to allAvailableModels for modal picker
- MODEL_BENCHMARKS: add deepseek-v4-pro (was missing, only had deepseek-v4-pro-max)
- real-fit.html: API-driven research dashboard with agent/model heatmap, detail modal with score breakdown and evaluator commentary
- api.py: FastAPI backend serving /api/real-fit-report (dynamic from SQLite), /api/research, /api/evolve-agent/start
- rebuild-report.py: generates real-fit-report.json from SQLite DB for static fallback
- docker-compose.yml: add evolution-api service (Python 3.12, uvicorn) for research endpoints
- index.standalone.html: sync with dashboard data updates
- archive/index.html: standalone dashboard snapshot (263KB)
- .gitignore: exclude *.db, research-jobs.json from tracking
- build-standalone-fixed.cjs: removed renderHeatmap() replacement block
- The replacement used string concatenation with '\'' which broke
single quotes in generated HTML, causing SyntaxError: unexpected token
- Original renderHeatmap() in index.html uses template literals (`...`)
which are safe and already contain showCellDetail onclick handler
- Rebuilt index.standalone.html from fixed source
- Zero console errors, zero JS syntax errors verified on port 3003
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/archive/ with scripts/, reports/, data/
- Move 11 Python migration/diagnostic scripts
- Move 7 intermediate report files (json, md, txt)
- Move test data and old dashboard builds
- Add archive/README.md with full index of contents
- Update .gitignore to exclude archive/scripts, reports, data
- Keep archive/README.md tracked for documentation
- Move docker-compose.evolution.yml to agent-evolution/docker-compose.yml
- Update README with current agent lineup (28+ agents)
- Fix model references in README tables
- Add recent commits history
- Simplify architecture overview
- 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