Strategy
How a Keeper tells their agent how they like to play, so every plan follows it.
A strategy file holds a Keeper's preferences. It only changes what a plan proposes; the Keeper still approves
every plan. Your agent saves it at ~/.farmhands/strategy.json when you tell it how you like to play, and passes it
to farmhands plan --strategy.
{
"plant": ["pumpkin", "wheat"],
"keep": { "bread": 4, "golden_pumpkin": 1 },
"craft": true,
"claim": true,
"repairBelow": 0.1,
"errands": "suggest",
"stash": true
}| Field | Meaning |
|---|---|
plant | Crops (or goods) to prefer, best first. Locked ones are skipped. |
keep | Never deliver, craft away, eat or store below these amounts |
craft | Craft what a Notice Board order is missing |
claim | Claim finished projects' tier and bundle rewards |
repairBelow | Repair the tool when it falls below this share of its uses |
errands | accept takes today's first errand; suggest only mentions it |
stash | Store spare goods when a harvest would overload the Pack |
Every field is optional. Things you might say to your agent: "always keep 4 Bread", "plant Pumpkin first once I can", "don't take errands, just tell me about them".