spawn_audit_scan
Scan a Spawn game's exported functions to identify which run without engine or room access. Run before writing an audit manifest to know what can be tested locally in plain Node.
Instructions
List a game's exported functions and say which can be audited locally. Engine-coupled functions take objectApi as a parameter (the engine injects it, never imports it), so the signature alone decides: no api parameter and no engine-only require means the function is pure and runnable in plain Node. Run this BEFORE writing an audit manifest — it tells you what there is to check. No browser, no room, no credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | No | Absolute path to the Spawn game project. Defaults to SPAWN_PROJECT_DIR or cwd. | |
| auditableOnly | No | Hide functions that need a live room (the usual case when writing a manifest) |