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: normalize review store path matching

[._.]/ Adam Eivy61612defba18
diff --git a/server/services/pipeline/manuscriptReview.test.js b/server/services/pipeline/manuscriptReview.test.js
index e64e6d0ed5..b3d65a4feb 100644
--- a/server/services/pipeline/manuscriptReview.test.js
+++ b/server/services/pipeline/manuscriptReview.test.js
@@ -15,7 +15,7 @@ vi.mock('./series.js', () => ({
listSeries: async () => {
const ids = [];
for (const key of fileStore.keys()) {
- const id = /^\/mock\/series\/([^/]+)\//.exec(key)?.[1];
+ const id = /^[\\/]mock[\\/]series[\\/]([^\\/]+)[\\/]/.exec(key)?.[1];
if (id && !ids.includes(id)) ids.push(id);
}
return ids.map((id) => ({ id }));