v2.6.7
May 15, 2026
Keep parent trace attribution correct when spans share a trace
A child agent's spans no longer overwrite the parent trace's session_id, agent_id, or team_id when both share a trace_id. The fix shows up most clearly when a Team uses a background post-hook such as @hook(run_in_background=True), where the parent trace now holds onto its own identifiers instead of inheriting the child's.
