Skip to content

Release Notes - v0.2.0

Release Date: March 2, 2026

Overview

This release introduces the DMAIC (Define, Measure, Analyze, Improve, Control) framework, a data-driven quality improvement methodology used in Six Sigma. It includes comprehensive support for metrics tracking, statistical process control, and multiple output formats.

Highlights

  • DMAIC Framework - Full Six Sigma metrics framework with SPC support
  • Pandoc Renderer - Generate PDF-ready Markdown with YAML frontmatter
  • JSON Schema Generation - Generate schemas from Go types using invopop/jsonschema
  • MkDocs Documentation - Complete documentation site with Material theme
  • Industry Examples - Manufacturing, Software Development, Customer Service examples

Installation

go get github.com/grokify/structured-goals@v0.2.0

CLI tools:

go install github.com/grokify/structured-goals/cmd/genschema@v0.2.0
go install github.com/grokify/structured-goals/cmd/genpandoc@v0.2.0

New Features

DMAIC Framework

The dmaic package provides comprehensive Six Sigma metrics management:

  • Core Types: DMAICDocument, Category, Metric, ControlLimits, Thresholds
  • DMAIC Phases: Define, Measure, Analyze, Improve, Control
  • Trend Directions: higher_better, lower_better, target_value
  • Status Indicators: Green, Yellow, Red
  • Six Sigma Metrics: Cp, Cpk, Sigma level, DPMO
  • SPC Support: Upper/Lower Control Limits, Center Line
import "github.com/grokify/structured-goals/dmaic"

doc := dmaic.New("DMAIC-2025-001", "Quality Metrics", "Jane Smith")
doc.Categories = append(doc.Categories, dmaic.Category{
    Name: "Production Quality",
    Metrics: []dmaic.Metric{
        {
            Name:           "First Pass Yield",
            Baseline:       85.0,
            Current:        94.2,
            Target:         98.0,
            Unit:           "%",
            Phase:          dmaic.PhaseControl,
            TrendDirection: dmaic.TrendHigherBetter,
        },
    },
})

health := doc.CalculateOverallHealth()

Pandoc Renderer

Generate PDF-ready Markdown with professional formatting:

  • Sans-serif fonts (Helvetica)
  • 2cm page margins
  • LuaLaTeX support
  • Table of contents
  • Numbered sections
genpandoc metrics.json -o report.md
pandoc report.md -o report.pdf --pdf-engine=lualatex

JSON Schema Generation

Generate JSON Schema from Go types:

genschema  # Generates all schemas

Schemas are embedded for programmatic access:

import "github.com/grokify/structured-goals/schema"

schemaJSON := schema.DMAICJSONString()

MkDocs Documentation

Complete documentation site at https://grokify.github.io/structured-goals/

  • Framework guides (V2MOM, OKR, DMAIC)
  • CLI reference
  • JSON Schema documentation
  • API reference
  • Examples

Deploy with:

mkdocs gh-deploy

Examples

Three comprehensive DMAIC examples:

Example Categories Metrics Use Case
Manufacturing 3 9 Quality engineering, Six Sigma
Software Development 4 12 DORA metrics, DevOps
Customer Service 4 12 Support operations

Validation Options

Three validation presets:

Preset Use Case
DefaultValidationOptions() Development, drafts
StrictValidationOptions() Production documents
SixSigmaValidationOptions() Six Sigma compliance

Breaking Changes

None. This release is backwards compatible with v0.1.0.

Dependencies

  • Go 1.21+
  • github.com/grokify/structureddocs v0.1.0
  • github.com/invopop/jsonschema v0.15.0
  • github.com/spf13/cobra v1.10.2

Contributors

  • John Wang (@grokify)
  • Claude Opus 4.5 (Co-Author)