createTaskEntity creates the task entity but never adds any graph edges. The involves edges are only added by the run handler, so sessions that call set_goal but never make a run call leave orphan task entities with zero relationships. Adds an idempotent involves edge from the new task to agent:nomos at creation time, matching the same pattern used for run's involves edges in server.go.
86 KiB
86 KiB