Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(server): re-record Cursor replay fixtures and cover skills live #13493

Mergedjuliusmarmingemerged 5 commits intot3code/codex-turn-mapping fromrefs/pull/13493/headmerged by juliusmarminge View on GitHub

Showing 22 changed files with 46 additions and 136 deletions (loading 20).

x
0 of 22 viewed, 22 left
24 additions and 1 deletionapps/server/scripts/record-cursor-agent-sdk-replay-fixture.tsModified
View file
@@ -16,12 +16,16 @@
PROVIDER_THREAD_RESUME_FIRST_PROMPT,
PROVIDER_THREAD_RESUME_SECOND_PROMPT,
PROPOSED_PLAN_PROMPT,
+ READ_ONLY_NEVER_POLICY,
SIMPLE_PROMPT,
+ SKILL_INVOCATION_CURSOR_MESSAGE,
SUBAGENT_PROMPT,
TODO_LIST_PROMPT,
TOOL_CALL_READ_ONLY_PROMPT,
TURN_INTERRUPT_MID_TOOL_PROMPT,
+ WORKSPACE_NEVER_POLICY,
} from "../src/orchestration-v2/testkit/fixtures/shared.ts";
+import { skillInvocationInput } from "../src/orchestration-v2/testkit/fixtures/skill_invocation/input.ts";
import {
cursorReplayPromptsForWorkspace,
cursorReplayTranscriptCwd,
@@ -56,24 +60,36 @@
prompts: [PROPOSED_PLAN_PROMPT],
output: "../src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_transcript.ndjson",
interactionMode: "plan",
+ runtimePolicyOverride: READ_ONLY_NEVER_POLICY,
},
todo_list: {
prompts: [TODO_LIST_PROMPT],
output: "../src/orchestration-v2/testkit/fixtures/todo_list/cursor_transcript.ndjson",
+ runtimePolicyOverride: READ_ONLY_NEVER_POLICY,
},
subagent: {