- Rewrote CORRECTIVE_PROMPT_TEMPLATE to clearly distinguish option→child vs action→sibling next_node_id semantics with concrete examples - Added global check in ai_tree_validator that action next_node_ids actually reference existing nodes in the tree (was silently unchecked) - Added max_tokens truncation warning to branch_detail logger - Added test for action next_node_id referencing nonexistent node Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7.2 KiB
7.2 KiB