← Back to FORGEBENCH

Responsible AI & Sandbox Safety Policy

Strict Role Separation · Zero Main-Branch Mutation

1. Disposable Git Worktree Sandboxes

FORGEBENCH never modifies or resets main directly. Every evaluation episode spawns an isolated worktree at /tmp/fb_wt_<task_id> on a temporary branch, runs all 4 deterministic pytest checks, and guarantees removal and pruning in a finally block.

2. AST Mutation Verification Gate

Passing FAIL_TO_PASS alone is not sufficient to commit a task. FORGEBENCH injects deterministic AST mutants (comparison flips, arithmetic inversions, early returns) inside an isolated copy and rejects any weak test whose mutant_kill_rate falls below 50%.

3. Protected Directories & Zero Unapproved Pushes

Protected infrastructure paths (Antigravity IDE/, Docker/, WSL/, Tools/, and Volumes/) are strictly off-limits to autonomous generation, and no automated episode ever pushes commits to remote branches without explicit human approval.