feat: add rotating goal data model#154
Merged
Merged
Conversation
- Add scripts/rotating_goal.gd with pure data model for colony goals - Goal catalog with 7 fixed entries (wood, stone, food, hut, workshop, garden, any_build) - Deterministic goal selection from completed-id set - Progress computation for resource, build, and build-complete goals - Completion detection by goal type - No-op reward on completion (placeholder only) - Add tests/test_rotating_goal.gd covering all acceptance criteria Refs #142
Contributor
|
✅ Automated recommendation: APPROVE Analysis engine: MiniMax-M2.7@https://litellm.jory.dev/v1 (anthropic) PR Review: feat: add rotating goal data modelSummaryThis PR adds a pure data model for rotating colony goals in Change-by-Change Findings
|
…n apply_goal_template - Replace 'extends Node' with 'class_name RotatingGoal' since the script only uses static functions (addresses review feedback) - Use .duplicate(true) for deep copy of target dictionaries in apply_goal_template to protect against future nested structures
joryirving
enabled auto-merge
May 23, 2026 19:02
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.
Fixes #142
Add a minimal pure data model for rotating colony goals. No UI yet.
Goal state structure
Goal catalog (7 fixed entries)
Acceptance criteria
Refs: #131