rulvar API reference / @rulvar/rulvar / ModelClaim
Interface: ModelClaim
Defined in: packages/core/dist/index.d.ts
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
author | { id: string; kind: "human" | "eval-pipeline"; } | - | packages/core/dist/index.d.ts |
author.id | string | - | packages/core/dist/index.d.ts |
author.kind | "human" | "eval-pipeline" | - | packages/core/dist/index.d.ts |
class | ClaimClass | eval-measured is committable only through the eval-committer identity (M11). | packages/core/dist/index.d.ts |
confidence | "low" | "medium" | "high" | - | packages/core/dist/index.d.ts |
evidence | EvidenceRef[] | Mandatory, >=1. | packages/core/dist/index.d.ts |
expiresAt | string | TTL by class and polarity (the grounding and decay rules). | packages/core/dist/index.d.ts |
id | string | ULID. | packages/core/dist/index.d.ts |
metrics? | { baseline?: { model: `${string}:${string}`; passRate: number; }; cost?: number; graderId: string; n: number; passRate: number; } | Writable ONLY by the eval-committer identity (schema-enforced from M11). | packages/core/dist/index.d.ts |
metrics.baseline? | { model: `${string}:${string}`; passRate: number; } | - | packages/core/dist/index.d.ts |
metrics.baseline.model | `${string}:${string}` | - | packages/core/dist/index.d.ts |
metrics.baseline.passRate | number | - | packages/core/dist/index.d.ts |
metrics.cost? | number | - | packages/core/dist/index.d.ts |
metrics.graderId | string | - | packages/core/dist/index.d.ts |
metrics.n | number | - | packages/core/dist/index.d.ts |
metrics.passRate | number | - | packages/core/dist/index.d.ts |
modelEpoch? | { canaryFingerprint?: string; capsHash?: string; pricingVersion?: string; registryVersion?: string; } | Honestly best-effort drift signal. | packages/core/dist/index.d.ts |
modelEpoch.canaryFingerprint? | string | - | packages/core/dist/index.d.ts |
modelEpoch.capsHash? | string | - | packages/core/dist/index.d.ts |
modelEpoch.pricingVersion? | string | - | packages/core/dist/index.d.ts |
modelEpoch.registryVersion? | string | - | packages/core/dist/index.d.ts |
observedAt | string | ISO date. | packages/core/dist/index.d.ts |
origin? | { entryRef: number; kind: "kb-proposal"; runId: string; } | Orchestrator proposal provenance (phase 3). | packages/core/dist/index.d.ts |
origin.entryRef | number | - | packages/core/dist/index.d.ts |
origin.kind | "kb-proposal" | - | packages/core/dist/index.d.ts |
origin.runId | string | - | packages/core/dist/index.d.ts |
polarity | "strength" | "weakness" | - | packages/core/dist/index.d.ts |
statement | string | <=200 chars; proposal-born claims use a typed template, never a quote from tool output. | packages/core/dist/index.d.ts |
status | ClaimStatus | - | packages/core/dist/index.d.ts |
subject | { effort?: Effort; model: `${string}:${string}`; } | effort is part of identity, as in the canonical modelSpec. | packages/core/dist/index.d.ts |
subject.effort? | Effort | - | packages/core/dist/index.d.ts |
subject.model | `${string}:${string}` | - | packages/core/dist/index.d.ts |
supersedes? | string | Append-only: an edit is a new claim plus supersede. | packages/core/dist/index.d.ts |
taskClass | TaskClass | - | packages/core/dist/index.d.ts |