Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.2Wiki
Agentic AI Atlas · Composition: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment) (Library)
library/composition-open-source-data-validationa5c.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-open-source-data-validation
I.
Wiki article

library/composition-open-source-data-validation

Reading · 7 min

Composition: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment) (Library) reference

Implements methodology backlog Example 7 (community-driven, greenfield data-validation

Page nodewiki/library/composition-open-source-data-validation.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: 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-open-source-data-validation

Composition: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment)

Implements methodology backlog **Example 7** (community-driven, greenfield data-validation library). See ../backlog.md (~line 2291): "Open Source Library — Data Validation Framework" (previously **📝 Not Implemented**). Completes all seven backlog compositions.

Why this composition

A public, community-driven validation library has to reconcile five concerns at once: community demand, executable acceptance, test-first correctness, contributor flow, and safe releases.

MethodologyWhat it contributesSeam artifact
**BDD (Specification by Example)**Gherkin acceptance scenarios per validation behavior (valid + invalid + explicit error message), one .feature per rulethe **scenario set**
**TDD**Each rule implemented red-green-refactor directly from its scenarios; every test annotated with its scenarioIdthe **rule -> scenario -> test map**
**Kanban**Community contribution flow: Backlog -> In Progress -> Review -> Done, labels (bug/feature/documentation/good-first-issue), **no WIP limit** (contributor availability is bursty)the **board + flow metrics**
**XP**Collective ownership, coding standards (lint/format), simple design, continuous integration, small releasesthe **CI-green merge candidate**
**Continuous Deployment**Stage-promoted pipeline to a public package registry, dry-run firstthe **verified pipeline**

The seam this composition exists to encode: **community signals -> RFC -> BDD scenarios -> TDD/XP implementation on a Kanban board -> executed suite -> CD pipeline -> versioned release -> community announcement.**

Inline Continuous Deployment (no `continuous-deployment/` dir)

There is **no** library/methodologies/continuous-deployment/ directory. Per the batch-3 **strangler-fig inline-ingredient precedent** (../composition-legacy-modernization/ models the Strangler Fig cutover inline via clm.cutover.* rather than importing a nonexistent dir), the Continuous Deployment ingredient is modeled **inline** here: a frozen ordered PIPELINE_STAGES list borrowing the **stage-promotion** semantics of `../../specializations/release-engineering/release-lifecycle.js` (frozen ordered stages, entry-gated promotion, executed per-stage verification). The module **never references a nonexistent continuous-deployment path and never falls back.**

Frozen stages (a pipelineStagesOverride must be a strict **prefix-ordered subset**; an unknown stage **throws**):

Code
ci -> build -> publish-dry-run -> docs-deploy-dry-run

publish-dry-run packs the tarball and resolves the version **without** a real publish — the real publish is the separate policy-gated cod.package-publish executor, never a pipeline stage. Internal stage promotions are orchestrator-driven; the only human policy gates are the three below.

Phase chain (P0..P9)

Code
P0 kip recall (methodology-composition)
P1 cod.requirements-intake -> cod.rfc-authoring                         (community RFC)
P2 ctx.parallel: cod.bdd-scenario-authoring per rule                    -> GATE cod.bdd-scenarios
P3 ctx.parallel: cod.contribution-triage + cod.tdd-implement-rule       (Kanban + TDD/XP)
   -> cod.ci-check (aggregate) -> parallel cod.contribution-review
P4 cod.test-suite-execution (executes both suites)                      -> GATE cod.executed-suite
P5 iterate PIPELINE_STAGES -> cod.cd-pipeline-stage; cod.semver-analysis-> GATE cod.cd-readiness
P6 [bump==major] routedBreakpoint breaking-change-release (reject=>stop)
   -> routedBreakpoint package-publish-approval -> cod.package-publish   (guarded)
P7 cod.changelog-generation                                            (changelog + living docs)
P8 cod.release-announcement-draft -> routedBreakpoint community-announcement-send
   -> cod.announcement-send                                             (guarded)
P9 cod.retrospective -> kip assert (composition-seam + open-source-release facts)

Policy-gated actions

Action / breakpointIdExpertWhen raisedExecutor guard
breaking-change-releaseproject-maintainer**only** when semver.bump === 'major'rejection blocks the publish path entirely (explicit stop)
package-publish-approvalproject-maintainerafter cd-readiness gate passed and (bump !== 'major' or breaking-change approved)cod.package-publish runs ONLY inside if (approved === true)
community-announcement-sendcommunity-managerafter a successful publishcod.announcement-send runs ONLY inside if (approved === true)

All three are raised via routedBreakpoint with breakpointId = actionId, tags ['policy-gated', 'cod', <phase-tag>], strategy single, and **no** autoApproveAfterN — the process never auto-approves a policy gate. Provenance { approved, autoApproved, breakpointId, expert, response } is always recorded (autoApproved reflects response?.autoApproved === true set by an external rule — a fail-closed surfacing). Ready for adapters/policy YAML gating on the policy-gated tag.

Executed-evidence gate contract

Three adversarial seam gates (via adversarialGate) **re-execute** their artifacts — they never read-only review:

Gate gateIdSeamCritics re-execute
cod.bdd-scenariosrequirements -> BDDparse/dry-run every .feature; every rule needs >=1 valid + >=1 invalid scenario
cod.executed-suiteBDD/TDD/XP -> CDre-run BOTH suites; every rule maps to an EXECUTED passing test; a skipped/todo mapping is a FAIL
cod.cd-readinessCD pipeline -> releaserun a full pipeline dry-run + re-derive the semver bump from the actual API diff

Each gate's critics are independent agents fanned out in parallel by the combinator (none is the producing agent, none sees another's verdict); evidence is mandatory (a passed:true with empty evidence is coerced to a protocol failure); a bounded fix loop (maxFixAttempts, built-in fixer) runs between rounds; exhaustion escalates via the combinator-owned <gateId>.gate-escalation breakpoint to owner. Any failed gate returns success: false and stops the chain before the next phase.

Inputs

Code
{
  libraryName: string (required),
  libraryDescription: string (required),
  validationRules?: [{ ruleId, title, description, priority?, votes?, parallelSafe?, dependsOn? }],
  communitySignals?: string,        // at least one of validationRules / communitySignals required
  contributions?: [{ contributionId, kind: 'feature'|'bug'|'documentation', ruleRef?, summary, parallelSafe?, dependsOn? }],
  currentVersion?: string (default '0.0.0'),
  registry?: string (default 'npm'),
  pipelineStagesOverride?: string[]|null (default null — strict prefix-ordered subset; unknown stage THROWS),
  maxFixAttempts?: number (default 2),
  kipEnabled?: boolean (default true),
  kipDir?: string (default '.a5c/kip'),
  kipModel?: string (default 'sonnet')
}

Outputs

Code
{
  success: boolean,               // true iff every gate passed AND (bump!='major' || breaking approved)
                                  //   AND publish approved AND published === true
  rfc: { rfcPath, prioritizedRules, accepted },
  scenarios: [{ ruleId, featurePath, scenarioCount }],
  bddGate: { passed, attempts, escalated, issues, evidence },
  board: { columns, cards: [{ contributionId, column, labels }], flowMetrics },
  implementations: [{ ruleId, summary, filesChanged, scenarioTestMap }],
  reviews: [{ contributionId, approved, reviewer, findings }],
  suiteGate: { passed, attempts, escalated, issues, evidence },
  cdPipeline: { stages: [{ stage, gate, verified, dryRun, evidenceRef }], readinessGate },
  semver: { bump, breaking, apiDiffPath, rationale },
  breakingChange: { raised, approved, autoApproved, breakpointId, expert, response } | null,
  publish: { approved, autoApproved, breakpointId, expert, published, version, registry, artifacts, response },
  release: { changelogPath, docsPath, version, livingDocs },
  announcement: { approved, autoApproved, breakpointId, expert, sent, channels, response } | null,
  retro: { wentWell, couldImprove, actions },
  kipFactsAsserted: number,
  artifacts: array,
  metadata: { processId, runId, breakpointsHit, pipeline: { stages, dryRun: true } }
}

Parallelism

rule implementations concurrently; dependent rules are then awaited in dependsOn order (orderByDependencies, cycle **throws**) — never speculatively co-scheduled. Contribution reviews run in parallel afterward (they depend on triaged contributions).

verified === true (deliberately not parallel).

  • **P2**: ctx.parallel.all authors BDD scenarios concurrently, one thunk per prioritized rule.
  • **P3**: a single ctx.parallel.all fans out contribution triage **and** the parallelSafe
  • **P5**: pipeline stages are **sequential** — promotion requires the prior stage

Usage

js
const result = await orchestrate('methodologies/composition-open-source-data-validation', {
  libraryName: 'valides',
  libraryDescription: 'A schema-first data validation framework for JavaScript',
  communitySignals: 'Users want async validators and clearer error messages (#12, #34).',
  currentVersion: '1.2.0',
  contributions: [
    { contributionId: 'PR-101', kind: 'feature', ruleRef: 'rule-async', summary: 'Async validator support' },
  ],
});

Composed modules

task constants are not exported, so this composition defines its own cod.* tasks mirroring those phase semantics rather than importing constants)

gherkin-formulation / execute-tests semantics

semantics and the XP constraints

`../../specializations/release-engineering/release-lifecycle.js` stage-promotion semantics

  • `../tdd.js` — red-green-refactor loop (a **file**, exporting only process; its
  • `../bdd-specification-by-example/` — discovery-workshop /
  • `../kanban/` — pull-system / flow-metrics semantics
  • `../extreme-programming/` — continuous-integration / refactoring
  • Continuous Deployment: **inline** (no continuous-deployment/ dir), borrowing

Combinators come from `../../specializations/common-utilities/routed-gate-combinators.js` (routedBreakpoint, adversarialGate, kipRecall, kipAssert).

Design rules honored

performed BY agents who paste executed output as evidence.

dependency cycle throws; a malformed currentVersion throws; a failed gate, a rejected breaking-change, and a rejected/failed publish each return an explicit success: false shape.

approved === true branch; the breaking-change gate is a hard precondition on publish when the bump is major.

RFC acceptance and internal stage promotions are orchestrator decisions.

required open-source-release facts.

  • **No shell subtasks**: every cod.* task is kind: 'agent'; suite/lint/pipeline execution is
  • **No fallbacks**: invalid inputs throw; an unknown pipeline-stage override throws; a rule
  • **Guarded executors**: cod.package-publish and cod.announcement-send run ONLY inside an
  • **Sparse breakpoints**: exactly the three policy gates plus combinator-owned gate escalations;
  • **kip symmetry**: recall at start, assert at end (methodology-composition kind), emitting the

Trail

Wiki

Library

Composition: Open Source Data-Validation Framework (TDD + BDD + Kanban + XP + Continuous Deployment) (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-open-source-data-validation.md

Documents

specialization:composition-open-source-data-validation