Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 16:55
· 90 commits to main since this release

AI collaboration: guardrails for coding agents in generated projects, actionable architecture reports, and use cases as MCP tools.

Added

  • Generated projects ship AGENTS.md and CLAUDE.md describing layers, conventions and the mvn verify gate for AI coding agents
  • Claude Code Skills in generated projects: ddk-add-aggregate, ddk-add-use-case and ddk-add-domain-event for the four-layer template, ddk-add-feature for the three-layer template
  • Generated projects include spring-boot-starter-webmvc-test for MockMvc tests
  • AGENTS.md and CLAUDE.md for contributors to DDK itself
  • ddk-mcp-starter: exposes application use cases as MCP tools on top of Spring AI 2.0, with streamable HTTP by default, Bean Validation on tool arguments, error-coded tool errors, hidden internals for unexpected exceptions and an audit log line per call
  • CommonArchRules.MCP_TOOLS_MUST_RESIDE_IN_ADAPTER keeps @McpTool methods in the adapter layer
  • The user example exposes register_user, get_user and disable_user as MCP tools
  • ArchGuard.check evaluates all architecture rules at once and writes target/archguard/violations.json and violations.md, each violation with its rule, class and a concrete fix; generated projects and the example use it

Changed

  • Generated projects and the example check architecture in one ArchitectureTest.architectureIsRespected() through ArchGuard.check, instead of one test per rule
  • The planned ddk-ai-starter is dropped: chat client configuration, structured output and token usage metrics are built into Spring AI 2.0

Fixed

  • scripts/ddk.sh installs X.Y.Z instead of the snapshot version when DDK_REF names a release tag such as v0.1.0