Skip to content

[FEATURE] Support multi-user isolation in temporal graph facts #122

@kishan0725

Description

@kishan0725

Problem

Temporal facts currently have no built-in user isolation mechanism. All facts exist in a global namespace, making it unsuitable for multi-user systems where each user's facts should be isolated.

Impact

  • Cannot use temporal facts in multi-user applications
  • All users share same fact namespace
  • Data conflicts between users
  • No privacy/isolation guarantees

Proposed Solution

Add user_id Column in the temporal_facts table

MCP Changes

The tools should support accepting userId for storage and retrieval and pass it to the required service layer.

Benefits:

  • Native database-level isolation
  • Efficient filtering (indexed)
  • Matches HSG memory model
  • Clear and explicit

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions