Skip to main content
Version: latest (main)

Interface: PatchMastraOptions

Defined in: src/hooks/mastra.ts:44

Properties

agentId

agentId: string

Defined in: src/hooks/mastra.ts:45


failClosed?

optional failClosed?: boolean

Defined in: src/hooks/mastra.ts:53

The caller's resolved fail-closed (enforce) posture. When true and the patch takes effect, a one-time note is emitted clarifying that Mastra is lineage-only — this SDK performs NO in-process tool-governance check for it, so an operator under enforce isn't misled into assuming DENY blocks a Mastra tool call in-process (AAASM-4830).


loadModule?

optional loadModule?: () => Promise<MastraModule | undefined>

Defined in: src/hooks/mastra.ts:54

Returns

Promise<MastraModule | undefined>