Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(review): verify branch gates in pinned workspace
Chris7dbc41935dbd
diff --git a/apps/desktop/src/main/reviewer/__tests__/reviewExternalInputWiring.test.ts b/apps/desktop/src/main/reviewer/__tests__/reviewExternalInputWiring.test.tsindex 59909bca69..0204163ca1 100644--- a/apps/desktop/src/main/reviewer/__tests__/reviewExternalInputWiring.test.ts+++ b/apps/desktop/src/main/reviewer/__tests__/reviewExternalInputWiring.test.ts@@ -95,10 +95,11 @@ describe('Review external input wiring', () => {);expect(registerSource).toContain('if (changeSetContent.truncated) {');// The workspace fingerprint pins HEAD, not the base being compared against,- // so both gates must recheck the branch baseline as well.+ // so both gates must recheck the branch baseline as well, in the same+ // pinned directory that supplied the reviewed evidence.expect(registerSource.match(- /if \(!\(await reviewBranchBaselineIsCurrent\(source\.id, evidence\.branch\)\)\)/g,+ /if \(!\(await inReviewWorkspace\(\(\) => reviewBranchBaselineIsCurrent\(source\.id, evidence\.branch\)\)\)\)/g,),).toHaveLength(2);expect(registerSource).not.toContain(