Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: keep the tool-free reviewer prompt builder module-private (#10905)
Adam Eivy7835e37f61c7
diff --git a/server/services/codeReview.js b/server/services/codeReview.jsindex df34753d6b..9fd571fb5b 100644--- a/server/services/codeReview.js+++ b/server/services/codeReview.js@@ -608,7 +608,7 @@ export async function getProviderReviewCapability() {const REPOSITORY_ACCESS_GUIDANCE = 'When repository tools are available, inspect surrounding source, callers, and tests to understand the changed behavior. 'const TOOL_FREE_ACCESS_GUIDANCE = 'No repository, shell, or network access is available in this review: do not run commands or open files, and judge the change from the diff alone. '-export function buildCodeReviewSystemPrompt({ toolFree = false } = {}) {+function buildCodeReviewSystemPrompt({ toolFree = false } = {}) {return CODE_REVIEW_SYSTEM_PROMPT_TEMPLATE.replace('{{REPOSITORY_ACCESS}}', toolFree ? TOOL_FREE_ACCESS_GUIDANCE : REPOSITORY_ACCESS_GUIDANCE)}