EnvelopeFlow.Inbox.Abstractions
0.1.0-alpha.3.1
dotnet add package EnvelopeFlow.Inbox.Abstractions --version 0.1.0-alpha.3.1
NuGet\Install-Package EnvelopeFlow.Inbox.Abstractions -Version 0.1.0-alpha.3.1
<PackageReference Include="EnvelopeFlow.Inbox.Abstractions" Version="0.1.0-alpha.3.1" />
<PackageVersion Include="EnvelopeFlow.Inbox.Abstractions" Version="0.1.0-alpha.3.1" />
<PackageReference Include="EnvelopeFlow.Inbox.Abstractions" />
paket add EnvelopeFlow.Inbox.Abstractions --version 0.1.0-alpha.3.1
#r "nuget: EnvelopeFlow.Inbox.Abstractions, 0.1.0-alpha.3.1"
#:package EnvelopeFlow.Inbox.Abstractions@0.1.0-alpha.3.1
#addin nuget:?package=EnvelopeFlow.Inbox.Abstractions&version=0.1.0-alpha.3.1&prerelease
#tool nuget:?package=EnvelopeFlow.Inbox.Abstractions&version=0.1.0-alpha.3.1&prerelease
EnvelopeFlow.Inbox.Abstractions
Optional recipient notification inbox contracts. Depends only on EnvelopeFlow.Core; it requires no transport, endpoints, conversation storage, realtime framework or user table.
Every operation receives the host's trusted RecipientBinding. Ownership includes tenant, project, environment, app, recipient ID, identity namespace and identity subject. A request payload or cursor never supplies authentication. Identity changes represent a different owner; transfers/migrations remain application decisions.
InboxNotification stores a bounded kind, opaque application content reference and copied metadata. CopiedContent is absent by default. Selecting bounded plain-text copied content is explicit, and the host owns encryption/access policy. Strings reject malformed Unicode and U+0000 before admission, including copied title/text and metadata values, so the same notification can be stored by memory and PostgreSQL adapters. Other valid plain-text whitespace remains supported. Metadata is frozen and dictionaries with different insertion order have the same immutable admission fingerprint.
The logical notification ID is unique within the full owner. An identical admission returns Duplicate and preserves read/archive state. Changed immutable content, metadata, kind, reference or expiry returns Conflict. Expired or physically retained tombstones reject replay. After the configured dedup horizon and authorized cleanup remove the tombstone, the host may reuse an ID; revisions and ordinals never reset for that owner, so a previous generation's expected revision cannot edit it.
State edits require the current entry revision. No-op edits return Unchanged and create no event. Revisions are monotonic per-owner mutation numbers, so an entry's next revision can skip numbers when another entry changes. Read/archive actions affect only inbox state.
Pages contain at most 1,000 entries, ordered by admission ordinal. A cursor is bound to the full owner and archive filter and pins the admission high-water mark. Later admissions cannot enter that traversal. State edits, expiry and cleanup can remove visible rows between pages; this is a bounded traversal, not a frozen content snapshot. A count is the number of currently active, unread, unarchived entries in that operation's committed view; a later page or count may differ.
IInboxChangeStore is independently optional. SupportsRecoverableChanges promises an atomic inbox mutation plus durable stable event, or the development memory equivalent. Custom adapters may implement that boundary in their own transaction/outbox. Hook dispatch requires that capability; storing entries alone does not promise recoverable callbacks.
Claims use a lease and increasing fence. Acknowledgment requires the current unexpired fence. Application-authorized terminal resolution uses the current fence, a fixed reason and a completion timestamp. Pending events are never deleted by retention. A pending backlog at capacity blocks new admission/state mutations before commit; duplicate admission and no-op edits remain available. Events contain recipient ownership and state/version evidence, without copied content/reference/metadata.
The public InboxStoreContract and InboxChangeStoreContract in the non-production inbox test project can verify custom adapters. Persistence formats are feature-versioned; use their public behavior rather than .NET record equality or private JSON as a custom schema.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- EnvelopeFlow.Core (>= 0.1.0-alpha.3.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on EnvelopeFlow.Inbox.Abstractions:
| Package | Downloads |
|---|---|
|
EnvelopeFlow.Inbox.Stores.Postgres
Optional durable PostgreSQL inbox entries, dedup tombstones and atomic change outbox. |
|
|
EnvelopeFlow.Inbox
Bounded optional notification inbox, payload helpers and application change callbacks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.3.1 | 50 | 11/22/2026 |
| 0.1.0-alpha.2.1 | 75 | 11/9/2026 |