Parameterize Wait option with target atoms for noise-robust termination#19
Merged
yichao-liang merged 3 commits intomasterfrom Apr 1, 2026
Merged
Parameterize Wait option with target atoms for noise-robust termination#19yichao-liang merged 3 commits intomasterfrom
yichao-liang merged 3 commits intomasterfrom
Conversation
Wait previously terminated on any atom change, making it sensitive to
incidental physics noise. Now Wait can be parameterized with specific
target atoms (positive or negative) that must be satisfied before
termination. Falls back to any-atom-change when no targets are specified.
- Add check_wait_target_atoms, parse_wait_target_annotations,
strip_wait_annotations, inject_wait_targets_for_option to utils.py
- Update option_model.py termination + memory propagation through re-grounding
- Update LLM prompts in agent_planner, agent_bilevel, agent_option_learning
approaches to document -> {atoms, NOT atoms} annotation syntax
- Parse and inject Wait targets in agent_planner and agent_bilevel approaches
- Inject Wait targets from atoms_sequence in process planning paths
- Add tests for target atom termination, including noisy-atom-ignored test
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.
Summary
check_wait_target_atoms,parse_wait_target_annotations,strip_wait_annotations,inject_wait_targets_for_optionutilities-> {atoms, NOT atoms}annotation syntax for Wait stepsTest plan
pytest tests/approaches/test_agent_bilevel_approach.py