Cotal TypeScript packages
    Preparing search index...

    Function attachSessionMaterial

    • Which redeem contract this target gets: a bare open-mesh connection, a seed-backed mint, or a loud refusal. Graded by smoke:attach-open-mode, whose mutations flip each arm in turn.

      EXHAUSTIVE over the three recorded modes on purpose, with user named rather than reached by fallthrough. A user entry holds no local seed by design and its two-step redemption is not wired, so it must refuse even on the day a user-mode root happens to carry static material on disk; letting it fall through to the seed test would silently mint on the wrong identity plane. An UNRECORDED mode (a raw off-registry connection) is the conservative arm: it is not known to be open, so it takes the sealed test and refuses without a seed.

      Parameters

      Returns
          | { kind: "bare" }
          | { auth: SpaceAuth; kind: "mint" }
          | { kind: "redeem" }
          | { kind: "fatal"; message: string }