Research & Analysis
Domain analysis, deep-dive investigations, and comprehensive reviews performed during TVL Platform design and restructuring.
Directory Structure
research/
├── README.md                          # This file
├── domain-deep-dives/                 # Detailed domain analyses
├── reviews/                           # Comprehensive reviews and synthesis
└── _archive/                          # Historical research notes
Domain Deep-Dives
Comprehensive technical analysis of individual domains, including entity definitions, workflows, integration points, and architectural patterns.
Availability Deep-Dive
Date: 2025-10-24 | Lines: ~2,000
- Complete availability calendar architecture
- GIST exclusion constraints for preventing overlapping bookings
- Hold/Block/Booking lifecycle
- iCal sync integration
- Conflict detection algorithms
- Performance considerations for high-volume properties
Pricing Deep-Dive
Date: 2025-10-24 | Lines: ~2,200
- Dynamic pricing engine architecture
- Rate plans and seasonal rules
- Fee taxonomy (cleaning, service, platform, tax)
- Revenue split calculations
- Quote generation workflow
- Tax compliance requirements
Supply Deep-Dive
Date: 2025-10-24 | Lines: ~900
- Space vs Unit distinction
- Property metadata management
- Amenities and features taxonomy
- Unit versioning and snapshot patterns
- Content/media relationship
Content Deep-Dive
Date: 2025-10-24 | Lines: ~400
- Description management (titles, summaries, full text)
- Media asset handling (photos, videos)
- Translation and localization
- Content versioning strategy
- CDN integration patterns
Identity & Authorization Deep-Dive
Date: 2025-10-24 | Lines: ~2,000
- Multi-tenancy architecture (Org → Account → User)
- Role-based access control (RBAC)
- Row-level security (RLS) policies
- Session management
- OAuth/OIDC integration
- 11 database tables with complete schemas
Comprehensive Reviews
Platform-wide analysis covering all domains, cross-cutting concerns, and strategic recommendations.
Comprehensive Review Synthesis
Date: 2025-10-24 | Lines: ~3,800
Multi-agent comprehensive review of entire TVL platform:
- 5 critical inconsistencies identified and fixed
- 27 gaps across all domains
- Cross-domain integration analysis
- Data model validation
- Schema design recommendations
- Event-driven architecture patterns
- Complete entity relationship analysis
Key Findings:
- Recommended 14-domain decomposition
- MVP.0 → MVP.1 → MVP.2 phasing strategy
- Multi-tenancy requirements (org_id + account_id)
- RLS policy patterns
- Event sourcing for audit trails
PRD Change Log
Date: 2025-10-24
Documentation of all changes made to Product Requirements Documents during Phase 1 and Phase 2 restructuring:
- What changed and why
- Link fixes and naming standardization
- Version evolution clarifications
- Domain boundary adjustments
Archive
Historical research notes, prompts, and meta-documents from early project phases.
Contents:
- Claude orchestrator prompts
- Research logs and notes
- Ad-hoc analysis files
- Zip archives of external resources
Note: These are historical artifacts. Refer to main research docs above for current analysis.
How to Use This Research
For Product Managers
- Review comprehensive synthesis for platform overview
- Check domain deep-dives for feature scope and business rules
- Use findings to inform roadmap decisions
For Engineers
- Deep-dives provide implementation context beyond PRD specs
- Architecture patterns and trade-offs documented
- Integration points and dependencies clearly mapped
- Use as supplement to /prd/domains/specifications
For Architects
- Comprehensive review synthesis shows cross-domain concerns
- Event-driven architecture patterns documented
- Scalability considerations analyzed
- Multi-tenancy patterns validated
Research Methodology
Domain Deep-Dives
- Reviewed all source PRD documents
- Analyzed entity relationships and cardinality
- Documented workflows and state machines
- Identified integration points
- Validated against business requirements
- Recommended schema designs
- Noted architectural decisions and trade-offs
Comprehensive Reviews
- Multi-agent parallel analysis of all domains
- Cross-domain consistency validation
- Gap identification and prioritization
- Synthesis of findings across agents
- Actionable recommendations with rationale
Comparison with PRD
Key Distinction:
- /prd/domains/= Authoritative product specifications (what to build)
- /research/= Analysis and exploration (why and how)
Research docs informed the creation of PRD specs but contain additional context, alternatives considered, and detailed technical analysis not appropriate for product documentation.
Related Documentation
- Product Specs: /prd/ - Authoritative product requirements
- Implementation Docs: /docs/ - How to build it
- Domain Comparison Reports: /research/_archive/ - Old vs new spec validation
Last Updated: 2025-10-25