Expand description
Closed operator JSON over the Aria telemetry transform.
Each catalog binary is a distinct crate that includes its own spec.json
and calls run_spec. AriA is the underlying transformer in every
binary: Φ is not copied, it is linked.
Structs§
- Harness
Request - What a PCVC worker sends on stdin. Field names are camelCase to match the harness’s Pydantic aliases; unknown fields are rejected (closed model).
- Harness
Result - Bindings a harness re-checks on the way back (
driver.pyfield list). - Operator
Envelope - Closed operator JSON. Unknown fields are never written.
- Operator
Graph - Grammar position of this operator’s return — a deterministic function of
the frozen catalog, never of the payload. Carried on the wire so any
graph consumer (Obsidian, PCVC, a queue) renders the result as-is instead
of re-deriving the grammar. “Node vs rel vs property” is
class; the common/uncommon split isshape. - Operator
Node - One typed node on the operator envelope.
- Operator
Rel - One typed relationship on the operator envelope.
- Operator
Spec - One catalog operator. Frozen into each crate’s
spec.json. - Organize
Report - What the node determined from the host payload before pruning. Workers use this to know depth, token count, and which binaries to ask.
- RunOpts
- Options a binary or test may pin. Defaults match
aria node. - Work
Request - JSON command the nervous-system gateway accepts.
- Work
Response - Compiled results. Zero Trust: no Trust/Use/Goal keys.
- Worker
Endpoint - How a Mode 4 worker invokes one catalog binary.
Enums§
- Harness
Error - Validation failures a harness treats as protocol errors (non-zero exit).
- Operator
Error - Operator-layer failure. Never a Trust write.
Constants§
- CATALOG_
JSON - Frozen catalog shipped with this crate (560 rows: 535 research/host + 25 map mixers).
- DEFAULT_
OUTPUT_ LIMIT - Default stdout budget — matches PCVC’s
_OUTPUT_BYTES(64 KiB). - DISPATCH_
JSON - Slim PCVC spawn table (M7 / E9): 560 rows, no graph block.
- ENVELOPE_
KEYS - Canonical serialized key order of every envelope (all 560 operators emit
this shape; members marked
?are omitted when empty/none). Workers prune from this list — the shape is the same for every operator, so pruning is one operation, never per-binary (𝔸T6 uniform shape). - HARNESS_
CAPABILITY - The one closed capability this node registers.
- HARNESS_
REQUEST_ V1 - Request schema tag (stable; additive changes bump the suffix).
- HARNESS_
RESULT_ V1 - Result schema tag.
- OPERATOR_
ENVELOPE_ V1 - Schema tag for the operator envelope (Binary Repository v1 / sheet 09).
- OPERATOR_
SCHEMA_ VERSION - Closed envelope semver carried on every operator document.
- WORK_V1
- Schema tag for a compiled work response.
Functions§
- bin_
exit ExitCodewrapper for callers that prefer the std type.- bin_
main - CLI entry used by every generated
[[bin]]. Returns a process exit code. - callback_
results - Filter a projection set down to envelopes a PCVC worker or Neo4j driver
can consume. Dump scoring still uses the unfiltered
run_manyset. - cast_
lexicon - Phrase (lowercase, spaces) → catalog tags in catalog order.
- cast_
tags - Closed-vocabulary tags found in this record’s 00c fields. Catalog order.
- catalog
- Frozen catalog (560 rows). Parsed once per process.
- commands_
json - Hosted command list — what Aria compiles against.
- dispatch_
json aria-dispatch-v1: the descriptor PCVC’s registry / policy layer pins. Everything is a function of the frozen catalog plus this executable’s identity, so the harness can record exact hashes (Mode 4 step 5).- endpoint_
by_ binary_ id - Point a worker at a
BIN.*work definition. - endpoint_
by_ operator - Point a worker at a catalog operator name (
PEOPLE,TAG.PERSON_FOUNDER, …). - endpoint_
by_ package - Point a worker at a cargo package (
aria-telemetry-people). - execute_
harness - Execute one harness request. Never panics; engine rejections become a
limitationresult (still bound, still exit 0) — the harness decides. - execute_
work - Execute a JSON work request.
- family_
residuals - Residual + DEEP_TAG specs whose
parentis this family operator (E10). - harness_
lane - Full stdin → stdout lane. Returns
(exit code, stdout bytes); stderr is never written. Protocol errors (unparseable/unbound request) exit 2 with a JSON error object so the harness sees why without a stderr channel. - looks_
like_ work_ command - True if a JSON value looks like a work command rather than a raw payload.
- organize_
slop - Read the payload the way 00c does. No Φ. No new nodes.
- run_
binary - Gateway entry: run any catalog binary by
BIN.*id. - run_
many - One Φ, N projections. Hosted command lists compile through this.
- run_
spec - Run the Aria transform and project this crate’s closed operator JSON.
- serve
- Bind and serve forever. Returns only on bind failure.
- serve_
background - Same as
servebut returns the bound address and runs the accept loop on a background thread — the seam the load test uses. - spec_
by_ id - Look up one catalog row by
BIN.*(interned, O(1)). - spec_
by_ operator - Look up one catalog row by operator name (
PEOPLE,TAG.PERSON_FOUNDER, …). - spec_
by_ package - Look up one catalog row by cargo package.
- specs_
for_ tag - Research binaries that declare this exact anchor tag.
- tag_
phrase - Catalog tag → lowercase phrase the lexicon matches (
PERSON_FOUNDER→founder). - token_
stat - (weight, height) of one grammar token: kind, rel type, tag, property key.
- uncast_
fields - Designated single-value fields whose text produced zero lexicon hits.
- wave_
height - Wave ladder height (sheet 12
wavecolumn): A→1, B→2, C→3, D→4. - work_
main - Process entry for
work. Returns an exit code.