frameworks

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 4 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ProductBuildersHQ Frameworks

Machine-readable specifications for maturity models and capability frameworks. These JSON definitions are consumed by PRISM for visualization and tracking.

Frameworks

Original Models
Model Spec Documentation
Product Builder Maturity Model frameworks/product-builder-maturity/ Article | PDF
ASDM (Autonomous Software Delivery) frameworks/asdm/ Article | PDF
AI-Adapted Industry Frameworks
Framework Spec Based On Documentation
AI-DORA frameworks/ai-dora/ai-dora.json DORA Article
AI-SPACE frameworks/ai-space/ai-space.json SPACE Article
Case Studies
Case Study ASDM Level Documentation
AWS Project Mantle Level 5 Article | PDF
StrongDM Software Factory Level 6 Article | PDF

Go Module Usage

This repository is also a Go module providing typed access to all frameworks.

Installation
go get github.com/ProductBuildersHQ/productbuildershq-frameworks
Usage
package main

import (
    "fmt"
    "log"

    frameworks "github.com/ProductBuildersHQ/productbuildershq-frameworks"
)

func main() {
    // Get AI-DORA framework
    aidora, err := frameworks.AIDora()
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("AI-DORA v%s: %d metrics\n", aidora.Version, len(aidora.Metrics))

    // Get AI-SPACE framework (25 metrics across 5 dimensions)
    aispace := frameworks.MustAISpace() // panics on error
    for _, dim := range aispace.Dimensions {
        fmt.Printf("  %s: %d metrics\n", dim.Name, len(dim.Metrics))
    }

    // Get ASDM (7-level maturity model)
    asdm := frameworks.MustASDM()
    fmt.Printf("ASDM: %d levels\n", len(asdm.Levels))

    // Get PBMM (dual-path maturity model)
    pbmm := frameworks.MustPBMM()
    fmt.Printf("PBMM: %d levels, converges at L%d\n",
        len(pbmm.Levels), pbmm.Convergence.Level)

    // Access raw JSON if needed
    jsonBytes := frameworks.AIDoraJSON()
    fmt.Printf("Raw AI-DORA JSON: %d bytes\n", len(jsonBytes))

    // Access embedded filesystem
    fs := frameworks.FS()
    data, _ := fs.ReadFile("frameworks/ai-dora/ai-dora.json")
    fmt.Printf("From FS: %d bytes\n", len(data))
}
Available Functions
Function Description
AIDora() Returns *AIDoraFramework, error
MustAIDora() Returns *AIDoraFramework (panics on error)
AISpace() Returns *AISpaceFramework, error
MustAISpace() Returns *AISpaceFramework (panics on error)
ASDM() Returns *ASDMFramework, error
MustASDM() Returns *ASDMFramework (panics on error)
PBMM() Returns *PBMMFramework, error
MustPBMM() Returns *PBMMFramework (panics on error)
AIDoraJSON() Returns raw JSON []byte
AISpaceJSON() Returns raw JSON []byte
ASDMJSON() Returns raw JSON []byte
PBMMJSON() Returns raw JSON []byte
FS() Returns embed.FS with all JSON files

Usage with PRISM

These specs are consumed by PRISM for maturity tracking. An SLI can map to multiple frameworks:

{
  "id": "lead-time",
  "frameworkMappings": [
    {"framework": "DORA", "reference": "LT"},
    {"framework": "AI_DORA", "reference": "LT"},
    {"framework": "SPACE", "reference": "E"}
  ]
}

See prism-examples for complete implementations.

Project Purpose
productbuildershq.github.io Articles, PDFs, professional documentation
PRISM Platform consuming these specs
VisionSpec Spec-driven design (AWS WB, Google Docs, Lean Startup)

License

Apache 2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AIDoraJSON

func AIDoraJSON() []byte

AIDoraJSON returns the raw JSON bytes for AI-DORA.

func AISpaceJSON

func AISpaceJSON() []byte

AISpaceJSON returns the raw JSON bytes for AI-SPACE.

func ASDMJSON

func ASDMJSON() []byte

ASDMJSON returns the raw JSON bytes for ASDM.

func FS

func FS() embed.FS

FS returns the embedded filesystem containing all framework JSON files.

func PBMMJSON

func PBMMJSON() []byte

PBMMJSON returns the raw JSON bytes for PBMM.

Types

type AIDoraFramework

type AIDoraFramework struct {
	Schema      string       `json:"$schema,omitempty"`
	Framework   string       `json:"framework,omitempty"`
	Name        string       `json:"name,omitempty"`
	Description string       `json:"description,omitempty"`
	Version     string       `json:"version,omitempty"`
	BasedOn     *BasedOn     `json:"basedOn,omitempty"`
	Category    string       `json:"category,omitempty"`
	Metrics     []DoraMetric `json:"metrics,omitempty"`
	References  []Reference  `json:"references,omitempty"`
}

