Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.2Wiki
Agentic AI Atlas · Composition: Legacy Modernization (Event Storming + DDD + FDD + Strangler Fig + RUP) (Library)
library/composition-legacy-modernizationa5c.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-legacy-modernization
I.
Wiki article

library/composition-legacy-modernization

Reading · 6 min

Composition: Legacy Modernization (Event Storming + DDD + FDD + Strangler Fig + RUP) (Library) reference

(library/methodologies/backlog.md, ~line 1954, previously marked "Not Implemented").

Page nodewiki/library/composition-legacy-modernization.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: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment) (Library)Composition: Regulated Greenfield (V-Model + DDD + Cleanroom + Waterfall) (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-legacy-modernization

Composition: Legacy Modernization (Event Storming + DDD + FDD + Strangler Fig + RUP)

**Provenance**: implements methodology backlog Example 4 "Legacy Banking System Modernization" (library/methodologies/backlog.md, ~line 1954, previously marked "Not Implemented"). Scenario: refactor a monolithic banking system to microservices (brownfield), with a zero-downtime requirement and irreversible legacy retirement steps that demand recorded approvals.

Why this composition

No single ingredient methodology suffices for a brownfield banking migration:

IngredientUnique contributionWhy it is not enough alone
**Event Storming**Discovery breadth — maps ALL domain events, hotspots, and pivotal events across the whole monolith fastProduces a timeline, not boundaries, delivery plans, or governance
**DDD strategic design**Boundary rigor — bounded contexts, context map, ubiquitous language, anti-corruption layers against the legacy modelAssumes discovery already happened; says nothing about delivery cadence or cutover risk
**FDD**Delivery cadence — per-context feature lists and design/build-by-feature loops that parallelize cleanlyFeature factories do not decide when it is safe to route production traffic
**Strangler Fig (inline)**Incremental risk containment — facade routing, executed old-vs-new parity, slice-at-a-time cutover, verified retirementA cutover pattern, not a discovery or modeling method
**RUP**Governance — phase-boundary go/no-go sign-offs (Inception/Elaboration/Construction/Transition) with accountable expertsGovernance without domain discovery or parity evidence is rubber-stamping

Ingredient handoff map

Ingredient tasks are imported and invoked **by name**; the clm.* tasks are this module's own glue and cutover machinery.

Producer stageArtifactConsumer stage
Event Storming (bigPictureStormingTask, processModelingTask)events timeline, hotspots, pivotal eventsclm.handoff.storm-to-contexts distills DDD-ready candidate subdomains
Storm handoffcandidate subdomains + hotspotsDDD (identifySubdomainsTask, defineBoundedContextsTask)
DDD (createContextMapTask, contextMappingTask, buildUbiquitousLanguageTask, identifyDomainEventsTask)bounded contexts + context mapclm.design.legacy-acl-plan (ACL per legacy touchpoint), FDD model scope, RUP defineArchitectureTask
FDD (developOverallModelTask, buildFeaturesListTask, planByFeatureTask)per-context feature plansclm.handoff.features-to-slices derives ordered cutover sliceSpecs[]
FDD (designByFeatureTask, buildByFeatureTask) + clm.build.context-verificationverified context builds (executed evidence)Construction sign-off, then the P5 slice loop
clm.parity.execute-comparison + adversarial parity gateexecuted old-vs-new parity reportcutover-slice-approval.<sliceId> and legacy-decommission.<sliceId> approvals
All phase boundariesphase payloads (vision, gates, evidence)RUP sign-offs (createVisionDocumentTask, createBusinessCaseTask, assessRisksTask, defineArchitectureTask, refineProjectPlanTask feed the payloads)

Strangler Fig is modeled inline

There is **no** strangler-fig ingredient directory in this library, and this module never references one. The Strangler Fig pattern lives entirely in this module's own tasks:

  • clm.cutover.prepare-routing — facade routing seam, shadow-capable, legacy path untouched
  • clm.parity.execute-comparison — EXECUTED old-vs-new comparison checks (parity report artifact)
  • clm.cutover.execute — guarded routing flip (approval provenance recorded)
  • clm.cutover.post-verification — executed smoke/invariant re-checks against live routing
  • clm.decommission.execute — guarded legacy retirement with post-removal regression run

Phase walkthrough (P0–P6)

successes/failures, strangler cutover lessons (kind methodology-composition). Threaded into every later task.

big-picture storming and process modeling over the legacy system; storm-to-contexts handoff. Gate: phase-gate-signoff.inception.

ubiquitous language + domain events; ACL plan per context; architecture + plan baseline. Adversarial gate clm.context-map-review, then phase-gate-signoff.elaboration.

features-to-slices handoff derives risk-ascending sliceSpecs[] (each with EXECUTABLE comparison checks — a slice without them is invalid and the process throws).

maxParallelContexts. Contexts are independent by construction (P2 gate enforced single ownership), so branches share no state. **Orchestrator note**: do not co-schedule P5 slices against unresolved P4 branches — compose slice inputs only from settled build results. Gate: phase-gate-signoff.construction with per-context executed verification evidence.

routing seam → executed parity comparison → adversarial parity gate → cutover approval → guarded cutover → post-verification → decommission approval → guarded decommission. Any rejection or failed verification halts the loop with an explicit halt record.

phase-gate-signoff.transition, then kip assert of handoff/parity/ordering lessons.

  • **P0 — kip recall**: composition-pattern facts, ingredient interface shapes, prior handoff
  • **P1 — RUP Inception + big-picture discovery**: vision, business case, risk assessment;
  • **P2 — DDD strategic design (Elaboration)**: subdomains → bounded contexts → context map →
  • **P3 — FDD feature decomposition**: sequential per-context model/feature-list/plan; the
  • **P4 — parallel context builds (Construction)**: ctx.parallel.all over contexts, chunked by
  • **P5 — strictly sequential cutover slices**: a plain for...of — never parallel. Per slice:
  • **P6 — Transition close-out**: modernization report (completed AND halted slices, first-class),

**Parallel/sequential contract**: context builds run in parallel (bounded), cutover slices run strictly sequentially with executed verification between each slice.

Policy-gated actions

Enumerated in the module JSDoc @policyGatedActions block so adapters/policy YAML gating can be generated from it.

actionIdExpertbreakpointId patternGuarded executor
cutover-slice-approvalmodernization-leadcutover-slice-approval.<sliceId> (per-slice-unique)clm.cutover.execute runs only when result.approved === true; approval provenance (breakpointId, approved, autoApproved) recorded in its output
legacy-decommissionmodernization-leadlegacy-decommission.<sliceId> (per-slice-unique)clm.decommission.execute — **decommission never auto-executes**; an unapproved decommission is a halt, not a skip
phase-gate-signoffprogram-sponsor`phase-gate-signoff.<inception\elaboration\

None of these carry autoApproveAfterN — production-traffic, irreversible-retirement, and go/no-go decisions stay accountable.

Adversarial parity gate

Per slice, clm.parity.<sliceId> (via the shared adversarialGate combinator) reviews the executed parity report with two independent critics:

diffs are real, complete, and reproducible; executed old-vs-new evidence is mandatory.

idempotency, audit trail) covered by executed checks.

  • **parity-critic** — re-executes a sample of comparison checks itself and verifies the report's
  • **risk-critic** — divergence severity, rollback readiness, banking invariants (balances,

Iron law: every claim needs an EXECUTED check output (file:line citations plus re-run outputs); a parity report whose checks were not actually executed is an automatic FAIL. A passed: true verdict with empty evidence is coerced to a protocol failure by the combinator. Fix loop: maxFixAttempts (default 2) with the built-in gate fixer, then escalation to a routed owner breakpoint; on escalation-reject the slice **halts** — no cutover approval is ever raised. Ordering guarantee: the parity gate must pass (or be owner-approved) **before** cutover-slice-approval.<sliceId> is raised.

Inputs and usage

InputTypeDefaultMeaning
systemNamestring— (required)Legacy system name, e.g. core-banking
legacyDescriptionstring— (required)Monolith overview, tech stack, constraints
domainExpertsstring[][]Storming participants
zeroDowntimeRequiredbooleantrueCutover downtime constraint
maxParallelContextsnumber3Context-build chunk size
maxFixAttemptsnumber2Adversarial-gate fix budget
kipDirstring.a5c/kipkip store directory
kipModelstringsonnetModel for structured kip paths
bash
babysitter run:create \
  --process methodologies/composition-legacy-modernization/composition-legacy-modernization.js#process \
  --inputs '{
    "systemName": "core-banking",
    "legacyDescription": "COBOL+Java monolith: accounts, payments, loans, fraud; Oracle DB; zero-downtime SLA",
    "domainExperts": ["ops-lead", "payments-sme", "loans-sme"],
    "zeroDowntimeRequired": true
  }'

Design rules

parity checks are hard halts/failures — never defaulted, skipped, or silently continued. Guarded executors additionally refuse to build without approved === true provenance.

../../specializations/common-utilities/routed-gate-combinators.js (routedBreakpoint, adversarialGate, kipRecall, kipAssert) — kip calls override the combinators' default kind with methodology-composition and take kipModel from inputs (default sonnet).

kind: 'agent' and a mandatory evidence array (minItems: 1) in its output schema.

  • **No fallbacks.** Missing slice comparisonChecks, unapproved breakpoints, and unexecuted
  • **Combinator reuse.** Routing metadata, adversarial gates, and kip checkpoints come from
  • **Agent-only tasks.** Every clm.* task is a Style-A defineTask factory with

Trail

Wiki

Library

Composition: Legacy Modernization (Event Storming + DDD + FDD + Strangler Fig + RUP) (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-legacy-modernization.md

Documents

specialization:composition-legacy-modernization