node-engine seat: a node's windows, busy, strays and filters are lists, as the engine writes them (the contract said objects and refused every real value; ADR 0634; issue 1966)

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
2026-11-05 15:19:03 +01:00
parent 8c5f85e86b
commit 8e51d93c2f
4 changed files with 37 additions and 12 deletions
+4 -4
View File
@@ -1043,7 +1043,7 @@ export interface HaveByNodeModuleValue {
/** is one value of the state have under the key <node>.node. */
export interface HaveByNodeNodeValue {
"busy"?: Record<string, unknown>;
"busy"?: Record<string, unknown>[];
/** the node's answer to each placement candidate naming it, by proposal id */
"candidates"?: Record<string, CandidateAnswer>;
/** the digest of the node's own composition it runs */
@@ -1051,14 +1051,14 @@ export interface HaveByNodeNodeValue {
/** own, or none (empty) */
"composes"?: string;
"composes-why"?: string;
"filters"?: Record<string, unknown>;
"filters"?: Record<string, unknown>[];
"profile"?: Record<string, unknown>;
"record"?: NodeRecord;
"sealed"?: string[];
"sealed-at"?: Record<string, string>;
"strays"?: Record<string, unknown>;
"strays"?: Record<string, unknown>[];
"v": number;
"windows"?: Record<string, unknown>;
"windows"?: Record<string, unknown>[];
}
/** is one value of the state composed under the key <node>.<module>.<fingerprint>. */