Skip to content

kg_add rejects commas and slashes in object field with no documentation #896

@maximillionfrday

Description

@maximillionfrday

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":

  • "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

  • MemPalace v3.3.0
  • Windows 11
  • MCP tool via Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/kgKnowledge graphbugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions