Skip to main content

Module mixed_work

Module mixed_work 

Source
Expand description

Runtime-owned mixed-work protocol for resident megakernel batches.

This module is intentionally domain-neutral. Scan, graph, parser, and flow callers own their manifests and payload layouts; the runtime owns only the queue class, work-unit type, resident artifact id, output slab id, watchdog budget, and deterministic evidence contract needed to drain one resident batch without hidden host loops.

Structs§

MixedWorkProtocolEvidence
Evidence emitted after validating a mixed-work protocol plan.
MixedWorkProtocolPlan
Borrowed resident mixed-work plan supplied to the runtime scheduler.
MixedWorkUnit
One resident mixed-work unit.
OutputSlabId
Opaque id for a resident output slab owned by the runtime.
ResidentArtifactId
Opaque id for an artifact already resident in megakernel-owned buffers.

Enums§

MixedWorkProtocolError
Mixed-work protocol validation error.
MixedWorkQueueClass
Resident queue class used by the megakernel scheduler.
MixedWorkUnitType
Resident work-unit type selected inside a queue class.

Constants§

MIXED_WORK_PROTOCOL_SCHEMA_VERSION
Schema version for mixed-work protocol evidence.

Functions§

mixed_work_protocol_evidence
Validate a mixed-work protocol plan and return deterministic drain evidence.
validate_mixed_work_protocol
Validate a mixed-work protocol plan and return deterministic drain evidence.