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
843 B
843 B
Implementation: fix-context-sizing
Implements SPEC.md R1–R6. Files touched:
scripts/vram_detect.py— R1 (double headroom), R2 (fake clamps), R3 (--loop-mode refuse), R4 (JSON fields)config.md— R5 (## Loop Role Modelssection)prompts/decompose.md— R6 (4k tier + 16k floor)tests/test_context_sizing.py— new tests
Approach
recommend_context rewritten so headroom is applied exactly once. main() reports honest numbers (no else 8/else 6 fallbacks). New --loop-mode CLI flag refuses zero-context-unknown and sub-16k available budget; non-loop callers keep prior behavior. JSON output exposes available_context_kb and loop_mode_eligible.
config.md gets a ## Loop Role Models section. decompose.md's context-budget table grows a 4k row and an explicit ≤ 16k: refuse floor statement.