Check code against Claspine's guardrails
check_codeRuns Claspine's Agent Shield rules on files or a unified diff: hardcoded or client-exposed secrets, SQL built from strings, unscoped tenant queries, secrets in logs, buffered uploads, imports of platform internals. Returns file, line, rule and the fix. Code is analysed in memory and not stored. A clean result is not proof of safety; Spring Boot builds also run ProductBoundaryTest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | A unified diff (only added lines are checked). | |
| files | No | Files to check (path decides browser vs server code). |