theemilz/Camouf - AI Code Guardrails
Architecture guardrails for AI-generated code. Catches broken contracts, phantom imports, and async issues.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Camouf version to install (default: latest) | no | latest |
| config | Path to camouf.config.json (default: auto-detect) | no | "" |
| rules | Comma-separated list of rules to enable (e.g. async-discrepancies,contract-mismatch) | no | "" |
| fail-on | Minimum severity to fail the workflow: error, warn, or off (default: error) | no | error |
| format | Output format: text, json, or vscode (default: text) | no | text |
| max-warnings | Maximum number of warnings before failing (default: unlimited) | no | -1 |
| working-directory | Working directory for analysis (default: repository root) | no | . |
| report-artifact | Upload the report as a GitHub artifact (true/false, default: true) | no | true |
| annotate | Add inline annotations to changed files in pull requests (true/false, default: true) | no | true |
Outputs
| name | description |
|---|---|
| total-violations | Total number of violations found |
| errors | Number of error-level violations |
| warnings | Number of warning-level violations |
| report-path | Path to the generated JSON report |
| exit-code | Exit code from camouf validate (0 = clean, 1 = violations, 2 = config error) |