Skip to content

Mode Protocol

Prepares per-run mode policy (system prompt, tool policy, permission decisions, propositions).

Mode Protocol

Prepares per-run mode policy (system prompt, tool policy, permission decisions, propositions).

FieldValue
Protocol IDaster.mode
Version1.0.0
Compatibility range^1.0.0
Requirement helperaster.mode.require(settings?) via the protocol module
Provider helperNot available until the protocol module declares a runtime service tag.

Settings

DefaultProtocolSettingsSchema (Record<string, unknown> | null).

Operations

OperationSummaryRequestResponse
prepareRunResolve the mode policy applied to a run.Effect Schema (Objects)Effect Schema (Objects)
preflightPermissionOptionally pre-decide a permission for a tool before the permission provider is consulted.Effect Schema (Objects)Effect Schema (Union)

Conformance Expectations

  • Register with aster.mode at 1.0.0 inside ^1.0.0.
  • Implement every operation: prepareRun, preflightPermission.
  • Decode requests and responses against the operation schemas listed above.
  • Run the protocol conformance kit where one exists: No named kit yet; providers are still expected to satisfy the registry schemas..

Declared Authority

[
{
"kind": "provider_right",
"protocol": "aster.permission"
}
]