AGENTS.md@backend/app/gateway/routers · git:20261006.3606c4a · 2026-10-06 · sha256 09fcf9e4031de1f6
AGENTS.md@backend/app/gateway/routers git:20261006.3606c4aA
Immutable. This exact content never changes and is served at /api/v1/blob/09fcf9e4031de1f6.
# Router contracts Custom Agent packages are strict, versioned definition-only JSON documents. Export explicitly projects the caller's portable `AgentConfig` fields and SOUL; exclude `github` installation bindings, memory contents, conversations and credentials. Import may rename locally but must remain owner-scoped and create-only: collisions return 409, never overwrite or upsert. Ordinary creation and import share `_persist_new_agent`, which uses `run_drained_write` so a cancelled request still drains the owned persistence worker.