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: classify the Ollama import staging marker in the JSON write-back guard

Adam Eivy413480fbd3ce
diff --git a/server/test/jsonWritebackExceptions.js b/server/test/jsonWritebackExceptions.js
index 54b6be152a..81c36f3e54 100644
--- a/server/test/jsonWritebackExceptions.js
+++ b/server/test/jsonWritebackExceptions.js
@@ -94,6 +94,10 @@ export const JSON_WRITEBACK_EXCEPTIONS = [
"key": "modelCapabilityTestStore.js :: storeFile ( )",
"reason": "Non-lossy: saveResult quarantines an unreadable store to a .corrupt-<ts> sibling before writing, and deleteResult refuses."
},
+ {
+ "key": "ollamaSafetensorsImport.js :: markerPath ( tempRoot )",
+ "reason": "Rebuildable canary: the staging marker lives in an OS temp import directory. An unreadable marker rewritten with only the new phase loses its model id, which the sweep treats like a marker-less directory: age-gated cleanup of re-downloadable weights, never a user record."
+ },
{
"key": "pm2.js :: dumpPath",
"reason": "No failed-read write-back: dropFromSavedList returns before the write when the dump is absent, unparseable, or not an array."