Bug: kg_add silently rejects common characters in the object field
What happened
Calling mempalace_kg_add with an object value containing commas or forward slashes returns a generic error with no explanation of what characters are allowed.
Error message received
object contains invalid characters
object contains invalid path characters
Reproduction
Works:
"net income 394402.33 in 2021"
"filed on 2021-01-01 status MFS"
Fails with "invalid characters":
"income 1305501, expenses 1184062, MFS filing status"
"2021: charitable 8000, mileage 22456 miles"
Fails with "invalid path characters":
Expected behavior
Either commas and slashes should be allowed in the object field, or the error message should explicitly state which characters are permitted.
Environment
- MemPalace v3.3.0
- Windows 11
- MCP tool via Claude Code
Bug: kg_add silently rejects common characters in the object field
What happened
Calling
mempalace_kg_addwith an object value containing commas or forward slashes returns a generic error with no explanation of what characters are allowed.Error message received
object contains invalid charactersobject contains invalid path charactersReproduction
Works:
"net income 394402.33 in 2021""filed on 2021-01-01 status MFS"Fails with "invalid characters":
"income 1305501, expenses 1184062, MFS filing status""2021: charitable 8000, mileage 22456 miles"Fails with "invalid path characters":
"filed 2021/01/01"Expected behavior
Either commas and slashes should be allowed in the object field, or the error message should explicitly state which characters are permitted.
Environment