From b58fe3fd0b585a9edbfa0c2e9f337d2920d64632 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 6 May 2026 05:42:27 +0000 Subject: [PATCH 1/2] Initial plan From d1bbf4dfcb2770911a2b3027013a99b320b8da9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 6 May 2026 06:10:35 +0000 Subject: [PATCH 2/2] fix: replace unsafe single-quote wrapping with %q for filePath in runtime_import_validation.go (#581) Agent-Logs-Url: https://github.com/github/gh-aw/sessions/05f45839-0559-4bd6-afc0-67abdc55c63f Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/runtime_import_validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/workflow/runtime_import_validation.go b/pkg/workflow/runtime_import_validation.go index 1811c7baa5c..2d8ae5611bf 100644 --- a/pkg/workflow/runtime_import_validation.go +++ b/pkg/workflow/runtime_import_validation.go @@ -153,7 +153,7 @@ func validateRuntimeImportFiles(markdownContent string, workspaceDir string) ([] // runtime-imported file. Unknown fields are collected and returned to the // caller so it can emit them through the normal warning counter. for _, w := range parser.ValidateInlineSubAgentsFrontmatter(string(content)) { - subAgentWarnings = append(subAgentWarnings, fmt.Sprintf("runtime-import '%s': %s", filePath, w)) + subAgentWarnings = append(subAgentWarnings, fmt.Sprintf("runtime-import %q: %s", filePath, w)) } }