From 66c427eba498f80ad85def4258034b7eb6950d5d Mon Sep 17 00:00:00 2001 From: claude Date: Sun, 11 Oct 2026 14:47:22 -0700 Subject: [PATCH] venture: with several open cards, work the furthest-along one first Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01UpT7eWzeLhRwuYmsSQnbRb --- .github/time/venture.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/time/venture.py b/.github/time/venture.py index 97d5978..a16c84f 100644 --- a/.github/time/venture.py +++ b/.github/time/venture.py @@ -203,6 +203,8 @@ def tick() -> int: pitchers = env("TIME_VENTURE_PITCH", "qwen,kimi,grok").split(",") voters = env("TIME_VENTURE_BOARD", "grok,kimi,qwen").split(",") cards = venture_cards() + order = ["new", "scouted", "pitched", "picked", "built", "launched"] # work the card that is furthest along first + cards.sort(key=lambda c: -order.index(state_of(c)["beat"]) if state_of(c)["beat"] in order else 0) card = cards[0] if cards else (new_card(today) if env("TIME_VENTURE", "off") == "on" else None) if not card: print("venture loop off (TIME_VENTURE=on to start)")