Add workflow frontmatter support to agent

t-430·WorkTask·
·
·
Created1 month ago·Updated1 month ago

Description

Edit

Parse YAML frontmatter in prompts to load imports, apply provider/model/budget/iteration/tools constraints, and emit a workflow_loaded event.

Timeline (8)

🔄[human]Open → InProgress1 month ago
💬[human]1 month ago

Implemented YAML frontmatter parsing in agent: imports, provider/model, max_cost_cents, max_iterations, tools allowlist; injects workflow imports into system prompt and emits workflow_loaded event.

🔄[human]InProgress → Done1 month ago
💬[human]1 month ago

Build verification surfaced a type error in workflow_loaded metadata; fixed emission to use resolved WorkflowMeta and re-ran bild Omni/Agent.hs successfully.

💬[human]1 month ago

Added system_prompt field to WorkflowMeta; when provided, replaces default system prompt entirely.