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: Framework Self-Consistency Tests
Summary
- Added
tests/test_framework_self_consistency.pywith 17 tests across 7 test classes - R1.A:
TestDeliveryPromptsHaveStopConditions— verifies all delivery prompts have stop condition blocks - R1.B:
TestNoHardcodedURLs— checks for hardcoded IP URLs and localhost:port in prompts/contracts/templates - R1.C/D:
TestRulesMdSections— verifies .rules.md mandatory sections and self-improvement examples - R1.E:
TestCanonicalTaskPaths— asserts no deprecated{project}/tasks/paths in prompts - R1.F:
TestPyprojectNoStaleExtras— asserts no inotify reference in pyproject.toml - R1.G:
TestDashboardCSSThemes— verifies themable CSS variables have parity across :root and theme overrides - R3:
TestVerdictParsingRegression— 6 regression tests for the critical false-BLOCKED verdict bug - R4:
TestCIWorkflowValidation— verifies CI runs py_compile, pytest, and bash -n
Changes
tests/test_framework_self_consistency.py: New test file (17 tests)
Test Results
151 passed in 0.10s (17 new self-consistency tests)
Blockers
None