testsAndMisc/python_pkg/steam_backlog_enforcer
Krzysztof kuhy Rudnicki 9e66638fda fix: sync test paths, drop stale assertions, fix coverage gap
- linux_configuration/tests: update script paths after periodic_background/
  reorganisation (hosts_file_monitor, makepkg_capped, music_parallelism,
  shutdown_timer_monitor, usage_monitoring_installer_efficiency)

- test_i3blocks_efficiency.sh: remove checks for HEARTBEAT_INTERVAL_S and
  WARP_POLL_INTERVAL_S constants that no longer exist

- test_pacman_wrapper_security.sh: remove tests 20-21 (builtin time helpers /
  external date calls) that are no longer applicable; update path

- generate_hosts_file.sh: add sed unblock rules for delio.com.pl and
  loverslab.com to stay consistent with install.sh whitelist

- steam_backlog_enforcer/scanning.py: remove unplayable_reason arg from
  logger.info call (too many format args); drop matching test assertion

- steam_backlog_enforcer/tests/test_protondb.py: add
  test_unplayable_reason_no_trending_tier to restore 100% branch coverage
  on protondb.py line 97 (was previously covered indirectly)
2026-05-16 15:46:02 +02:00
..
tests fix: sync test paths, drop stale assertions, fix coverage gap 2026-05-16 15:46:02 +02:00
__init__.py feat: steam 100 percent extension 2026-03-02 20:29:32 +01:00
_cmd_done.py steam_backlog_enforcer: retry install after library hide restart 2026-05-08 14:56:46 +02:00
_enforce_loop.py steam_backlog_enforcer: reduce repeated cache refetches 2026-05-08 15:13:25 +02:00
_hltb_detail.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
_hltb_types.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
config.py fix(steam_backlog_enforcer): prevent enforce daemon from deleting assigned game 2026-03-25 19:19:52 +01:00
enforcer.py Harden runtime script deployment and enforce installer safety 2026-05-08 17:44:22 +02:00
game_install.py feat(steam-backlog): protect four additional Steam app IDs 2026-05-14 19:58:40 +02:00
hltb.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
install.sh feat: steam 100 percent extension 2026-03-02 20:29:32 +01:00
library_hider.py refactor(steam-backlog): move hide retry loop into single JS evaluation 2026-03-30 16:45:25 +02:00
main.py refactor: split oversized SBE modules, extend screen locker, and enhance Horatio demo 2026-03-29 22:50:24 +02:00
protondb.py fix: remove dead code in unplayable_reason; add coverage for playable path 2026-05-08 20:35:55 +02:00
README.md feat: steam 100 percent extension 2026-03-02 20:29:32 +01:00
run.sh feat: robotgo improvements in phone focus bluetooth and printer scripts 2026-03-09 18:34:15 +01:00
scanning.py fix: sync test paths, drop stale assertions, fix coverage gap 2026-05-16 15:46:02 +02:00
steam_api.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
steam-backlog-enforcer.service Harden runtime script deployment and enforce installer safety 2026-05-08 17:44:22 +02:00
store_blocker.py feat: robotgo improvements in phone focus bluetooth and printer scripts 2026-03-09 18:34:15 +01:00

Steam Backlog Enforcer

Forces you to 100% complete one Steam game at a time before moving on.

Features

  • Achievement tracking: Picks the next game by shortest HLTB completionist time
  • Store blocking: Blocks store.steampowered.com via /etc/hosts
  • Game uninstalling: Removes all installed games except the assigned one
  • Process enforcement: Kills unauthorized game processes
  • Tampering detection: Detects achievement unlocks on non-assigned games
  • HLTB integration: Estimates completion time with persistent cache

Setup

python -m python_pkg.steam_backlog_enforcer.main setup

Commands

Command Description
scan Scan library, fetch HLTB data, assign game
check Check if assigned game is complete
status Show current assignment and blocking
list List incomplete games from snapshot
skip Skip the currently assigned game
enforce Run enforcer (block, uninstall, kill)
unblock Remove store blocking
reset Reset all state
installed List currently installed Steam games
uninstall Interactively uninstall non-assigned games
setup First-time configuration

Enforce mode

sudo python -m python_pkg.steam_backlog_enforcer.main enforce

This will:

  1. Block Steam store in /etc/hosts
  2. Uninstall all games except the assigned one
  3. Continuously kill any unauthorized game processes

Game Uninstall

Directly removes appmanifest files and game directories from ~/.local/share/Steam/steamapps/. Preserves Proton versions and Steam Linux Runtime.

python -m python_pkg.steam_backlog_enforcer.main uninstall