sync-agent-first-call-equals-import

IN premise

Calling `sync_agent` for an agent with no prior import produces identical results to `import_agent`, including all node creation and namespace wiring

Summary

When you use sync_agent on an agent that hasn't been imported yet, it effectively does the import for you — creating all the same nodes and namespace connections that a dedicated import_agent call would. This means there's no need to check whether an agent has been previously imported before syncing; sync handles both the initial setup and subsequent updates in a single operation.

Details

Sourceentries/2026/04/24/tests-test_sync_agent.md