Skip to main content

Rave

@mellens/ravev2026.05.01.1· 1mo agoMODELS
01README

RAVE (Reliability & Validation Engineering) — confidence scoring with exponential decay, claim lifecycle management, evidence gathering from GitHub and Prometheus, falsification detection, and readiness gating for software reliability claims

02Models8
@mellens/rave/claimv2026.03.22.1rave_claim.ts

Global Arguments

ArgumentTypeDescription
claimIdstring
fn create(statement: string, owner: string, team?: string, contact?: string, category: string, scopeType: string, scopeTarget: string, assumptions: array, falsificationSignals: array)
Write a new claim YAML to rave/claims/ and record its initial state
ArgumentTypeDescription
statementstring
ownerstring
team?string
contact?string
categorystring
scopeTypestring
scopeTargetstring
assumptionsarray
falsificationSignalsarray
fn get()
Read the current claim YAML and record a state snapshot
fn activate()
Set claim status to 'active' — use once evidence is wired up
fn retire(reason?: string)
Set claim status to 'retired' — freezes the confidence score
ArgumentTypeDescription
reason?string
fn contradict(reason: string)
Set claim status to 'contradicted' — collapses confidence to 0
ArgumentTypeDescription
reasonstring
fn annotate(text: string, author: string)
Add a free-text annotation to the claim YAML
ArgumentTypeDescription
textstring
authorstring

Resources

state(infinite)— Current claim state snapshot (mirrors key fields from the YAML)
@mellens/rave/confidence-enginev2026.03.21.1rave_confidence_engine.ts

Global Arguments

ArgumentTypeDescription
claimIdstring
fn compute(currentScore?: number, lastValidated?: string, currentStatus: string, evidence: array)
Apply the RAVE decay formula to produce an updated confidence score for this claim
ArgumentTypeDescription
currentScore?number
lastValidated?string
currentStatusstring
evidencearray
fn revalidate(newScore: number, revalidatedBy: string)
Reset the confidence anchor when a claim owner formally re-attests
ArgumentTypeDescription
newScorenumber
revalidatedBystring

Resources

confidence(infinite)— Computed confidence state for this claim
@mellens/rave/ci-evidencev2026.05.01.1rave_ci_evidence.ts

Global Arguments

ArgumentTypeDescription
evidenceIdstring
repostring
workflowNamestring
branchstring
jobName?string
fn gather(githubToken: string)
Fetch the latest GitHub Actions workflow run (or specific job) and record the outcome
ArgumentTypeDescription
githubTokenstring

Resources

result(30d)— Latest CI run result for this evidence entity
@mellens/rave/github-api-evidencev2026.03.22.1rave_github_api_evidence.ts

Global Arguments

ArgumentTypeDescription
evidenceIdstring
repostring
endpointstring
successField?string
fn gather(githubToken: string)
Call a GitHub REST API endpoint and record the outcome
ArgumentTypeDescription
githubTokenstring

Resources

result(1d)— Latest GitHub REST API evidence result
@mellens/rave/prometheus-evidencev2026.03.21.1rave_prometheus_evidence.ts

Global Arguments

ArgumentTypeDescription
evidenceIdstring
baseUrlstring
querystring
threshold?number
operator?enum
unit?string
fn gather(prometheusToken: string)
Execute a PromQL instant query and record the outcome against an optional threshold
ArgumentTypeDescription
prometheusTokenstring

Resources

result(7d)— Latest Prometheus query result
@mellens/rave/falsifier-enginev2026.03.21.1rave_falsifier_engine.ts

Global Arguments

ArgumentTypeDescription
falsifierIdstring
conditionTypeenum
conditionstring
fn evaluate(evidence: array)
Evaluate falsifier conditions against evidence snapshots and record triggered/not-triggered
ArgumentTypeDescription
evidencearray

Resources

evaluation(30d)— Latest falsifier evaluation result
@mellens/rave/readiness-reporterv2026.03.23.1rave_readiness_reporter.ts
fn evaluate(branchProtectionId: string, branchProtectionStatus: string, ciGreenId: string, ciGreenStatus: string, swampModelsId: string, swampModelsStatus: string, swampWorkflowsId: string, swampWorkflowsStatus: string, extensionsCompileId: string, extensionsCompileStatus: string)
Evaluate readiness across all active claims by comparing confidence scores to threshold. Draft and retired claims are excluded; contradicted claims always fail.
ArgumentTypeDescription
branchProtectionIdstring
branchProtectionStatusstring
ciGreenIdstring
ciGreenStatusstring
swampModelsIdstring
swampModelsStatusstring
swampWorkflowsIdstring
swampWorkflowsStatusstring
extensionsCompileIdstring
extensionsCompileStatusstring

Resources

report(7d)— Latest readiness evaluation report
@mellens/rave/diff-evidencev2026.04.29.1rave_diff_evidence.ts

Global Arguments

ArgumentTypeDescription
evidenceIdstring
guardedGlobsstring
fn gather()
Run git diff to detect mixed spec+application PRs

Resources

result(1d)— Latest diff-based tamper evidence result
03Previous Versions7
2026.04.30.1Apr 30, 2026
2026.04.29.5Apr 29, 2026
2026.04.29.4Apr 29, 2026

Added 1 models

2026.04.29.3Apr 29, 2026
2026.04.29.2Apr 29, 2026
2026.04.29.1Apr 29, 2026
2026.04.02.1Apr 2, 2026
04Stats
D
41 / 100
Downloads
104
Archive size
73.9 KB
  • Has README or module doc0/2missing
  • README has a code example0/1missing
  • README is substantive0/1pending
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared0/1missing
  • Verified public repository0/2missing
05Platforms
06Labels