AIDoraFramework represents the AI-modified DORA metrics framework.

func AIDora

func AIDora() (*AIDoraFramework, error)

AIDora returns the AI-DORA framework. The result is cached after the first call.

func MustAIDora

func MustAIDora() *AIDoraFramework

MustAIDora returns the AI-DORA framework or panics on error.

type AISpaceFramework

type AISpaceFramework struct {
	Schema       string           `json:"$schema,omitempty"`
	Framework    string           `json:"framework,omitempty"`
	Name         string           `json:"name,omitempty"`
	Description  string           `json:"description,omitempty"`
	Version      string           `json:"version,omitempty"`
	BasedOn      *BasedOn         `json:"basedOn,omitempty"`
	Category     string           `json:"category,omitempty"`
	Dimensions   []SpaceDimension `json:"dimensions,omitempty"`
	AntiPatterns []AntiPattern    `json:"antiPatterns,omitempty"`
	References   []Reference      `json:"references,omitempty"`
}

AISpaceFramework represents the AI-modified SPACE developer productivity framework.

func AISpace

func AISpace() (*AISpaceFramework, error)

AISpace returns the AI-SPACE framework. The result is cached after the first call.

func MustAISpace

func MustAISpace() *AISpaceFramework

MustAISpace returns the AI-SPACE framework or panics on error.

type ASDMFramework

type ASDMFramework struct {
	Schema        string        `json:"$schema,omitempty"`
	Framework     string        `json:"framework,omitempty"`
	Name          string        `json:"name,omitempty"`
	Description   string        `json:"description,omitempty"`
	Version       string        `json:"version,omitempty"`
	Category      string        `json:"category,omitempty"`
	Type          string        `json:"type,omitempty"`
	Documentation Documentation `json:"documentation,omitempty"`
	Levels        []ASDMLevel   `json:"levels,omitempty"`
	CaseStudies   []CaseStudy   `json:"caseStudies,omitempty"`
	References    []Reference   `json:"references,omitempty"`
}

ASDMFramework represents the Autonomous Software Delivery Model.

func ASDM

func ASDM() (*ASDMFramework, error)

ASDM returns the Autonomous Software Delivery Model framework. The result is cached after the first call.

func MustASDM

func MustASDM() *ASDMFramework

MustASDM returns the ASDM framework or panics on error.

type ASDMLevel

type ASDMLevel struct {
	Level                  int            `json:"level,omitempty"`
	Name                   string         `json:"name,omitempty"`
	HumanRole              string         `json:"humanRole,omitempty"`
	DefiningCharacteristic string         `json:"definingCharacteristic,omitempty"`
	HumanLoopPosition      string         `json:"humanLoopPosition,omitempty"`
	HumanLoopDescription   string         `json:"humanLoopDescription,omitempty"`
	Practices              []ASDMPractice `json:"practices,omitempty"`
	Artifacts              []string       `json:"artifacts,omitempty"`
	Rituals                []string       `json:"rituals,omitempty"`
	Examples               []string       `json:"examples,omitempty"`
}

ASDMLevel represents a level in the ASDM progression.

type ASDMPractice

type ASDMPractice struct {
	Name     string `json:"name,omitempty"`
	Maturity string `json:"maturity,omitempty"`
}

ASDMPractice represents a practice with maturity level. For earlier levels, practices may be simple strings represented as Name only.

func (*ASDMPractice) UnmarshalJSON

func (p *ASDMPractice) UnmarshalJSON(data []byte) error

UnmarshalJSON handles both string and object practice formats.

type AntiPattern

type AntiPattern struct {
	Metric string `json:"metric,omitempty"`
	Reason string `json:"reason,omitempty"`
}

AntiPattern describes a metric that should be avoided.

type BasedOn

type BasedOn struct {
	Framework string   `json:"framework,omitempty"`
	Name      string   `json:"name,omitempty"`
	Source    string   `json:"source,omitempty"`
	Authors   []string `json:"authors,omitempty"`
	Version   string   `json:"version,omitempty"`
	Year      int      `json:"year,omitempty"`
}

BasedOn indicates the source framework for adapted frameworks.

type CaseStudy

type CaseStudy struct {
	Name          string        `json:"name,omitempty"`
	Level         int           `json:"level,omitempty"`
	Date          string        `json:"date,omitempty"`
	Documentation Documentation `json:"documentation,omitempty"`
}

CaseStudy represents a real-world implementation example.

type Documentation

type Documentation struct {
	Article string `json:"article,omitempty"`
	PDF     string `json:"pdf,omitempty"`
}

Documentation contains links to framework documentation.

type DoraMetric

type DoraMetric struct {
	ID          string       `json:"id,omitempty"`
	Name        string       `json:"name,omitempty"`
	Description string       `json:"description,omitempty"`
	Direction   string       `json:"direction,omitempty"`
	Unit        string       `json:"unit,omitempty"`
	Levels      MetricLevels `json:"levels,omitempty"`
	AIEnablers  []string     `json:"aiEnablers,omitempty"`
}

