Rave
@mellens/ravev2026.05.01.1
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
02Models
@mellens/rave/claimv2026.03.22.1rave_claim.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| claimId | string |
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
| Argument | Type | Description |
|---|---|---|
| statement | string | |
| owner | string | |
| team? | string | |
| contact? | string | |
| category | string | |
| scopeType | string | |
| scopeTarget | string | |
| assumptions | array | |
| falsificationSignals | array |
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
| Argument | Type | Description |
|---|---|---|
| reason? | string |
fn contradict(reason: string)
Set claim status to 'contradicted' — collapses confidence to 0
| Argument | Type | Description |
|---|---|---|
| reason | string |
fn annotate(text: string, author: string)
Add a free-text annotation to the claim YAML
| Argument | Type | Description |
|---|---|---|
| text | string | |
| author | string |
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
| Argument | Type | Description |
|---|---|---|
| claimId | string |
fn compute(currentScore?: number, lastValidated?: string, currentStatus: string, evidence: array)
Apply the RAVE decay formula to produce an updated confidence score for this claim
| Argument | Type | Description |
|---|---|---|
| currentScore? | number | |
| lastValidated? | string | |
| currentStatus | string | |
| evidence | array |
fn revalidate(newScore: number, revalidatedBy: string)
Reset the confidence anchor when a claim owner formally re-attests
| Argument | Type | Description |
|---|---|---|
| newScore | number | |
| revalidatedBy | string |
Resources
confidence(infinite)— Computed confidence state for this claim
@mellens/rave/ci-evidencev2026.05.01.1rave_ci_evidence.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| evidenceId | string | |
| repo | string | |
| workflowName | string | |
| branch | string | |
| jobName? | string |
fn gather(githubToken: string)
Fetch the latest GitHub Actions workflow run (or specific job) and record the outcome
| Argument | Type | Description |
|---|---|---|
| githubToken | string |
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
| Argument | Type | Description |
|---|---|---|
| evidenceId | string | |
| repo | string | |
| endpoint | string | |
| successField? | string |
fn gather(githubToken: string)
Call a GitHub REST API endpoint and record the outcome
| Argument | Type | Description |
|---|---|---|
| githubToken | string |
Resources
result(1d)— Latest GitHub REST API evidence result
@mellens/rave/prometheus-evidencev2026.03.21.1rave_prometheus_evidence.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| evidenceId | string | |
| baseUrl | string | |
| query | string | |
| threshold? | number | |
| operator? | enum | |
| unit? | string |
fn gather(prometheusToken: string)
Execute a PromQL instant query and record the outcome against an optional threshold
| Argument | Type | Description |
|---|---|---|
| prometheusToken | string |
Resources
result(7d)— Latest Prometheus query result
@mellens/rave/falsifier-enginev2026.03.21.1rave_falsifier_engine.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| falsifierId | string | |
| conditionType | enum | |
| condition | string |
fn evaluate(evidence: array)
Evaluate falsifier conditions against evidence snapshots and record triggered/not-triggered
| Argument | Type | Description |
|---|---|---|
| evidence | array |
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.
| Argument | Type | Description |
|---|---|---|
| branchProtectionId | string | |
| branchProtectionStatus | string | |
| ciGreenId | string | |
| ciGreenStatus | string | |
| swampModelsId | string | |
| swampModelsStatus | string | |
| swampWorkflowsId | string | |
| swampWorkflowsStatus | string | |
| extensionsCompileId | string | |
| extensionsCompileStatus | string |
Resources
report(7d)— Latest readiness evaluation report
@mellens/rave/diff-evidencev2026.04.29.1rave_diff_evidence.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| evidenceId | string | |
| guardedGlobs | string |
fn gather()
Run git diff to detect mixed spec+application PRs
Resources
result(1d)— Latest diff-based tamper evidence result
03Previous Versions
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