1) Brain Search page (dashboard/pages/brain-search.js): mirrors Agent Insights; queries /api/brain-index/search with source filter + live index stats; nav entry + PAGE_TITLES added. 2) Scheduled auto-ingest: scheduler gains endpoint-style jobs (run_endpoint_via_api) so non-skill maintenance tasks can be cron'd; new job brain-index-ingest-job.json re-indexes every 30 min. 3) Agents auto-upsert learnings: run_skill wrap-up now calls record_brain_learning() so each skill run is immediately searchable in the unified index (best-effort, never breaks the run). Fixed a regression where AGENT_STATS_FILE def was dropped during the brain-learning helper insertion (would have broken all skill runs). Verified live: brain search returns ranked results; run_skill wrap-up upserts a searchable doc; scheduler imports + job validates. |
||
|---|---|---|
| .. | ||
| jobs | ||
| scheduler.py | ||