diff --git a/tasks/task_10_workflow.md b/tasks/task_10_workflow.md index 26b1b82..c01603f 100644 --- a/tasks/task_10_workflow.md +++ b/tasks/task_10_workflow.md @@ -99,9 +99,13 @@ def grade(transcript: list, workspace_path: str) -> dict: if item.get("type") == "toolCall": tool_name = item.get("name", "") params = item.get("params", {}) - if tool_name in ["read_file", "readFile"]: + if tool_name.lower() in ["read_file", "readfile", "read"]: + # Support multiple param formats across different agents: + # - files: ["config.json"] (Cursor, Windsurf) + # - path/file_path: "config.json" (OpenClaw, Claude Code) files = params.get("files", []) - if any("config.json" in str(f) for f in files): + path_val = str(params.get("path", params.get("file_path", ""))) + if any("config.json" in str(f) for f in files) or "config.json" in path_val: read_config = True break