Documentation
¶
Index ¶
- func AIDLCJSON() []byte
- func AIDoraJSON() []byte
- func AISpaceJSON() []byte
- func ASDMJSON() []byte
- func FS() embed.FS
- func PBMMJSON() []byte
- func PDLCJSON() []byte
- type AIDLCBasedOn
- type AIDLCCostEstimates
- type AIDLCCostTotals
- type AIDLCDeliverable
- type AIDLCDependencies
- type AIDLCDependency
- type AIDLCDocumentCost
- type AIDLCDocumentation
- type AIDLCEvaluation
- type AIDLCFramework
- type AIDLCGate
- type AIDLCPassCriteria
- type AIDLCPhase
- type AIDLCPricing
- type AIDLCScoringScale
- type AIDLCTooling
- type AIDoraFramework
- type AISpaceFramework
- type ASDMFramework
- type ASDMLevel
- type ASDMPractice
- type AntiPattern
- type BasedOn
- type CaseStudy
- type Documentation
- type DoraMetric
- type FrameworkMapping
- type FrameworkRelation
- type MetricLevel
- type MetricLevels
- type PBMMConvergence
- type PBMMFramework
- type PBMMLevel
- type PBMMPath
- type PBMMPaths
- type PDLCDeliverable
- type PDLCDependencies
- type PDLCDependency
- type PDLCDocumentation
- type PDLCFramework
- type PDLCGate
- type PDLCPhase
- type PDLCSubStage
- type PDLCTooling
- type Reference
- type SpaceDimension
- type SpaceMetric
- type StageCrosswalk
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.
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
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
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.