• Strip flags.sohl.docArchetype from a document's create-data, in place, preserving every other flag (including sibling flags.sohl.* keys). Called wherever an archetype is instantiated into a live document — the Create dialog's seed and the drop-to-embed path — so the archetype marker (and the priority it carries) never rides along onto an instance and pollutes discovery. Copy-verbatim operations (Import, Duplicate) deliberately do not call this: preserving the flag is how a designer makes a world-tier override.

    Type Parameters

    • T extends PlainObject

    Parameters

    • data: T

      Document create-data (mutated in place).

    Returns T

    The same data object, for chaining.