Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / ScopePolicy

Interface: ScopePolicy

Defined in: packages/core/dist/index.d.ts

What an UNKNOWN scope field does (RV4205). 'drop' (the default, the RV4007/RV4107 posture byte for byte) silently discards it from the normalized copy, which keeps junk fields from moving the recorded identity; 'reject' refuses it typed by name, because a dimension the engine cannot record is a dimension nothing downstream can bind to routing, quota, or audit, and a host that declared it meant it. compileRegulatedProfile enforces 'reject'. normalize (RV4302) canonicalizes VALUES before the identity exists anywhere: the table is journaled in the genesis execution_scope decision and mirrored in RunMeta, and resume reads the RECORDED table, never a re-supplied one (a conflicting resupply refuses typed, the args-binding rule).

Properties

PropertyTypeDefined in
normalize?ScopeNormalizeTablepackages/core/dist/index.d.ts
unknown?"reject" | "drop"packages/core/dist/index.d.ts