Add workflow frontmatter support to agent

t-430·WorkTask·
·
·
Created3 months ago·Updated3 months ago·pipeline runs →

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 → InProgress3 months ago
💬[human]3 months 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 → Done3 months ago
💬[human]3 months 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]3 months ago

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