pub struct ForgeLimits {Show 14 fields
pub max_hypotheses: usize,
pub max_concurrent_experiments: usize,
pub max_bundles_per_candidate: usize,
pub max_verification_steps: usize,
pub max_db_bytes: u64,
pub max_retained_logs_bytes: u64,
pub max_retained_artifacts: usize,
pub failed_run_retention_days: u32,
pub max_patch_files: usize,
pub max_patch_bytes: u64,
pub max_check_runtime_secs: u64,
pub max_check_output_bytes: u64,
pub max_graph_nodes: usize,
pub max_graph_edges: usize,
}Expand description
Resource limits for the forge runtime.
Violations are hard errors: no ExperimentEvidenceBundle is produced on limit violation.
Fields§
§max_hypotheses: usizeMaximum number of hypotheses per evidence bundle.
max_concurrent_experiments: usizeMaximum number of concurrent experiments.
max_bundles_per_candidate: usizeMaximum evidence bundles retained per candidate.
max_verification_steps: usizeMaximum verification steps per plan.
max_db_bytes: u64Maximum database size in bytes (0 = unlimited).
max_retained_logs_bytes: u64Maximum retained log bytes per run (0 = unlimited).
max_retained_artifacts: usizeMaximum retained artifacts count.
failed_run_retention_days: u32Failed run retention in days (0 = no retention).
max_patch_files: usizeMaximum files in a patch (enforced at patch ingest).
max_patch_bytes: u64Maximum total bytes in a patch (enforced at patch ingest).
max_check_runtime_secs: u64Maximum runtime in seconds for a single check (enforced in LocalExperimentRunner).
max_check_output_bytes: u64Maximum output bytes from a single check (truncated if exceeded).
max_graph_nodes: usizeMaximum nodes in the CEA graph before mutation commit.
max_graph_edges: usizeMaximum edges in the CEA graph before mutation commit.
Trait Implementations§
Source§impl Clone for ForgeLimits
impl Clone for ForgeLimits
Source§fn clone(&self) -> ForgeLimits
fn clone(&self) -> ForgeLimits
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more