feat(FN-4639): complete Step 1 — add sandbox types

Fusion-Task-Id: FN-4639
Fusion-Task-Lineage: 40745d49-dd20-4c51-87e3-42062417f788
This commit is contained in:
Fusion
2026-05-15 10:25:59 -07:00
committed by gsxdsm
parent 3ff683aad1
commit 904e5c99bb

View File

@@ -1831,6 +1831,21 @@ export interface ResearchProjectSettings {
limits?: ResearchProjectLimits;
}
export type SandboxBackendName = "native" | "sandbox-exec" | "bubblewrap" | "docker" | "podman" | "custom";
export type SandboxFailureMode = "fail-hard" | "fallback-native";
export interface SandboxPolicy {
allowNetwork?: boolean;
allowedPaths?: string[];
}
export interface SandboxProjectSettings {
backend?: SandboxBackendName;
policy?: SandboxPolicy;
failureMode?: SandboxFailureMode;
}
export type EvalFollowUpPolicy = "disabled" | "suggest-only" | "auto-create";
export interface EvalProjectSettings {
@@ -2367,6 +2382,9 @@ export interface ProjectSettings {
unavailableNodePolicy?: UnavailableNodePolicy;
/** Project-level research configuration overrides. */
researchSettings?: ResearchProjectSettings;
/** Sandbox command-execution settings.
* When omitted, runtime behavior is preserved via native passthrough defaults. */
sandbox?: SandboxProjectSettings;
/** Project-level scheduled eval configuration overrides. */
evalSettings?: EvalProjectSettings;
/** Enable scheduled evaluation batches for recently completed tasks. */