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
| Property | Type | Description | Defined 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.declared | boolean | - | 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 |
name | string | The source id (mcp:stdio:<command>, mcp:http:<url>, mcp:inprocess). | packages/core/src/l0/spi/regulated-posture.ts:36 |
regulatedPosture | 1 | Descriptor shape version; bumps when the meaning changes. | packages/core/src/l0/spi/regulated-posture.ts:33 |