testsAndMisc/docs/superpowers/contracts/i3blocks-gaming-off-2026-11-16.json
Krzysztof kuhy Rudnicki 79c8a7ad09
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Has been cancelled
Python tests / test (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
Shell tests / shell-tests (push) Has been cancelled
Shell tests / lib-tests (push) Has been cancelled
Shell tests / arch-tests (push) Has been cancelled
i3bar: hide gaming blocks, gaming off
Gaming is unlimited from 2026-11-16 (earned_time 0.22.0). Drop [gaming_budget] and [leisure_shadow] from the i3blocks config. Both scripts also print nothing when the daily-limits cache has gaming_enforced false, so a bar config that still lists them stays blank. Shutdown, tutor and focus blocks are untouched. Pruned the oldest evidence file for the 60-file cap.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWViGJJaqBKGr1Hbppr
2026-11-16 16:11:38 +01:00

12 lines
910 B
JSON

{
"title": "i3blocks: no gaming or shadow block once gaming is not limited",
"objective": "Remove [gaming_budget] and [leisure_shadow] from the i3blocks config and make both scripts print nothing when daily-limits' cache has gaming_enforced false; a missing or true key keeps current behaviour; both always exit 0 and stay shellcheck clean.",
"acceptance_criteria": [
"gaming_enforced false: gaming_budget and leisure_shadow print 0 lines and exit 0, even for stale or no-data caches",
"gaming_enforced missing or true: output identical to before",
"the config wires neither block; shutdown_countdown, tutor and focus_project sections are unchanged"
],
"out_of_scope": ["daily-limits itself (own repo)", "enforcer behaviour"],
"verifier": "linux_configuration/tests/test_i3blocks_gaming_budget.sh, test_i3blocks_leisure_shadow.sh, test_i3blocks_efficiency.sh, shellcheck, pre-commit"
}