feat: Phase 4 - End Node Template Engine (v0.9n)
Backend:
- workflow_models.py: EndNodeOutputMode enum (AUTO, TEMPLATE)
- workflow_executor.py: execute_end_node() with Jinja2 rendering
- Template Context: {{node_id.analysis_core}}, {{node_id.decision_signals.key}}
- Conditional Rendering: {% if node_id %} for optional paths
- AUTO Mode: Backward compatible (concatenates all analyses)
- TEMPLATE Mode: Custom Jinja2 templates with placeholders
Features:
- Access node results: {{node_id.analysis_core}}
- Access signals: {{node_id.decision_signals.relevanz}}
- Optional paths: {% if node_id %}...{% endif %}
- Default values: {{node_id|default("N/A")}}
Version: 0.9n
Module: workflow 0.6.0
Konzept: konzept_workflow_engine_konsolidated.md (Section 11)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
cab5758b0d
commit
b888f5d3c8
3 files changed
+161
-8
No files matched your search
+16
-3
@@ -7,8 +7,8 @@ Semantic Versioning: MAJOR.MINOR.PATCH
|
||||
- PATCH: Bugfix, kleine Änderung, Refactor
|
||||
"""
|
||||
|
||||
APP_VERSION = "0.9m"
|
||||
BUILD_DATE = "2026-04-04"
|
||||
APP_VERSION = "0.9n"
|
||||
BUILD_DATE = "2026-04-05"
|
||||
DB_SCHEMA_VERSION = "20260403" # Migration 034
|
||||
|
||||
MODULE_VERSIONS = {
|
||||
@@ -27,10 +27,23 @@ MODULE_VERSIONS = {
|
||||
"exportdata": "1.1.0",
|
||||
"importdata": "1.0.0",
|
||||
"membership": "2.1.0",
|
||||
"workflow": "0.5.0", # Phase 4: Join Nodes + Path Consolidation
|
||||
"workflow": "0.6.0", # Phase 4: End Node Template Engine
|
||||
}
|
||||
|
||||
CHANGELOG = [
|
||||
{
|
||||
"version": "0.9n",
|
||||
"date": "2026-04-05",
|
||||
"changes": [
|
||||
"Phase 4: End Node Template Engine",
|
||||
"workflow_models.py: EndNodeOutputMode enum (AUTO, TEMPLATE)",
|
||||
"workflow_executor.py: execute_end_node() with Jinja2 template rendering",
|
||||
"Template Context: {{node_id.analysis_core}}, {{node_id.decision_signals.key}}",
|
||||
"Conditional Rendering: {% if node_id %} for optional paths",
|
||||
"AUTO Mode: Backward compatible concatenation of all analyses",
|
||||
"TEMPLATE Mode: Custom Jinja2 templates with placeholder support",
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "0.9m",
|
||||
"date": "2026-04-04",
|
||||
|
||||
Reference in new issue
Block a user