{"record":{"id":"2955c484914b34db","repo":"tinyhumansai/openhuman","slug":"missing-value-for-node-id","errorCode":null,"errorMessage":"missing value for --node-id","messagePattern":"missing value for --node-id","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tree/tree_runtime/cli.rs","lineNumber":72,"sourceCode":"        match args[i].as_str() {\n            \"--content\" | \"-c\" => {\n                let val = args\n                    .get(i + 1)\n                    .ok_or_else(|| anyhow::anyhow!(\"missing value for --content\"))?;\n                content = Some(val.clone());\n                i += 2;\n            }\n            \"--file\" | \"-f\" => {\n                let val = args\n                    .get(i + 1)\n                    .ok_or_else(|| anyhow::anyhow!(\"missing value for --file\"))?;\n                file = Some(val.clone());\n                i += 2;\n            }\n            \"--node-id\" | \"--node\" => {\n                let val = args\n                    .get(i + 1)\n                    .ok_or_else(|| anyhow::anyhow!(\"missing value for --node-id\"))?;\n                node_id = Some(val.clone());\n                i += 2;\n            }\n            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                rest.push(args[i].clone());\n                i += 1;\n            }\n            _ => {\n                rest.push(args[i].clone());\n                i += 1;\n            }\n        }\n    }\n","sourceCodeStart":54,"sourceCodeEnd":90,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tree/tree_runtime/cli.rs#L54-L90","documentation":"The tree-summarizer parser found `--node-id` (or `--node`) as the final argument with no value after it. The node id operand is read from the next argv slot; end-of-args means the flag lacks its operand and the option parse fails before dispatch.","triggerScenarios":"Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:72 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass the node id value after --node-id","Confirm the node id is copied correctly from the tree output"],"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-14T05:17:10.506Z"}