Skip to main content

Crate hyprstream_pds_service

Crate hyprstream_pds_service 

Source
Expand description

Durable PDS service seams over Hyprstream’s subject-carrying 9P plane.

This crate owns the service boundary between the pure hyprstream-pds record library and deployment storage. It deliberately has no host-path or database API: callers provide the mount rooted at /pds, allowing CAS (and its storage-layer sealing policy) to remain below the service.

The first demo slice is the account-record read path. A read scope can only be created from [EnvelopeContext::domain], which derives its value from verified_tenant. The tenant is never inferred from the subject, accepted from a request payload, or supplied as a free-form method argument.

Modules§

account_http
Credential-free HTTP face for hosted-account identity artifacts (#1165).
federation_intake
Read-only intake of foreign ATProto identities into an inventory read model.
hosted_account_mint
Authority-bound hosted PDS account minting.

Structs§

AccountReadScope
A read capability bound to one authority-verified tenant and subject.
AccountRecordStore
Read-only account record service over a mount rooted at PDS_NAMESPACE.

Enums§

AccountReadError
Failure from the mandatory tenant boundary or the PDS record read.

Constants§

OAUTH_ACCOUNT_RESOLVER_SUBJECT
Fixed internal principal allowed to resolve a hosted DID to its tenant.
PDS_ACCOUNTS_DIRECTORY
Directory component containing hosted account records within a tenant.
PDS_ACCOUNT_DID_DOCUMENT_FILE
Sealed account DID-document bytes published beside the account record.
PDS_ACCOUNT_DID_LOG_FILE
Sealed account operation-log bytes published beside the account record.
PDS_ACCOUNT_RECORD_FILE
Public account-record publication marker.
PDS_NAMESPACE
Namespace location at which an AccountRecordStore backing mount is bound.

Traits§

AccountRecordReadAuthorizer
Mandatory MAC capability for account-record reads.