# `H.Session.Server.Submissions`
[🔗](https://github.com/parlant/harness/blob/v0.3.0/lib/h/session/server/submissions.ex#L1)

Submission lookup, bounded LRU caching, settlement, inbox draining, automatic
initial title derivation, and pending generation run creation for
`H.Session.Server` and `H.Session.UserShell`.

# `cache`

# `drain_inbox`

# `has_answerable_context?`

# `initial_generation_live`

# `lookup`

# `lookup_with_pending`

# `map_storage_refusal`

# `maybe_derive_initial_title`

# `settle`

# `start_pending_generation`

Mints and stages a new pending `"generation"` task and initial `"live"` document
for `cid`, updating `state.store`, `state.tasks`, and `state.docs[cid]["live"]`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
