File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,6 +264,33 @@ Before Codex returns any ZIP, Codex must:
2642646 . Place ZIP under ` <project folder>/tmp/ ` .
2652657 . Never reuse a previous file handle or path.
266266
267+ ## TMP DIRECTORY OWNERSHIP
268+
269+ ` tmp/ ` is user-facing artifact output only.
270+
271+ Codex may place only final ZIP artifacts in ` tmp/ ` unless explicitly instructed otherwise.
272+
273+ Codex must not use ` tmp/ ` as:
274+ - scratch workspace
275+ - temp extraction directory
276+ - intermediate build output
277+ - report staging area
278+ - cache location
279+
280+ Reports remain under ` docs/dev/reports ` .
281+
282+ Runtime temp data must use proper temporary or system locations outside repo ` tmp/ ` .
283+
284+ Every ZIP filename must remain unique.
285+
286+ ` tmp/ ` should stay clean and human-readable.
287+
288+ Nested temporary directories inside ` tmp/ ` are prohibited.
289+
290+ Loose files in ` tmp/ ` are prohibited except approved final artifacts.
291+
292+ Generated review artifacts do not belong in ` tmp/ ` .
293+
267294## FAILURE HANDLING
268295
269296If ZIP delivery fails more than once:
You can’t perform that action at this time.
0 commit comments