Conversation
JY-HIM4U
force-pushed
the
feature/plan-repair
branch
from
July 21, 2026 15:56
a314ccb to
a9a2610
Compare
Camp bucker/agent config fix
JY-HIM4U
force-pushed
the
feature/plan-repair
branch
from
July 30, 2026 14:29
a9a2610 to
2104c77
Compare
Repair-aware chat agent example that talks to the plan-repair goal manager, plus constraint-aware PDDL domain description and in-context examples for the LLM prompt.
JY-HIM4U
force-pushed
the
feature/plan-repair
branch
from
July 30, 2026 14:40
2104c77 to
aa91662
Compare
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.
Adds a natural-language interface to the plan-repair
goal_manager(from thespot_tools/omniplannerplan-repair work). A user can say "go to the loading dock but avoid the bridge" instead of hand-writing PDDL goals and constraint JSON. All 6 files are new; nothing existing is modified.Changes
examples/chatdsg_repair/chatdsg.pyRunnable entry point. Based on
examples/chatdsg/chatdsg.py. Reuses itsInputDisplayAppTUI via dynamic module load instead of copying it, and additionally importspddl_repair_tool(for its registration side-effect) before the agent loads.examples/chatdsg_repair/agent_config.yamlAgent config. Based on
examples/chatdsg/agent_config.yaml, swapping the tool fromsend_pddl_goaltosend_pddl_goal_with_constraints, and pointingplanner_topicat/hilbert/commanded_goal(goal_manager's input) instead of directly at omniplanner'sregion_rearrange_objects_pddl/pddl_goal. So, goals go through the pause/coverage-check/replan flow instead of bypassing it.examples/chatdsg_repair/agent_prompt.yamlSystem prompt. Based on
examples/chatdsg/agent_prompt.yaml, rewritten for the goal-sending (not just querying) workflow, plus rules for when to attachforbidden-poi/forbidden-edgeconstraints.examples/prompts/common/pddl_domain_description_with_constraints.yamlExtends
pddl_domain_description.yamlwith a<Runtime Constraints>section documentingforbidden-poi/forbidden-edgesyntax and lowercase-ID rules for the LLM.examples/prompts/common/pddl_in_context_examples_with_constraints.yamlExtends
pddl_in_context_examples.yamlwith worked examples of constrained and multi-goal calls, in the tool-calling response style this agent actually uses (the original's examples use a bare<answer>tag format that doesn't apply here).src/heracles_agents/tools/pddl_repair_tool.pyNew tool. Based on
pddl_calling_tool.py'ssend_pddl(samerobot_name/planner_topicbinding pattern), extended to also acceptconstraints_json. A JSON list the LLM can generate naturally (e.g.[["forbidden-poi","o188"]]), which gets translated internally into the properConstrainedPddlGoalMsg/ConstraintFactstructure before publishing (subprocess.runinstead of the original'sos.system).