Repository navigation
Conversation
Before, Grandma only took the pet in when the Pi had been off for more than a day. With the Pi running, a week away left the pet sick for days, and a child grew up by itself on a week of bad care. Now, when nobody has done anything with it for GRANDMA_AFTER (36 h), the pet hops off to Grandma's as soon as it is awake and at home. There it is frozen like a resting ancestor: no needs, no growing, no aging, and the pet at the back goes along. The app offers "Fetch from Grandma's" (action "grandma"); it comes home with every stat at least 50 and Grandma's postcard ends the story. An app that doesn't know the action yet fetches it with anything it does. A Pi that was off catches up as if it had been on (up to three days), instead of sending the pet to Grandma's after one. API_VERSION 5: the action "grandma" and the field "grandma". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS2Xj5NPGMJ9AVGvBXCaDd
4 is not released yet, so the action and the field join it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS2Xj5NPGMJ9AVGvBXCaDd
mLampir
marked this pull request as ready for review
October 19, 2026 19:23
This branch has not been deployed
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.
Requested by Michael · project thread
Before: Grandma only took the pet in when the Pi had been off for more than a day. With the Pi running, a week away left the pet hungry and sick for days, and a child grew up by itself after a week of bad care, without anyone watching.
After: when nobody has done anything with the pet for a day and a half, it hops off to Grandma's as soon as it is awake and at home. The panel shows its home without it. At Grandma's it is frozen like a resting ancestor: no needs, no growing, no aging, and the pet at the back goes along. The app says "{name} ist bei Oma." and offers Bei Oma abholen; the pet hops back in with every stat at least 50, and the story ends with Grandma's postcard.
The threshold is 36 h, not 24 h: with 24 h the balance run's once-a-day owner had their pet fetched from Grandma's almost daily and it stopped getting sick. At 36 h nothing changes for any balance profile except the rare longer gap of the neglectful owner.
How:
model.ticksends the pet off (leavesForGrandma/goToGrandma) and does nothing while it is away.advanceshiftsstage_since,born_atand the friend's visit times (stayAtGrandmas), andPet.advancedoes the same for the pet at the back. The new actiongrandmacallscomeBackand leavesseen_atalone, so the welcome story covers the whole absence. An app from before this change fetches the pet with any action. A Pi that was off now catches up as if it had been on (up to three days,MAX_CATCH_UP) instead of jumping to Grandma's after one day, so the phone and the Pi follow the same rule.API_VERSIONstays at 4, since 4 isn't released yet; the contract is updated.Tests:
npm test(291 pass),npm run check,npm run balancecompared against main, preview regenerated with--spoiler-free, and the app checked in the browser (at Grandma's, then fetched).🤖 Generated with Claude Code
https://claude.ai/code/session_01DS2Xj5NPGMJ9AVGvBXCaDd