Skip to content

Interface: PrefixGroupNode ​

Defined in: ast/prefix-group-node.ts:10

Passive AST node representing a shared KV-cache prompt prefix group (P.prefixGroup(id)).

Pins shared grounding files, shared instructions, and global rules in declaration order so all participating actors transmit a byte-identical wire system prompt alongside role-scoped or union wire tools.

Properties ​

PropertyModifierTypeDescriptionDefined in
idreadonlystringUnique identifier of the prefix group.ast/prefix-group-node.ts:14
sharedGroundingreadonlyreadonly SourceValue<string>[]Ordered list of shared grounding sources pinned at the top of the system prompt.ast/prefix-group-node.ts:18
sharedInstructionsreadonlyreadonly SourceValue<string>[]Ordered list of shared epistemic posture or instruction sources pinned in the system prompt.ast/prefix-group-node.ts:20
sharedRules?readonlyRulesNodeOptional RulesNode whose globalRules are pinned in the shared system prompt.ast/prefix-group-node.ts:22
toolsModereadonly"union" | "role-scoped"Tool schema sharing mode ('role-scoped' per roleKey or 'union' across all bound actors).ast/prefix-group-node.ts:16
typereadonly"harness:prefix-group"Discriminant identifying a prefix group AST node.ast/prefix-group-node.ts:12

Released under the MIT License.