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
3.0 KiB
3.0 KiB
Parent Task: runnable-test-suite
This is the parent SPEC for the runnable-test-suite task. Each sub-task references this for context, scope boundaries, and the parent acceptance contract.
Parent Goal
Make python3 -m pytest tests/ -v pass from a clean checkout of ~/.automaton,
with deterministic Python deps pinned and docs that reflect the actual interpreter
on stock macOS/Windows/Linux. In the same wave, make scripts/vram_detect.py
cross-platform (macOS, Windows, Linux) — the existing version was developed on
Cachyos and only fully works on Linux.
Parent Acceptance Contract
pip3 install -r requirements.txtsucceeds on stock macOS CommandLineTools + pip3.python3 -m pytest tests/ -vexits 0 from a clean clone, zeroerrorlines.- Streak verifier: 10 consecutive clean
python3 -m pytest tests/ -vruns with no edits between runs. A single failure resets the count. Cap: 5 attempts. python3 -m py_compile automaton/**/*.py automaton/dashboard/**/*.py scripts/*.pyexits 0.bash -n scripts/*.shexits 0.rg "^python " AGENTS.md README.md automaton/dashboard/README.md prompts/orchestrate.mdreturns zero matches for a barepythoncommand.python3 scripts/vram_detect.pyon Darwin printsgpu_vram_gb > 0(was 0 before).python3 scripts/vram_detect.pyJSON shape identical to before on Linux/Cachyos.
Sub-tasks
make-tests-runnable— Wave 1, parallel-okvram-detect-cross-platform— Wave 1, parallel-okvram-detect-cross-platform-tests— Wave 2, depends onvram-detect-cross-platform
Parent is complete ONLY when ALL three sub-tasks pass and the streak verifier above runs 10 consecutive clean passes.
Anti-spin rails (from the source article)
- The streak verifier IS the independent checker model from Boris's loop. The worker (local LLM) does not grade its own homework.
- If a test is genuinely broken (not just import-failing due to missing pytest), STOP and report. Do not patch the test to make it pass. An agent that grades itself will delete the failing test and call it done.
- Unknown model name → fail open with
0. Wrong-context detection is worse than none. - No new third-party deps beyond
pytest. Pure stdlib forvram_detect.py.
Hardware/VRAM context
- Detected by
vram_detect.pyon this box: 32GB RAM, no GPU, model unknown (becausevram_detect.pyis broken on macOS — subtask-2 fixes that) - Target context: 12k tokens, headroom 25%, max peak per sub-task: 9k tokens.
- Sub-task peak estimates all fit within 9k. No further decomposition.
Constraints / non-goals (parent)
- No
psutil,wmi,pywin32,tox,pytest-cov, or other third-party deps. - No removal of existing OpenAI/Anthropic entries in
MODEL_CONTEXT_WINDOWS. - No changes to
status.py,autopilot.py, or any other runtime script's behavior. - No touching files under
tasks/(those are state, not source). - No Docker, no conda, no
pyenv. Stockpython3+pip3only. - VRAM detection is additive — Linux/Cachyos output must NOT regress.