Skip to content

Interface: RoleAndScopeContextFrameParams ​

Defined in: runtime/prefix/role-and-scope-context-frame-params.ts:13

Parameters for constructing the Turn-0 [ROLE_AND_SCOPE_CONTEXT] user message frame.

Consolidates role identity, active partitions, actor-specific grounding and instructions, mounted skill catalog, live topology partition contracts, in-run grounding diffs, scoped rules, and recalled empirical lessons.

Properties ​

PropertyModifierTypeDescriptionDefined in
activePartitionsreadonlyreadonly string[]Active logical partitions extracted for the current step.runtime/prefix/role-and-scope-context-frame-params.ts:19
actorGroundingTexts?readonlyreadonly string[]Resolved actor-specific .grounding() text blocks.runtime/prefix/role-and-scope-context-frame-params.ts:21
actorInstructionTexts?readonlyreadonly string[]Resolved actor-specific .instructions() text blocks.runtime/prefix/role-and-scope-context-frame-params.ts:23
agentIdreadonlystringLogical identifier of the active agent.runtime/prefix/role-and-scope-context-frame-params.ts:15
recalledLessons?readonlyreadonly RecalledLoopLessonRecord[]Empirical lessons recalled and scored for the current task and partitions.runtime/prefix/role-and-scope-context-frame-params.ts:33
roleKeyreadonlystringCanonical order-independent roleKey of the active agent.runtime/prefix/role-and-scope-context-frame-params.ts:17
scopedRuleDirectives?readonlyreadonly object[]Directives from scoped rules whose .when.partitions matched activePartitions.runtime/prefix/role-and-scope-context-frame-params.ts:31
skillCatalog?readonlyreadonly SkillCatalogEntryRecord[]Catalog of mounted skills discoverable via activateSkill.runtime/prefix/role-and-scope-context-frame-params.ts:25
topologyPartitions?readonlyreadonly TopologyPartitionState[]Live topology partition contracts and epochs loaded from TopologyStore.getPartitions(runId).runtime/prefix/role-and-scope-context-frame-params.ts:27
updatedGroundingDiffs?readonlyreadonly InRunGroundingDiffRecord[]In-run diffs for any .sharedGrounding() files modified within the current run.runtime/prefix/role-and-scope-context-frame-params.ts:29

Released under the MIT License.