This directory contains automated tests for the JSON configuration files and PR review helpers in this repository.
Validates the JSON configuration files (agent_repos.json, plugin_repos.json, skill_repos.json) for:
- JSON Syntax: Ensures all files contain valid JSON
- No Duplicates: Checks that there are no duplicate keys in the JSON objects
python3 tests/test_json_validation.pyThe validation is automatically run in GitHub Actions as part of the notify-other-repos.yml workflow. The workflow will fail if any JSON file has syntax errors or duplicate entries, preventing invalid configurations from being deployed.
Validates helper logic used by the incoming PR review workflow for:
- Strict JSON Parsing: Ensures duplicate keys are rejected
- Claude Standards: Checks plugin, skill, and agent path validation helpers
- Schema Checks: Confirms submitted repo entries use expected field types
python3 tests/test_pr_review_config.pyValidates helper logic used by the README reminder workflow for:
- README Detection: Checks that direct root README edits are detected
- Comment Content: Confirms the reminder links contributors to the contribution guide and valid config repo
python3 tests/test_readme_pr_reminder.py