mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-20 18:32:19 +01:00
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
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
32 lines
1.8 KiB
JSON
32 lines
1.8 KiB
JSON
{
|
|
"intent": "Gaming has no budget from 2026-11-16 (earned_time 0.22.0): the i3bar shows no gaming or leisure-shadow block; the shutdown, tutor and focus blocks stay.",
|
|
"scope": [
|
|
"linux_configuration/i3blocks/config, gaming_budget.sh, leisure_shadow.sh and their two test scripts",
|
|
"Non-goal: no accounting, no new keys written; a missing or true gaming_enforced keeps today's output"
|
|
],
|
|
"changes": [
|
|
"config: the [gaming_budget] and [leisure_shadow] sections are removed",
|
|
"gaming_budget.sh, leisure_shadow.sh: when the cache's gaming_enforced is exactly false the render is empty text plus the hidden sentinel and the block prints nothing, exit 0, whatever the cache age (covers a bar config that still lists them)",
|
|
"tests: hidden cases for both blocks (four caches each, enforced true and absent still render, flip false -> true re-renders) and the config no longer wires either block"
|
|
],
|
|
"verification": [
|
|
{
|
|
"command": "bash linux_configuration/tests/test_i3blocks_gaming_budget.sh && bash linux_configuration/tests/test_i3blocks_leisure_shadow.sh && bash linux_configuration/tests/test_i3blocks_efficiency.sh",
|
|
"result": "pass",
|
|
"evidence": "All gaming_budget checks passed. All leisure_shadow checks passed. (both new sections RED before the change)"
|
|
},
|
|
{
|
|
"command": "shellcheck on the two scripts and two tests",
|
|
"result": "pass",
|
|
"evidence": "no findings"
|
|
}
|
|
],
|
|
"risks": [
|
|
"i3blocks does not re-read its config on a signal: the removed sections vanish at the next i3blocks restart; until then the scripts print nothing",
|
|
"Depends on daily-limits >= 8219dce writing gaming_enforced"
|
|
],
|
|
"rollback": [
|
|
"git revert the commit; the symlinks in ~/.config/i3blocks pick it up on the next tick"
|
|
]
|
|
}
|