Skip to content

Complete attribute wrapper

This complete runnable graph supplies the validation context for the attribute fragments in the reference. It combines inputs and defaults, a profile and stylesheet class, a shared thread, a script observation, failure routing, a wait and loop restart. The example workflows supply the wrappers for imports, outputs, parallel work and repair budgets.

Save as .orbital/syntax.dot and run orbital validate .orbital/syntax.dot. Select syntax in New run with an authenticated Claude harness and a goal. The script emits a true fact, so normal execution reaches done. A failed script routes to failed. A false fact takes the one-second wait before a clean iteration restart into done.

.orbital/syntax.dot
digraph syntax {
graph [version="1", entry="plan", inputs="notes?", defaults="goal='Explain this example',notes='Read only'", description="Attribute reference wrapper", max_visits="10", default_fidelity="summary:medium", permissions="auto-accept", profile_review="harness=claude effort=high", profile="review", model_stylesheet=".short { effort: low; }"]
plan [label="Plan the answer", class="short", prompt="Plan an answer to {{ inputs.goal }}. Notes: {{ inputs.notes }}", thread="answer", fidelity="compact", max_visits="2"]
answer [prompt="Give the planned answer.", thread="answer"]
measure [shape="parallelogram", script="printf '%s\\n' '{\"check.ready\":true}'", facts="check.ready:bool", timeout="30s"]
wait [shape="insulator", duration="1s"]
done [shape="Msquare"]
failed [shape="Msquare", outcome="failed"]
plan -> answer [fidelity="summary:low"]
answer -> measure
measure -> failed [condition="outcome == 'failed'", weight="2"]
measure -> done [condition="check.ready == true", weight="1"]
measure -> wait
wait -> done [loop_restart="true"]
}

Download the DOT. Continue with workflows.

This complete graph is deliberately invalid. Save it as .orbital/human-gate.dot and run orbital validate .orbital/human-gate.dot. Validation must reject the approval node with the diagnostic “has unknown shape hexagon”: hexagon has no runnable human-gate implementation. Use operator controls to answer a harness request instead.

Deliberately invalid: human-gate.dot
digraph reserved {
graph [version="1", entry="approval"]
approval [shape="hexagon"]
done [shape="Msquare"]
approval -> done
}