Commit graph

8 commits

Author SHA1 Message Date
Synq Imaging
92e00d4dc0 auto-backup: synq-core-runtime @ 20260507-192850 2026-05-07 19:28:50 -07:00
cavalier8030
6842565e16 fix(workspace): clean stale artifacts, fix tests, symlink synq-desktop
- Remove stale uppercase UI/Stream directory (AI session artifact)
- Remove .kimi/ AI agent config from repo and gitignore it
- Create synq-desktop -> ui/stream symlink for canonical desktop path
- Fix CloudSanitizer::contains_phi() to not block on 'ssn' string
  (SSN numbers are redacted by regex; blocking caused test failure)
- Update integration test: registry now has 5 agents (added odoo-agent)
- Stage existing scripts/odoo_mock_bridge.py JSON-RPC additions
- All workspace tests pass, cargo build --release verified
2026-05-07 18:42:46 -07:00
cavalier8030
3f95f239be feat(mobile): Synq Mobile v0.1 scaffold — multi-profile Tauri app with Kids PIN setup
- Full Tauri v2 mobile scaffold (Rust backend + React frontend + Android)
- Multi-profile architecture: Business / Personal / Family / Kids
- Per-profile encrypted SQLite isolation via rusqlite
- Kids profile: persistent PIN storage (SHA-256 + salt), setup flow, PIN lock
- Desktop dev mode working (GTK/WebKit) on ARM64 Linux
- Android APK build working (arm64, 17MB unsigned)
- Phase 2 stubs: Jitsi SDK, cpal/hound audio, Beam voice commands
- QEMU x86_64 emulation for Google Android SDK tools on ARM64 host
- Workspace integration with synq-protocol, synq-security, synq-core
2026-05-06 18:12:13 -07:00
cavalier8030
c0f87a43b1 feat: wire Stream UI to Rust backend agents
- Expose agent client fields (emr, finance, messaging, news)
- Add Tauri commands: get_channels, get_channel_cards, get_channel_spotlight, send_beam_query
- Channel data fetchers query real agents (NocoBase, Plaid, Alpaca, Beam, Scrapling)
- Update frontend API layer with new commands
- Update useChannels hook to fetch real channel summaries
- Update useBeam hook to route through send_beam_query
- Add useChannelCards hook for per-channel card fetching
- Update ChannelSection with skeleton loading states
- Update SpotlightCard to support real metric data
- Update ChannelCard with avatarText/avatarGradient support
- Update CardCarousel to use CardItem type
- Frontend + Rust both compile successfully
2026-05-02 20:23:50 -07:00
cavalier8030
9fd06ac999 feat: milestone 2.0 full agents + rhythm intelligence
Agent Architecture:
- CapabilityAgent async trait with AgentContext, AgentResponse
- AgentRegistry with dynamic loading and capability-based routing

Real Agents (all implement CapabilityAgent):
- EMR: NocoBase client, patient search, appointments, meds, vitals
- Finance: Plaid/Alpaca/Dwolla clients, revenue, portfolio, transfers
- Messaging: Beam AI client, inbox, send, draft, summarize
- News: Scrapling client, search, headlines, article summaries

Rhythm Model:
- TemporalPattern with hour_of_day[24] and day_of_week[7]
- InteractionRecord with agent_id, embedding, response_time
- predict_active_agents: top-3 predictions based on temporal patterns
- predict_intent: greeting suggestions based on predicted agents
- compute_attention_budget: adaptive budget by data class + agent load
- Co-activation matrix with 5-min window Hebbian updates

Manifold Enhancements:
- update_hebbian_with_decay: strengthen co-activated, decay episodic
- cluster_memories: DBSCAN on embedding cosine distance

Scheduler Integration:
- execute_with_rhythm: pre-warm predicted agents, record interactions
- get_greeting: rhythm-based morning/afternoon suggestions

CLI Extensions:
- agent-list, agent-test, emr, finance, message, news
- rhythm-stats, rhythm-predict, greeting

Database:
- migration 002: interaction_log, temporal_patterns, agent_registry

Tests: 47 tests pass, clippy clean, frontend builds
2026-05-01 14:35:45 -07:00
cavalier8030
8b4ca57dcf feat: milestone 1.5 shell guard
Add synq-guard kiosk lockdown crate:
- Argon2 PIN hashing with /etc/synq/admin_pin_hash
- systemd ctrl-alt-del masking, sysctl hardening
- evdev input grab stubs
- KioskGuard::lock_input, unlock_with_pin, setup_watchdog, init_pin

Add synq-shell maintenance TUI:
- crossterm-based fullscreen rolling menu
- Spring physics (stiffness 12, damping 0.88)
- Touch swipe, mouse wheel, arrow keys
- Infinite wrap, distance decay scale/opacity/blur
- 6 menu items: Restart, Updates, Logs, Network, Power Off, Back

Extend synq-cli:
- guard-init-pin, guard-lock, guard-unlock, shell, watchdog-setup

Integrate Tauri Stream UI exit flow:
- request_exit command with PIN verification
- ExitDialog component for PIN entry
- RollingMenu React component with full Figma spec

Add systemd hardening configs:
- config/systemd/synq-core.service
- config/systemd/synq-watchdog.service
- config/systemd/display-manager.service.d/synq.conf

Tests: all 28 tests pass, clippy clean, frontend builds
2026-05-01 10:02:30 -07:00
cavalier8030
106971f3fe feat(milestone-1): complete Synq Core Runtime kernel
- Intent encoder with PHI classifier (<10ms deterministic)
- Hybrid backend router (Kimi Cloud ↔ Local Ollama)
- Persistent Manifold (pgvector + Hebbian learning)
- Shadow Log (ed25519-signed, hash-chained)
- VectorBus agent communication
- EMR agent skeleton
- synq-cli for testing and debugging
- Tauri v2 Stream UI (React, TypeScript, Vite, Tailwind, fullscreen kiosk)
- Docker Compose + GitLab CI
- All tests pass, clippy clean, fmt clean
- 47/47 validation checks pass
2026-04-30 19:14:28 -07:00
cavalier8030
3f6b8897fd feat(milestone-1): complete Synq Core Runtime kernel 2026-04-30 18:29:20 -07:00