The brain: turn activity (+ remembered state) into a plant state. Pure, no I/O. ### Checklist - [ ] `internal/plant` maps `Activity` -> growth stage: seed -> sprout -> leafy -> tall -> bloom - [ ] Health modifier: healthy / thirsty / wilting based on days since last commit - [ ] Mood/flavor text per state (short, with personality) - [ ] Deterministic + pure: same inputs -> same `PlantState` - [ ] Thresholds documented and easy to tune in one place - [ ] Thorough unit tests covering stage transitions and wilt edges ### Done when `plant.Compute(activity, state)` yields the right stage/health across a table of test cases.
The brain: turn activity (+ remembered state) into a plant state. Pure, no I/O.
Checklist
internal/plantmapsActivity-> growth stage: seed -> sprout -> leafy -> tall -> bloomPlantStateDone when
plant.Compute(activity, state)yields the right stage/health across a table of test cases.