Skip to content

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

fix: use posix.join for feature-map path to avoid Windows backslashes

[._.]/ Adam Eivy5faade51c995
diff --git a/server/services/repoIntake.js b/server/services/repoIntake.js
index 59784d65a7..8f7962f3a2 100644
--- a/server/services/repoIntake.js
+++ b/server/services/repoIntake.js
@@ -22,7 +22,7 @@
import { randomUUID } from 'crypto';
import { existsSync } from 'fs';
-import { join } from 'path';
+import { posix } from 'path';
import * as cos from './cos.js';
import { getAppById, PORTOS_APP_ID } from './apps.js';
import { prepareScanReportDirectory, reportPathForId } from './malwareScanReports.js';
@@ -115,7 +115,7 @@ export const FEATURE_MAP_RELATIVE_PATH = 'docs/features/product-surfaces.md';
* docs, and navigation.
*/
export const resolveFeatureMapPath = (repoPath) => {
- const candidate = join(repoPath, FEATURE_MAP_RELATIVE_PATH);
+ const candidate = posix.join(repoPath, FEATURE_MAP_RELATIVE_PATH);
return existsSync(candidate) ? candidate : null;
};