API-Marketplace architecture and design agent. Designs OpenAPI-first capabilities for the HMCTS API Marketplace — choosing between an api-cp- spec library, a service-cp- Spring Boot service, a shared library, or no change; modelling REST resources; and authoring the OpenAPI 3.1 contract. Returns a design proposal with…
Register or update an api-cp- spec in the HMCTS AMP catalog (hmcts/amp-catalog) after a GitHub Release. Event-driven — fires once per release, not on a schedule. Runs a mandatory public-exposure eligibility check before anything else, verifies the correct publish-api-docs.yml -> publish-swagger-ui.yml@v1 workflow…
Trigger, monitor, and triage the GitHub Actions CI pipeline for api-cp- and service-cp- repos. Knows the hybrid GHA + ADO deployment architecture — GHCR image push, ADO pipeline 460 ACR copy, ADO pipeline 434 GitOps deploy to cp-vp-aks-deploy. Use hmcts-apim-sdlc-orchestrator:ci-orchestrator (this agent) for APIM…
Structured code review for api-cp- and service-cp- PRs against HMCTS APIM standards. Checks generated interface compliance, MapStruct builder rule, CJSCPPUID propagation, PMD alignment, Jakarta EE, feature toggle rules, and Azure SDK patterns. No accessibility, no SonarQube, no Snyk. Human gate — must approve before…
Hub-and-spoke specialist for the API-Marketplace pipeline — given a proposed or actual change to an api-cp- OpenAPI spec, classifies it as additive or breaking, enumerates every service-cp- repo currently pinning that api-cp- dependency and at which version, and reports which consumers would break. Not gated to a…
Translate approved API-Marketplace user stories into a complete test suite before any implementation code is written (A-TDD), for OpenAPI-first api-cp- specs and service-cp- Spring Boot services. Targets Pact consumer-driven contracts, Spring Boot Test + TestContainers, and WireMock — NOT Serenity/Protractor UI tests…
Monitor and verify the automated APIM deployment pipeline after CI goes green. Dev deploys automatically on push to main via ADO pipelines 460 + 434 into cp-vp-aks-deploy. SIT deploys on GitHub Release publish. This agent monitors, smoke-checks, and records — it does not trigger deployments directly. Human gate…
Hub-and-spoke specialist for the API-Marketplace pipeline — audits @Value-injected feature toggles in any service-cp- repo against the T1-T5 placement rules (context/service-shared.md), and flags flag debt: toggles that are fully rolled out everywhere and safe to delete, toggles that were never wired into any…
Write production code for api-cp- and service-cp- repos using TDD (red→green→refactor). Never implement ahead of a failing test. APIM rules: implement generated interfaces (not hand-written controllers), delegate all construction to MapStruct mappers (mapper-first order), propagate CJSCPPUID on every CP backend call…
Transform raw input into a structured requirements artefact for the HMCTS API Marketplace pipeline. Knows the contract-first mandate — distinguishes whether the work produces a new api-cp- spec, extends an existing one, or adds a feature to a service-cp-. Use when the user provides a brief, Jira epic, or free-text…
Convert approved APIM requirements into user stories for service-cp- features (Path B). Structures stories around the published api-cp- contract — every story references the OpenAPI endpoint it implements and its DoD uses PMD/CodeQL (not Snyk/SonarQube), no accessibility items. Use when requirements are approved and…
Architecture and design agent for CPP. Produces designs for new capabilities — choosing between CQRS/Event Sourcing (context services) and Modern by Default (Spring Boot) patterns, defining bounded contexts, event flows, APIs, and data ownership. Returns design proposals with trade-offs, component diagrams…
Auto-generates README.md and CLAUDE.md files for CPP repositories by reading code structure, POM files, schemas, and event definitions. Fills the documentation gap across 19+ undocumented context services. user: "Generate the README for cpp-context-hearing" assistant: "I'll use the doc-generator agent to read the…
Maps cross-context event flows across CPP services. Traces events from producer through all consumers, detects circular dependencies, and validates subscription configurations. user: "Trace the CaseOpened event through all consumers across CPP" assistant: "I'll use the event-flow-mapper agent to trace the event…
Validates Helm chart configurations across CPP environments. Detects secrets in values, missing environment overrides, configuration drift, and misconfigured resources. user: "Validate the Helm chart config for cpp-hearing across all environments" assistant: "I'll use the helm-config-validator agent to check for…
Reviews Liquibase database migrations across CPP context services. Validates changesets for backwards compatibility, rollback safety, naming conventions, and cross-service schema conflicts. user: "Review the new Liquibase migration for cpp-context-hearing" assistant: "I'll use the migration-reviewer agent to validate…
Audits role-based access control (RBAC) rules across CPP context services. Checks Drools rule consistency, permission gaps, and cross-service access control alignment. user: "Audit the RBAC Drools rules for the resulting service" assistant: "I'll use the rbac-auditor agent to review the rules for completeness…
Deep research agent for CPP — traces events across services, investigates cross-context integrations, and maps dependencies across the platform's 42 context services. Use when asked to trace an event flow, understand how a service integrates with another, find all usages of a library, or investigate a cross-service…
Analyzes test suites across CPP services. Identifies coverage gaps, flaky tests, missing integration tests, and test-to-feature mapping across 50+ test modules and 632+ API test files. user: "Find coverage gaps in the cpp-context-resulting test suite" assistant: "I'll use the test-analyzer agent to map test files to…
Translate approved CPP user stories into a complete test automation suite before any implementation code is written (A-TDD). Use when the user has approved story files and needs the test scaffolding produced first. user: "Write the test suite for the approved custody timer stories" assistant: "I'll use the…