Skip to content

Function: weaveInstructions()

weaveInstructions(slots?): string

Defined in: packages/aiui-oracle/src/prompt.ts:50

Weave the standard persona with the app's own slots, in the table's fixed order. Empty and absent slots are indistinguishable and both render nothing, so a resolver can return a partial record without padding it.

Every piece of the result is inspectable — the session ledger records the woven whole, which is what makes a prompt bug a thing you can read rather than a thing you infer.

Parameters

slots?

PromptSlots = {}

Returns

string