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
Merge pull request #12459 from atomantic/codex/preserve-mind-attachments-12437
[._.]/41b48d4d989f
diff --cc server/services/dataManager.jsindex 69bde66801,acafb3a31f..bf6249d42c--- a/server/services/dataManager.js+++ b/server/services/dataManager.js@@@ -597,9 -549,13 +598,14 @@@ export async function purgeCategory(cat// the same fail-closed busy probe to both deletion scopes.const { busy, busyReason } = await resolveCategoryBusy(categoryKey);if (busy) throw new ServerError(busyReason, { status: 409, code: 'CATEGORY_BUSY' });+ const protectedPaths = categoryKey === 'repos' ? await protectedRepoPaths() : [];if (wantsItem) {+ if (categoryKey === 'screenshots' && isPersistentMindScreenshotEntry(options.subPath)) {+ throw new ServerError('Persistent Mind owns this attachment or upload recovery marker; manage it through Mind', {+ status: 409, code: 'SCREENSHOT_OWNED_BY_MIND',+ });+ }const resolvedRoot = resolve(dirPath);const resolvedTarget = resolve(join(dirPath, options.subPath));// Boundary-aware containment check: use path.relative so a prefix like