Interface: ContextRule
Makaio Framework / services-core/context-rules / ContextRule
Interface: ContextRule
Section titled “Interface: ContextRule”Defined in: ../../../packages/services/core/src/context-rules/types.ts:131
Persisted context rule record.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
ContextRuleAction
Defined in: ../../../packages/services/core/src/context-rules/types.ts:121
Delivery action attached to matching rules.
Inherited from
Section titled “Inherited from”condition
Section titled “condition”condition:
Condition
Defined in: ../../../packages/services/core/src/context-rules/types.ts:119
Predicate tree that decides whether the rule matches.
Inherited from
Section titled “Inherited from”createdAt
Section titled “createdAt”createdAt:
number
Defined in: ../../../packages/services/core/src/context-rules/types.ts:133
Creation timestamp in Unix milliseconds.
description?
Section titled “description?”
optionaldescription?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:117
Optional description for diagnostics or UI display.
Inherited from
Section titled “Inherited from”enabled
Section titled “enabled”enabled:
boolean
Defined in: ../../../packages/services/core/src/context-rules/types.ts:125
Whether the rule is active during resolution.
Inherited from
Section titled “Inherited from”id:
string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:113
Stable rule identifier.
Inherited from
Section titled “Inherited from”name:
string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:115
Human-readable rule name.
Inherited from
Section titled “Inherited from”priority
Section titled “priority”priority:
number
Defined in: ../../../packages/services/core/src/context-rules/types.ts:123
Deterministic ordering key for matching rules.
Inherited from
Section titled “Inherited from”projectId?
Section titled “projectId?”
optionalprojectId?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:103
Project identifier for project scope and optionally project-bound session scope.
Inherited from
Section titled “Inherited from”scope:
ContextRuleScope
Defined in: ../../../packages/services/core/src/context-rules/types.ts:101
Hierarchical scope deciding when the rule is a candidate.
Inherited from
Section titled “Inherited from”sessionId?
Section titled “sessionId?”
optionalsessionId?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:105
Session identifier for session-scoped rules.
Inherited from
Section titled “Inherited from”updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: ../../../packages/services/core/src/context-rules/types.ts:135
Last update timestamp in Unix milliseconds.