bank_candidate
Safely promote a gate-verified STEP file as the output checkpoint, replacing the target only on pass and preserving the previous file on failure.
Instructions
Atomically promote a gate-clean STEP as the safe output/checkpoint. Writes the candidate to a private sibling file, runs the authoritative written-and-reimported STEP gate, and replaces filename only on a fully verified PASS; on FAIL or an unchecked mesh gate, the candidate is deleted and any existing output is preserved. If snapshot_name is supplied, the geometry snapshot is saved only after promotion. Returns JSON including banked, preservation/snapshot status, the export report, and the next recommended recognition or repair call. Use this instead of batching export() and save_snapshot() for scored floors and final candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| object_name | No | ||
| snapshot_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |