Skip to content

Home > intention-kernel > ModelGuidancePolicyDefinition

ModelGuidancePolicyDefinition interface ​

Semantic guidance selected before capability routing; it never grants execution authority.

Signature:

typescript
export interface ModelGuidancePolicyDefinition

Properties ​

Property

Modifiers

Type

Description

continueProgressionForCapabilities?

readonly

readonly CapabilityId[]

(Optional) Capabilities whose resolved request must also select the active progression continuation while this policy is selected.

This is a model-output invariant, not execution authority: the model still decides whether the current message requests one of these capabilities, and invalid output receives the normal bounded repair.

counterExamples

readonly

readonly ModelGuidanceExample[]

Counterexamples that distinguish nearby but different behavior.

description

readonly

string

Concise explanation of the semantic boundary represented by the policy.

examples

readonly

readonly ModelGuidanceExample[]

Positive examples that illustrate expected semantic behavior.

id

readonly

PolicyId

Stable policy identity included in agent fingerprints and trace events.

instructions

readonly

readonly string[]

Instructions supplied only when the selector matches the canonical turn state.

select

readonly

(context: ModelGuidancePolicyContext) => ModelGuidancePolicyMatch

Pure host function that selects guidance without granting execution authority.

version

readonly

number

Positive host-controlled contract version.