Reopen and regenerate¶
Use Project settings → Open project with a directory or settings-file path,
then Save & regenerate. Foundry manages Cargo.toml, build.rs and, for generic
plug-ins, .foundry/product.rs (identity-derived state tag). It preserves DSP,
product/editor source, README, ignore rules and Cargo.lock. Metadata edits update
the environment read by the product; identity changes can break existing sessions.
The package name, template and effect/instrument role are immutable.
Manual edits to managed files reject before mutation. Preserve and reconcile
those edits before regeneration. Keep .foundry/managed.json in version control.
The exclusive .foundry/operation.lock serializes cooperating builds/saves; after
an interrupted operation confirm no process is active before removing a stale
lock/stage directory. Per-file replacement is atomic, the group is not crash
atomic, and external writers are not serialized.
Historical Foundry projects using copied reference wrappers are rejected with a migration diagnostic. Create a fresh generic project and port its DSP/editor explicitly; the generator does not silently rewrite processor bindings or migrate old identities/session data.