From 953b2b32272a5be041e2285f31569b9db801f895 Mon Sep 17 00:00:00 2001 From: golaraj Date: Mon, 17 Aug 2026 21:57:01 -0700 Subject: [PATCH] Forge: materialize tool-call actions Use the extraction controller's canonical tool-calls action kind in the result materializer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8cf0691-0fe3-4d67-92ce-ce2a529c400c --- .../scripts/materialize-session-query.py | 4 ++-- .../tests/test_materialize_session_query.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py b/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py index 24e4f40..5eb0158 100755 --- a/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py +++ b/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py @@ -167,7 +167,7 @@ def parse_rows( ], "refs": ["session_id", "ref_type", "ref_value", "turn_index"], "files": ["session_id", "file_path", "tool_name", "turn_index"], - "tools": [ + "tool-calls": [ "session_id", "tool_call_id", "tool_name", @@ -223,7 +223,7 @@ def parse_rows( "turn_index": int(turn_index), } ) - elif kind == "tools": + elif kind == "tool-calls": session_id, tool_call_id, tool_name, remainder = row.split(" | ", 3) arguments_json, exit_code, completed_at = remainder.rsplit(" | ", 2) json.loads(arguments_json) diff --git a/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py b/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py index 98d0574..ec4e814 100644 --- a/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py +++ b/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py @@ -103,7 +103,7 @@ def test_materializes_spilled_tool_rows_with_pipes_and_newlines(self) -> None: "actions": [ { "actionId": "tools-1", - "kind": "tools", + "kind": "tool-calls", "sql": sql, "outputPath": str(output), }