21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
# 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
|