Home > intention-kernel > CapabilityDefinition
CapabilityDefinition interface
Executable operation independent of its infrastructure adapters.
Signature:
export interface CapabilityDefinition<TInput, TOutput>Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| (Optional) Optional host-owned input factory used only by declarative progression authority. | ||
| "none" | "required" | "capability" | Required is kernel-owned; capability delegates confirmation to its own resumable interaction. | |
| string | Precise model-visible operation description. | |
| "none" | "read" | "write" | Side-effect classification used to determine concurrency and safeguards. | |
| (Optional) Optional semantic examples and exclusions shown to the interpreter. | ||
| Stable semantic operation name visible to the model and planner. | ||
| RuntimeSchema<TInput> | Runtime validator and JSON Schema projection for proposed inputs. | |
| readonly FactReference[] | Existing fact roots and descendants replaced after successful completion. | |
| RuntimeSchema<TOutput> | Runtime validator for completed outputs. | |
| readonly FactDeclaration[] | Versioned facts this capability may publish after completion. | |
| (Optional) Optional bounds for semantic references to current server-owned options. | ||
| readonly FactRequirement[] | Confirmed facts required before execution. | |
| number | Positive contract version included in compiled fingerprints. |
Methods
Method | Description |
|---|---|
Execute this operation after the planner validates its input and prerequisites. |