Expand description
Closed, bounded wire contract between the parser supervisor and resident workers.
Structs§
- Parser
Artifact Identity - Authenticated identity of one complete verified platform-pack artifact.
- Parser
Completion - Successful worker completion for one authenticated request.
- Parser
Completion Evidence - Small bounded structural evidence returned instead of a syntax tree.
- Parser
Content Digest - Canonical lowercase BLAKE3 digest used by protocol identities.
- Parser
Failure - Closed worker failure for one authenticated request.
- Parser
Frame - One exactly framed borrowed parser payload.
- Parser
Frame Header - Validated fixed parser frame header.
- Parser
Language Identity - Bounded stable language identity for one grammar-affined worker.
- Parser
Progress - One strictly ordered progress observation.
- Parser
Protocol Version - Validated current protocol version carried by every control payload.
- Parser
Ready - Authenticated containment-ready state emitted before grammar or source input.
- Parser
Request - Strict parse request sent before its matching raw-source frame.
- Parser
Request Identity - Non-zero identity of one supervisor request within a worker session.
- Parser
Request Limits - Per-request output and structural bounds.
- Parser
Response Identity - Complete identity copied into every worker response.
- Parser
Session Identity - Unpredictable identity of one supervised worker process session.
- Parser
Session Open - Bounded supervisor opening that a worker reads only after containment.
- Parser
Source Identity - Authenticated identity of one exact raw-source frame.
- Parser
Syntax Kind - Bounded syntax-kind identity returned as structural evidence.
Enums§
- Parser
Containment Kind - Closed containment boundary admitted before the worker emits READY.
- Parser
Control - Closed strict-JSON control messages in the parser-worker protocol.
- Parser
Failure Code - Stable closed worker failure codes.
- Parser
Frame Kind - Closed frame kinds used on the resident worker’s standard streams.
- Parser
Progress Disposition - Whether a valid progress message advanced observable work.
- Parser
Progress Stage - Closed worker progress stages in monotonic order.
- Parser
Protocol Error - Failure while framing, decoding, or validating parser-worker traffic.
Constants§
- PARSER_
FRAME_ HEADER_ BYTES - Fixed byte length of every frame header.
- PARSER_
MAX_ CONTROL_ BYTES - Largest serialized control payload accepted by one frame.
- PARSER_
MAX_ FRAME_ PAYLOAD_ BYTES - Largest payload accepted by any single parser frame.
- PARSER_
MAX_ LANGUAGE_ ID_ BYTES - Largest UTF-8 language identity.
- PARSER_
MAX_ NODE_ COUNT - Largest structural-node count accepted for one request.
- PARSER_
MAX_ OUTPUT_ BYTES - Largest serialized worker result accepted for one request.
- PARSER_
MAX_ PROGRESS_ MESSAGES - Largest number of progress messages accepted for one request.
- PARSER_
MAX_ SOURCE_ BYTES - Largest raw source accepted by one parse request.
- PARSER_
MAX_ STDERR_ BYTES - Maximum diagnostic bytes drained from one supervised worker session.
- PARSER_
MAX_ SYNTAX_ KIND_ BYTES - Largest UTF-8 syntax-kind identity.
- PARSER_
MAX_ TREE_ DEPTH - Largest structural depth accepted for one request.
- PARSER_
MAX_ WORK_ UNITS - Largest progress-work counter accepted for one request.
- PARSER_
PROTOCOL_ VERSION - Current parser-worker protocol version.
- PARSER_
SESSION_ ENTROPY_ BYTES - Fresh unpredictable bytes hashed into one supervised worker-session identity.
- PARSER_
WINDOWS_ BROKER_ ADMISSION_ RECORD - Exact Windows broker admission record required before
SessionOpen. - PARSER_
WINDOWS_ BROKER_ MEMORY_ LIMIT_ EXIT_ CODE - Reserved Windows containment-broker exit code for an observed Job memory-limit message.
- PARSER_
WORKER_ JOB_ MEMORY_ BYTES - Hard aggregate worker Job Object memory ceiling on Windows.
- PARSER_
WORKER_ PROCESS_ MEMORY_ BYTES - Hard per-worker committed-memory/address-space ceiling on accepted targets.
Functions§
- decode_
parser_ completion_ for_ request - Decode and validate one completion against the exact request and received bytes.
- decode_
parser_ failure_ for_ request - Decode and validate one failure frame against its exact request identity.
- decode_
parser_ progress_ for_ request - Decode and validate one progress frame against its request and prior progress.
- decode_
parser_ ready_ for_ launch - Decode and validate READY against the exact supervised launch contract.
- decode_
parser_ request_ for_ session - Decode one strict request for the exact ready worker session.
- decode_
parser_ session_ open - Decode one strict pre-READY supervisor session opening.
- encode_
parser_ control - Deterministically serialize and frame one strict control message.
- encode_
parser_ frame - Encode one bounded parser frame.