DriverDescriptor records the canonical adapter name, adapter version, upstream identity/version, one category, structured capabilities, supported platforms, optional output schema, process-backed status, default status, and compatible service types. Capabilities are typed, including HTTP version, load model, corrected latency, proxy routing, network-path dialing, stream-fault plans, telemetry fields, and external-binary support.
resolve_plan performs no I/O. Callers supply descriptors, selections/default policy, platform, executable paths, and extra requirements. The resolver always checks the requested workload capability (load model, or SemanticReplay for replay plans), required telemetry, service/workload compatibility, and platform support. Unsupported, missing, mismatched, ambiguous, or incompatible behavior is an error before execution. Optional missing telemetry produces a warning only when the request marks it optional. The resolver does not search PATH or contact external services.
Default selection is deterministic: use one marked category default, or the only available driver in the category. More than one candidate without a unique default is an error. Explicit selection removes ambiguity. Correctness is the one exception to category-first resolution: because a registry may expose one descriptor per correctness family, the resolver first narrows the candidates to those advertising every required capability and, if any remain, selects among those. Every other category keeps category-first resolution so that unsupported-capability errors stay specific. A schema-v3 path does not introduce a second selection mechanism: the route and fault names in the plan must match the selected Route/Fault descriptors.
A requested network_path requires all of the following before resolution succeeds:
| Category | Required capability | Production descriptor |
|---|---|---|
| Workload | NetworkPath plus the plan's load mode |
eggfetch-http only when eggstack-path is enabled |
| Route | ProxyRouting |
eggress-route / eggress-outbound |
Fault, when stream_faults is present |
StreamFaultPlan |
eggchaos-stream / eggchaos-core |
The external-process oracles (oha, h2load, iperf3) do not advertise NetworkPath, so selecting one for a path plan fails before startup. A path requires a transport-owning workload and is incompatible with Subject::External. It is also incompatible with the paired design: both arms remain live while one run-scoped client/pool can reuse physical connections. These combinations fail with stable preflight categories rather than weakening pool or trial semantics.
eggsec-load is an explicit security-owner workload for one repeated case from a digest-pinned http_corpus schedule. It is never a default and rejects multi-case schedules. Before load traffic it writes two private manifests in one exclusive-create directory: the strict-scope file for the exact bound target, and an execution policy that authorizes load testing while leaving every other elevated-risk capability denied with explicit scope still mandatory. Eggsec denies load-test under every enforcement profile without that policy, so Eggbench supplies the authorization rather than weakening a profile. Both manifest digests are recorded as security-configuration identity in eggsec-load-method.json. The guarded load-test preflight must approve the exact bound target before any request is sent, and the load invocation never passes --quiet, because Eggsec suppresses its machine report under it. Eggsec status outcomes contribute to expected_outcome_mismatch_rate; categorized transport failures contribute separately to error_rate. Its evidence records that Eggsec's load path uses Eggfetch, so it is not an independent transport oracle. Missing Eggsec fails resolution; there is no native workload fallback.
New resolutions use ResolvedPlan schema v6. It retains the source plan version, selected workload/service/route/fault descriptors, exact upstream versions, normalized intent, seed, warnings, and optional resolved network-path provenance. ResolvedPlan v1 through v5 remain accepted on read for legacy bundles and are not rewritten. Unknown fields and unknown capability variants require an explicit compatibility decision; concrete adapter and upstream versions remain in every resolved snapshot.
A resolved network path records the route request, selected route descriptor,
route-first-fault-second-v1 semantics, and, when configured, the ordered
fault request, selected fault descriptor, and splitmix64-v1 RNG identity. It
is not a callable runtime object and contains no credentials or runtime
handles.
The eggstack-path feature is opt-in and implies eggstack-http. Default and eggstack-http-only builds do not link Eggress or Eggchaos; gregg is orthogonal. The feature adds the route/fault descriptors and custom dialer, not a new CLI flag. The native workload path supports:
- explicit listener-free Direct TCP;
- native single- or multi-hop HTTP CONNECT and SOCKS routes (SOCKS4/SOCKS4a/SOCKS5 forms accepted by the schema);
- the seven static accepted-byte stream faults:
latency,bandwidth,blackhole,limit_data,slow_close,slice, and gracefuldisconnect.
Fault plans preserve order, use probability 1.0, and require an explicit plan seed when either direction is non-empty. slice.variation must be smaller than average_size; fault IDs are unique within each direction, with at most 128 entries per direction. Durations and positive byte/rate fields use the core bounded types. There is no hard reset, live mutation, scenario, packet claim, or datagram operation. Eggchaos faults are user-space accepted byte-stream impairments, never packet/datagram loss.
The route is established before the stream wrapper (route-first/fault-second). Faults affect client-to-final-target and final-target-to-client application bytes, not DNS, proxy handshakes, or individual hops. A failed requested route never falls back to Direct. Unsupported route features include SSH, QUIC/H3, UDP, extended protocols, insecure TLS, reverse/listener-bound routing, pproxy syntax, credentials, and retries invented by Eggbench.
The eggfetch-http adapter owns one Eggfetch client per workload executor/run, not one client per request or trial. Warmups may populate its pool; measured trials may reuse physical connections, and a static fault policy stays attached to a reused connection. Physical dials are evidence distinct from request count.
A path run stages network-path.json with redacted route/fault provenance, seed/RNG identity, static semantics, and bounded diagnostics. Existing eggfetch-method.json evidence is extended additively with a bounded network_path object. Neither artifact introduces a new normalized metric, and neither records secrets, payload bytes, or ephemeral socket addresses as comparison identity.
A semantic_replay workload requires the SemanticReplay capability plus ExternalBinary before resolution succeeds:
| Category | Required capability | Production descriptor |
|---|---|---|
| Workload | SemanticReplay |
eggreplay-semantic / eggreplay (external process) |
The driver is never the default; eggfetch-http remains the native default where compiled. Explicit --workload-driver eggreplay-semantic selection is required when both are present. Compatible service types are eggserve-origin and any future service publishing the same HTTP binding contract. SemanticReplay never composes with network_path; the combination fails with workload_path_incompatible.
Fixture identity is digest-based (sorted relative paths, file lengths, SHA-256 contents, aggregate SHA-256), never path-based. eggreplay validate --output json (envelope schema 1) runs before startup; eggreplay replay --route direct --output json runs once per warmup/measured invocation. RegressionReport schema 2 is enforced and finding_count must match the report sum. Semantic mismatches are successful observations with semantic_findings > 0; only process failures become WorkloadFailed. Run evidence is semantic-replay.json (schema v1); per-trial raw JSON plus eggreplay-summary.json stay bounded.
A v5 diagnostics request requires one DiagnosticProbe capability per requested family plus ExternalBinary before resolution succeeds:
| Category | Required capability | Production descriptor |
|---|---|---|
| Diagnostic | DiagnosticProbe{dns,tcp,tls,http} |
eggprobe / eggprobe (external process) |
Diagnostic is distinct from Telemetry (repeated trial observation) and Workload. The eggprobe driver is never the default and claims only DNS/TCP/TLS/HTTP; ICMP/UDP/trace/PMTU are explicitly unsupported. Resolution pins the exact executable path; run preflight then performs the schema-0.3 compatibility handshake (eggprobe run - with a minimal plan on stdin) before managed startup, failing with diagnostic_contract_unsupported for schema-0.4 binaries even when the version string is still 0.1.1.
The adapter lowers each request into a deterministic schema-0.3 plan (route Direct, one repetition, no retries, no assertions) from the target's bound http_url. DNS for literal-IP hostnames is deterministically not applicable; TLS requires an explicit https_url binding and is never inferred from the port. Exit 1 with a valid report is a negative diagnostic outcome, never a process failure. Run evidence is diagnostics.json (schema v1) plus bounded per-execution raw ProbeReport artifacts under diagnostics/<pre|post>/<id>.json. Probe timings stay diagnostic evidence and never become trial metrics.
See Eggstack HTTP, experiment plans, evidence bundles, and comparison.
The optional prometheus-http feature registers a non-process telemetry source named prometheus-http. Resolution selects it by its telemetry request name; before service startup, the CLI verifies the workspace mapping digest and validates requested fields against that mapping. The collector probes after managed-service readiness when the endpoint belongs to a service the run manages, and probes before startup otherwise; both points are strictly outside any measured trial. The bounded text parser accepts scalar samples with optional exact label selectors; it does not retain labels or raw scrapes. Endpoint authority must be private and comes from a declared target service binding. See Security Qualification for mapping and bounds.