From 83f288993fea768632f5b3aa735ebf9ff00d55f2 Mon Sep 17 00:00:00 2001 From: Huanqi Cao Date: Sat, 8 Aug 2026 12:35:27 +0800 Subject: [PATCH] fix(sandbox): mark the pwsh-sandbox executor's deliberate twin mirror for the clone gate The duplication gate flags the call-for-call mirror of bash-sandbox's executor (the pwsh-tool-and-executor decision): wrap the class body in jscpd ignore markers, the same convention the invariant companions use. --- packages/bash/pwsh-sandbox/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/bash/pwsh-sandbox/src/index.ts b/packages/bash/pwsh-sandbox/src/index.ts index c88719f889..38e44a431a 100644 --- a/packages/bash/pwsh-sandbox/src/index.ts +++ b/packages/bash/pwsh-sandbox/src/index.ts @@ -45,6 +45,7 @@ export type Config = LocalConfig * calls fall back to deployment policy. `result.sandbox` reports the mode and * enforcement actually used. */ +/* jscpd:ignore-start -- deliberate call-for-call mirror of bash-sandbox's executor (pwsh-tool-and-executor Agent Note) */ export class SandboxPwshExecutor extends PwshLocalExecutor { static override inject = ['subprocess', 'sandbox', 'sandboxPolicy'] @@ -180,5 +181,6 @@ export class SandboxPwshExecutor extends PwshLocalExecutor { return this.ctx.sandbox.confine(this.argv(spec), policy) } } +/* jscpd:ignore-end */ export default SandboxPwshExecutor