Commit Graph

39 Commits

Author SHA1 Message Date
Mai Development
8969d382a9 docs(04-07): complete metadata integration plan
Tasks completed: 2/2
- Implemented get_conversation_metadata method in SQLiteManager
- Integrated metadata access in ContextAwareSearch

SUMMARY: .planning/phases/04-memory-context-management/04-07-SUMMARY.md
2026-01-28 13:17:29 -05:00
Mai Development
47e4864049 docs(04): create gap closure plans for memory and context management
Phase 04: Memory & Context Management
- 3 gap closure plans to address verification issues
- 04-05: Personality learning integration (PersonalityAdaptation, MemoryManager integration, src/personality.py)
- 04-06: Vector Store missing methods (search_by_keyword, store_embeddings)
- 04-07: Context-aware search metadata integration (get_conversation_metadata)
- All gaps from verification report addressed
- Updated roadmap to reflect 7 total plans
2026-01-28 12:08:47 -05:00
Mai Development
a8b7a35baa docs(04-03): complete progressive compression and JSON archival plan
Tasks completed: 2/2
- Progressive compression engine with 4-tier age-based levels
- JSON archival system with gzip compression and organized structure
- Smart retention policies with importance-based scoring
- MemoryManager integration with unified archival interface

SUMMARY: .planning/phases/04-memory-context-management/04-03-SUMMARY.md
2026-01-28 00:00:12 -05:00
Mai Development
bb7205223d docs(04-02): complete memory retrieval system plan
Tasks completed: 2/2
- Semantic search with sentence-transformers embeddings
- Context-aware search with topic-based prioritization
- Timeline search with date filtering and temporal proximity
- Enhanced MemoryManager with unified search interface

SUMMARY: .planning/phases/04-memory-context-management/04-02-SUMMARY.md
Updated STATE.md progress to 2/4 in Phase 4
2026-01-27 23:28:42 -05:00
Mai Development
61db47e8d6 docs(04): create phase plan
Phase 04: Memory & Context Management
- 4 plan(s) in 3 wave(s)
- 2 parallel, 2 sequential
- Ready for execution
2026-01-27 22:04:42 -05:00
Mai Development
9cdb1e7f6c docs(04): create phase plan
Phase 04: Memory & Context Management
- 4 plan(s) in 3 wave(s)
- 2 parallel, 2 sequential
- Ready for execution
2026-01-27 21:53:07 -05:00
Mai Development
c09ea8c8f2 docs(04): research phase 4 memory & context management domain
Phase 04: Memory & Context Management
- Standard stack identified: SQLite + sqlite-vec + sentence-transformers
- Architecture patterns documented: hybrid storage, progressive compression, vector search
- Pitfalls cataloged: embedding drift, memory bloat, personality overfitting
- Code examples provided from official sources
2026-01-27 20:12:40 -05:00
Mai Development
3e88d33bd3 docs(04): capture phase context
Phase 04: memory-context-management
- Implementation decisions documented
- Hybrid storage strategy with SQLite + JSON archives
- Progressive compression and smart retention policies
- Multi-dimensional pattern learning approach
- Phase boundary established
2026-01-27 19:59:52 -05:00
Mai Development
27fa6b654f docs(03): complete resource management phase
Phase 03: resource-management
- Enhanced GPU detection with pynvml support
- Hardware tier detection and management system
- Proactive scaling with hybrid monitoring
- Personality-driven resource communication
- All phase goals verified
2026-01-27 19:17:14 -05:00
Mai Development
5dda3d2f55 fix(02): orchestrator corrections
Some checks are pending
Discord Webhook / git (push) Waiting to run
Add missing Phase 2 Plan 2 SUMMARY and Discord integration artifacts
2026-01-27 19:10:31 -05:00
Mai Development
087974fa88 docs(03-04): complete personality-driven resource communication plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 2/2
- Implemented ResourcePersonality with dere-tsun gremlin persona
- Integrated personality-aware model switching with degradation notifications

SUMMARY: .planning/phases/03-resource-management/03-04-SUMMARY.md
2026-01-27 19:07:41 -05:00
Mai Development
54f0decb40 docs(03-03): complete proactive scaling plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 2/2
- Implemented ProactiveScaler class with hybrid monitoring
- Integrated proactive scaling into ModelManager

Proactive scaling system with hybrid monitoring, graceful degradation cascades, and intelligent stabilization periods.

SUMMARY: .planning/phases/03-resource-management/03-03-SUMMARY.md
2026-01-27 18:50:18 -05:00
Mai Development
4c3cab9dd9 docs(03-02): complete hardware tier detection plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 3/3
- Resource module structure with proper exports
- Configurable hardware tier definitions in YAML
- HardwareTierDetector class with classification logic

SUMMARY: .planning/phases/03-resource-management/03-02-SUMMARY.md
2026-01-27 18:35:41 -05:00
Mai Development
a1db08c72c docs(03-01): complete enhanced GPU detection plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 2/2
- Added pynvml>=11.0.0 dependency for NVIDIA GPU monitoring
- Enhanced ResourceMonitor with pynvml GPU detection and graceful fallbacks
- Optimized performance with caching and failure tracking (~50ms per call)

SUMMARY: .planning/phases/03-resource-management/03-01-SUMMARY.md
2026-01-27 18:25:01 -05:00
Mai Development
1e071398ff docs(03): create phase plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 3: Resource Management
- 4 plan(s) in 2 wave(s)
- 2 parallel, 2 sequential
- Ready for execution
2026-01-27 17:58:09 -05:00
Mai Development
a37b61acce docs(03): research phase domain
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 03: Resource Management
- Standard stack identified: psutil, pynvml, gpu-tracker
- Architecture patterns documented: hybrid monitoring, tier-based management, graceful degradation
- Pitfalls catalogued: GPU detection, aggressive switching, memory leaks, over-technical communication
- Don't-hand-roll items listed for custom implementations
- Code examples provided with official source references
2026-01-27 17:52:47 -05:00
Mai Development
2d24f8f93f docs(03): capture phase context
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 03: resource-management
- Implementation decisions documented
- Resource threshold strategy with dynamic adjustment
- Efficiency-first model selection behavior
- Bottleneck detection with hybrid approach
- Personality-driven user communication
- Drowsy Dere-Tsun Onee-san Hex-Mentor Gremlin persona
2026-01-27 17:46:33 -05:00
Mai Development
f815f4fecf docs(02): complete phase execution
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 02: Safety & Sandboxing
- 4 plans executed across 3 waves
- Security assessment, sandbox execution, audit logging, integration
- Verification passed - all must-haves verified
- Ready for Phase 3: Resource Management
2026-01-27 16:12:18 -05:00
Mai Development
1413433d89 docs(02-04): Add execution summary
Some checks failed
Discord Webhook / git (push) Has been cancelled
2026-01-27 16:06:39 -05:00
Mai Development
df5ca04c5a docs(02-03): Create comprehensive execution summary for tamper-proof audit logging implementation
Some checks failed
Discord Webhook / git (push) Has been cancelled
2026-01-27 15:48:49 -05:00
Mai Development
c14ab4319e docs(02-01): add execution summary
Some checks failed
Discord Webhook / git (push) Has been cancelled
2026-01-27 15:33:12 -05:00
Mai Development
f7d263e173 docs(02): create phase plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 02: Safety & Sandboxing
- 4 plans in 3 waves
- Security assessment, sandbox execution, audit logging, integration
- Wave 1 parallel: assessment (02-01) + sandbox (02-02)
- Wave 2: audit logging (02-03)
- Wave 3: integration (02-04)
- Ready for execution
2026-01-27 14:28:35 -05:00
Mai Development
298d57c037 docs(02): research phase domain
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 02: Safety & Sandboxing
- Standard stack identified (Docker, Bandit, Semgrep)
- Architecture patterns documented (sandbox isolation, security assessment)
- Pitfalls catalogued (container isolation, resource limits)
- Ready for planner to create execution plans
2026-01-27 14:05:49 -05:00
Mai Development
351a1a76d7 docs(02): capture phase context
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 02: Safety & Sandboxing
- Security assessment levels defined
- Audit logging scope established
- Sandbox technology decisions made
- Resource limits policy set
2026-01-27 13:57:06 -05:00
Mai Development
629abbfb0b docs(01): complete model interface phase
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 01: Model Interface & Switching
  - All 3 plans executed and verified
  - LM Studio connectivity, resource monitoring, and intelligent switching implemented
2026-01-27 12:55:04 -05:00
Mai Development
b1a3b5e970 docs(01-03): complete intelligent model switching integration
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 3/3
- ModelManager with intelligent selection and switching
- Core Mai orchestration class
- CLI interface for testing and monitoring

SUMMARY: .planning/phases/01-model-interface/01-03-SUMMARY.md

Phase 1 complete - model interface foundation ready for Phase 2: Safety & Sandboxing
2026-01-27 12:38:43 -05:00
Mai Development
2e04873b1a docs(01-02): complete conversation context management plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 2/2
- Created conversation data structures with Pydantic validation
- Implemented intelligent context manager with hybrid compression

SUMMARY: .planning/phases/01-model-interface/01-02-SUMMARY.md
STATE: Updated to reflect Plan 2 completion
ROADMAP: Updated Plan 2 as complete
2026-01-27 12:15:57 -05:00
Mai Development
2ef1eafdb8 docs(01-01): complete LM Studio connectivity and resource monitoring plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Tasks completed: 4/4
- Created Python project foundation with dependencies
- Implemented LM Studio adapter with model discovery
- Implemented system resource monitoring with trend analysis
- Created model configuration system with fallback chains

SUMMARY: .planning/phases/01-model-interface/01-01-SUMMARY.md
STATE: Updated to reflect plan completion
2026-01-27 12:03:58 -05:00
Mai Development
1d9f19b8c2 docs(01): create phase plan
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 01-model-interface: Foundation systems
- 3 plan(s) in 2 wave(s)
- 2 parallel, 1 sequential
- Ready for execution
2026-01-27 10:45:52 -05:00
Mai Development
3268f6712d docs(01): capture phase context
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 01: Model Interface & Switching
- Implementation decisions documented
- Phase boundary established
2026-01-27 09:53:46 -05:00
Mai Development
da20edbc3d docs(01): research phase domain
Some checks failed
Discord Webhook / git (push) Has been cancelled
Phase 01: Model Interface & Switching
- Standard stack identified (lmstudio-python, psutil)
- Architecture patterns documented (model client factory, resource-aware selection)
- Pitfalls catalogued (memory leaks, context overflow, race conditions)
2026-01-26 23:51:24 -05:00
Mai Development
8adf0d9b4d docs: create milestone-based roadmap with v1.0, v1.1, v1.2 structure
Some checks failed
Discord Webhook / git (push) Has been cancelled
Organizes 15 phases into three major milestones:
- v1.0 Core (Phases 1-5): Foundation systems with models, safety, memory
- v1.1 Interfaces (Phases 6-10): CLI, self-improvement, approval, personality, Discord
- v1.2 Presence (Phases 11-15): Offline, voice visualization, avatar, Android, sync

Maps all 99 requirements to phases with success criteria per milestone.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-26 23:41:06 -05:00
Mai Development
53fb8544fe docs: document and configure MCP tool integration
Some checks failed
Discord Webhook / git (push) Has been cancelled
- Create comprehensive MCP.md documenting all available tools:
  * Hugging Face Hub (models, datasets, papers, spaces, docs)
  * Web search and fetch for research
  * Code tools (Bash, Git, file ops)
  * Claude Code (GSD) workflow agents

- Map MCP usage to specific phases:
  * Phase 1: Model discovery (Mistral, Llama, quantized options)
  * Phase 2: Safety research (sandboxing, verification papers)
  * Phase 5: Conversation datasets and papers
  * Phase 12: Voice visualization models and spaces
  * Phase 13: Avatar generation tools and research
  * Phase 14: Mobile inference frameworks and patterns

- Update config.json with MCP settings:
  * Enable Hugging Face (mystiatech authenticated)
  * Enable WebSearch for current practices
  * Set default result limits

- Update PROJECT.md constraints to document MCP enablement

Research phases will leverage MCPs extensively for optimal
library/model selection, architecture patterns, and best practices.
2026-01-26 23:24:00 -05:00
Mai Development
3861b86287 chore: configure auto-push to remote on every commit
- Enable git push.autoSetupRemote for automatic tracking setup
- Add push.followTags to include tags in pushes
- Install post-commit hook for automatic push after each commit
- Update config.json to document auto-push behavior
- Remote: master (giteas.fullmooncyberworks.com/mystiatech/Mai)

All commits will now automatically push to the remote branch.
2026-01-26 23:22:55 -05:00
Mai Development
3f41adff75 docs: establish fresh planning foundation with new features
- Update PROJECT.md: Add Android, visualizer, and avatar to v1
- Update REQUIREMENTS.md: 99 requirements across 15 phases (fresh slate)
- Add comprehensive README.md with setup, architecture, and usage
- Add PROGRESS.md for Discord forum sharing
- Add .gitignore for Python/.venv and project artifacts
- Note: All development via Claude Code/OpenCode workflow
- Note: Python deps managed via .venv virtual environment

Core value: Mai is a real collaborator, not a tool. She learns from you,
improves herself, has boundaries and opinions, and becomes more *her* over time.

v1 includes: Model interface, Safety, Resources, Memory, Conversation,
CLI, Self-Improvement, Approval, Personality, Discord, Offline, Voice
Visualization, Avatar, Android App, Device Sync.
2026-01-26 23:21:40 -05:00
Mai Development
5dc7b98abf rebased
Some checks failed
Discord Webhook / git (push) Has been cancelled
2026-01-26 23:16:30 -05:00
Mai Development
f238a958a0 docs: map existing codebase
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
2026-01-26 23:14:44 -05:00
Mai Development
b1d71bc22b fix(06): revise plans based on checker feedback
- Added missing <verify> element to Plan 06-05
- Created Plan 06-07 for help system gap
- Created Plan 06-08 for exit command gap
- Now addresses all 4 gaps identified by checker
2026-01-26 23:00:15 -05:00
Mai Development
54f6b4b40d docs(06): create gap closure plans for CLI interface issues
Phase 06: CLI Interface Gap Closure
- 2 plans addressing 3 UAT-identified issues
- Session persistence: Add missing set_conversation_history method
- Session feedback: Add verbose messaging for session file operations
- Resource display: Fix color coding with force_terminal=True
- Ready for execution to close CLI interface gaps
2026-01-26 22:51:49 -05:00