Skip to content

Decision: Hold twelve of every kind in the yard ​

Context ​

  • The yard held 12 friends, 12 decorations, 24 flowers and 6 trees, and the gift box 12 more gifts.
  • Fish, bugs and keepsakes set out from the album counted as decorations, so five fish out left seven places for gifts.
  • The desktop shows only what the yard has, so it could hold up to 54 things, by four different numbers.
  • With the album setting things out and bringing them back (docs/design/2026-11-20-album-in-and-out.md), people meet these limits often: on a card's n/m count, and when the yard says it is full.

Decision ​

KindBeforeNowWhere
Friends1212pets/model.rs LIMIT
Gifts12, shared with finds12pets/garden.rs DECOR_MAX
Fish, bugs and keepsakes set out from the albumshared with gifts12pets/garden.rs FIND_MAX
Flowers2412pets/garden.rs PLANT_MAX
Trees612pets/discovery.rs TREE_YARD_MAX
Gifts waiting (the box)12no limit of its ownpets/garden.rs give
  • The desktop holds what the yard holds: up to 60 things, twelve of each kind.
  • Gifts wait without a limit of their own: one of each kind, and each friend's memento. With the yard full of gifts and every kind out or waiting, none is brought twice (error.gifts_full). A saved box keeps up to 64 (BOX_KEEP), only against a hand-edited file.
  • A yard saved with more flowers than the field now holds keeps all of them (PLANT_KEEP, 24, as TREE_MAX keeps trees). No more are planted or set out until fewer than twelve are left.
  • The page keeps the same values before the state arrives (src/core/limits.js, finds in place of giftBox); tests/limits.test.mjs and pets/mod.rs check that every kind is twelve.
  • The album no longer shows the box apart from the Gifts book: a gift waiting is set out from its own card (album in and out).

Consequences ​

  • Positive: one number to remember and to explain. A card's count never stops at a different number for flowers and trees, and setting out finds never takes a gift's place.
  • Negative: a field of flowers is half as full as it could be. Someone who liked 24 flowers keeps them, but cannot plant more until fewer than twelve are left.
  • Neutral: twelve trees can cover more of the scenery than six. Trees stand only on free soil (freeSpot), and a full yard says so on the card.

Alternatives considered ​

AlternativeWhy rejected
Twenty-four of every kindTwelve more friends means twice the AI chats and drawing; 24 trees would cover the scenery
Keep the yard's limits and give the desktop one limit of its ownOne more number, and the yard's four would still differ
Keep everything as it isThe person asked for one rule
Keep a 12-gift boxHidden once the box left the album, and friends stopped bringing gifts once it filled

Free and open source under the MIT license. Not affiliated with OpenAI; ChatGPT and Codex are trademarks of OpenAI.