Commit Graph

19 Commits

Author SHA1 Message Date
Claude
6906012c26 Update documentation: reflect Layer 4 completion
- Update README.md with Layer 4 relationship inference features
- Add comprehensive Layer 4 section to ARCHITECTURE.md
- Update implementation strategy to show Phase 4 complete
- Add CLI control flag documentation (--enable-layer4)
- Update version to 0.3.0
- Document personality-aware bond strength calculation
- Add relationship type classification details
2025-11-06 08:00:38 +00:00
Claude
427943800e Update documentation: reflect Layer 3.5 completion
Updated README.md and ARCHITECTURE.md to document Layer 3.5
(Integrated Profile) implementation.

README.md changes:
- Updated header to reflect Layers 1-3.5 complete
- Added Layer 3.5 feature section
- Added get_profile to MCP tools list
- Added Layer 3.5 usage examples with sample output
- Updated architecture overview with Layer 3.5
- Added design philosophy explanation

ARCHITECTURE.md changes:
- Updated layer overview diagram with Layer 3.5
- Added comprehensive Layer 3.5 section:
  - Purpose and problem solved
  - Data model (UserProfile, TraitScore)
  - Integration logic (5 extraction methods)
  - Caching strategy with update triggers
  - Usage patterns for AI
  - Design philosophy
- Updated implementation strategy (Phase 3.5)
- Updated code organization to reflect current structure
- Updated version metadata

Layer 3.5 provides unified user profile by integrating
Layers 1-3 data, implementing "internal complexity,
external simplicity" design philosophy.
2025-11-06 06:58:58 +00:00
Claude
2aac138185 Update documentation: reflect Layers 1-3 completion
Updated README.md and ARCHITECTURE.md to reflect current implementation
status. All three layers are now complete and functional.

Changes:
- README.md: Added Layer 2 (AI Memory) and Layer 3 (Big Five) features
- README.md: Added MCP tools list and usage examples
- README.md: Added Big Five personality traits explanation
- ARCHITECTURE.md: Updated Layer 2 and 3 status to Complete
- ARCHITECTURE.md: Updated implementation strategy phases
- Archived old documentation in docs/archive/old-versions/

Current status:
- Layer 1  Complete: Pure memory storage
- Layer 2  Complete: AI interpretation + priority scoring
- Layer 3  Complete: Big Five personality analysis
- Layer 4 🔵 Planned: Game systems and companion features
- Layer 5 🔵 Future: Distribution and sharing
2025-11-06 06:11:01 +00:00
Claude
f2a02abf3e Organize repository structure: clean up root directory
Major reorganization to improve clarity and maintainability:

## Documentation
- Created new simple README.md focused on Layer 1
- Added docs/ARCHITECTURE.md explaining multi-layer design
- Moved LAYER1_REBUILD.md -> docs/LAYER1.md
- Archived old documentation to docs/archive/:
  - CHANGELOG.md, QUICKSTART.md, STATUS.md, USAGE.md
  - DESIGN.md, README_CONFIG.md, ROADMAP.md, TECHNICAL_REVIEW.md
  - claude.md, test-mcp.sh

## Source Code
- Moved unused .rs files to src/tmp/:
  - ai_interpreter.rs (Layer 2 - future)
  - companion.rs (Layer 4b - future)
  - game_formatter.rs (Layer 4a - future)
  - memory.rs (old implementation)
  - extended.rs (old MCP server)

## Result
Clean root directory with only essential files:
- README.md (simple, Layer 1 focused)
- Cargo.toml
- .gitignore
- docs/ (organized documentation)
- src/ (active code only)

All Layer 1 functionality remains intact and tested.
2025-11-05 18:24:38 +00:00
Claude
18d84f1ba4 Add comprehensive roadmap for AI memory system evolution
Vision: "Make AI conversations into new content"

This roadmap outlines the evolution from current memory backend to
a full AI OS game experience:

## Phases

**Phase 1** ( Done): Memory Backend
- AI interpretation with priority scoring (0.0-1.0)
- Automatic capacity management
- MCP tool integration

**Phase 2** (Next - 1 month): Content Platform
- Auto-record Claude Code sessions
- Generate Markdown/HTML/ATProto content
- Personality profiling (MBTI, Big5)
- One-click publishing to Bluesky/blog

