Data Substrate Analysis Analyzes the fundamental units of data and state management patterns. Process 1. Locate type files — Find types.py, schema.py, models.py, state.py 2. Classify typing — Strict (Pydantic), structural (TypedDict), loose (dict) 3. Analyze mutation — In-place modification vs. copy-on-write 4. Document serialization — json(), dict(), pickle, custom methods Typing Strategy Classification Detection Patterns | Strategy | Indicators | Files to Check | |----------|-----------|----------------| | Pydantic | , , | models.py, schema.py | | Dataclass | , | types.py, models.py | | Typ…