{"record":{"id":"003c6c7d50ccfa4b","repo":"tinyhumansai/openhuman","slug":"system-prompt-missing","errorCode":null,"errorMessage":"SYSTEM prompt missing: {}","messagePattern":"SYSTEM prompt missing: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/platform/doctor/core.rs","lineNumber":455,"sourceCode":"            cat,\n            format!(\"memory directory: {}\", mem_dir.display()),\n        ));\n    } else {\n        items.push(DiagnosticItem::warn(\n            cat,\n            format!(\"memory directory missing: {}\", mem_dir.display()),\n        ));\n    }\n\n    // Check for config templates or docs\n    let prompt = ws.join(\"SYSTEM.md\");\n    if prompt.exists() {\n        items.push(DiagnosticItem::ok(\n            cat,\n            format!(\"SYSTEM prompt: {}\", prompt.display()),\n        ));\n    } else {\n        items.push(DiagnosticItem::warn(\n            cat,\n            format!(\"SYSTEM prompt missing: {}\", prompt.display()),\n        ));\n    }\n\n    // Disk space warning (best-effort)\n    if let Some(avail_mb) = available_disk_space_mb(ws) {\n        if avail_mb < 512 {\n            items.push(DiagnosticItem::warn(\n                cat,\n                format!(\"low disk space: {avail_mb} MB free\"),\n            ));\n        } else {\n            items.push(DiagnosticItem::ok(\n                cat,\n                format!(\"disk space OK: {avail_mb} MB free\"),\n            ));\n        }","sourceCodeStart":437,"sourceCodeEnd":473,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/platform/doctor/core.rs#L437-L473","documentation":"Doctor workspace check: <workspace>/SYSTEM.md — the user-level system prompt template — is absent. Agent turns fall back to the built-in default prompt, so behaviour is correct but any personalised instructions the user believed were active are not. It is a warn, not an error: SYSTEM.md is entirely optional.","triggerScenarios":"Thrown at src/openhuman/platform/doctor/core.rs:455 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Create SYSTEM.md in the workspace root with the desired standing instructions if you want custom behaviour","Copy a template from the docs if one exists for your setup","Ignore if default prompting is intended"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}