GitHubGitHub Stars
v0.3.x2 releases
v0.3.12026-10-23

Correct MCP server version, restructured docs

A patch release: the MCP server now reports the real project version, and the README is a short entry page with the detailed guides moved into the repository's docs directory.

Fixes

  • The MCP serverInfo.version now reports the project version instead of a hard-coded 0.1.0

Documentation

  • The README is now a short entry page (874 to 182 lines); the detailed guides live under docs/ in the repository

No other functional changes. 423 Kotest test cases (up from 422). No published artifact yet — this tag is source-only.

v0.3.02026-10-23

Physical contradictions, twelve MCP tools, renderer fixes

kTRIZ now models physical contradictions with the four classical separation principles. The MCP server grows to twelve tools, including SVG rendering and the 76-solution lookup, and the function-model renderer avoids label collisions.

Physical contradictions

  • New package dev.ktriz.physical: PhysicalContradiction with a physicalContradiction { } DSL (element, property, two states with optional reasons, optional declared separation) and the SeparationPrinciple enum — the four classical separation principles, not the Mann/CREAX set
  • Deliberately no mapping from separation principles to the 40 inventive principles: only one freely available source was found, below kTRIZ’s two-independent-sources rule (see the provenance document in the repository)
  • dev.ktriz.physical.* is now a default import in .ktriz.kts scripts

MCP server (now twelve tools)

  • build_physical_contradiction (validation plus Kotlin snippet) and list_separation_principles
  • render_su_field_svg and render_function_model_svg: render a validated Su-Field triangle or function model as SVG, with limits (60 components, 150 edges, a 10 s deadline, at most 2 concurrent renders, a 2,000,000-character output cap) and structured errors such as render_timeout and render_busy
  • lookup_standard_solution: the 76 standard solutions by code, by class, or all at once — the texts already shipped in StandardSolution; there is still no bridge from a SuField to a solution
  • ktriz-mcp now depends on ktriz-render-kuml, so the distribution grows

Renderer fixes

  • FunctionModel.renderSvg() places edge-verb labels with a greedy 2D collision-avoidance search instead of a fixed vertical stagger; a verb that still cannot avoid overlap is truncated with an ellipsis (full text kept in a tooltip)
  • Bow and self-loop spacing is adaptive instead of hard-clamped, so large edge groups no longer collapse onto the same offset

Not built, on purpose

  • A guided ARIZ workflow: sources disagree on the step level and the licence is unclear (see docs/ariz-provenance.adoc in the repository)
  • A bridge from SuField to a specific standard solution

422 Kotest test cases (up from 339). No published artifact yet — this tag is source-only.

v0.2.x1 release
v0.2.02026-09-06

Substance-field modeling completed, first CI pipeline

The Su-Field (substance-field) DSL is now complete end to end: all 76 classical standard solutions, triangle SVG rendering, and three new MCP tools. Plus kTRIZ's first GitHub Actions CI pipeline.

Substance-field models

  • StandardSolutionClass — the 5 classical groups the 76 standard solutions fall into (13/23/6/17/17), sourced from MATRIZ’s CC-licensed classification
  • StandardSolution — all 76 individual classical standard solutions, each with its classical dot-numbered code (e.g. "1.1.1"), owning class, and a short “what to do” statement, looked up via StandardSolution.ofCode(...). Transcribed from a 5-part TRIZ Journal article series (Terninko, Domb & Miller, 2000) — a single authorial voice, not a majority-reconciled compilation like the contradiction matrix; not yet exposed as its own MCP tool
  • SuField.renderSvg() — the classical S1-S2-field triangle as a standalone SVG document, fixed deterministic geometry, reusing FunctionModel’s stroke vocabulary for consistency

AI tooling

  • Three new MCP tools, mirroring the existing build_function_model pattern: build_su_field (returns a ready-to-use Kotlin snippet on success), list_field_types, and list_standard_solution_classes

Project infrastructure

  • kTRIZ’s first CI pipeline: GitHub Actions runs ./gradlew clean check on every push and PR to master

339 Kotest test cases (up from 266). No published artifact yet — this tag is source-only.

v0.1.x1 release
v0.1.02026-09-02

First tagged snapshot — the full core toolchain

Everything already on master gets a stable, citable tag: the contradiction spine with the full license-cleared 39x39 matrix, function models with SVG rendering, an MCP server, a scripting host, and the first wave of the substance-field (Su-Field) DSL.

Contradiction spine

  • All 39 classical engineering parameters and all 40 classical inventive principles as Kotlin enum classes — existence is compiler-enforced, not a runtime check
  • Contradiction + the contradiction { } factory, with a runtime well-formedness check
  • The full classical 39x39 contradiction matrix (1248 cells), reconciled from four independent free sources under a documented majority rule
  • A pluggable matrix-source seam (ContradictionMatrixSource.fromFile, the ktriz.matrix.file system property) for holders of a licensed alternative matrix

Function models

  • functionModel { } — components and edges judged useful/harmful/insufficient/excessive
  • FunctionModel.renderSvg() — font-metrics node sizing, arrowheads, bowed multi-edges with staggered labels, fixed-radius self-loops, via kUML’s layout engine only

Substance-field models

  • suField { } — the S1-S2-field triangle, the six classical field types, a five-way completeness/quality judgement. Core model only; the 76 standard solutions and SVG rendering of the triangle are separate, later waves.

AI tooling

  • An MCP server (ktriz mcp) exposing parameters, principles, the matrix lookup, and function-model construction as tools over stdio
  • A *.ktriz.kts scripting host (ktriz run) that turns every compile or runtime error into a structured, stable repair-signal code instead of a raw stack trace

266 Kotest test cases. No published artifact yet — this tag is source-only.