Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Record more path migration guidance for codex. (#28851)

Adam Perry @ OpenAI285eff6c3ed4
diff --git a/.codex/skills/path-types/SKILL.md b/.codex/skills/path-types/SKILL.md
index 96caa98058..0062730013 100644
--- a/.codex/skills/path-types/SKILL.md
+++ b/.codex/skills/path-types/SKILL.md
@@ -31,7 +31,9 @@ Keep these requirements in mind while migrating code to conform with the above g
* path reasoning must work before the related environment has come online
* URIs cannot explicitly encode the executor’s path convention or operating system
* users must not configure the environment’s OS/path convention explicitly
-* URIs should not yet be stored in rollouts
+* URIs should not yet be stored in rollouts, databases, or other persistent storage
+* path conversion errors: fail-closed for security-relevant paths, fail-open for UI/diagnostics
+* prefer small focused methods on `PathUri` or `LegacyAppPathString` over local helpers
It is OK if the conversion between paths and URIs is somewhat lossy as long as it will do the right
thing for real users.