Engine v0.2: flow graph, datapoint states, gates, modes, overrides, deviations (RBT-WP-0007)
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 4s
Work Records / validate (push) Successful in 12s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 295952@bnt-lap001
Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
tegwick 2026-09-29 11:34:07 +02:00
parent 3fc279a6ed
commit 60d983769f
13 changed files with 1017 additions and 22 deletions

View file

@ -112,7 +112,7 @@ def load(path: Path) -> Pack:
def render(command: str, values: dict[str, str], pack: Pack) -> str:
"""Substitute parameters into a command template. Unknown or unset -> error."""
params = {p["id"]: p for p in pack.data.get("parameters", [])}
params = {p["id"]: p for p in (pack.data.get("parameters") or pack.data.get("datapoints") or [])}
def sub(m: re.Match) -> str:
name = m.group(1)