Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.2Wiki
Agentic AI Atlas · Composition: Regulated Greenfield (V-Model + DDD + Cleanroom + Waterfall) (Library)
library/composition-regulated-greenfielda5c.ai
Search the atlas/
Wiki · linked records

Article and nearby pages

I.Current articlepp. 1 - 1
accessibility (Library)Aerospace Engineering Specialization (Library)AI Agents and Conversational AI Specialization (Library)Algorithms and Optimization Specialization (Library)Arts and Culture Specialization (Library)ATDD/TDD Methodology (Library)
II.Documented nodesrefs · 1
specialization:composition-regulated-greenfield
I.
Wiki article

library/composition-regulated-greenfield

Reading · 6 min

Composition: Regulated Greenfield (V-Model + DDD + Cleanroom + Waterfall) (Library) reference

HIPAA-compliant patient-portal archetype: Waterfall stage sequencing over DDD

Page nodewiki/library/composition-regulated-greenfield.mdNearby pages · 135Documents · 1

Continue reading

Nearby pages in the same section.

accessibility (Library)Aerospace Engineering Specialization (Library)AI Agents and Conversational AI Specialization (Library)Algorithms and Optimization Specialization (Library)Arts and Culture Specialization (Library)ATDD/TDD Methodology (Library)authoring (Library)AutoMaker (Library)Automotive Engineering Specialization (Library)Backend Development (Library)BDD/Specification by Example (Library)Bioinformatics and Genomics Specialization (Library)Biomedical Engineering Specialization (Library)BMAD Method (Library)business/ (folded) (Library)Business Analysis and Consulting (Library)Business Strategy and Operations (Library)Business Strategy Specialization (Library)CC10X Methodology (Library)CCPM - Claude Code PM Methodology (Library)Chemical Engineering Specialization (Library)Civil Engineering Specialization (Library)ClaudeKit Methodology (Library)Cleanroom Software Engineering (Library)CLI and MCP Development Specialization (Library)Code Migration and Modernization Specialization (Library)COG Second Brain (Library)collaboration (Library)common-utilities (Library)Communication specialization (Library)Composition: Aerospace Flight Control (Waterfall + V-Model + Cleanroom + inline Formal Verification) (Library)Composition: Legacy Modernization (Event Storming + DDD + FDD + Strangler Fig + RUP) (Library)Composition: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment) (Library)Composition: SaaS Analytics Dashboard (JTBD + Impact Mapping + Spec-Kit + Kanban + XP) (Library)Composition: Smart Product Recommendations (DDD + Hypothesis-Driven Development + BDD + Kanban) (Library)Composition: Startup MVP (Shape Up + Example Mapping + TDD + Scrum) (Library)Computer Science Specialization (Library)Cryptography and Blockchain Development Specialization (Library)Customer Experience and Support Specialization (Library)customer-support (Library)Data Engineering, Analytics, and BI Specialization (Library)Data Privacy Compliance (Library)Data Science and Machine Learning Specialization (Library)Intelligence, Decision Support and Decision Making (Library)Desktop Product Development Specialization (Library)developer-relations (Library)DevOps, SRE, and Platform Engineering Specialization (Library)Digital Marketing and Content Strategy Specialization (Library)Domain-Driven Design (DDD) Methodology (Library)Double Diamond Methodology (Library)Education and Learning Specialization (Library)Electrical Engineering Specialization (Library)Embedded Systems Engineering Specialization (Library)Entrepreneurship and Startup Processes (Library)Environmental Engineering Specialization (Library)Event Storming (Library)Everything Claude Code Methodology (Library)Example Mapping Methodology (Library)Extreme Programming (XP) (Library)Feature-Driven Development (FDD) (Library)Finance, Accounting, and Economics Specialization (Library)FPGA Programming and Hardware Description Specialization (Library)Game Product Development Specialization (Library)Gas Town Methodology (Library)GPU Programming and Parallel Computing (Library)GSD-Adapted Workflows for Babysitter SDK (Library)Healthcare and Medical Management Specialization (Library)Human Resources and People Operations Specialization (Library)Humanities and Anthropology Specialization (Library)Hypothesis-Driven Development (Library)Impact Mapping Methodology (Library)Incident Management (Library)Industrial Engineering Specialization (Library)internationalization (Library)Jobs to Be Done (JTBD) Methodology (Library)Kanban (Library)Knowledge Management (Library)Legal and Compliance Specialization (Library)Logistics and Operations Specialization (Library)Maestro App Factory (Library)Marketing and Brand Management Specialization (Library)Materials Science Specialization (Library)Mathematics Specialization (Library)Mechanical Engineering Specialization (Library)media (Library)Meta Specialization - Process, Skill, and Agent Creation (Library)Metaswarm Methodology (Library)MLOps (Library)Mobile Product Development Specialization (Library)Nanotechnology Specialization (Library)Network Programming and Protocols Specialization (Library)Observability specialization (Library)Enhanced Ontology-Driven Development (ODD) Methodology (Library)Operations Management Specialization (Library)Performance Optimization and Profiling Specialization (Library)Philosophy and Theology Specialization (Library)Physics Specialization (Library)Pilot Shell Methodology for Babysitter SDK (Library)Planning with Files (Library)Procurement — business domain specialization (Library)Product Management and Product Strategy Specialization (Library)Production contract (Library)Programming Languages and Compilers Development Specialization (Library)Project Management and Leadership Specialization (Library)Public Relations and Communications Specialization (Library)QA, Testing, and Test Automation (Library)Quantum Computing Specialization (Library)Release Engineering (Library)Research Specialization (Library)Robotics and Simulation Engineering Specialization (Library)RPIKit Methodology (Library)Ruflo Methodology (Library)RUP (Rational Unified Process) (Library)Sales and Business Development Specialization (Library)Scientific Discovery and Problem Solving Specialization (Library)Scrum (Library)SDK, Platform, and Systems Development (Library)Security, Compliance, and Risk Management Specialization (Library)Security Research and Vulnerability Analysis Specialization (Library)Shape Up (Library)Shared (Cross-Domain Assets) (Library)Social Sciences Specialization (Library)Software Architecture and Design Patterns Specialization (Library)sourcing/ (folded) (Library)Spec Kit Methodology (Library)Spiral Model (Library)Superpowers Extended Methodology (Library)Supply Chain Management Specialization (Library)Technical Documentation Specialization (Library)Travel (Curated-Dataset + SQL-Tool Pattern) (Library)UX/UI Design and User Experience Specialization (Library)V-Model Methodology (Library)Venture Capital and Investment Due Diligence Specialization (Library)Waterfall Methodology (Library)Web Product Development Specialization (Library)

