altk-evolve
altk-evolve copied to clipboard
CUGA: Propagate multi-user context (user_id, namespace_id, session_id) to Evolve MCP server
Problem
ALTK-Evolve's MCP server already supports multi-user parameters (user_id, namespace_id, session_id) across get_guidelines, save_trajectory, and get_entities. However, the CUGA agent never sends these values — all Evolve interactions appear as "default" user with no tenant or session context.
Root causes:
event_stream()inserver/main.pyreceivesuser_idfrom the authenticated request but never assigns it tolocal_state.user_idCugaLiteStatelacks auser_idfield, so the subgraph cannot propagate user identityEvolveIntegration.get_guidelines()andsave_trajectory()don't accept or forward any context parameters
Will submit a PR in cuga.
Follows up issue https://github.com/AgentToolkit/altk-evolve/issues/225
PR: https://github.com/cuga-project/cuga-agent/pull/194