Skip to content

v0.2.0

Latest

Choose a tag to compare

@betschwa betschwa released this 06 Sep 13:17
· 19 commits to master since this release
2cb2733

== v0.2.0 -- 2026-09-06

=== Substance-field models

  • StandardSolutionClass (module ktriz-core) enumerates the 5 classical
    groups the 76 standard inventive solutions fall into (13/23/6/17/17), each
    with an English/German label, description and solutionCount. Sourced
    from the MATRIZ wiki's CC-licensed classification -- a stable, low-detail
    primary source found after two weaker full-76-text candidates were
    researched and rejected (see docs/standard-solutions-provenance.adoc).
  • StandardSolution (module ktriz-core) enumerates the 76 individual
    classical TRIZ standard solutions -- classical dot-numbered code (e.g.
    "1.1.1"), owning StandardSolutionClass, and a short English "what to
    do" statement per solution -- with an ofCode(code) lookup. Transcribed
    from a single 5-part TRIZ Journal article series (Terninko, Domb & Miller,
    2000), not a majority-reconciled compilation like the contradiction
    matrix; see docs/standard-solutions-provenance.adoc for the full
    sourcing record and caveats (including the 5.1.1 numbering anomaly).
    As with StandardSolutionClass, there is deliberately no bridge function
    from a SuField/SuFieldQuality to a specific StandardSolution, and
    StandardSolution.ofCode(...) is not yet exposed as its own MCP tool.
  • SuField.renderSvg() (module ktriz-render-kuml) renders a suField { }
    model to a standalone SVG document: the classical S1-S2-Field triangle,
    F at the apex, S1 bottom-left, S2 bottom-right, action reading
    right-to-left from S2 into S1. Unlike FunctionModel.renderSvg(), this
    path never invokes kUML's ELK layout engine -- the triangle's geometry is
    fixed and deterministic, confirmed against two independent primary
    sources on classical Su-Field notation. SuFieldQuality reuses
    FunctionQuality's existing stroke vocabulary (solid/dashed/doubled/wavy)
    rather than inventing a second one, per MATRIZ's own statement that
    Su-Field interaction symbols mirror function-modeling symbols; an
    INCOMPLETE triangle draws no base line at all. FieldType gained a
    fourth field, abbreviation, carrying the classical subscript (Mec,
    Th, Ch, El, M, Gr) used in the printed F-symbol notation.
  • ktriz-script's default imports now also include dev.ktriz.sufield.*,
    so suField { } (and SuField.renderSvg(), via the existing
    dev.ktriz.render.kuml.* default import) are callable from a
    .ktriz.kts script with no explicit import, matching functionModel { }.
  • Hardened xmlEscapeText (module ktriz-render-kuml) to strip characters
    XML 1.0 forbids outright (control characters, unpaired surrogates) before
    escaping -- closes a latent defect shared by both SVG renderers where a
    component/substance name containing such a character produced an
    unparseable document.

=== AI tooling

  • Three new MCP tools in ktriz-mcp, mirroring the existing
    build_function_model pattern: build_su_field (validates through the
    same SuField construction logic as the DSL, and returns a ready-to-use
    suField { } Kotlin snippet in structuredContent on success),
    list_field_types and list_standard_solution_classes (few-shot
    catalogue tools). No render_su_field_svg MCP tool, for consistency with
    build_function_model -- rendering stays CLI-/script-only.

=== Project infrastructure

  • A GitHub Actions CI workflow (.github/workflows/ci.yml) runs
    ./gradlew clean check on every push/PR to master -- kTRIZ's first CI
    pipeline.