Documented graph nodes

Records linked directly from this page’s Page node.

specialization:composition-regulated-greenfield

Composition: Regulated Greenfield (V-Model + DDD + Cleanroom + Waterfall)

HIPAA-compliant patient-portal archetype: Waterfall stage sequencing over DDD clinical-domain modeling, Cleanroom formal specification/verification for PHI-handling components, and V-Model paired verification levels with per-component parallel verification. Every stage exit is guarded by an **executed** requirement-to-verification traceability gate plus a routed qa-lead sign-off breakpoint; PHI access and production deploy are policy-gated compliance-officer breakpoints that never auto-execute.

Why this quadrant

This composition fills the **compliance / formal-verification quadrant** of the methodology matrix and pairs with the data-privacy-compliance specialization:

regulators audit.

Medical Records, Billing, Communication contexts with a shared clinical glossary).

exactly the components that handle PHI.

level, making requirement-to-verification traceability computable instead of aspirational.

  • **Waterfall** supplies frozen, sign-off-gated stage sequencing — the shape
  • **DDD** keeps the clinical domain honest (Patient Management, Scheduling,
  • **Cleanroom** supplies formal specification and correctness verification for
  • **V-Model** pairs every left-side design artifact with its right-side test

**Provenance**: implements library/methodologies/backlog.md Example 2 ("Healthcare Patient Portal - HIPAA Compliant", previously *Not Implemented*).

Stage map

Code
  Waterfall stage           Ingredient ownership (left V | right V)
  ---------------           ----------------------------------------
  Stage 1 Requirements      waterfall:requirements-gathering (SRS)
                            v-model:requirements-with-acceptance ----+
                            crg:phi-classification                   |
  Stage 2 Domain modeling   ddd strategic+tactical tasks             |
                            v-model:system-design-with-system-test -+|
  Stage 3 Formal spec       cleanroom:create-formal-specification   ||
   (PHI components)         cleanroom:design-with-verification      ||
                            v-model:architecture-with-integration -+||
                            v-model:module-design-with-unit-test -+|||
  Stage 4 Implementation    crg:implement-component               ||||
  Stage 5 Verification      v-model:execute-tests  unit <---------+|||
                             + cleanroom:code-inspection (PHI)     |||
                            v-model:execute-tests  integration <---+||
                            v-model:execute-tests  system <---------+|
                            v-model:execute-tests  acceptance <------+
  Stage 6 Deploy            v-model:traceability-matrix (full)
                            waterfall:deployment (guarded)

Every stage boundary runs regulatedStageExit (see contract below). Stage boundaries are strictly sequential; ctx.parallel.all is used only *within* a stage.

Ingredients composed by name

Ingredient process() functions are **not** called — only exported defineTask tasks are composed, so ingredient-internal breakpoints/loops never double-fire.

TaskSource moduleStage
requirementsGatheringTask../waterfall/waterfall.js1
deploymentTask../waterfall/waterfall.js6 (guarded)
identifySubdomainsTask../domain-driven-design/domain-driven-design.js2
defineBoundedContextsTask../domain-driven-design/domain-driven-design.js2
createContextMapTask../domain-driven-design/domain-driven-design.js2
buildUbiquitousLanguageTask../domain-driven-design/domain-driven-design.js2
identifyEntitiesValueObjectsTask../domain-driven-design/domain-driven-design.js2 (parallel per context)
defineAggregatesTask../domain-driven-design/domain-driven-design.js2 (parallel per context)
identifyDomainEventsTask../domain-driven-design/domain-driven-design.js2 (parallel per context)
validateLanguageConsistencyTask../domain-driven-design/domain-driven-design.js2
createFormalSpecificationTask../cleanroom/cleanroom.js3 (parallel per PHI component)
designWithVerificationTask../cleanroom/cleanroom.js3 (bounded fix loop)
fixDesignTask../cleanroom/cleanroom.js3 (fix-loop body)
codeInspectionTask../cleanroom/cleanroom.js5a (PHI components)
fixImplementationTask../cleanroom/cleanroom.js5a (fix-loop body)
requirementsWithAcceptanceTask../v-model/v-model.js1
systemDesignWithSystemTestTask../v-model/v-model.js2
architectureWithIntegrationTestTask../v-model/v-model.js3
moduleDesignWithUnitTestTask../v-model/v-model.js3 (parallel per component)
executeTestsTask../v-model/v-model.js5 (per level)
traceabilityMatrixTask../v-model/v-model.jsevery stage exit + 6

Combinators (routedBreakpoint, adversarialGate, kipRecall, kipAssert) are imported from ../../specializations/common-utilities/routed-gate-combinators.js — never re-implemented.

Local crg.* tasks (all kind: 'agent'): crg.phi-classification, crg.trace-diff, crg.implement-component, crg.fix-verification.

Policy-gated breakpoints

breakpointIdExpertTagsWhen raisedAuto-execute
crg.phi-data-access-approvalcompliance-officercrg, policy-gated, phi, hipaaBy requirePhiApproval BEFORE any task is scheduled with PHI-derived data (Stage 3 entry; again in Stage 4 for any dataset not already covered)**NEVER**
crg.stage-exit.requirementsqa-leadcrg, policy-gated, stage-exit, requirementsStage 1 exit**NEVER**
crg.stage-exit.domain-modelingqa-leadcrg, policy-gated, stage-exit, domain-modelingStage 2 exit**NEVER**
crg.stage-exit.formal-specificationqa-leadcrg, policy-gated, stage-exit, formal-specificationStage 3 exit**NEVER**
crg.stage-exit.implementationqa-leadcrg, policy-gated, stage-exit, implementationStage 4 exit**NEVER**
crg.stage-exit.verificationqa-leadcrg, policy-gated, stage-exit, verificationStage 5 exit**NEVER**
crg.production-deploycompliance-officercrg, policy-gated, deploy, hipaaAfter the final full traceability matrix, before deploymentTask**NEVER**

Combinator-internal escalations (adversarial-gate owner escalation, bounded fix-loop exhaustion in Stages 3/5) carry their own per-stage-unique ids, e.g. crg.<stage>.traceability.gate-escalation, crg.stage-3.design-escalation.<component>, crg.stage-5.unit-escalation.<component>.

Stage-exit contract (`regulatedStageExit`)

1. **Executed traceability check** — traceabilityMatrixTask computes the stage's requirement->artifact->test matrix; crg.trace-diff diffs it against the previous stage's stored matrix and the SRS requirement set, writing artifacts/crg/<stage>/trace-diff.json with {coveredCount, uncovered, orphanedTests, regressions} — a computed diff, not prose. 2. **Adversarial gate** — adversarialGate (gateId: crg.<stage>.traceability) over the executed diff with traceability-critic + phi-provenance-critic, IRON LAW ("re-run the trace computation yourself or cite trace-diff.json line-by-line"), the built-in gate fixer, maxFixAttempts budget, and owner escalation. A failed gate blocks the stage. 3. **qa-lead sign-off** — routedBreakpoint with the per-stage-unique crg.stage-exit.<stage> id. Payload schema:

``json { "question": "...", "stage": "<stage>", "traceDiff": { "coveredCount": 0, "uncovered": [], "orphanedTests": [], "regressions": [] }, "gateResult": { "passed": true, "attempts": 1, "escalated": false, "evidence": [] }, "artifacts": ["artifacts/crg/<stage>/trace-diff.json"] } ``

The payload is built from the executed gate result, so sign-off without traceability evidence is structurally impossible. 4. **Rejected sign-off throws** — stage boundaries are sequential; there is no skip-ahead path.

PHI provenance model

raises crg.phi-data-access-approval **before** any task receives PHI-derived data in its context.

recorded approval are raised; each approval records {breakpointEventId, breakpointId, purpose, requestingStage, datasets, approvedAt, respondedBy}.

(Cleanroom specs, crg.implement-component, the phi-provenance-critic).

  • requirePhiApproval(ctx, purpose, datasets, { requestingStage, phiApprovals })
  • Approvals are **per-dataset, never generalized**: only datasets with no
  • The provenance log is threaded into every downstream PHI task context
  • Rejection **throws**. The process invents no de-identified fallback path.

Inputs

InputTypeDefault
projectRequirementsstring**REQUIRED** — empty throws
phiComponentsstring[][] (hint only; crg.phi-classification is authoritative)
boundedContextsHintstring[][]
complianceStandardsstring[]['HIPAA Security Rule', 'HIPAA Privacy Rule']
kipDirstring.a5c/kip
kipModelstringsonnet
maxFixAttemptsnumber2

Outputs

{ success, srs, domainModel, formalSpecs, implementation, verification, traceabilityMatrices, stageSignoffs, deployment, metadata }

crg.production-deploy breakpoint is rejected — there is no fallback deploy path.

acceptance.

  • deployment is null and success is false whenever the
  • verification is keyed by level: unit / integration / system /
  • metadata.phiApprovals is the full PHI approval provenance log.

Usage

bash
babysitter run:create \
  --process library/methodologies/composition-regulated-greenfield/composition-regulated-greenfield.js \
  --input '{"projectRequirements": "Build a patient portal for a hospital system: appointment scheduling, medical-records access, secure messaging, billing. HIPAA Privacy + Security Rules apply.", "phiComponents": ["medical-records", "secure-messaging"]}'

Design notes

and PHI denials throw; a rejected deploy returns success:false with deployment:null; gate escalation is the combinator's owner breakpoint, never a silent pass.

(per-context tactical DDD, per-component Cleanroom spec/verify, per-component implementation, per-component/per-suite Stage-5 level runs); stage boundaries are strictly sequential — no speculative cross-stage scheduling.

fixImplementationTask, crg.fix-verification) run at most maxFixAttempts times, then escalate to an owner routedBreakpoint; owner rejection throws.

methodology-composition), kipAssert after stage 6 with composition, interface, pattern, and run-outcome facts.

the task id implementation at module-evaluation time (known library-wide shared-id issue). This composition uses neither module's implementation task (it has crg.implement-component), so it imports the two modules sequentially via top-level await import(...) and clears the inert colliding definition between them.

  • **No fallbacks**: missing projectRequirements throws; rejected sign-offs
  • **Parallelism boundaries**: ctx.parallel.all only *within* a stage
  • **Escalation semantics**: bounded fix loops (fixDesignTask,
  • **kip touchpoints**: kipRecall at stage 0 (kind
  • **Task-registry collision**: waterfall.js and v-model.js both register

Trail

Wiki

Library

Composition: Regulated Greenfield (V-Model + DDD + Cleanroom + Waterfall) (Library)

Continue reading

accessibility (Library)
Aerospace Engineering Specialization (Library)
AI Agents and Conversational AI Specialization (Library)
Algorithms and Optimization Specialization (Library)
Arts and Culture Specialization (Library)
ATDD/TDD Methodology (Library)
authoring (Library)
AutoMaker (Library)

Page record

Open node ledger

wiki/library/composition-regulated-greenfield.md

Documents

specialization:composition-regulated-greenfield