Accepts objects with prototype Object.prototype or null and rejects arrays,
class instances, and exotic built-ins implicitly via the prototype check.
Rationale: We use this for validating the top-level plugin.entities map where
key type is intentionally broader (strings, numbers, symbols) and we only need
to establish the "plain object" container shape. Specific key constraints are
applied by more specialized guards.
Plain-object guard used for container validation.
Accepts objects with prototype
Object.prototype
ornull
and rejects arrays, class instances, and exotic built-ins implicitly via the prototype check.Rationale: We use this for validating the top-level
plugin.entities
map where key type is intentionally broader (strings, numbers, symbols) and we only need to establish the "plain object" container shape. Specific key constraints are applied by more specialized guards.