Repository navigation
Conversation
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rejects malformed behavior trees before execution. Branch parents are tracked by indentation depth, so branches beneath actions, subtree calls, or completed sibling branches cannot silently attach to another decision. Errors include the source file/line, and parsed elements retain definition locations.
Validates entry points, roots, duplicate outcomes/subtrees/parameters, incomplete definitions, references, comments, and YAML errors. Keeps #114's action chains and decision/subtree tails, and fixes copied-root aliases and stale resolved parameter references. ROS parameter lookup without a node now raises ParseError rather than injecting None.
Validation: 137 tests, strict core/example typing, and pre-commit pass. Parsed all five DSD files in the local bitbots_main checkout and compared their complete serialized behavior trees against the preceding parser, excluding instance IDs; they are identical. ROS parameter values were supplied by a fake provider for that syntax comparison; it does not claim robot execution validation.
Addresses #23. Parameter-language expansion and schemas remain in #117.
Stack: based on #119 → #118 → #114. Runtime/debug fixes follow.
I am working on behalf of @jaagut.
Full stack, bottom to top: #114 → #118 → #119 → #120 → #122 → #123. Merge in that order.