Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / CapacitySheetSpec

Interface: CapacitySheetSpec

Defined in: packages/core/src/orchestrator/capacity-sheet.ts:56

The closed input schema of the sheet (RV4304).

Properties

PropertyTypeDescriptionDefined in
economics?{ budgetUsd?: number; estCostPerWireUsd?: number; }-packages/core/src/orchestrator/capacity-sheet.ts:67
economics.budgetUsd?numberThe run's declared ceiling.packages/core/src/orchestrator/capacity-sheet.ts:71
economics.estCostPerWireUsd?numberDeclared mean cost of one wire.packages/core/src/orchestrator/capacity-sheet.ts:69
observed?{ physicalWireRequests?: number; source: string; totalUsd?: number; wallMs?: number; }Measured facts of a RUN (the invoice, the telemetry), rendered in their own section with their source on every row and never folded into the declared arithmetic: 122 observed wires beside a declared 34 is a finding about the declaration, not an input to it.packages/core/src/orchestrator/capacity-sheet.ts:79
observed.physicalWireRequests?number-packages/core/src/orchestrator/capacity-sheet.ts:82
observed.sourcestringWhere the numbers were measured: 'invoice', 'telemetry', a report name.packages/core/src/orchestrator/capacity-sheet.ts:81
observed.totalUsd?number-packages/core/src/orchestrator/capacity-sheet.ts:83
observed.wallMs?number-packages/core/src/orchestrator/capacity-sheet.ts:84
planWireCapacitySpecThe declared plan; the sheet embeds wireCapacityEstimate.packages/core/src/orchestrator/capacity-sheet.ts:58
retries?numberExpected transport retries against the base (retryWireMultiplier).packages/core/src/orchestrator/capacity-sheet.ts:60
service?{ concurrency?: number; serviceTimeMsPerWire?: number; }-packages/core/src/orchestrator/capacity-sheet.ts:61
service.concurrency?numberConcurrent wires in flight.packages/core/src/orchestrator/capacity-sheet.ts:63
service.serviceTimeMsPerWire?numberMean service time of ONE wire, milliseconds.packages/core/src/orchestrator/capacity-sheet.ts:65