Skip to content

Pattern Catalog

Reference for all computational patterns in quicue.ca/patterns@v0. Every pattern is a CUE definition that takes typed inputs and produces computed outputs. Patterns compose — most accept Graph: #InfraGraph and can be combined freely.

Identifier safety: All resource names, @type keys, and depends_on keys are constrained to ASCII via #SafeID and #SafeLabel in vocab/resource.cue. Patterns assume safe identifiers — cue vet enforces the constraints at compile time.

Schema Index

  • #InfraGraph
  • #BindCluster
  • #ExecutionPlan
  • #ImpactQuery
  • #BlastRadius
  • #SinglePointsOfFailure
  • #CriticalityRank
  • #HealthStatus
  • #RollbackPlan
  • #DeploymentPlan
  • #TOONExport
  • #ExportGraph
  • #ValidateGraph
  • #ValidateTypes
  • #GroupByType
  • #GraphMetrics
  • #ImmediateDependents
  • #DependencyChain
  • #CycleDetector
  • #ConnectedComponents
  • #Subgraph
  • #GraphDiff
  • #CriticalPath
  • #ComplianceCheck
  • #LifecyclePhasesSKOS

Groups

Graph construction

#InfraGraph, #ValidateGraph, #CycleDetector, #ConnectedComponents, #Subgraph, #GraphDiff

Impact analysis

#ImpactQuery, #BlastRadius, #CompoundRiskAnalysis, #GraphMetrics, #ImmediateDependents, #DependencyChain

Ranking and classification

#CriticalityRank, #RiskScore, #GroupByType, #SinglePointsOfFailure, #SPOFWithRedundancy

Health and operations

#HealthStatus, #DeploymentPlan, #RollbackPlan

Compliance

#ComplianceCheck, #ComplianceRule

Binding and execution

#BindCluster, #ExecutionPlan, #ResolveTemplate

Visualization

#GraphvizDiagram, #MermaidDiagram, #VizData, #DependencyMatrix

Export formats

#TOONExport, #OpenAPISpec, #SHACLShapes, #JustfileProjection, #ExportGraph

Lifecycle

#BootstrapPlan, #DriftReport, #SmokeTest, #DeploymentLifecycle

Critical path

#CriticalPath, #LifecyclePhasesSKOS

See KB Patterns for the 16 validated problem/solution pairs that inform these schemas.