G-Memory: Tracing Hierarchical Memory for Multi-Agent SystemsPublished in Annual Conference on Neural Information Processing Systems (NeurIPS), 2025