DoraMetric represents a single DORA metric with AI modifications.

type FrameworkMapping

type FrameworkMapping struct {
	Metric  string  `json:"metric,omitempty"`
	AIDora  *string `json:"aiDora,omitempty"`
	AISpace *string `json:"aiSpace,omitempty"`
}

FrameworkMapping maps PBMM metrics to other frameworks.

type MetricLevel

type MetricLevel struct {
	Threshold          float64 `json:"threshold,omitempty"`
	Min                float64 `json:"min,omitempty"`
	Max                float64 `json:"max,omitempty"`
	Operator           string  `json:"operator,omitempty"`
	Label              string  `json:"label,omitempty"`
	StandardComparison *struct {
		StandardThreshold  string `json:"standardThreshold,omitempty"`
		AccelerationFactor string `json:"accelerationFactor,omitempty"`
	} `json:"standardComparison,omitempty"`
}

MetricLevel defines thresholds for a performance level.

type MetricLevels

type MetricLevels struct {
	Elite  MetricLevel `json:"elite,omitempty"`
	High   MetricLevel `json:"high,omitempty"`
	Medium MetricLevel `json:"medium,omitempty"`
	Low    MetricLevel `json:"low,omitempty"`
}

MetricLevels contains threshold definitions for all performance tiers.

type PBMMConvergence

type PBMMConvergence struct {
	Level       int    `json:"level,omitempty"`
	Description string `json:"description,omitempty"`
}

PBMMConvergence describes where the paths converge.

type PBMMFramework

type PBMMFramework struct {
	Schema            string             `json:"$schema,omitempty"`
	Framework         string             `json:"framework,omitempty"`
	Name              string             `json:"name,omitempty"`
	Description       string             `json:"description,omitempty"`
	Version           string             `json:"version,omitempty"`
	Category          string             `json:"category,omitempty"`
	Type              string             `json:"type,omitempty"`
	Documentation     Documentation      `json:"documentation,omitempty"`
	Paths             PBMMPaths          `json:"paths,omitempty"`
	Convergence       PBMMConvergence    `json:"convergence,omitempty"`
	Levels            []PBMMLevel        `json:"levels,omitempty"`
	FrameworkMappings []FrameworkMapping `json:"frameworkMappings,omitempty"`
	References        []Reference        `json:"references,omitempty"`
}

PBMMFramework represents the Product Builder Maturity Model.

func MustPBMM

func MustPBMM() *PBMMFramework

MustPBMM returns the PBMM framework or panics on error.

func PBMM

func PBMM() (*PBMMFramework, error)

PBMM returns the Product Builder Maturity Model framework. The result is cached after the first call.

type PBMMLevel

type PBMMLevel struct {
	Level           int      `json:"level,omitempty"`
	Name            string   `json:"name,omitempty"`
	PMPath          string   `json:"pmPath,omitempty"`
	EngineerPath    string   `json:"engineerPath,omitempty"`
	Converged       bool     `json:"converged,omitempty"`
	Characteristics []string `json:"characteristics,omitempty"`
}

PBMMLevel represents a level in the Product Builder progression.

type PBMMPath

type PBMMPath struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

PBMMPath describes a single path in the model.

type PBMMPaths

type PBMMPaths struct {
	PM       PBMMPath `json:"pm,omitempty"`
	Engineer PBMMPath `json:"engineer,omitempty"`
}

PBMMPaths defines the dual paths in the maturity model.

type Reference

type Reference struct {
	Title   string   `json:"title,omitempty"`
	URL     string   `json:"url,omitempty"`
	Authors []string `json:"authors,omitempty"`
	Year    int      `json:"year,omitempty"`
	Date    string   `json:"date,omitempty"`
	Note    string   `json:"note,omitempty"`
}

Reference contains a citation or source reference.

type SpaceDimension

type SpaceDimension struct {
	ID                  string        `json:"id,omitempty"`
	Name                string        `json:"name,omitempty"`
	Description         string        `json:"description,omitempty"`
	StandardDescription string        `json:"standardDescription,omitempty"`
	AIModification      string        `json:"aiModification,omitempty"`
	Warning             string        `json:"warning,omitempty"`
	Metrics             []SpaceMetric `json:"metrics,omitempty"`
}

SpaceDimension represents one of the SPACE dimensions (S, P, A, C, E).

type SpaceMetric

type SpaceMetric struct {
	ID          string       `json:"id,omitempty"`
	Name        string       `json:"name,omitempty"`
	Description string       `json:"description,omitempty"`
	Unit        string       `json:"unit,omitempty"`
	Direction   string       `json:"direction,omitempty"`
	Source      string       `json:"source,omitempty"`
	Note        string       `json:"note,omitempty"`
	Levels      MetricLevels `json:"levels,omitempty"`
}

SpaceMetric represents a metric within a SPACE dimension.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL