Table of Contents

Class AgentTaskDefinitionFile

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

YAML frontmatter shape for an agent task definition stored in a task.md file.

public sealed class AgentTaskDefinitionFile

Inheritance

Inherited Members

Fields

CurrentSchemaVersion

Identifies the task definition shape understood by this release.

Properties

AgentId

Gets or sets the agent identifier that executes the task.

CreatedAt

Gets or sets the ISO timestamp when the task was created.

CreatedByAgentId

Gets or sets the agent that created this task through a tool call.

ExternalTrigger

Gets or sets optional external trigger settings for task webhooks.

Id

Gets or sets the persisted task identifier.

InstructionMode

Gets or sets the saved instruction composition mode.

InstructionSource

Gets or sets the opaque source assigned during provisioning.

IsEnabled

Gets or sets whether the scheduler may run the task.

KeepLastRuns

Gets or sets how many of the newest saved runs to keep, omitted to keep every run.

MaxTokenBudget

Gets or sets an optional token budget for the task.

ModelOverrideId

Gets or sets an optional model override identifier.

Name

Gets or sets the persisted task name.

NotifyOnCompletion

Gets or sets whether a successful task run emits an automatic completion notice.

RunScope

Gets or sets optional task-local runtime settings.

Schedule

Gets or sets the serialized task schedule block.

SchemaVersion

Gets or sets the persisted task shape identifier.

SessionMode

Gets or sets the serialized session mode.

ToolApprovalRunMode

Gets or sets the serialized tool approval run mode.

WaitForOwnerProviderIdle

Gets or sets whether scheduled starts wait for the owner's foreground provider requests.