Rename open to stalled and autopilot to auto-confirm; add pushed state; declare idempotency; propose maturity and projects model (RBT-WP-0008)
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:
parent
f39d5cec3c
commit
f5619e1a52
19 changed files with 429 additions and 105 deletions
|
|
@ -128,6 +128,9 @@ def _check_refs(m: _Model, data: dict) -> None:
|
|||
for v in vals:
|
||||
if v not in dps[k]["values"]:
|
||||
m.errs.append(f"step {pid}: recommended_when {k}={v} not in values")
|
||||
for part, pid in parts:
|
||||
if part.get("idempotent", node.get("idempotent")) == "conditional" and not (part.get("idempotent_note") or node.get("idempotent_note")):
|
||||
m.errs.append(f"step {pid}: idempotent: conditional needs an idempotent_note saying when")
|
||||
if node.get("one_of") and node.get("command"):
|
||||
m.errs.append(f"step {id_}: a step with one_of must not also have its own command")
|
||||
elif kind == "gate":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue