Merge goal-session snapshot fixes into commands

This commit is contained in:
Tianyi Cui
2026-07-20 17:46:05 +08:00
10 changed files with 8 additions and 14 deletions

View File

@@ -14,7 +14,9 @@ import { foldGoal } from '@deepseek-ai/dsh-goal'
import type { SessionEvent } from '@deepseek-ai/dsh-session'
import { describe, expect, it } from 'vitest'
const scenarioDir = join(dirname(fileURLToPath(import.meta.url)), 'snapshots/goal-session')
// This lifecycle proof has goal-specific timestamp normalization and semantic
// assertions, so it owns a separate snapshot root from the generic ACP suite.
const scenarioDir = join(dirname(fileURLToPath(import.meta.url)), 'goal-snapshots/goal-session')
const fixtureFile = join(scenarioDir, 'session.jsonl')
const overrideFile = join(scenarioDir, 'replay.override.json')
const stdoutExpected = join(scenarioDir, 'stdout.expected.jsonl')