Skip to main content

Module worker_pool

Module worker_pool 

Source
Expand description

Webizen-governed worker pool for background .hmc / .10d / .q42 hydration.

Enforces deontic capability tokens (HydrationCapabilityToken), fuel budgets, and byte budgets across three priority tiers (StreamPriorityTier) so that CRC-32C section verification, SHA-256 entry checks, and KTX2 block transcoding never exceed the caller’s authorized compute or memory envelope.

Structs§

GovernedHydrationPool
Webizen-governed 3-tier hydration worker pool.
HydrationCapabilityToken
Deontic capability token governing background hydration tasks.
HydrationReceipt
Completed task receipt returned by the governed worker pool.
HydrationTask
Queued task with priority tier and unique identifier.

Enums§

GovernancePoolError
Errors raised when scheduling or executing governed hydration work.
HydrationTaskKind
Hydration task descriptor queued into GovernedHydrationPool.
TranscodeCodec
Compressed block codec for governed zero-heap texture transcoding.

Constants§

CAP_ADMIT_Q42_SLICE
Capability bit: admit .q42 semantic slices.
CAP_ALL_HYDRATION
All hydration capabilities enabled.
CAP_DECODE_MESH_10D
Capability bit: decode .10d mesh / morph / skeleton sections.
CAP_TRANSCODE_KTX2
Capability bit: transcode KTX2 (BC7 / ETC2 / ASTC) compressed texture blocks.
CAP_VERIFY_CRC32C
Capability bit: verify .10d section CRC-32C checksums.
CAP_VERIFY_SHA256
Capability bit: verify .hmc entry SHA-256 digests.

Functions§

execute_crc_or_transcode_zero_heap
Zero-heap hot execution kernel for a single 16-byte texture block or CRC-32C slice check.