mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Move the parse/collect/aggregate logic out of the ressources CLI into utils/roles/applications/services/resources.py so the CLI and the upcoming variant resource-budget guard share one implementation instead of duplicating it. The CLI's query/__main__ and the unit tests now import from utils; the per-module CLI files (parse.py, collect.py, aggregate.py) are removed. No behavior change: the 43 ressources unit tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>