pdlc

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

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

PDLC — Product Development Lifecycle

Go CI Go Lint Go SAST Docs Docs Visualization License

PDLC is the ProductBuildersHQ specification for the product development lifecycle: the stages, deliverables, canonical repository layout, quality gates, and the formal handoff from the product person (product manager / product owner) to the builder person (engineer / AI coding agent).

PDLC answers: what does a complete product definition look like, where does every artifact live in the repository, how is it reviewed as a single website, and what exactly gets handed to engineering?

Position in the ProductBuildersHQ ecosystem

Repository Role
pdlc (this repo) Normative lifecycle specification: stages, deliverables, project layout, review site, Product Baseline handoff
pdlc-workflows Executable agent-rules reference implementation of this specification
visionspec Specification-artifact engine: spec types, templates, rubrics, LLM evaluation, reconciliation, export targets
visionstudio Desktop IDE for authoring, reviewing, and observing PDLC projects
productbuildershq-frameworks Machine-readable framework definitions (including PDLC and AWS AI-DLC) with PIDL process models

PDLC is the specification; pdlc-workflows is the reference implementation — the same relationship AWS uses between the AI-DLC methodology and awslabs/aidlc-workflows.

The specification

Document Contents
Lifecycle Stages, sequencing (including the guides-before-UI translation order), entry/exit criteria, roles
Project Layout The canonical project-repository filesystem contract
Review Site How every artifact is assembled into one static website for human review on GitHub/GitLab Pages
Requirements & Acceptance Requirement-ID registry with stability rules; executable acceptance tests (browser-driven journeys) tied to requirement IDs
Quality Continuous evaluation: LLM-as-a-Judge, design-system, API-style, accessibility, and localization conformance
Handoff The Product Baseline — the versioned contract between product and builder
Adoption Agent-driven brownfield migration to the canonical layout + readiness evaluation
layout.yaml The layout contract in machine-readable form: canonical paths, detection heuristics, per-profile requirements
model/ The lifecycle as a formal PIDL process model — typed steps, data flows over canonical paths, and gates

Core principles

  1. The repository is the product definition. Every deliverable — vision, requirements, narratives, prototype, API specs, guides, translations, evaluations — has one canonical location in the project repository.
  2. Define when possible; narrate when needed. Where a machine-readable form exists — OpenAPI, design-system specs, API style profiles, locale catalogs, personas IR, structured-evaluation results, baseline manifests — that form is the required artifact and narratives supplement it. Prose carries intent, rationale, and domain description where structure doesn't fit.
  3. Native workspaces stay native. VisionSpec directories, aidlc-docs/, and other tool-owned trees are never reorganized. The review site projects them; it never moves or edits them.
  4. One website for reviewers. A human reviewer walks from vision → requirements → six-pager → press release → FAQ → prototype → user/admin guides without knowing the filesystem.
  5. Prototypes are validating evidence, not requirements. ER diagrams, Ent schemas, and demo code prove the definition is coherent; they carry advisory authority, not normative.
  6. The Product Baseline is the handoff. Engineering consumes an approved, git-revision-pinned baseline — not a moving target.
  7. Translate guides before UI. Human-facing guides carry the context translators need; guide translation precedes UI-string translation.

Documentation

Overview

Package pdlc provides the ProductBuildersHQ Product Development Lifecycle contract: the canonical layout manifest and the version of the specification this module implements.

The layout contract is embedded, so tools depending on this module carry the contract with them and need no network or checkout of the specification repo.

Index

Constants

View Source
const SpecVersion = "0.1.0"

SpecVersion is the PDLC specification version this module implements.

Variables

This section is empty.

Functions

func Layout

func Layout() (*layout.Manifest, error)

Layout returns the parsed and validated canonical layout manifest. The result is parsed once and cached.

func LayoutYAML

func LayoutYAML() []byte

LayoutYAML returns the raw embedded layout manifest.

func MustLayout

func MustLayout() *layout.Manifest

MustLayout returns the canonical layout manifest and panics if the embedded contract is invalid. An invalid embedded contract is a build-time defect, not a runtime condition, so callers in tools may use this directly.

Types

This section is empty.

Directories

Path Synopsis
cmd
pdlc command
Command pdlc inspects and evaluates a product project against the ProductBuildersHQ Product Development Lifecycle layout contract.
Command pdlc inspects and evaluates a product project against the ProductBuildersHQ Product Development Lifecycle layout contract.
Package layout defines the PDLC layout contract: where every product-definition artifact belongs in a project repository, how to recognize a misplaced one, and what each project profile requires.
Package layout defines the PDLC layout contract: where every product-definition artifact belongs in a project repository, how to recognize a misplaced one, and what each project profile requires.
Package project models pdlc.yaml, the manifest declaring which product-definition domains a project carries and what quality thresholds apply to them.
Package project models pdlc.yaml, the manifest declaring which product-definition domains a project carries and what quality thresholds apply to them.
Package readiness evaluates a project against its declared PDLC profile and emits a structured-evaluation report answering, per domain: does the artifact exist, and does its quality evaluation pass.
Package readiness evaluates a project against its declared PDLC profile and emits a structured-evaluation report answering, per domain: does the artifact exist, and does its quality evaluation pass.
Package schema embeds the JSON Schemas generated from the PDLC Go types.
Package schema embeds the JSON Schemas generated from the PDLC Go types.
Package specplan resolves a spec profile (a VisionSpec authoring methodology such as "big-tech-product") into the concrete authoring plan for a project: for each required spec, where it belongs in the PDLC layout, and whether a template and rubric are available to author and judge it.
Package specplan resolves a spec profile (a VisionSpec authoring methodology such as "big-tech-product") into the concrete authoring plan for a project: for each required spec, where it belongs in the PDLC layout, and whether a template and rubric are available to author and judge it.

Jump to

Keyboard shortcuts

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