steam-backlog-enforcer/steam_backlog_enforcer/main
Krzysztof kuhy Rudnicki 737b49246c Allow abandoning a manual pick at any time; cap picks at 2
The 4-day grace window left kuhy stuck: three picks locked in, the window
closed on two of them, so nothing could be abandoned and no new pick could
be added.

- abandon-pick now works however old the pick is. MANUAL_GRACE_DAYS,
  manual_pick_grace_remaining() and can_abandon_manual_pick() are deleted;
  abandon_manual_pick()'s existence check is the single remaining guard
  (the previous post-guard and its "race" test became unreachable).
- Config.max_manual_picks 3 -> 2. kuhy's config.json does not set the key,
  so the default change is sufficient.
- status/lock/MCP surfaces report informational age ("picked N day(s) ago",
  age_days) instead of a grace countdown. Note this is a sign flip, not a
  rename: age is now - started, where grace was deadline - now.

Verified live: abandoned Montaro (495890) and Battle Bruise (618510), both
previously refused as EXPIRED; pick-manual 3164500 now reaches its confirm
prompt at 1/2 slots used. 1344 tests, 100.00% coverage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016A1EYiv7e7HGhET84oa9M3
2026-08-24 15:41:32 +02:00
..
__init__.py Allow abandoning a manual pick at any time; cap picks at 2 2026-08-24 15:41:32 +02:00
__main__.py Split main.py (1076 lines) into a main/ package 2026-08-23 19:56:34 +02:00
_registry.py Split main.py (1076 lines) into a main/ package 2026-08-23 19:56:34 +02:00
_shared.py Allow abandoning a manual pick at any time; cap picks at 2 2026-08-24 15:41:32 +02:00
abandon.py Allow abandoning a manual pick at any time; cap picks at 2 2026-08-24 15:41:32 +02:00
install.py Split main.py (1076 lines) into a main/ package 2026-08-23 19:56:34 +02:00
misc.py Split main.py (1076 lines) into a main/ package 2026-08-23 19:56:34 +02:00
picks.py Allow abandoning a manual pick at any time; cap picks at 2 2026-08-24 15:41:32 +02:00
status.py Allow abandoning a manual pick at any time; cap picks at 2 2026-08-24 15:41:32 +02:00