# Models Pure data structures and type definitions ## Purpose Define data shapes, types, and factory functions for type safety ## Layout ``` models/ ├── context.md # This file ├── chat-data.ts # Chat types and factories └── segment-view.ts # Segment visualization and todo parsing ``` ## Scope - In-scope: Type definitions, interfaces, factory functions - Out-of-scope: Business logic, state management ## Entrypoints Type exports and factory functions for data creation ## Dependencies Pure TypeScript types only