Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / McpSourceRegulatedPosture

Interface: McpSourceRegulatedPosture

Defined in: packages/core/src/l0/spi/regulated-posture.ts:31

The posture an mcp() tool source chose at construction (RV1516/RV1808).

Properties

PropertyTypeDescriptionDefined in
bounds{ declared: boolean; discoveryMs?: number; maxPages?: number; maxSchemaBytes?: number; maxTools?: number; }The discovery bounds (RV1808); declared is the all-four predicate requireBounds enforces (maxTools, maxPages, maxSchemaBytes, timeouts.discoveryMs), and the declared values ride beside it so the profile hash moves when a bound moves.packages/core/src/l0/spi/regulated-posture.ts:45
bounds.declaredboolean-packages/core/src/l0/spi/regulated-posture.ts:46
bounds.discoveryMs?number-packages/core/src/l0/spi/regulated-posture.ts:50
bounds.maxPages?number-packages/core/src/l0/spi/regulated-posture.ts:48
bounds.maxSchemaBytes?number-packages/core/src/l0/spi/regulated-posture.ts:49
bounds.maxTools?number-packages/core/src/l0/spi/regulated-posture.ts:47
drift"rekey" | "refuse"What a listChanged notification means for this source (RV1516).packages/core/src/l0/spi/regulated-posture.ts:38
kind"mcp-source"-packages/core/src/l0/spi/regulated-posture.ts:34
namestringThe source id (mcp:stdio:<command>, mcp:http:<url>, mcp:inprocess).packages/core/src/l0/spi/regulated-posture.ts:36
regulatedPosture1Descriptor shape version; bumps when the meaning changes.packages/core/src/l0/spi/regulated-posture.ts:33