CI / build (push) Has been cancelled
- Archive 79 completed framework-dev tasks from tasks/ -> tasks/complete/ - status.py: add --cleanup-done and --install-cleanup-schedule commands - Add scripts/automaton-cleanup.sh for periodic task archiving - Dashboard: rename 'Background' tab -> 'Agent', 'Cleanup' agent -> 'Completed Task Archiver', remove redundant group headers and pill badges, dim inactive agent placeholders - .rules.md: add Self-Documenting UI Names rule - New tests: test_cleanup_done.py, expanded test_app.py and test_task.py
1.1 KiB
1.1 KiB
Implementation: Rewrite VRAM Detection as Python Script
Summary
Replaced scripts/vram_detect.sh with scripts/vram_detect.py, a testable Python implementation that produces the same JSON output and fixes several bugs.
Files Changed
scripts/vram_detect.py(new)scripts/vram_detect.sh(deleted)scripts/install.sh— updated to run Python script and parse JSON with PythonREADME.md— updated referencesprompts/onboarding.md— updated references and invocationprompts/decompose.md— updated referencesprompts/orchestrate.md— updated references
Bugs Fixed
- Undefined
$headroom_pctin manual mode. - Hardcoded
"headroom": 0.25in JSON output. - Code-block values in
config.mdbeing parsed as live config. - GPU-counting/output ordering bug.
- 10KB file-read limit now enforced for API config files.
Verification
python scripts/vram_detect.pyruns and emits valid JSON.python scripts/vram_detect.py gpt-4odetects 128k context.python scripts/vram_detect.py --model claude-3-5-sonnetdetects 200k context.rg "vram_detect\.sh" README.md scripts/install.sh prompts/returns no matches.