Expand description
Canonical hook metadata for Tuff-standard hooks.
This crate models the stable vocabulary Tuff uses when a hook is authored in Tuff’s manifest format and then rendered by an adapter into a native harness format. It does not model native harness hook fragments; those remain adapter-owned passthrough data.
Structs§
- Compatibility
Entry - Compatibility for one canonical event on one adapter.
- Compatibility
Matrix - Static adapter compatibility data.
- Hook
Event Spec - Canonical event metadata.
- Payload
Field - A field expected in a hook payload.
- Payload
Schema - A structured descriptor for a canonical event payload.
Enums§
- Blocking
Scope - What a hook can block when a handler returns a blocking result.
- Coverage
Level - Adapter support level for a canonical event.
- Hook
Event - Canonical Tuff hook events.
- Payload
Value Type - Payload type names used by
PayloadField.
Constants§
- COMMON_
PAYLOAD_ FIELDS - Common payload fields available to most Tuff-standard hooks.
- EVENT_
SPECS - Current canonical event metadata.
- SPEC_
VERSION - Current version of the Tuff hook specification.