7 Commits

Author SHA1 Message Date
Aodhan Collins
41975ecfe2 Phase 2 complete 2025-10-12 02:18:56 +01:00
Aodhan Collins
da30107f5b Reorganize and consolidate documentation
Documentation Structure:
- Created docs/features/ for all feature documentation
- Moved CONTEXTUAL_RESPONSE_FEATURE.md, DEMO_SESSION.md, FIXES_SUMMARY.md, PROMPT_IMPROVEMENTS.md to docs/features/
- Moved TESTING_GUIDE.md and TEST_RESULTS.md to docs/development/
- Created comprehensive docs/features/README.md with feature catalog

Cleanup:
- Removed outdated CURRENT_STATUS.md and SESSION_SUMMARY.md
- Removed duplicate files in docs/development/
- Consolidated scattered documentation

Main README Updates:
- Reorganized key features into categories (Core, AI, Technical)
- Added Demo Session section with quick-access info
- Updated Quick Start section with bash start.sh instructions
- Added direct links to feature documentation

Documentation Hub Updates:
- Updated docs/README.md with new structure
- Added features section at top
- Added current status (v0.2.0)
- Added documentation map visualization
- Better quick links for different user types

New Files:
- CHANGELOG.md - Version history following Keep a Changelog format
- docs/features/README.md - Complete feature catalog and index

Result: Clean, organized documentation structure with clear navigation
2025-10-12 00:32:48 +01:00
Aodhan Collins
d5e4795fc4 Add context-aware response generator, demo session, and bug fixes
Features:
- Context-aware response generator for storyteller
  - Select multiple characters to include in context
  - Generate scene descriptions or individual responses
  - Individual responses auto-parsed and sent to each character
  - Improved prompt with explicit [CharacterName] format
  - Smart context building with character profiles and history

- Demo session auto-creation on startup
  - Pre-configured 'The Cursed Tavern' adventure
  - Two characters: Bargin (Dwarf Warrior) and Willow (Elf Ranger)
  - Quick-access buttons on home page
  - Eliminates need to recreate test data

- Session ID copy button for easy sharing

Bug Fixes:
- Fixed character chat history showing only most recent message
  - CharacterView now handles both 'storyteller_response' and 'new_message'
- Fixed all Pydantic deprecation warnings
  - Replaced .dict() with .model_dump() (9 instances)
- Fixed WebSocket manager reference in contextual responses

UI Improvements:
- Beautiful demo section with gradient styling
- Format help text for individual responses
- Improved messaging and confirmations

Documentation:
- CONTEXTUAL_RESPONSE_FEATURE.md - Complete feature documentation
- DEMO_SESSION.md - Demo session guide
- FIXES_SUMMARY.md - Bug fix summary
- PROMPT_IMPROVEMENTS.md - Prompt engineering details
2025-10-12 00:21:50 +01:00
Aodhan Collins
932663494c Add comprehensive session summary documentation 2025-10-11 22:59:51 +01:00
Aodhan Collins
0ffff64f4c Add comprehensive test suite with 54 tests (88.9% pass rate, 78% coverage)
- Add pytest configuration and dependencies
- Create test_models.py: 25 tests for Pydantic models
- Create test_api.py: 23 tests for REST endpoints
- Create test_websockets.py: 23 tests for WebSocket functionality
- Add TEST_RESULTS.md with detailed analysis

Tests validate:
 Message visibility system (private/public/mixed)
 Character isolation and privacy
 Session management
 API endpoints and error handling
 WebSocket connections

Known issues:
- 6 WebSocket async tests fail due to TestClient limitations
- Production functionality manually verified
- 10 Pydantic deprecation warnings to fix

Coverage: 78% (219 statements, 48 missed)
Ready for Phase 2 implementation
2025-10-11 22:56:10 +01:00
Aodhan Collins
a1c8ae5f5b MVP - Phase One Complete 2025-10-11 22:48:35 +01:00
Aodhan Collins
eccd456c59 Initial commit 2025-10-11 21:21:36 +01:00