Expand description
Named code capabilities a harness descriptor references.
Everything a descriptor cannot express as data — transcript stitching,
slug sanitization, plugin-shadow scanning — lives behind one of these
closed enums. A descriptor opts in by naming the capability
(parser = "codex-items"); a harness whose stream is compatible with an
existing capability gets the full feature from configuration alone. (The
write guard needs no named capability: its install and verdict render from
the descriptor’s [guard] data via [super::guard].)
The enums deserialize from the kebab-case capability names the
harness-descriptor schema also enumerates, so an unknown name fails the
schema gate with a listed-allowed-values message before ever reaching Rust.
Enums§
- Shadow
Preflight - Shadow preflights: detect installed skills that shadow a staged slug.
- Slug
Capability - Staged-slug generators, for harnesses whose naming rules need sanitization/truncation beyond a format string.
- Transcript
Parser - Transcript parsers: turn a captured CLI events file into tool invocations
and a
super::TranscriptSummary.