Scan a codebase
scanCheck whether a project directory is safe to run, will work, and is complete; flag dangerous calls, leaked keys, broken imports, and missing files without executing code.
Instructions
Is it safe to run, will it work, does it have what it needs? Safe, Works and Complete scores (0-100, higher is better), Overall and an A-F grade, every finding with file:line, the egress inventory and orphan-code hygiene. Deterministic; parses only, never runs the code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | goal contract file; default PATH/code-guardian.goal.toml if present | |
| path | Yes | the project directory to read | |
| fail_on | No |