--policy SPEC (on node create and node modify) or in source via a #[cerulion_node(...)] attribute. Trigger policy lives only on the macro side; graph YAML carries no policy block.
--policy SPEC grammar
Accepted forms:
Macro-attribute equivalents
Each--policy SPEC has an equivalent #[cerulion_node(...)] attribute. See Node macro reference for full attribute semantics.
The
unbounded_sync, tick_within_ms = N, and throttle_ms = N attributes have no --policy SPEC equivalent; they are macro-only. Write them into nodes/<type>/src/lib.rs yourself.
Defaulting matrix
When--policy is omitted, node create resolves the policy from the declared inputs:
Policy short labels
node list and node info print a short policy label in their POLICY column: