From 03c1a676499d70755742992aa3bae2c2825afe64 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Wed, 11 Mar 2026 19:01:09 +0900 Subject: [PATCH] fix: sync instructions.md to per-group Codex session dirs --- src/container-runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/container-runner.ts b/src/container-runner.ts index a22f8b5..461b9ce 100644 --- a/src/container-runner.ts +++ b/src/container-runner.ts @@ -234,10 +234,10 @@ function prepareGroupEnvironment( const authSrc = path.join(hostCodexDir, 'auth.json'); const authDst = path.join(sessionCodexDir, 'auth.json'); if (fs.existsSync(authSrc)) fs.copyFileSync(authSrc, authDst); - for (const file of ['config.toml', 'config.json']) { + for (const file of ['config.toml', 'config.json', 'instructions.md']) { const src = path.join(hostCodexDir, file); const dst = path.join(sessionCodexDir, file); - if (fs.existsSync(src) && !fs.existsSync(dst)) { + if (fs.existsSync(src)) { fs.copyFileSync(src, dst); } }