From 27359e83fa49fbee30582a970902fcb63209be73 Mon Sep 17 00:00:00 2001 From: Michael D'Angelo Date: Tue, 10 Nov 2026 16:47:20 -0800 Subject: [PATCH] Recognize the base-pinned custom diff workflow --- sdk/typescript/src/custom-validation-prompt.ts | 1 + sdk/typescript/tests-ts/custom-validation.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/sdk/typescript/src/custom-validation-prompt.ts b/sdk/typescript/src/custom-validation-prompt.ts index 51f4c357f..136c3f320 100644 --- a/sdk/typescript/src/custom-validation-prompt.ts +++ b/sdk/typescript/src/custom-validation-prompt.ts @@ -22,6 +22,7 @@ const SOURCES = { "99cfcbbaa9d5b0450881ec752a116888b05b7fe21ea7af28fd22d088882dcd46", ], "skills/security-diff-scan/SKILL.md": [ + "0ec82562b667daa8d19e1a6ecb550bdead7f4f7ef83d2a63d91e750f24f0e4d5", "09232fd5d96cfed2a5bdccd176c09b7e9ca53ebd7ac136d283bec884fde94b0d", ], }; diff --git a/sdk/typescript/tests-ts/custom-validation.test.ts b/sdk/typescript/tests-ts/custom-validation.test.ts index f552e8797..5afc4b248 100644 --- a/sdk/typescript/tests-ts/custom-validation.test.ts +++ b/sdk/typescript/tests-ts/custom-validation.test.ts @@ -1296,6 +1296,7 @@ describe("custom validation", () => { expect(standard).not.toContain("validate-scan-findings.md"); expect(standard).not.toContain("security-scan/SKILL.md"); expect(diff).toContain("/references/scan-runtime.md"); + expect(diff).toContain("at the scan's exact base commit"); expect(standard).not.toContain("undefined"); expect(standard).not.toContain( "Independently validate each unique finding",