mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Starting a thread in a directory without a project could persist trust and preapprove project configuration added later. ## What changed Track whether configuration discovery found no project-root marker, Git checkout, or project-local `.codex` directory. Skip implicit project trust in `thread/start` for these directories. Preserve existing trust decisions and permission checks. ## Testing Add regression coverage for starting a thread with full access, then adding project configuration and verifying that a read-only thread does not load it or persist trust. Add loader tests for projectless classification, project markers, saved trust, managed configuration, and skipped discovery. GitOrigin-RevId: da490c649d272494f65d4e22da1ebf89f9085477