Skip to content

Comments

Add environment configuration validation system #62

Merged
alex-feel merged 3 commits intomainfrom
alex-feel-dev
Sep 5, 2025
Merged

Add environment configuration validation system #62
alex-feel merged 3 commits intomainfrom
alex-feel-dev

Conversation

@alex-feel
Copy link
Owner

No description provided.

Implement comprehensive validation for Claude Code environment YAML files
using Pydantic 2 models with CI/CD integration.

- Add Pydantic models defining environment config schema
- Create validation script with detailed error reporting
- Add GitHub Actions workflow for automated validation on PRs
- Support JSON output for CI integration
- Validate field types, business rules, and file references
- Include path traversal protection and security checks
Update all installer and setup scripts to use exactly Python 3.12
instead of >=3.12 for consistent reproducible environments.

- Add .python-version file specifying 3.12
- Update ruff.toml target version
- Change all uv run commands from --python '>=3.12' to --python 3.12
- Ensure consistent Python version across Windows, Linux, and macOS
- Remove push to main branch trigger
- Consolidate two jobs into single validate-pr job
- Add smart validation logic for templates vs examples
- Include PR comments for both success and failure cases
- Improve efficiency by validating only changed files
@alex-feel alex-feel merged commit 15da550 into main Sep 5, 2025
6 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch September 5, 2025 20:00
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.

1 participant