Skip to content

Add rinse and unripe claim support to AutomateClaimBlueprint#189

Open
pocikerim wants to merge 5 commits intofrijo/release/PI-15from
refactor/automate-claim-blueprint
Open

Add rinse and unripe claim support to AutomateClaimBlueprint#189
pocikerim wants to merge 5 commits intofrijo/release/PI-15from
refactor/automate-claim-blueprint

Conversation

@pocikerim
Copy link
Contributor

Title: Add rinse and unripe claim support to AutomateClaimBlueprint

Summary

  • Rename MowPlantHarvestBlueprint to AutomateClaimBlueprint to reflect expanded scope
  • Add BarnPayback rinse (claimFertilized) support with operator-sourced fertilizer IDs via transient storage
  • Add SiloPayback unripe claim support with minUnripeClaimAmount threshold and auto-deposit to silo

Changes

  • AutomateClaimBlueprint.sol: New ISiloPaybackClaim interface, minUnripeClaimAmount / unripeClaimTipAmount params, immutable siloPayback dependency, _getUnripeClaimAmount() helper
  • AutomateClaimBlueprint.t.sol: Full rewrite with rinse tests (success, belowMinimum, noOperatorData, multipleFertIds, withHarvest) and unripe claim tests (success, belowMinimum, noBalance, withHarvestAndRinse)
  • TractorTestHelper.sol: Updated setup structs and builder functions for new params

@pocikerim pocikerim requested a review from fr1jo February 17, 2026 07:20
pocikerim and others added 2 commits February 17, 2026 07:20
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants