@@ -292,7 +292,7 @@ describe("codex", async () => {
292292 } ,
293293 } ) ;
294294 await execModuleScript ( id ) ;
295- const resp = await readFileContainer ( id , "/home/coder/AGENTS.md" ) ;
295+ const resp = await readFileContainer ( id , "/home/coder/.codex/ AGENTS.md" ) ;
296296 expect ( resp ) . toContain ( prompt ) ;
297297 } ) ;
298298
@@ -305,7 +305,7 @@ describe("codex", async () => {
305305 ` . trim ( ) ;
306306 const pre_install_script = dedent `
307307 #!/bin/bash
308- echo -e "${ prompt_3 } " >> /home/coder/AGENTS.md
308+ echo -e "${ prompt_3 } " >> /home/coder/.codex/ AGENTS.md
309309 ` . trim ( ) ;
310310
311311 const { id } = await setup ( {
@@ -315,7 +315,7 @@ describe("codex", async () => {
315315 } ,
316316 } ) ;
317317 await execModuleScript ( id ) ;
318- const resp = await readFileContainer ( id , "/home/coder/AGENTS.md" ) ;
318+ const resp = await readFileContainer ( id , "/home/coder/.codex/ AGENTS.md" ) ;
319319 expect ( resp ) . toContain ( prompt_1 ) ;
320320 expect ( resp ) . toContain ( prompt_2 ) ;
321321
@@ -327,7 +327,7 @@ describe("codex", async () => {
327327 } ,
328328 } ) ;
329329 await execModuleScript ( id_2 ) ;
330- const resp_2 = await readFileContainer ( id_2 , "/home/coder/AGENTS.md" ) ;
330+ const resp_2 = await readFileContainer ( id_2 , "/home/coder/.codex/ AGENTS.md" ) ;
331331 expect ( resp_2 ) . toContain ( prompt_1 ) ;
332332 const count = ( resp_2 . match ( new RegExp ( prompt_1 , "g" ) ) || [ ] ) . length ;
333333 expect ( count ) . toBe ( 1 ) ;
@@ -355,7 +355,7 @@ describe("codex", async () => {
355355 const prompt = await execContainer ( id , [
356356 "ls" ,
357357 "-l" ,
358- "/home/coder/AGENTS.md" ,
358+ "/home/coder/.codex/ AGENTS.md" ,
359359 ] ) ;
360360 expect ( prompt . exitCode ) . not . toBe ( 0 ) ;
361361 expect ( prompt . stderr ) . toContain ( "No such file or directory" ) ;
0 commit comments