CoAgent8 - Source API
    Preparing search index...

    Function saveConfig

    • Merges updates into the configuration file under its lease (AUDIT-001-A05), so a concurrent writer's fields are read before this write and survive it.

      Parameters

      • updates: Partial<CoAgent8Config>

        Top-level values; routing, backends and governance merge one level deep.

      Returns Promise<CoAgent8Config>

      The validated configuration that was written.

      When the configuration cannot be locked, read, validated or written.