frameworks

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 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

Go CI Go Lint Go SAST Docs Docs Visualization License

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
Development Lifecycle Frameworks
Framework Spec Based On Documentation
AIDLC (AI-Driven Development Lifecycle) frameworks/aidlc/ AWS AI DLC Article
PDLC (Product Development Lifecycle) frameworks/pdlc/ Native — splits each AIDLC phase into parallel product/builder lenses Specification
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)

    // Get AIDLC (3-phase development lifecycle)
    aidlc := frameworks.MustAIDLC()
    fmt.Printf("AIDLC: %d phases, %d total deliverables\n",
        len(aidlc.Phases), countDeliverables(aidlc))

    // Get PDLC (6-stage lifecycle; the canonical stage-ID hub other
    // frameworks and consumers, e.g. Threat Model Spec's ASPM overlay
    // and specification-workflow-spec's spec-type tagging, map into)
    pdlc := frameworks.MustPDLC()
    fmt.Printf("PDLC: %d phases\n", len(pdlc.Phases))
    for _, p := range pdlc.Phases {
        fmt.Printf("  %s (%s, %s)\n", p.Name, p.Role, p.AIDLCPhase)
    }

    // 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)
AIDLC() Returns *AIDLCFramework, error
MustAIDLC() Returns *AIDLCFramework (panics on error)
PDLC() Returns *PDLCFramework, error
MustPDLC() Returns *PDLCFramework (panics on error)
AIDoraJSON() Returns raw JSON []byte
AISpaceJSON() Returns raw JSON []byte
ASDMJSON() Returns raw JSON []byte
PBMMJSON() Returns raw JSON []byte
AIDLCJSON() Returns raw JSON []byte
PDLCJSON() 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 AIDLCJSON added in v0.2.0

func AIDLCJSON() []byte

AIDLCJSON returns the raw JSON bytes for AIDLC.

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.

func PDLCJSON added in v0.3.0

func PDLCJSON() []byte

PDLCJSON returns the raw JSON bytes for PDLC.

Types

type AIDLCBasedOn added in v0.2.0

type AIDLCBasedOn struct {
	Name          string `json:"name,omitempty"`
	Organization  string `json:"organization,omitempty"`
	Documentation string `json:"documentation,omitempty"`
}

AIDLCBasedOn indicates the source framework for AIDLC.

type AIDLCCostEstimates added in v0.2.0

type AIDLCCostEstimates struct {
	Description string              `json:"description,omitempty"`
	Pricing     *AIDLCPricing       `json:"pricing,omitempty"`
	Totals      *AIDLCCostTotals    `json:"totals,omitempty"`
	PerDocument []AIDLCDocumentCost `json:"perDocument,omitempty"`
}

AIDLCCostEstimates contains LLM cost estimates.

type AIDLCCostTotals added in v0.2.0

type AIDLCCostTotals struct {
	InputTokens      int     `json:"inputTokens,omitempty"`
	OutputTokens     int     `json:"outputTokens,omitempty"`
	EstimatedCostUSD float64 `json:"estimatedCostUSD,omitempty"`
}

AIDLCCostTotals contains total cost estimates.

type AIDLCDeliverable added in v0.2.0

type AIDLCDeliverable struct {
	ID                 string   `json:"id,omitempty"`
	Name               string   `json:"name,omitempty"`
	Description        string   `json:"description,omitempty"`
	Required           bool     `json:"required,omitempty"`
	StepType           string   `json:"stepType,omitempty"`
	EvaluationCriteria []string `json:"evaluationCriteria,omitempty"`
}

AIDLCDeliverable represents a document deliverable in a phase.

type AIDLCDependencies added in v0.2.0

type AIDLCDependencies struct {
	Description string            `json:"description,omitempty"`
	Graph       []AIDLCDependency `json:"graph,omitempty"`
}

AIDLCDependencies defines the document dependency graph.

type AIDLCDependency added in v0.2.0

type AIDLCDependency struct {
	From string `json:"from,omitempty"`
	To   string `json:"to,omitempty"`
}

AIDLCDependency represents a single dependency edge.

type AIDLCDocumentCost added in v0.2.0

type AIDLCDocumentCost struct {
	ID           string `json:"id,omitempty"`
	InputTokens  int    `json:"inputTokens,omitempty"`
	OutputTokens int    `json:"outputTokens,omitempty"`
}

AIDLCDocumentCost contains per-document cost estimates.

