Skip to content

Conversation

@robertDouglass
Copy link
Contributor

No description provided.

robertDouglass and others added 3 commits November 13, 2025 22:22
Implements Test Suite 4 from TESTING_REQUIREMENTS (21 tests)

Test Coverage (test_plan_validation_functional.py):
- Core plan detection (6 tests) ✅
  - Unfilled plan detection with 5+ markers
  - Filled plan passes with < 5 markers
  - Threshold boundary testing (4 vs 5 markers)
  - Empty/missing file handling

- Validation function behavior (3 tests) ✅
  - Raises PlanValidationError on unfilled
  - Passes on filled plans
  - Non-strict mode warns

- Marker detection (3 tests) ✅
  - All template markers defined
  - Case-sensitive matching
  - No false positives on partial matches

- Threshold behavior (2 tests) ✅
  - Confirms 5-marker threshold
  - Boundary condition testing (3,4,5,6 markers)

- Regression cases (3 tests) ✅
  - Code blocks don't confuse detection
  - Proper bracket usage safe
  - Unicode content handled

- Error messages (2 tests) ✅
  - Includes marker count
  - Suggests remediation steps

- Performance (2 tests) ✅
  - Plan detection < 20ms ✅
  - Large file performance < 50ms ✅

All 21 tests passing in 0.11s

Target coverage: 95%+ for plan_validation.py

Related: TESTING_REQUIREMENTS lines 489-673

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
- Version bump from 0.4.13 to 0.5.0 (minor version)
- Added comprehensive CHANGELOG entry for encoding and plan validation guardrails
- Documents all new features, changes, fixes, and documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants