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
- status: the step status (e.g., success/failed/running/cancelled/unknown, etc.)
25
24
- other fields: such as result/output/error/args/time, etc.
26
25
26
+
session_files is a list of file links (OSS URLs). Only files that were actually generated
27
+
and persisted for this session will appear here. Use session_files as verifiable evidence
28
+
that a file deliverable truly exists.
29
+
27
30
Below is the raw history_steps data (JSON):
28
31
{history_text}
29
32
33
+
Below is the raw session_files data (JSON):
34
+
{session_files_text}
35
+
30
36
# Decision Rules (must follow)
31
37
1) Use "whether the user's final goal is achieved" as the ONLY criterion, not whether all steps were executed.
32
38
2) If there is clear evidence that the final deliverable/final outcome has been produced and is usable, set finished=true.
39
+
- For file deliverables, you MUST verify the file exists by checking that an appropriate OSS link is present in session_files.
33
40
3) If any critical step failed, is missing, is still running, or the outputs are insufficient to prove goal completion, set finished=false.
34
-
4) If the information in history_steps is insufficient to confirm completion (e.g., no final output, only partial logs),
41
+
4) If the information in history_steps and session_files is insufficient to confirm completion (e.g., no final output, only partial logs,
42
+
or expected output file link is not present in session_files),
35
43
you MUST return finished=false and explain what information is missing in reason.
36
44
5) If there are contradictions in history_steps, prefer the later entries. If you still cannot decide, return finished=false
37
45
and explain the contradiction in reason.
38
-
6) Do NOT assume results that are not explicitly supported by history_steps. Judge only from verifiable evidence.
39
-
46
+
6) Do NOT assume results that are not explicitly supported by history_steps or session_files. Judge only from verifiable evidence.
40
47
# Output Format (very important)
41
48
You must output ONLY ONE JSON object that strictly matches this schema:
42
49
{{
43
50
"finished": true|false,
44
-
"reason": "A brief, specific explanation in English that cites key evidence from history_steps (e.g., a tool_name status/output). If not finished, state the critical blocking reason(s) or missing info."
51
+
"reason": "A brief, specific explanation in English that cites key evidence from history_steps and/or session_files (e.g., a tool_name status/output or the presence/absence of an OSS link). If not finished, state the critical blocking reason(s) or missing info."
45
52
}}
46
-
47
53
# Output Constraints
48
54
- Output ONLY valid JSON (no Markdown, no code fences, no extra commentary).
49
-
- reason must be an English string and should reference concrete evidence from history_steps.
55
+
- reason must be an English string and should reference concrete evidence from history_steps and/or session_files.
0 commit comments