tree-message-architecture

Message tree architecture with DAG structure, branching, and active path tracking. Covers parent/child/sibling queries, BFS traversal, cycle detection, active leaf tracking, and legacy field migration