Cyclium.Strategy.Template.ObserveSynthesizeConverge (Cyclium v0.1.10)

Copy Markdown View Source

Data-driven strategy template: Gather → Synthesize → Converge.

The most common pattern for dynamic actors. A named gatherer collects domain data, an LLM synthesizer analyzes it, and the result is mapped to findings and outputs.

Strategy config shape

%{
  "gatherer" => "project_data",
  "system_prompt" => "You are a project health analyst...",
  "finding_config" => %{
    "actor_id_field" => "project_health_actor",
    "finding_key_template" => "project:health:${subject_id}",
    "class_field" => "class",
    "severity_field" => "severity",
    "summary_field" => "summary",
    "subject_kind" => "project",
    "subject_id_key" => "project_id"
  },
  "outputs" => ["email"]
}