type AIDLCDocumentation added in v0.2.0

type AIDLCDocumentation struct {
	Article       string `json:"article,omitempty"`
	Specification string `json:"specification,omitempty"`
}

AIDLCDocumentation contains AIDLC-specific documentation links.

type AIDLCEvaluation added in v0.2.0

type AIDLCEvaluation struct {
	Description  string                        `json:"description,omitempty"`
	Schema       string                        `json:"schema,omitempty"`
	ScoringScale *AIDLCScoringScale            `json:"scoringScale,omitempty"`
	PassCriteria map[string]*AIDLCPassCriteria `json:"passCriteria,omitempty"`
}

AIDLCEvaluation defines the evaluation schema for documents.

type AIDLCFramework added in v0.2.0

type AIDLCFramework 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"`
	BasedOn       *AIDLCBasedOn       `json:"basedOn,omitempty"`
	Documentation AIDLCDocumentation  `json:"documentation,omitempty"`
	Phases        []AIDLCPhase        `json:"phases,omitempty"`
	Dependencies  *AIDLCDependencies  `json:"dependencies,omitempty"`
	Evaluation    *AIDLCEvaluation    `json:"evaluation,omitempty"`
	CostEstimates *AIDLCCostEstimates `json:"costEstimates,omitempty"`
	Tooling       *AIDLCTooling       `json:"tooling,omitempty"`
	References    []Reference         `json:"references,omitempty"`
}

AIDLCFramework represents the AWS AI-Driven Development Lifecycle.

func AIDLC added in v0.2.0

func AIDLC() (*AIDLCFramework, error)

AIDLC returns the AWS AI-Driven Development Lifecycle framework. The result is cached after the first call.

func MustAIDLC added in v0.2.0

func MustAIDLC() *AIDLCFramework

MustAIDLC returns the AIDLC framework or panics on error.

type AIDLCGate added in v0.2.0

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

AIDLCGate represents a review gate between phases.

type AIDLCPassCriteria added in v0.2.0

type AIDLCPassCriteria struct {
	MinWeightedScore         float64 `json:"minWeightedScore,omitempty"`
	RequiredCategoryMinScore int     `json:"requiredCategoryMinScore,omitempty"`
	MaxCriticalIssues        int     `json:"maxCriticalIssues,omitempty"`
	MaxHighIssues            int     `json:"maxHighIssues,omitempty"`
}

AIDLCPassCriteria defines pass criteria for evaluation.

type AIDLCPhase added in v0.2.0

type AIDLCPhase struct {
	ID           string             `json:"id,omitempty"`
	Name         string             `json:"name,omitempty"`
	Order        int                `json:"order,omitempty"`
	Description  string             `json:"description,omitempty"`
	HumanRole    string             `json:"humanRole,omitempty"`
	AIRole       string             `json:"aiRole,omitempty"`
	Deliverables []AIDLCDeliverable `json:"deliverables,omitempty"`
	Gates        []AIDLCGate        `json:"gates,omitempty"`
}

AIDLCPhase represents a phase in the AIDLC workflow.

type AIDLCPricing added in v0.2.0

type AIDLCPricing struct {
	InputTokenCostPer1K  float64 `json:"inputTokenCostPer1K,omitempty"`
	OutputTokenCostPer1K float64 `json:"outputTokenCostPer1K,omitempty"`
}

AIDLCPricing defines token pricing.

type AIDLCScoringScale added in v0.2.0

type AIDLCScoringScale struct {
	Min    int               `json:"min,omitempty"`
	Max    int               `json:"max,omitempty"`
	Labels map[string]string `json:"labels,omitempty"`
}

AIDLCScoringScale defines the scoring scale.

type AIDLCTooling added in v0.2.0

type AIDLCTooling struct {
	PIDLSpec       string   `json:"pidlSpec,omitempty"`
	Visualizations []string `json:"visualizations,omitempty"`
	Integrations   []string `json:"integrations,omitempty"`
}

AIDLCTooling defines tooling integrations.

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 FrameworkRelation added in v0.3.0

type FrameworkRelation struct {
	Framework    string           `json:"framework,omitempty"`
	Relationship string           `json:"relationship,omitempty"`
	StageMapping []StageCrosswalk `json:"stageMapping,omitempty"`
}

FrameworkRelation describes this framework's relationship to another cataloged framework, including an explicit stage/phase-level crosswalk.

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 PDLCDeliverable added in v0.3.0

