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: coalesce fallback lifecycle loading
[._.]/ Adam Eivyae956c8a22b3
diff --git a/server/services/promptRunner.js b/server/services/promptRunner.jsindex 56cb2a3e02..f583402bbf 100644--- a/server/services/promptRunner.js+++ b/server/services/promptRunner.js@@ -45,8 +45,17 @@ import { DEFAULT_OUTPUT_RESERVE_TOKENS, estimateTokens } from '../lib/contextBud// lazily on the failure path keeps anything that imports promptRunner.js from// dragging the CoS stack along on the happy path. Node caches the module after// the first dynamic import, so the cost is one-time.+let autoFixerLoadPromise;function loadAutoFixer() {- return import('./autoFixer.js');+ if (!autoFixerLoadPromise) {+ autoFixerLoadPromise = import('./autoFixer.js').catch((err) => {+ // Keep a failed optional load retryable for a later failure after a+ // transient module-resolution problem.+ autoFixerLoadPromise = null;+ throw err;+ });+ }+ return autoFixerLoadPromise;}export const DEFAULT_TIMEOUT_MS = 300000;