Backend: - DB-Migration 034: workflow_definitions, workflow_question_catalog, workflow_executions - ai_prompts.question_augmentations JSONB-Spalte (Hybridmodell: Prompt-Defaults) - 6 Grundtypen Fragenergänzungen mit Normalisierungsregeln (Seed-Daten) - Pydantic-Modelle (16 Models, 11 Enums) in workflow_models.py - Workflow-Engine: Graph-Parsing, Topologische Sortierung, DAG-Validierung - Dispatcher-Erweiterung type='workflow' (Stub für Phase 1-3) - Adjacency Lists, Erreichbarkeits-Prüfungen, Zyklen-Erkennung Testing: - 22 Unit-Tests (alle bestanden): Graph-Parsing, Validierung, Topologische Sortierung - Fixtures: simple_valid_graph, parallel_graph, branching_graph Version: - APP_VERSION 0.9i - DB_SCHEMA_VERSION 20260403 - Module: workflow 0.1.0 Anforderungsanalyse: .claude/task/Workflow_engine_prompting_engine/anforderungsanalyse_umsetzungsplan.md Konzept-Basis: .claude/task/Workflow_engine_prompting_engine/konzept_workflow_engine_konsolidated.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
57 lines
1.7 KiB
Python
57 lines
1.7 KiB
Python
"""
|
|
Application Version Information
|
|
|
|
Semantic Versioning: MAJOR.MINOR.PATCH
|
|
- MAJOR: Breaking Change, DB-Migration inkompatibel
|
|
- MINOR: Neues Feature, neues Modul
|
|
- PATCH: Bugfix, kleine Änderung, Refactor
|
|
"""
|
|
|
|
APP_VERSION = "0.9i"
|
|
BUILD_DATE = "2026-04-03"
|
|
DB_SCHEMA_VERSION = "20260403" # Migration 034
|
|
|
|
MODULE_VERSIONS = {
|
|
"auth": "1.2.0",
|
|
"profiles": "1.1.0",
|
|
"weight": "1.0.3",
|
|
"circumference": "1.0.1",
|
|
"caliper": "1.0.1",
|
|
"activity": "1.1.0",
|
|
"nutrition": "1.0.2",
|
|
"photos": "1.0.0",
|
|
"insights": "1.3.0",
|
|
"prompts": "1.1.0",
|
|
"admin": "1.2.0",
|
|
"stats": "1.0.1",
|
|
"exportdata": "1.1.0",
|
|
"importdata": "1.0.0",
|
|
"membership": "2.1.0",
|
|
"workflow": "0.1.0", # Phase 0: Foundation
|
|
}
|
|
|
|
CHANGELOG = [
|
|
{
|
|
"version": "0.9i",
|
|
"date": "2026-04-03",
|
|
"changes": [
|
|
"Phase 0: Workflow Engine Foundation",
|
|
"DB-Migration 034: workflow_definitions, workflow_question_catalog, workflow_executions",
|
|
"Pydantic-Modelle für Workflow-Graph (WorkflowGraph, Node, Edge, Condition)",
|
|
"Graph-Parsing, Topologische Sortierung, DAG-Validierung",
|
|
"Dispatcher-Erweiterung: type='workflow' (Stub-Implementierung)",
|
|
"Unit-Tests für Phase 0 (Graph-Parsing, Zyklen-Erkennung, Erreichbarkeit)",
|
|
]
|
|
},
|
|
{
|
|
"version": "0.9h+",
|
|
"date": "2026-03-28",
|
|
"changes": [
|
|
"Phase 0c: Multi-Layer Data Architecture Complete",
|
|
"Data Layer Migration (97 Funktionen in 6 Modulen)",
|
|
"20 neue Chart Endpoints (E1-E5, A1-A8, R1-R5, C1-C4)",
|
|
"Single Source of Truth für Datenberechnungen",
|
|
]
|
|
},
|
|
]
|