The repository has conflicting meanings for the default BFV preset. crates/fhe-params/src/presets.rs:78-84 documents the default as the secure production preset, but DEFAULT_BFV_PRESET is InsecureThreshold512. The active circuit and deployment defaults also target insecure-512/minimum.
Decide and document the intended separation between development defaults and production defaults. Align the Rust constant, circuit build defaults, deployment validation, SDK/config defaults, and tests. Add an explicit production safety check so an insecure preset cannot be used by a production deployment path by accident. Preserve compatibility for the existing CI and local development workflow.
The repository has conflicting meanings for the default BFV preset.
crates/fhe-params/src/presets.rs:78-84documents the default as the secure production preset, butDEFAULT_BFV_PRESETisInsecureThreshold512. The active circuit and deployment defaults also targetinsecure-512/minimum.Decide and document the intended separation between development defaults and production defaults. Align the Rust constant, circuit build defaults, deployment validation, SDK/config defaults, and tests. Add an explicit production safety check so an insecure preset cannot be used by a production deployment path by accident. Preserve compatibility for the existing CI and local development workflow.