./main.gnougo-flow.yaml
v0.1.0
version: 1
name: new-lab-starter
skill:
description: Normalizes and explains the goal of a new GnOuGo LAB.
tags: [starter, template]
inputs:
goal: { type: string, required: false }
outputs:
summary: { type: string }
workflows:
main:
inputs:
goal:
type: string
required: false
default: Describe the expected outcome.
steps:
- id: announce
type: emit
input:
message: "Preparing workflow: ${data.inputs.goal}"
level: thinking
- id: explain_intent
type: template.render
input:
engine: mustache
template: "Goal: {{goal}}"
data:
goal: "${data.inputs.goal}"
mode: text
outputs:
summary:
expr: "${data.steps.explain_intent.text}"
type: string
description: Normalized workflow goalSemantic view
Workflow graph
✓ Semantically valid
Generated from the validated YAML with GnOuGo.Flow.Mermaid. Emit steps are hidden to keep the execution graph focused.
flowchart TD
n0_start(("Start"))
n1_end(("End"))
n2_inputs[/"Inputs: goal"/]
n3_explain_intent[/"explain_intent - template.render"/]
n4_outputs[/"Outputs: summary"/]
n0_start --> n2_inputs
n2_inputs --> n3_explain_intent
n3_explain_intent --> n4_outputs
n4_outputs --> n1_end