Commit Graph

12 Commits

Author SHA1 Message Date
77cdfde3a2 [perplexity] feat: Nexus v2 — Cognitive Awareness & Introspection Engine (#1090)
Some checks failed
Tests / lint (pull_request) Failing after 46s
Tests / test (pull_request) Has been skipped
Extends the Nexus from a chat-only interface into a full cognitive
awareness space with real-time introspection, persistent sessions,
and sovereignty health monitoring.

New modules (src/timmy/nexus/):
- introspection.py — Aggregates CognitiveTracker, ThinkingEngine, and
  session analytics into a unified IntrospectionSnapshot. Surfaces mood,
  engagement, focus, commitments, and recent thoughts.
- persistence.py — SQLite-backed NexusStore so conversations survive
  process restarts. WAL mode, auto-pruning at 500 messages, session-tag
  isolation for future per-operator sessions.
- sovereignty_pulse.py — Reads the SovereigntyMetricsStore (PR #1331)
  and distils a live health pulse: per-layer sovereignty %, API
  independence rate, crystallization velocity.

Enhanced routes (src/dashboard/routes/nexus.py):
- GET  /nexus          — now serves introspection + pulse alongside chat
- POST /nexus/chat     — persists messages; tracks memory hits
- DELETE /nexus/history — clears both in-memory and SQLite stores
- GET  /nexus/introspect — JSON API for introspection + sovereignty data
- WS   /nexus/ws       — live push of cognitive state, thought stream,
                          and sovereignty pulse every 5 seconds

Enhanced template (nexus.html):
- Cognitive State panel (mood, engagement, focus, depth, commitments)
- Thought Stream viewer (5 most recent, seed type, timestamps)
- Sovereignty Pulse badge + detail panel (per-layer bars, stats)
- Session Analytics grid (message count, avg response, duration)
- WebSocket client with auto-reconnect for live updates

CSS (mission-control.css):
- Full Nexus v2 design system: pulse badges, health indicators,
  cognitive grid, thought stream cards, sovereignty bar meters,
  analytics grid, scrollable sidebar

Tests: 58 total (all green)
- 20 introspection tests (data models, snapshot, fallback, cognitive/thought readers)
- 18 persistence tests (CRUD, ordering, session tags, pruning, reopen)
- 12 sovereignty pulse tests (classify health, snapshot, API independence)
- 8 route/template tests (new panels, WebSocket script, introspect API)

Refs: #1090
2026-03-24 02:48:22 +00:00
92dfddfa90 [claude] Legal Foundation — ToS, Privacy Policy, Risk Disclaimers (#815) (#1334)
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
2026-03-24 02:32:25 +00:00
6bb5e7e1a6 [claude] Real-time monitoring dashboard for all agent systems (#862) (#1319)
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
2026-03-24 02:07:38 +00:00
2d6bfe6ba1 [claude] Agent Self-Correction Dashboard (#1007) (#1269)
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Co-authored-by: Claude (Opus 4.6) <claude@hermes.local>
Co-committed-by: Claude (Opus 4.6) <claude@hermes.local>
2026-03-24 01:40:40 +00:00
3217c32356 [claude] feat: Nexus — persistent conversational awareness space with live memory (#1208) (#1211)
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
2026-03-23 22:34:48 +00:00
7e03985368 [claude] feat: Agent Voice Customization UI (#1017) (#1146)
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
2026-03-23 18:39:47 +00:00
9732c80892 feat: Real-time Spark Visualization in Tower Dashboard (#612)
All checks were successful
Tests / lint (push) Successful in 19s
Tests / test (push) Successful in 1m24s
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 1m9s
Co-authored-by: Kimi Agent <kimi@timmy.local>
Co-committed-by: Kimi Agent <kimi@timmy.local>
2026-03-20 16:10:42 -04:00
Trip T
bc38fee817 feat: add DB Explorer for read-only SQLite inspection
All checks were successful
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 29s
Adds /db-explorer page and JSON API to browse all 15 SQLite databases
in data/. Sidebar lists databases with sizes, clicking one renders all
tables as scrollable data tables with row truncation at 200.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 10:41:13 -04:00
Alexander Whitestone
0b91e45d90 Polish UI design with sleeker components and vivid magical animations (#172) 2026-03-11 15:16:04 -04:00
Alexander Whitestone
9e56fad342 Fix iPhone responsiveness: layout stacking and Memory Browser styling (#171)
- Fix critical mobile layout bug: override flex-wrap: nowrap on .mc-content > .row
  at 768px breakpoint so Bootstrap columns stack vertically on iPhone instead of
  being crammed side-by-side (causing content bleed/cutoff)
- Add complete Memory Browser CSS: stats grid, search form, results, facts list
  with proper mobile breakpoints (2-col stats, stacked search form, touch-friendly
  fact buttons)
- Move Grok button and fact list inline styles to CSS classes per project convention
- Add shared .mc-btn, .mc-btn-primary, .mc-btn-small, .page-title, .mc-text-secondary
  classes used across templates

https://claude.ai/code/session_01VRjXp6wxBrgawsKB92LEaT

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-11 13:08:19 -04:00
Alexander Whitestone
708c8a2477 polish: streamline nav, extract inline styles, improve tablet UX (#168) 2026-03-11 11:32:56 -04:00
Alexander Whitestone
622a6a9204 polish: extract inline CSS, add connection status, panel macro, favicon, ollama cache, toast system (#164)
Major:
- Extract all inline <style> blocks from 22 Jinja2 templates into
  static/css/mission-control.css — single cacheable stylesheet
- Add tox lint check that fails on inline <style> in templates

Minor:
1. Connection status indicator in topbar (green/amber/red dot) reflecting
   WebSocket + Ollama reachability, with auto-reconnect
2. Jinja2 {% macro panel(title) %} in macros.html — eliminates repeated
   .card.mc-panel markup; index.html converted as example
3. SVG favicon (purple T + orange dot)
4. 30-second TTL cache on _check_ollama() to avoid blocking the event loop
   on every health poll (asyncio.to_thread was already in place)
5. Toast notification system (McToast.show) for transient status messages —
   wired into connection status for Ollama/WebSocket state changes

Enforcement:
- CLAUDE.md updated with conventions 11-14 (no inline CSS, use panel macro,
  use toasts, never block the event loop)
- tox lint + pre-push environments now fail on inline <style> blocks

https://claude.ai/code/session_014FQ785MQdyJQ4BAXrRSo9w

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-11 09:52:57 -04:00