Sanity Library Reference Docs
    Preparing search index...
    WriteOwnership: "generated" | "scaffold" | "wired"

    Who owns a planned file once it is on disk.

    • generated: the generator owns the body and replaces it on every run.
    • scaffold: the developer owns the body; planned only when the path is absent, so writing it never overwrites an implementation.
    • wired: the developer's own file, planned only when it is missing the workflow wiring, so writing it is a one-time insertion.