**Phase 3** (3 months): Share Service
- Public sharing at ai.syui.gpt
- Discovery by psychology score
- Personality-based matching

**Phase 4** (6 months): Gamification
- XP/Level/Achievement system
- Memory rarity (Common→Legendary)
- Daily quests and ranking

**Phase 5** (1 year): AI Companion
- Character with personality
- Unique messages based on player memories
- Daily activity generation
- Relationship/trust system

**Phase 6** (1.5 years): AI OS Integration
- Docker container with Claude Code base
- Skill marketplace
- Cloud sync

**Phase 7** (2 years): Full Game Experience
- Story mode
- Multiplayer
- Creator economy

## Key Insights

Based on user's analysis:
1. SNS achieved its goal (broadcast + connection)
2. Next era: AI OS integration
3. AI conversations become content
4. Everything gamifies eventually
5. AI companion = daily life + unique messages

## Tech Stack Recommendations
- Phase 2: comrak, atrium-api, rust-bert
- Phase 4-5: bevy, egui
- Business: Freemium model

See docs/ROADMAP.md for full details.
2025-11-05 14:22:31 +00:00
Claude
00c26f5984 Refactor: Integrate AI features with MCP tools and add technical review
Critical improvements based on technical review:

## Fixed Issues (Priority: High)
1. AI features now properly integrated with MCP server
   - Added create_memory_with_ai tool (was implemented but unused!)
   - Added list_memories_by_priority tool
   - All memory outputs now include new fields: interpreted_content, priority_score, user_context

2. Added getter methods to MemoryManager
   - get_memory(id) for single memory retrieval
   - get_all_memories() for bulk access

3. Complete memory information in MCP responses
   - search_memories now returns all fields
   - Priority-based filtering and sorting functional

## New Files
- docs/TECHNICAL_REVIEW.md: Comprehensive technical evaluation
  - Scores: 65/100 overall, identified key improvements
  - Actionable recommendations for Phase 1-3
  - Architecture proposals and code examples

## Updated Documentation
- README.md: Added usage examples for new AI tools
- Clear distinction between basic and AI-powered tools

## Technical Debt Identified
- openai crate version needs update (see review doc)
- Config externalization needed
- Test suite missing
- LLM provider abstraction recommended

This brings the implementation in line with the "psychological priority memory"
concept. The AI interpretation and scoring features are now actually usable!

Next: Phase 2 improvements (config externalization, error handling)
2025-11-05 14:17:14 +00:00
Claude
fd97ba2d81 Implement AI memory system with psychological priority scoring
Core changes:
- Add AI interpreter module for content interpretation and priority scoring
- Extend Memory struct with interpreted_content, priority_score (f32: 0.0-1.0), and user_context
- Implement automatic memory pruning based on priority scores
- Add capacity management (default: 100 memories max)
- Create comprehensive design documentation

Technical details:
- Changed priority_score from u8 (1-100) to f32 (0.0-1.0) for better AI compatibility
- Add create_memory_with_ai() method for AI-enhanced memory creation
- Implement get_memories_by_priority() for priority-based sorting
- Score evaluation criteria: emotional impact, user relevance, novelty, utility

Philosophy:
This implements a "psychological priority memory system" where AI interprets
and evaluates memories rather than storing raw content. Inspired by how human
memory works - interpreting and prioritizing rather than perfect recording.
2025-11-05 14:09:39 +00:00
4620d0862a add extended 2025-07-29 04:08:29 +09:00
5564db014a cleanup 2025-06-09 02:48:44 +09:00
df86fb827e cleanup 2025-06-03 05:09:56 +09:00
cba52b6171 update ai.shell 2025-06-03 01:01:28 +09:00
b642588696 fix docs 2025-06-02 18:24:04 +09:00
ebd2582b92 update 2025-06-02 06:22:39 +09:00
79d1e1943f add card 2025-06-02 06:22:38 +09:00
62f941a958 fix config 2025-06-02 00:31:46 +09:00
98ca92d85d fix dir 2025-06-01 21:43:16 +09:00
7c3b05501f fix 2025-05-31 01:47:58 +09:00
a7b61fe07d fix 2025-05-30 20:07:06 +09:00
9866da625d fix 2025-05-30 04:40:29 +09:00