From 08077d7d40fef963d7d57d7da65f91e3c5ada824 Mon Sep 17 00:00:00 2001 From: utsav-oai Date: Wed, 11 Nov 2026 18:35:23 +0000 Subject: [PATCH 1/2] fix(cli): clarify blocked patch results --- sdk/typescript/src/remediation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/typescript/src/remediation.ts b/sdk/typescript/src/remediation.ts index f9559195b7..4c4562ea76 100644 --- a/sdk/typescript/src/remediation.ts +++ b/sdk/typescript/src/remediation.ts @@ -105,6 +105,7 @@ export async function remediationPrompt( ? 'Use "verified" only when static evidence establishes that the original attack path is closed and legitimate behavior is preserved. ' : 'Use "verified" only after the original issue no longer reproduces and relevant checks pass. ') + "Preserve unrelated local changes.", + 'For a blocked result, use "reason" to say whether this attempt changed any files, what stopped the fix, and what needs to happen next. If a required change is outside the writable repository or path, identify the change and where it belongs when known. If additional access or an owner action is needed, state it before suggesting another attempt.', ); } } From add71d1ad26bb8db9d9b927834946fb11732f7fa Mon Sep 17 00:00:00 2001 From: utsav-oai Date: Wed, 11 Nov 2026 18:37:25 +0000 Subject: [PATCH 2/2] fix(cli): explain external patch dependencies --- sdk/typescript/src/remediation.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/typescript/src/remediation.ts b/sdk/typescript/src/remediation.ts index 4c4562ea76..9fdf3932c8 100644 --- a/sdk/typescript/src/remediation.ts +++ b/sdk/typescript/src/remediation.ts @@ -105,7 +105,9 @@ export async function remediationPrompt( ? 'Use "verified" only when static evidence establishes that the original attack path is closed and legitimate behavior is preserved. ' : 'Use "verified" only after the original issue no longer reproduces and relevant checks pass. ') + "Preserve unrelated local changes.", - 'For a blocked result, use "reason" to say whether this attempt changed any files, what stopped the fix, and what needs to happen next. If a required change is outside the writable repository or path, identify the change and where it belongs when known. If additional access or an owner action is needed, state it before suggesting another attempt.', + 'For a blocked result, use "reason" to say whether this attempt changed any files, what stopped the fix, and what needs to happen next. ' + + "If a required change is outside the writable repository or path, explain what that component does and why it matters to the fix. Assume the reader knows only the current repository. " + + "Identify the required change and where it belongs when known. If additional access or an owner action is needed, state it before suggesting another attempt.", ); } }