← Back to KHAO

Codex · OpenAI ·

As described in Configuration precedence, ⁠ Codex merges settings from multiple config.toml files

2 min read

Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.

★ Tier-1 Source

Flow diagram: configuration and managed requirements define a session permission profile; the Codex harness launches commands under platform-specific sandbox restrictions on macOS, Linux, or Windows. Child processes inherit those restrictions, and an optional network proxy enforces domain rules.

Tables are merged recursively, with the higher-precedence source winning when values conflict.

Key facts

Summary

By Michael Bolin, Member of Technical Staff. At OpenAI, they take a defense in depth approach when it comes to safeguarding agents. A sandbox limits what a program can access while it runs. In this article, they'll start with the tradeoffs behind Codex’s sandbox defaults, then explain the sandbox’s design and how the harness uses it to run commands. In Codex, their philosophy is to specify conservative defaults for the sandbox that still enable meaningful work.

Read full article at OpenAI →

#Codex #OpenAI