Versions in this module Expand all Collapse all v0 v0.3.0 Apr 26, 2026 Changes in this version + const DomainQuality + const LayerAdoption + const LayerCode + const LayerInfra + const LayerRequirements + const LayerRuntime + const LayerSupport + const QualityVerticalFunctional + const QualityVerticalMaintainability + const QualityVerticalPerformance + const QualityVerticalReliability + const QualityVerticalSecurity + const QualityVerticalUsability + const TeamTypeEnabling + const TeamTypeOverlay + const TeamTypePlatform + const TeamTypeStreamAligned + func AllLayers() []string + func AllQualityVerticals() []string + func AllTeamTypes() []string + func ValidateLayer(layer string) error + func ValidateQualityVertical(vertical string) error + func ValidateTeamType(teamType string) error + type GoldenSignal struct + Errors string + Latency string + Saturation string + Traffic string type Initiative + ServiceID string + type LayerDef struct + Description string + ID string + Name string + Signals GoldenSignal + Weight float64 + func DefaultLayers() []LayerDef + func (l *LayerDef) Validate() ValidationErrors type Metric + Layer string + QualityVertical string + ServiceID string type PRISMDocument + Layers []LayerDef + Services []Service + Teams []Team + func (doc *PRISMDocument) GetLayerByID(id string) *LayerDef + func (doc *PRISMDocument) GetMetricsByLayer(layer string) []Metric + func (doc *PRISMDocument) GetMetricsByService(serviceID string) []Metric + func (doc *PRISMDocument) GetServiceByID(id string) *Service + func (doc *PRISMDocument) GetTeamByID(id string) *Team type ScoreConfig + ScopedDomains []string + ScopedStages []string + SkipEmptyCells bool + UseGoalMaturity bool + func LegacyScoreConfig() *ScoreConfig + func (c *ScoreConfig) GetScopedDomains() []string + func (c *ScoreConfig) GetScopedStages() []string + type Service struct + Description string + ID string + LayerID string + MetricIDs []string + Name string + OwnerTeamID string + Repository string + Tier string + func (s *Service) Validate(doc *PRISMDocument) ValidationErrors + type Team struct + Description string + Domain string + Email string + ID string + LayerAccountability []string + Name string + Owner string + ServiceIDs []string + Slack string + Type string + func (t *Team) Validate(doc *PRISMDocument) ValidationErrors v0.2.0 Apr 18, 2026 Changes in this version + const FrameworkFEDRAMP + const FrameworkNIST80053 + const GoalStatusActive + const GoalStatusCancelled + const GoalStatusCompleted + const GoalStatusOnHold + const InitiativeStatusCancelled + const InitiativeStatusCompleted + const InitiativeStatusInProgress + const InitiativeStatusNotStarted + const InitiativeStatusPlanned + const PhaseStatusCompleted + const PhaseStatusInProgress + const PhaseStatusPlanning + const QuarterQ1 + const QuarterQ2 + const QuarterQ3 + const QuarterQ4 + func AllGoalStatuses() []string + func AllInitiativeStatuses() []string + func AllPhaseStatuses() []string + func AllQuarters() []string + func ValidateGoalStatus(status string) error + func ValidateInitiativeStatus(status string) error + func ValidatePhaseStatus(status string) error + func ValidateQuarter(quarter string) error + func ValidateSLOOperator(operator string) error + type BenchmarkComparison struct + CurrentVal float64 + IndustryAvg float64 + MetricID string + MetricName string + PercentileEst int + Position string + Top10Percent float64 + type CategoryCompliance struct + AtRisk int + Category string + Compliance float64 + Met int + Missed int + NotTargeted int + Total int + type DashboardSummary struct + CurrentPhase string + GoalsAtRisk int + GoalsOnTrack int + GoalsTotal int + InitiativesCompleted int + InitiativesInProgress int + InitiativesTotal int + MaturityGap float64 + OverallMaturity float64 + PhaseCompletionPct float64 + SLOCompliancePercent float64 + TargetMaturity float64 + type DeploymentStatus struct + AdoptionPercent float64 + DeployedCustomers int + Status string + TotalCustomers int + func (ds *DeploymentStatus) CalculateAdoptionPercent() float64 + type ExecutiveDashboard struct + Benchmarks []BenchmarkComparison + Gaps []GapAnalysisEntry + GeneratedAt string + MaturityScorecard []GoalMaturityStatus + PhaseProgress []PhaseProgressSummary + SLOCompliance SLOComplianceSummary + Subtitle string + Summary DashboardSummary + Title string + type GapAnalysisEntry struct + Category string + CurrentVal float64 + Gap float64 + GapPercent float64 + GoalName string + MetricID string + MetricName string + Priority string + TargetLevel int + TargetVal float64 + type Goal struct + CurrentLevel int + Description string + ID string + MaturityModel *GoalMaturityModel + Name string + Owner string + Priority int + StartDate string + Status string + TargetDate string + TargetLevel int + func (g *Goal) CriteriaMetForLevel(level int, doc *PRISMDocument) (met, total int) + func (g *Goal) CurrentMaturityLevel(doc *PRISMDocument) int + func (g *Goal) MeetsLevelRequirements(level int, doc *PRISMDocument) bool + func (g *Goal) SLOsMetForLevel(level int, doc *PRISMDocument) (met, total int) + func (g *Goal) Validate(doc *PRISMDocument) ValidationErrors + type GoalMaturityLevel struct + Description string + Level int + MetricCriteria []MetricCriterion + Name string + RequiredSLOs []SLORequirement + func (gml *GoalMaturityLevel) Validate(doc *PRISMDocument) ValidationErrors + type GoalMaturityModel struct + Levels []GoalMaturityLevel + func (gmm *GoalMaturityModel) GetLevel(level int) *GoalMaturityLevel + func (gmm *GoalMaturityModel) Validate(doc *PRISMDocument) ValidationErrors + type GoalMaturityStatus struct + CurrentLevel int + Gap int + GoalID string + GoalName string + SLOsMet int + SLOsMetPercent float64 + SLOsTotal int + Status string + TargetLevel int + Trend string + type GoalPhaseProgress struct + CompletionPercent float64 + EnterLevel int + ExitLevel int + Initiatives []InitiativeSummary + InitiativesCompleted int + InitiativesTotal int + PhaseID string + PhaseName string + Quarter string + Year int + type GoalProgress struct + CompletionPercent float64 + CurrentLevel int + EnterLevel int + GoalID string + InitiativesCompleted int + InitiativesTotal int + SLOsMet int + SLOsRequired int + TargetLevel int + func CalculateGoalProgress(goal *Goal, phase *Phase, doc *PRISMDocument) *GoalProgress + type GoalRoadmapView struct + CurrentLevel int + Description string + GoalID string + GoalName string + PhaseProgress []GoalPhaseProgress + TargetLevel int type Initiative + DependentTeams []string + DeploymentStatus *DeploymentStatus + DevCompletionPercent float64 + GoalIDs []string + PhaseID string + Team string + func (i *Initiative) IsDevComplete() bool + func (i *Initiative) IsFullyDeployed() bool + type InitiativeMetrics struct + AvgAdoptionPercent float64 + Completed int + Deployed int + Total int + func CalculateInitiativeMetrics(phase *Phase, doc *PRISMDocument) *InitiativeMetrics + type InitiativeSummary struct + DevCompletionPercent float64 + ID string + Name string + Status string + Team string + type MetricCriterion struct + MetricID string + Operator string + Value float64 + func (mc *MetricCriterion) IsMet(current float64) bool + func (mc *MetricCriterion) Validate(doc *PRISMDocument) ValidationErrors type PRISMDocument + Goals []Goal + Phases []Phase + Roadmap *RoadmapConfig + func (doc *PRISMDocument) GenerateExecutiveDashboard() *ExecutiveDashboard + func (doc *PRISMDocument) GenerateGoalRoadmapView(goalID string) *GoalRoadmapView + func (doc *PRISMDocument) GeneratePhaseRoadmapView(phaseID string) *PhaseRoadmapView + func (doc *PRISMDocument) GenerateRoadmapReport() *RoadmapReport + func (doc *PRISMDocument) GenerateSLOReport() *SLOReport + func (doc *PRISMDocument) GetGoalByID(id string) *Goal + func (doc *PRISMDocument) GetInitiativeByID(id string) *Initiative + func (doc *PRISMDocument) GetInitiativesForGoal(goalID string) []Initiative + func (doc *PRISMDocument) GetInitiativesForPhase(phaseID string) []Initiative + func (doc *PRISMDocument) GetPhaseByID(id string) *Phase + func (doc *PRISMDocument) GetPhasesSorted() []Phase + type Phase struct + EndDate string + GoalTargets []PhaseGoalTarget + ID string + Name string + Quarter string + StartDate string + Status string + Swimlanes []Swimlane + Year int + func (p *Phase) AllInitiativeIDs() []string + func (p *Phase) GetGoalTarget(goalID string) *PhaseGoalTarget + func (p *Phase) GetSwimlane(swimlaneID string) *Swimlane + func (p *Phase) Validate(doc *PRISMDocument) ValidationErrors + type PhaseGoalTarget struct + EnterLevel int + ExitLevel int + GoalID string + type PhaseGoalView struct + CompletionPercent float64 + CurrentLevel int + EnterLevel int + ExitLevel int + GoalID string + GoalName string + Initiatives []InitiativeSummary + InitiativesCompleted int + InitiativesTotal int + type PhaseMetrics struct + GoalProgress []GoalProgress + InitiativeMetrics *InitiativeMetrics + PhaseID string + SLOCompliance []SLOCompliance + func CalculatePhaseMetrics(phase *Phase, doc *PRISMDocument) *PhaseMetrics + type PhaseProgressSummary struct + CompletionPct float64 + EndDate string + GoalsAchieved int + GoalsTargeted int + InitCompleted int + InitInProgress int + InitTotal int + IsCurrent bool + PhaseID string + PhaseName string + Quarter string + StartDate string + Status string + Year int + type PhaseRoadmapView struct + EndDate string + GoalViews []PhaseGoalView + OverallCompletion float64 + PhaseID string + PhaseName string + Quarter string + StartDate string + Status string + Year int + type RoadmapConfig struct + Description string + FiscalYearStart int + Name string + type RoadmapReport struct + ByGoal []GoalRoadmapView + ByPhase []PhaseRoadmapView + GeneratedAt string + Metadata *Metadata + type SLOCategoryGroup struct + Category string + Description string + Metrics []SLOMetricLadder + type SLOCompliance struct + Current float64 + GoalIDs []string + IsMet bool + MetricID string + MetricName string + SLOTarget string + func CalculateSLOCompliance(phase *Phase, doc *PRISMDocument) []SLOCompliance + type SLOComplianceSummary struct + Categories []CategoryCompliance + OverallAtRisk int + OverallCompliance float64 + OverallMet int + OverallMissed int + OverallTotal int + type SLOMaturityEntry struct + Description string + GoalID string + GoalName string + Level int + LevelName string + Operator string + Value float64 + type SLOMetricLadder struct + Domain string + Levels []SLOMaturityEntry + MetricID string + MetricName string + Stage string + Unit string + type SLOReport struct + Categories []SLOCategoryGroup + Description string + Entries []SLOReportEntry + GeneratedAt string + Title string + func (r *SLOReport) TableColumns() []string + func (r *SLOReport) TableRows() [][]string + func (r *SLOReport) ToMarkdown() string + func (r *SLOReport) ToMarp() string + func (r *SLOReport) ToMatrixMarkdown() string + type SLOReportEntry struct + Category string + Description string + Domain string + GoalID string + GoalName string + Level int + LevelName string + MetricID string + MetricName string + Operator string + Requirement string + Stage string + Unit string + Value float64 + type SLORequirement struct + Description string + MetricID string + type Swimlane struct + Domain string + ID string + InitiativeIDs []string + Name string + Stage string + func (sw *Swimlane) Validate(doc *PRISMDocument) ValidationErrors v0.1.0 Mar 30, 2026 Changes in this version + const AwarenessAwareNotActing + const AwarenessAwareRemediated + const AwarenessAwareRemediating + const AwarenessUnaware + const CategoryDetection + const CategoryEfficiency + const CategoryPrevention + const CategoryQuality + const CategoryReliability + const CategoryResponse + const DomainOperations + const DomainSecurity + const FrameworkDORA + const FrameworkMITREATTACK + const FrameworkNISTCSF + const FrameworkSRE + const MaturityLevel1 + const MaturityLevel2 + const MaturityLevel3 + const MaturityLevel4 + const MaturityLevel5 + const MetricTypeCount + const MetricTypeCoverage + const MetricTypeDistribution + const MetricTypeLatency + const MetricTypeRate + const MetricTypeRatio + const MetricTypeScore + const SLOOperatorEQ + const SLOOperatorGT + const SLOOperatorGTE + const SLOOperatorLT + const SLOOperatorLTE + const StageBuild + const StageDesign + const StageResponse + const StageRuntime + const StageTest + const StatusGreen + const StatusRed + const StatusYellow + const TrendHigherBetter + const TrendLowerBetter + const TrendTargetValue + const Window30Days + const Window7Days + const Window90Days + func AllAwarenessStates() []string + func AllCategories() []string + func AllDomains() []string + func AllFrameworks() []string + func AllMetricTypes() []string + func AllStages() []string + func AllStatuses() []string + func AllTrendDirections() []string + func AllWindows() []string + func DefaultAwarenessStates() []string + func InterpretScore(score float64) string + func MaturityLevelName(level int) string + func ValidateAwarenessState(state string) error + func ValidateCategory(category string) error + func ValidateDomain(domain string) error + func ValidateFramework(framework string) error + func ValidateMaturityLevel(level int) error + func ValidateMetricType(metricType string) error + func ValidateStage(stage string) error + func ValidateStatus(status string) error + func ValidateTrendDirection(trend string) error + func ValidateWindow(window string) error + type AwarenessDistribution struct + Count int + Percent float64 + State string + type AwarenessSummary struct + AwareCount int + AwarenessScore float64 + ProactiveDetectionRate float64 + ProactiveResolutionRate float64 + RemediatedCount int + RemediatingCount int + TotalCustomers int + UnawareCount int + type CellScore struct + CellScore float64 + Domain string + MaturityScore float64 + PerformanceScore float64 + Stage string + Weight float64 + type CustomerAwarenessConfig struct + Enabled bool + States []string + func NewCustomerAwarenessConfig(enabled bool) *CustomerAwarenessConfig + type CustomerAwarenessData struct + Distribution []AwarenessDistribution + Period string + func NewCustomerAwarenessData(period string) *CustomerAwarenessData + func (d *CustomerAwarenessData) AwareNotActingRate() float64 + func (d *CustomerAwarenessData) AwarenessScore() float64 + func (d *CustomerAwarenessData) GetStateCount(state string) int + func (d *CustomerAwarenessData) GetStatePercent(state string) float64 + func (d *CustomerAwarenessData) ProactiveDetectionRate() float64 + func (d *CustomerAwarenessData) ProactiveResolutionRate() float64 + func (d *CustomerAwarenessData) RecalculatePercentages() + func (d *CustomerAwarenessData) RemediationInProgressRate() float64 + func (d *CustomerAwarenessData) SetCount(state string, count int) error + func (d *CustomerAwarenessData) Summary() *AwarenessSummary + func (d *CustomerAwarenessData) TotalCount() int + func (d *CustomerAwarenessData) UnawareRate() float64 + func (d *CustomerAwarenessData) Validate() ValidationErrors + type DMAICMapping struct + Analyze string + Control string + Define string + Improve string + Measure string + type DataPoint struct + Note string + Timestamp time.Time + Value float64 + type DomainDef struct + Description string + Name string + Weight float64 + type DomainScoreBreakdown struct + MaturityLevel float64 + MetricCount int + Score float64 + Weight float64 + type FrameworkMapping struct + Framework string + Reference string + type HealthStatus struct + Color string + Description string + Level string + Score float64 + type Initiative struct + Description string + EndDate string + ID string + MetricIDs []string + Name string + Owner string + Priority int + StartDate string + Status string + type MaturityCell struct + CurrentLevel int + Domain string + KPITarget string + MaturityScore float64 + PrimaryKPI string + Stage string + TargetLevel int + func (c *MaturityCell) CalculateMaturityScore() float64 + type MaturityLevelDef struct + Description string + Level int + Name string + func DefaultMaturityLevels() []MaturityLevelDef + type MaturityMapping struct + Level1 string + Level2 string + Level3 string + Level4 string + Level5 string + type MaturityModel struct + Cells []MaturityCell + Levels []MaturityLevelDef + func NewMaturityModel() *MaturityModel + func NewMaturityModelForDomains(domains []string) *MaturityModel + func NewMaturityModelWithCells() *MaturityModel + func (m *MaturityModel) AverageMaturityLevel() float64 + func (m *MaturityModel) AverageMaturityScore() float64 + func (m *MaturityModel) DomainMaturityLevel(domain string) float64 + func (m *MaturityModel) GetCell(domain, stage string) *MaturityCell + func (m *MaturityModel) GetCellsByDomain(domain string) []MaturityCell + func (m *MaturityModel) GetCellsByStage(stage string) []MaturityCell + func (m *MaturityModel) SetCellLevel(domain, stage string, level int) error + func (m *MaturityModel) StageMaturityLevel(stage string) float64 + func (m *MaturityModel) UpdateMaturityScores() + func (m *MaturityModel) Validate() ValidationErrors + type Metadata struct + Author string + Created string + Description string + Name string + Updated string + Version string + type Metric struct + Baseline float64 + Category string + Current float64 + CustomerAwareness *CustomerAwarenessConfig + DMAIC *DMAICMapping + DataPoints []DataPoint + DataSource string + Description string + Domain string + FrameworkMappings []FrameworkMapping + ID string + MaturityMapping *MaturityMapping + MetricType string + Name string + Owner string + SLI *SLI + SLO *SLO + Stage string + Status string + Target float64 + Thresholds *Thresholds + TrendDirection string + Unit string + func (m *Metric) CalculateStatus() string + func (m *Metric) MeetsSLO() bool + func (m *Metric) ProgressToTarget() float64 + func (m *Metric) Validate() ValidationErrors + type OKRMapping struct + KeyResultID string + KeyResultName string + MetricIDs []string + ObjectiveID string + ObjectiveName string + type PRISMDocument struct + Domains []DomainDef + Initiatives []Initiative + Maturity *MaturityModel + Metadata *Metadata + Metrics []Metric + OKRs []OKRMapping + Schema string + func (doc *PRISMDocument) CalculatePRISMScore(config *ScoreConfig, awareness *CustomerAwarenessData) *PRISMScore + func (doc *PRISMDocument) GetMetricByID(id string) *Metric + func (doc *PRISMDocument) GetMetricsByCategory(category string) []Metric + func (doc *PRISMDocument) GetMetricsByDomain(domain string) []Metric + func (doc *PRISMDocument) GetMetricsByStage(stage string) []Metric + func (doc *PRISMDocument) Validate() ValidationErrors + type PRISMScore struct + AwarenessScore float64 + BaseScore float64 + CellScores []CellScore + Interpretation string + MaturityAverage float64 + OperationsScore float64 + Overall float64 + PerformanceAverage float64 + SecurityScore float64 + func (score *PRISMScore) GetHealthStatus() *HealthStatus + func (score *PRISMScore) GetScoreBreakdown() *ScoreBreakdown + type SLI struct + Description string + Formula string + Name string + type SLO struct + Operator string + Target string + Thresholds *Thresholds + Value float64 + Window string + type ScoreBreakdown struct + DomainBreakdown map[string]DomainScoreBreakdown + StageBreakdown map[string]StageScoreBreakdown + type ScoreConfig struct + DomainWeights map[string]float64 + MaturityWeight float64 + PerformanceWeight float64 + StageWeights map[string]float64 + func DefaultScoreConfig() *ScoreConfig + func (c *ScoreConfig) GetDomainWeight(domain string) float64 + func (c *ScoreConfig) GetStageWeight(stage string) float64 + type StageScoreBreakdown struct + MetricCount int + Score float64 + Weight float64 + type Thresholds struct + Green float64 + Red float64 + Yellow float64 + type ValidationError struct + Field string + Message string + Value string + func (e *ValidationError) Error() string + type ValidationErrors []ValidationError + func (ve ValidationErrors) Error() string + func (ve ValidationErrors) HasErrors() bool