Allow subgoals in triggers and empty plan #50
Reference in New Issue
Block a user
Delete Branch "fix/trigger-subgoal-error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Copies the goal and changes can_fail to false. Also add a warning for empty plans in goals.
ref: N25B-460
To verify:
marked the checklist item Ensure that the problematic program (in the YouTrack issue page for N25B-460) now correctly parses and runs (but change the goal names from numbers to actual names, as numbers don't and shouldn't work) as completed
marked the checklist item Tests are up to date (new code is covered) as completed
marked the checklist item Tests are up to date (new code is covered) as incomplete
marked the checklist item Style checks pass as completed
marked the checklist item Pipeline (tests) pass as completed
marked the checklist item Documentation is up to date as completed
Björn's program now runs (the problematic program (in the YouTrack issue page for N25B-460)).
I also tried overriding triggers that have goals in their plan and it seems to work.
Style is same as other agentspeak generator code, looks good!
I approve!
approved this merge request
resolved all threads
added 10 commits
main1337b1f0- Merge branch 'main' into fix/trigger-subgoal-errorCompare with previous version
added 1 commit
b53bf872- chore: better name checks for ProgramElementCompare with previous version
mentioned in commit
2e717ec277