iiRecord
Agentic AI Atlas · Composable TDD triplet component providing a factory for the three canonical
lib-process:shared--tdd-tripleta5c.ai
II.
LibraryProcess JSON

lib-process:shared--tdd-triplet

Structured · live

Composable TDD triplet component providing a factory for the three canonical json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · generated-library/processes.yamlCluster · generated-library
Record JSON
{
  "id": "lib-process:shared--tdd-triplet",
  "_kind": "LibraryProcess",
  "_file": "generated-library/processes.yaml",
  "_cluster": "generated-library",
  "attributes": {
    "displayName": "Composable TDD triplet component providing a factory for the three canonical",
    "description": "Composable TDD triplet component providing a factory for the three canonical\nTDD phases: write tests, run tests, validate results. Designed for injection into\nconvergence and quality-gate processes that require a repeatable red-green-validate cycle.",
    "libraryPath": "library/processes/shared/tdd-triplet.js",
    "example": "```js\nimport { createTddTriplet, executeTddTriplet } from './tdd-triplet.js';\nexport async function process(inputs, ctx) {\n  const result = await executeTddTriplet(ctx, {\n    name: 'phase-4-cost-aggregation',\n    writeTests: {\n      prompt: 'Write unit tests for the cost aggregation module.',\n      targetPath: 'tests/cost-aggregation.test.ts',\n      context: { moduleUnderTest: 'src/cost-aggregation.ts' },\n    },\n    runTests: {\n      command: 'npm test -- --grep cost-aggregation',\n      timeout: 90000,\n    },\n    validate: {\n      expectAllPass: true,\n      minCoverage: 80,\n      customChecks: ['All edge cases for zero-cost inputs are covered'],\n    },\n    retryPolicy: {\n      maxRetries: 2,\n      retryableExitCodes: [1],\n    },\n  }, { feature: 'cost-aggregation' });\n  return { success: result.passed, ...result };\n}\n```",
    "usesAgents": [
      "test-writer",
      "test-validator"
    ]
  },
  "outgoingEdges": [
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "skill-area:code-review-practice",
      "kind": "lib_requires_skill_area",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "skill-area:e2e-testing",
      "kind": "lib_requires_skill_area",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "topic:test-driven-development",
      "kind": "lib_covers_topic",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "topic:code-review-best-practices",
      "kind": "lib_covers_topic",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "domain:software-engineering",
      "kind": "lib_applies_to_domain",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "role:backend-engineer",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "role:tech-lead",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "role:qa-engineer",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 0.5
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "workflow:code-review",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "workflow:feature-development",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--tdd-triplet",
      "to": "workflow:release-management",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 0.5
      }
    }
  ],
  "incomingEdges": []
}