From 0d2e13fb73cba39a1ef80388197a7e2b597ce992 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 08:38:18 +0000 Subject: [PATCH] test: remove redundant transcript-path wrapper case --- src/config/sessions/sessions.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/config/sessions/sessions.test.ts b/src/config/sessions/sessions.test.ts index c14085fab..3911e7d62 100644 --- a/src/config/sessions/sessions.test.ts +++ b/src/config/sessions/sessions.test.ts @@ -16,7 +16,6 @@ import { deriveSessionMetaPatch } from "./metadata.js"; import { resolveSessionFilePath, resolveSessionFilePathOptions, - resolveSessionTranscriptPath, resolveSessionTranscriptPathInDir, resolveStorePath, validateSessionId, @@ -157,11 +156,6 @@ describe("session path safety", () => { expect(resolved).toBe(path.resolve(opsSessionFile)); }); - it("uses agent sessions dir fallback for transcript path", () => { - const resolved = resolveSessionTranscriptPath("sess-1", "main"); - expect(resolved.endsWith(path.join("agents", "main", "sessions", "sess-1.jsonl"))).toBe(true); - }); - it("keeps custom per-agent store roots when agentId is provided", () => { const opts = resolveSessionFilePathOptions({ storePath: "/srv/custom/agents/ops/sessions/sessions.json",