Skip to content

v0.1.0

Release Date: 2026-03-30

Highlights

  • PRISM Framework - Platform for Reliability, Improvement, and Strategic Maturity, a unified framework for B2B SaaS health metrics combining SLOs, maturity modeling, and OKRs
  • CLI Tool - Command-line interface for creating, validating, and scoring PRISM documents
  • JSON Schema - Auto-generated schema from Go types for editor validation and IDE support

Added

Core Types

  • PRISMDocument - Root document type containing metrics and metadata
  • Metric - Individual metric with current value, target, and SLO
  • SLI / SLO - Service Level Indicators and Objectives
  • Thresholds - Green/yellow/red threshold definitions
  • DataPoint - Time-series data points with timestamps

Domain Model

  • Domain constants: security, operations
  • Lifecycle stage constants: design, build, test, runtime, response
  • Category constants: prevention, detection, response, reliability, efficiency, quality
  • Metric types: coverage, rate, latency, ratio, count, distribution, score
  • Framework mapping support: NIST_CSF, MITRE_ATTACK, DORA, SRE

Maturity Model

  • 5-level maturity model: Reactive, Basic, Defined, Managed, Optimizing
  • MaturityModel, MaturityLevelDef, MaturityCell types
  • NewMaturityModelForDomains() for domain-filtered initialization

Customer Awareness

  • Four awareness states: unaware, aware_not_remediating, aware_remediating, aware_remediated
  • AwarenessScore() using mutually exclusive state weights (0.0 → 0.25 → 0.5 → 1.0)

Scoring

  • PRISM score calculation combining maturity and performance
  • Configurable weights: maturity 40%, performance 60%
  • Stage weights: design 15%, build 20%, test 15%, runtime 30%, response 20%
  • Domain weights: security 50%, operations 50%
  • Score interpretation: Elite (≥0.9), Strong (≥0.75), Medium (≥0.5), Weak (≥0.25), Critical

SLO Evaluation

  • SLO.Operator and SLO.Value fields for machine-evaluable targets
  • Metric.MeetsSLO() method for programmatic SLO checking
  • Metric.CalculateStatus() for threshold-based status calculation
  • Metric.ProgressToTarget() for progress tracking

Validation

  • Validation functions for all constants and document structure
  • ValidationError and ValidationErrors types for detailed error reporting

CLI Commands

  • prism init - Initialize a new PRISM document with domain filtering (-d) and output path (-o)
  • prism validate - Validate a PRISM document
  • prism score - Calculate the PRISM score with --detailed and --json flags
  • prism catalog - List available constants

Schema Generation

  • JSON Schema auto-generation from Go types using invopop/jsonschema
  • Embedded schema access via schema.PRISMSchemaJSON()

Dependencies

  • github.com/spf13/cobra v1.10.2 for CLI
  • github.com/invopop/jsonschema v0.13.0 for schema generation

Infrastructure

  • GitHub Actions workflows for CI, linting, and CodeQL
  • Dependabot configuration for automated dependency updates
  • golangci-lint configuration

Documentation

  • README with installation, CLI usage, schema overview, and examples
  • Operations metrics example (8 DORA-aligned metrics)
  • Score weight normalization behavior documented in ScoreConfig