diff --git a/snapshots/acp/acp.snapshot.ts b/snapshots/acp/acp.snapshot.ts index 51ff3fd2e7..4d7ecf263a 100644 --- a/snapshots/acp/acp.snapshot.ts +++ b/snapshots/acp/acp.snapshot.ts @@ -42,12 +42,18 @@ const controllerCases: readonly { }, ] as const +function localScenarioSource(source: string | undefined): string | undefined { + return source?.includes('/') === false ? source : undefined +} + const scenarios: Scenario[] = controllerCases.map((controller) => { const manifestPath = join(corpusDir, controller.name, 'snapshot.yml') const manifest = parseSnapshotManifest(readFileSync(manifestPath, 'utf8'), manifestPath) if (manifest.recording === undefined || manifest.header === undefined) { throw new Error(`${controller.name}: ACP snapshot manifest lacks recording or header metadata`) } + const systemPromptSource = localScenarioSource(manifest.header.systemPromptSource) + const toolSchemasSource = localScenarioSource(manifest.header.toolSchemasSource) return { ...controller, recorded: manifest.recording === 'live', @@ -55,6 +61,8 @@ const scenarios: Scenario[] = controllerCases.map((controller) => { ...(manifest.header.pin === true ? { pinsHeader: true } : {}), ...(manifest.header.changes === undefined ? {} : { expectedHeaderChanges: manifest.header.changes }), headerClass: manifest.header.class, + ...(systemPromptSource === undefined ? {} : { systemPromptSource }), + ...(toolSchemasSource === undefined ? {} : { toolSchemasSource }), ...(manifest.platform === 'posix' ? { posixOnly: true } : {}), ...(manifest.platform === 'pwsh' ? { pwshOnly: true } : {}), ...(controller.configPath === undefined ? {} : { configPath: controller.configPath }), diff --git a/snapshots/acp/image-compaction/tool-schemas.expected.json b/snapshots/acp/image-compaction/tool-schemas.expected.json deleted file mode 120000 index 2a138a2809..0000000000 --- a/snapshots/acp/image-compaction/tool-schemas.expected.json +++ /dev/null @@ -1 +0,0 @@ -../escalation-approved/tool-schemas.expected.json \ No newline at end of file