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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id | readonly | string | Unique identifier of the prefix group. | ast/prefix-group-node.ts:14 |
sharedGrounding | readonly | readonly SourceValue<string>[] | Ordered list of shared grounding sources pinned at the top of the system prompt. | ast/prefix-group-node.ts:18 |
sharedInstructions | readonly | readonly SourceValue<string>[] | Ordered list of shared epistemic posture or instruction sources pinned in the system prompt. | ast/prefix-group-node.ts:20 |
sharedRules? | readonly | RulesNode | Optional RulesNode whose globalRules are pinned in the shared system prompt. | ast/prefix-group-node.ts:22 |
toolsMode | readonly | "union" | "role-scoped" | Tool schema sharing mode ('role-scoped' per roleKey or 'union' across all bound actors). | ast/prefix-group-node.ts:16 |
type | readonly | "harness:prefix-group" | Discriminant identifying a prefix group AST node. | ast/prefix-group-node.ts:12 |