From e7de580aba2ae78ece18235af3d1ab00d85f8f71 Mon Sep 17 00:00:00 2001 From: Forgotten Date: Mon, 2 Mar 2026 08:54:57 -0600 Subject: [PATCH] fix: remove personal path from codex adapter test fixture Replace personal home directory path with generic /home/user/project/... path in test data to avoid leaking usernames into the repository. Co-Authored-By: Claude Opus 4.6 --- server/src/__tests__/codex-local-adapter.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/__tests__/codex-local-adapter.test.ts b/server/src/__tests__/codex-local-adapter.test.ts index aad5f652..89caf049 100644 --- a/server/src/__tests__/codex-local-adapter.test.ts +++ b/server/src/__tests__/codex-local-adapter.test.ts @@ -106,7 +106,7 @@ describe("codex_local ui stdout parser", () => { item: { id: "item_52", type: "file_change", - changes: [{ path: "/Users/genericuser/paperclip/ui/src/pages/AgentDetail.tsx", kind: "update" }], + changes: [{ path: "/home/user/project/ui/src/pages/AgentDetail.tsx", kind: "update" }], status: "completed", }, }), @@ -116,7 +116,7 @@ describe("codex_local ui stdout parser", () => { { kind: "system", ts, - text: "file changes: update /Users/genericuser/paperclip/ui/src/pages/AgentDetail.tsx", + text: "file changes: update /home/user/project/ui/src/pages/AgentDetail.tsx", }, ]); }); @@ -207,7 +207,7 @@ describe("codex_local cli formatter", () => { item: { id: "item_52", type: "file_change", - changes: [{ path: "/Users/genericuser/paperclip/ui/src/pages/AgentDetail.tsx", kind: "update" }], + changes: [{ path: "/home/user/project/ui/src/pages/AgentDetail.tsx", kind: "update" }], status: "completed", }, }), @@ -239,7 +239,7 @@ describe("codex_local cli formatter", () => { "/bin/zsh -lc ls", "tool_result: command_execution command=\"/bin/zsh -lc ls\" status=completed exit_code=0", "agents", - "file_change: update /Users/genericuser/paperclip/ui/src/pages/AgentDetail.tsx", + "file_change: update /home/user/project/ui/src/pages/AgentDetail.tsx", "turn failed: model access denied", "tokens: in=10 out=4 cached=2", "error: resume model mismatch",