Claude
1ab26d30ad
feat: integrate Spark Intelligence into Timmy swarm system
Adds a self-evolving cognitive layer inspired by vibeship-spark-intelligence,
adapted for Timmy's agent architecture. Spark captures swarm events, runs
EIDOS prediction-evaluation loops, consolidates memories, and generates
advisory recommendations — all backed by SQLite consistent with existing
patterns.
New modules:
- spark/memory.py — event capture with importance scoring + memory consolidation
- spark/eidos.py — EIDOS cognitive loop (predict → observe → evaluate → learn)
- spark/advisor.py — ranked advisory generation from accumulated intelligence
- spark/engine.py — top-level API wiring all subsystems together
Dashboard:
- /spark/ui — full Spark Intelligence dashboard (3-column: status/advisories,
predictions/memories, event timeline) with HTMX auto-refresh
- /spark — JSON API for programmatic access
- SPARK link added to navigation header
Integration:
- Coordinator hooks emit Spark events on task post, bid, assign, complete, fail
- EIDOS predictions generated when tasks are posted, evaluated on completion
- Memory consolidation triggers when agents accumulate enough outcomes
- SPARK_ENABLED config toggle (default: true)
Tests: 47 new tests covering all Spark subsystems + dashboard routes.
Full suite: 538 tests passing.
https://claude.ai/code/session_01KJm6jQkNi3aA3yoQJn636c
2026-02-24 15:51:15 +00:00
..
2026-02-19 19:05:01 +00:00
2026-02-22 20:20:11 -05:00
2026-02-21 12:57:38 -05:00
2026-02-21 16:53:16 +00:00
2026-02-22 14:04:20 +00:00
2026-02-21 16:53:16 +00:00
2026-02-22 14:04:20 +00:00
2026-02-21 16:17:55 +00:00
2026-02-22 22:04:37 +00:00
2026-02-22 19:01:04 -05:00
2026-02-22 16:21:32 -05:00
2026-02-22 19:01:04 -05:00
2026-02-21 12:57:38 -05:00
2026-02-21 12:57:38 -05:00
2026-02-22 22:04:37 +00:00
2026-02-22 20:20:11 -05:00
2026-02-22 16:21:32 -05:00
2026-02-21 12:57:38 -05:00
2026-02-19 19:05:01 +00:00
2026-02-21 12:57:38 -05:00
2026-02-24 15:51:15 +00:00
2026-02-22 19:01:04 -05:00
2026-02-21 13:42:31 -05:00
2026-02-21 13:45:24 -05:00
2026-02-21 12:57:38 -05:00
2026-02-22 22:04:37 +00:00
2026-02-22 16:21:32 -05:00
2026-02-22 20:20:11 -05:00
2026-02-22 12:21:50 +00:00
2026-02-21 12:57:38 -05:00
2026-02-22 17:16:12 +00:00
2026-02-22 19:01:04 -05:00
2026-02-22 20:33:26 -05:00
2026-02-21 13:45:24 -05:00
2026-02-21 12:57:38 -05:00
2026-02-21 16:36:56 +00:00
2026-02-21 13:45:24 -05:00
2026-02-22 20:42:58 -05:00