This repository is designed to test all features of the Decision Guardian GitHub Action.
- File:
src/database/connection.js,config/database.yml - Expected: PR blocked with Critical alert
- File:
src/api/**/*.js - Expected: Warning comment, PR not blocked
- Action: Add hardcoded credentials to any
src/**/*.js - Expected: Regex content matching triggers Critical alert
- File:
config/*.yml - Expected: Info comment only
- File:
src/legacy/*.js - Expected: NO alert (Status: Deprecated)
- Push this repo to GitHub
- Create test branches and PRs modifying specific files
- Verify Decision Guardian comments appear correctly
- Check that Critical decisions block PRs (when enabled)
├── .decispher/
│ └── decisions.md # Decision definitions
├── .github/
│ └── workflows/
│ └── decision-guardian.yml
├── src/
│ ├── api/
│ │ ├── users.js # Triggers DECISION-API-001
│ │ └── auth.js # For security testing
│ ├── database/
│ │ └── connection.js # Triggers DECISION-DB-001
│ └── legacy/
│ └── old-auth.js # Tests deprecated status
└── config/
└── database.yml # Triggers DECISION-DB-001/CONFIG-001