Skip to main content
Fapost\Foundation\Flow\Enums\StateNamespace is the canonical list of top-level namespaces in flow_sessions.state. It is part of the Foundation contract.
rag is deprecated and goes in the next major version of fapost/foundation.

Path notation

Keys are dotted paths under a namespace, addressable the same way in templates, branch conditions, and state pickers:
module paths carry the accessor’s namespace as their second segment — module.<accessor namespace>.<key> — which is what the registry resolves against.

Adding a namespace

Built-in top-level namespaces go into the enum. They are not invented per node: a node that writes into a namespace nobody else knows about produces state that no condition can read and no picker can offer. The one other way is a Solution that declares "state": true in its manifest: it owns a namespace named by its id, which conditions and pickers offer like the built-in ones. The full list at run time is Fapost\Foundation\Flow\Contracts\StateNamespacesInterface; the enum lists only the built-in namespaces. See Your state namespace. See State namespaces for the rules behind these, and Data accessors for exposing data under module.