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 metadataMetric- Individual metric with current value, target, and SLOSLI/SLO- Service Level Indicators and ObjectivesThresholds- Green/yellow/red threshold definitionsDataPoint- 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,MaturityCelltypesNewMaturityModelForDomains()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.OperatorandSLO.Valuefields for machine-evaluable targetsMetric.MeetsSLO()method for programmatic SLO checkingMetric.CalculateStatus()for threshold-based status calculationMetric.ProgressToTarget()for progress tracking
Validation
- Validation functions for all constants and document structure
ValidationErrorandValidationErrorstypes 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 documentprism score- Calculate the PRISM score with--detailedand--jsonflagsprism 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/cobrav1.10.2 for CLIgithub.com/invopop/jsonschemav0.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