Warn when a node that runs no code names a device

A device on a node without source was accepted and silently ignored. The
build now reports it as ignored_device, an advisory issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
2026-10-15 09:45:24 +02:00
co-authored by Claude Opus 5.5
parent a1bdae3484
commit 0746c94e0a
6 changed files with 50 additions and 5 deletions
+2 -1
View File
@@ -46,7 +46,7 @@ MANUAL_RUN_PREFIX = "manual-"
# neither the brain graph nor the health summary treats them as a fault.
# Lives here rather than beside the controller so `ValidationIssue` can carry
# the distinction itself, and every reader gets it for free.
ADVISORY_ISSUES = frozenset({"unauthenticated_hook"})
ADVISORY_ISSUES = frozenset({"unauthenticated_hook", "ignored_device"})
class ValidationIssue(BaseModel):
@@ -61,6 +61,7 @@ class ValidationIssue(BaseModel):
"self_loop_needs_initial",
"missing_source",
"node_unhealthy",
"ignored_device",
]
message: str
flow: str = ""