Files
automaton/tasks/complete/framework-self-consistency-tests/IMPLEMENTATION.md
T
Lap Tran 4a2301b077
CI / build (push) Has been cancelled
Archive completed tasks, add cleanup commands, self-documenting dashboard UI
- 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
2026-06-24 22:43:33 -04:00

1.1 KiB

Implementation: Framework Self-Consistency Tests

Summary

  • Added tests/test_framework_self_consistency.py with 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