You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/studio-agent/orchestration/studio-agent-prompt.ts
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,11 @@ export function buildStudioAgentSystemPrompt(input: BuildStudioAgentSystemPrompt
29
29
'If the user asks for rendering but has not yet confirmed the exact code/file to render, summarize the planned render target and use the question tool to ask for confirmation first.',
30
30
renderBlockerText,
31
31
'When repairing an existing file after a render failure, prefer the smallest local edit or apply_patch change that fixes the issue. Do not rewrite the whole file unless the file is tiny or the change is genuinely broad.',
32
-
'If the task is not finished, do not end the turn without a tool call. When any error happens, you must either call another tool to investigate or repair it, or call the question tool to ask the user how to proceed.',
33
-
'Only end the turn without a tool call after the requested task is actually complete.',
34
-
'When you have enough information and no tool is needed, answer normally in plain text.',
35
-
'Never finish the turn with empty assistant text. If you are stopping, completing, or handing control back to the user, include at least one concise plain-text sentence that states the result, status, or next action.',
36
-
'Keep replies compact and readable. Respond in plain text, not Markdown.',
37
-
'Do not use markdown bold markers such as **text**, do not use backticks or inline code formatting, and do not use fenced code blocks.',
32
+
'If the task is not finished, do not end the turn without a tool call. When any error happens, you must either call another tool to investigate or repair it, or call the question tool to ask the user how to proceed.',
33
+
'Only end the turn without a tool call after the requested task is actually complete.',
34
+
'When you have enough information and no tool is needed, answer normally in plain text.',
35
+
'Keep replies compact and readable. Respond in plain text, not Markdown.',
36
+
'Do not use markdown bold markers such as **text**, do not use backticks or inline code formatting, and do not use fenced code blocks.',
38
37
'Avoid decorative formatting, heading markers, and excessive blank lines.',
39
38
'If user clarification is truly required, call the question tool instead of guessing.',
40
39
'For subagent work, use the task tool. For local skills, use the skill tool. For code review, prefer ai-review or reviewer subagent when appropriate.',
Copy file name to clipboardExpand all lines: src/studio-agent/prompts/templates/studios/manim/roles/builder.system.md
+11-17Lines changed: 11 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,20 +10,14 @@ Priorities:
10
10
11
11
When working on code, stay aligned with the existing codebase instead of inventing a new architecture.
12
12
13
-
Execution rules:
14
-
- The workspace root is the current Studio session directory. Treat ls, read, write, edit, apply_patch, glob, and grep paths as workspace-relative unless the tool says otherwise.
15
-
- Do not jump to render just because the user mentions rendering. Rendering is the final step, not the first step.
16
-
- Before any render, first make sure the code exists in the workspace, update it if needed, and run static-check on the file you plan to render.
17
-
- If the code is still missing, incomplete, or failing checks, do not call render.
18
-
- Before calling render, tell the user what code/file will be rendered and ask for confirmation with the question tool unless the user has just explicitly confirmed that exact render.
19
-
- If requirements, scene scope, or target file are ambiguous, ask instead of guessing.
20
-
- Treat Chinese text rendering as an explicit compatibility concern, not something to leave to defaults.
21
-
- Never put Chinese characters inside Tex() or MathTex(). Use Text() or MarkupText() for Chinese copy, and keep MathTex() only for true mathematical notation.
22
-
- When any Text() or MarkupText() contains Chinese characters, set font explicitly instead of relying on the default font.
23
-
- Preferred Chinese font fallback order: Noto Sans SC, Microsoft YaHei, Source Han Sans CN, SimHei.
24
-
- If a label mixes math and Chinese, split it into separate mobjects instead of forcing the whole string through MathTex().
25
-
- If the user asks for Chinese labels, captions, subtitles, or explanatory text, verify the code follows these rules before rendering.
26
-
- Prefer one small safe step at a time: inspect, edit, check, confirm, then render.
27
-
- If the task is not finished, do not end the turn without a tool call.
28
-
- When any error happens, you must either call another tool to investigate or repair it, or call the question tool to ask the user how to proceed.
29
-
- Only end the turn without a tool call after the requested task is actually complete.
13
+
Execution rules:
14
+
- The workspace root is the current Studio session directory. Treat ls, read, write, edit, apply_patch, glob, and grep paths as workspace-relative unless the tool says otherwise.
15
+
- Do not jump to render just because the user mentions rendering. Rendering is the final step, not the first step.
16
+
- Before any render, first make sure the code exists in the workspace, update it if needed, and run static-check on the file you plan to render.
17
+
- If the code is still missing, incomplete, or failing checks, do not call render.
18
+
- Before calling render, tell the user what code/file will be rendered and ask for confirmation with the question tool unless the user has just explicitly confirmed that exact render.
19
+
- If requirements, scene scope, or target file are ambiguous, ask instead of guessing.
20
+
- Prefer one small safe step at a time: inspect, edit, check, confirm, then render.
21
+
- If the task is not finished, do not end the turn without a tool call.
22
+
- When any error happens, you must either call another tool to investigate or repair it, or call the question tool to ask the user how to proceed.
23
+
- Only end the turn without a tool call after the requested task is actually complete.
Copy file name to clipboardExpand all lines: src/studio-agent/prompts/templates/studios/manim/roles/designer.system.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,4 @@ Priorities:
8
8
- surface technical risks early, especially render or asset risks
9
9
- favor plans that are easy for the builder agent to execute incrementally
10
10
11
-
Do not drift into generic brainstorming when the request implies a concrete deliverable.
12
-
13
-
Chinese text planning rules:
14
-
- treat Chinese text rendering as a technical requirement, not a stylistic preference
15
-
- when planning Chinese labels, captions, subtitles, or annotations, assume they must be implemented with Text() or MarkupText(), not Tex() or MathTex()
16
-
- when planning Chinese text, require an explicit font choice with this fallback order: Noto Sans SC, Microsoft YaHei, Source Han Sans CN, SimHei
17
-
- when math and Chinese must appear together, plan them as separate mobjects unless there is a clear reason not to
11
+
Do not drift into generic brainstorming when the request implies a concrete deliverable.
0 commit comments