type PDLCDeliverable struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Required    bool   `json:"required,omitempty"`
	// Authority is "normative" or "advisory". Advisory deliverables (e.g. the
	// Product Definition prototype, the Builder Definition reference SDK
	// client) validate that a normative spec is coherent and implementable
	// without themselves being a requirement.
	Authority string `json:"authority,omitempty"`
}

PDLCDeliverable represents a deliverable artifact within a phase.

type PDLCDependencies added in v0.3.0

type PDLCDependencies struct {
	Description string           `json:"description,omitempty"`
	Graph       []PDLCDependency `json:"graph,omitempty"`
}

PDLCDependencies defines the phase dependency graph.

type PDLCDependency added in v0.3.0

type PDLCDependency struct {
	From string `json:"from,omitempty"`
	To   string `json:"to,omitempty"`
}

PDLCDependency represents a single dependency edge between phase IDs.

type PDLCDocumentation added in v0.3.0

type PDLCDocumentation struct {
	Specification string `json:"specification,omitempty"`
}

PDLCDocumentation contains PDLC-specific documentation links.

type PDLCFramework added in v0.3.0

type PDLCFramework 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     PDLCDocumentation   `json:"documentation,omitempty"`
	Phases            []PDLCPhase         `json:"phases,omitempty"`
	Dependencies      *PDLCDependencies   `json:"dependencies,omitempty"`
	Tooling           *PDLCTooling        `json:"tooling,omitempty"`
	RelatedFrameworks []FrameworkRelation `json:"relatedFrameworks,omitempty"`
	References        []Reference         `json:"references,omitempty"`
}

PDLCFramework represents the ProductBuildersHQ Product Development Lifecycle: a six-stage lifecycle spanning product definition through operations. PDLC is the canonical hub other lifecycle and posture frameworks (AIDLC, ASPM) map into via RelatedFrameworks / stage IDs, so consumers can crosswalk any two frameworks through PDLC without pairwise mappings.

func MustPDLC added in v0.3.0

func MustPDLC() *PDLCFramework

MustPDLC returns the PDLC framework or panics on error.

func PDLC added in v0.3.0

func PDLC() (*PDLCFramework, error)

PDLC returns the Product Development Lifecycle framework. The result is cached after the first call.

type PDLCGate added in v0.3.0

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

PDLCGate represents a review gate for a phase.

type PDLCPhase added in v0.3.0

type PDLCPhase struct {
	ID                  string            `json:"id,omitempty"`
	Name                string            `json:"name,omitempty"`
	Order               int               `json:"order,omitempty"`
	Description         string            `json:"description,omitempty"`
	Role                string            `json:"role,omitempty"` // "product" | "builder"
	AIDLCPhase          string            `json:"aiDlcPhase,omitempty"`
	ParallelWith        []string          `json:"parallelWith,omitempty"`
	HumanRole           string            `json:"humanRole,omitempty"`
	SecurityOverlayNote string            `json:"securityOverlayNote,omitempty"`
	SubStages           []PDLCSubStage    `json:"subStages,omitempty"`
	Deliverables        []PDLCDeliverable `json:"deliverables,omitempty"`
	Gates               []PDLCGate        `json:"gates,omitempty"`
}

PDLCPhase represents one of the six PDLC stages. Stage IDs are stable and imported by consumers (e.g. specification-workflow-spec tags each spec type with a PDLCStage; Threat Model Spec's ASPM security-posture domains map to the builder-side stages).

type PDLCSubStage added in v0.3.0

type PDLCSubStage struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Order       int    `json:"order,omitempty"`
	Description string `json:"description,omitempty"`
}

PDLCSubStage represents a detailed sub-stage within a PDLC phase. Currently used only by Product Definition, whose seven detailed sub-stages (discovery through baseline & handoff) are normatively specified in the pdlc repository.

type PDLCTooling added in v0.3.0

type PDLCTooling struct {
	Integrations []string `json:"integrations,omitempty"`
}

PDLCTooling defines tooling integrations.

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.

type StageCrosswalk added in v0.3.0

type StageCrosswalk struct {
	Stage  string   `json:"stage,omitempty"`
	MapsTo []string `json:"mapsTo,omitempty"`
}

StageCrosswalk maps one stage/phase ID in this framework to one or more phase IDs in the related framework named by the enclosing FrameworkRelation.

Jump to

Keyboard shortcuts

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