100 Commits
Author SHA1 Message Date
grok-botandCommandCodeBot 70f191c0c0 docs: EBM+-Soll/Ist-Korrelation – Prüfkomplexe, Soll-Prüfprogramm, GOP-Katalog
CI / ubuntu-latest · Clang · C++17 (push) Successful in 20m50s
Code Quality / cppcheck (push) Successful in 30s
- abarbeitung-komplexe.md: Zerlegung der Regelkette 201011 (3056 Regeln)
  in 18 Prüfkomplexe (K1–K18) mit Zuordnung zu EBM+ Teil I
- abarbeitung-ebmplus-soll.md: Soll-Prüfprogramm EBM+ (Q3/2026) mit
  Coverage-Raster (abgedeckt/teilweise/Lücke) und P0–P10-Reihenfolge
- korrelation-gop-katalog.md: Prämbeln der Teile II–VIII auf 8 Regeltypen
  abgebildet
- index.md/korrelation-projekt-ebmplus.md: Verweise ergänzt
- taste.md: Konfiguration aktualisiert

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-08-27 22:01:36 +02:00
grok-bot 52ee6aebb5 docs: korreliere EBM+-Regelungen mit der RW-Realisierung (Symbol-Ebene)
CI / ubuntu-latest · Clang · C++17 (push) Successful in 18m12s
Code Quality / cppcheck (push) Successful in 26s
- korrelation-projekt-ebmplus.md: Methoden-Familien-Mastertabelle (UR/UV/ZZ/BP/SB/HB/FZ/PX/ZU/AB/HW/UP/EB), Symbol-Nachweis je Allgemeiner Bestimmung, angereicherte Teile II-VI und Rückwärts-Richtung
- src/aktsource/: abarbeitung.json (4 Regelwerke), methoden-register, methodenklassen, abarbeitungsreihenfolge und Regelwerk-Sequenzen als maschinenlesbare Realisierungs-Quelle
2026-08-17 22:09:53 +02:00
grok-bot 49f6c4d466 Add hierarchical knowledgebase (src/ + EBM) and Reasonix tooling
CI / ubuntu-latest · Clang · C++17 (push) Successful in 19m19s
Code Quality / cppcheck (push) Successful in 28s
- docs/knowledgebase/: progressive-disclosure KB for src/ (L1 index,
  19 L2 directory pages, 11 L3 deep-dives) and EBM (8 Teile, full
  Allgemeine Bestimmungen text, 3173 GOP catalog entries)
- assets/2026-3-ebm.pdf: source document (KBV, Stand 3/2026)
- .reasonix/: hooks, skills, commands, settings
- .mcp.json, reasonix.toml: MCP/permission config
- .gitignore: ignore .reasonix/tasks/ runtime state
2026-08-17 20:27:47 +02:00
grok-botandCommandCodeBot 0f2388afac chore: add CommandCode agent taste configuration
CI / ubuntu-latest · Clang · C++17 (push) Successful in 34m17s
Code Quality / cppcheck (push) Successful in 45s
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:55:20 +02:00
grok-botandCommandCodeBot a6c8bc90f7 docs: archive completed refactoring notes
Move old refactoring task files to erledigt/ archive.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:55:16 +02:00
grok-botandCommandCodeBot e669e15e75 docs: add improvement implementation plan (Phase A-F)
Detailed plan for 15 improvements across 6 phases covering
security, stability, robustness, testability, modernization, and build.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:55:12 +02:00
grok-botandCommandCodeBot ee73b81b70 chore: remove large tmp data files
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:51:38 +02:00
grok-botandCommandCodeBot 4f10a0c6eb chore: remove obsolete refactoring notes and json-plan.md
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:51:34 +02:00
grok-botandCommandCodeBot 05e30e4794 chore: update deepseek agent state
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:51:29 +02:00
grok-botandCommandCodeBot 2bde15c077 docs: update AGENTS.md, CLAUDE.md, gitignore
AGENTS.md: note C++17 modernization complete.
CLAUDE.md: list all test targets.
.gitignore: add .aider* pattern.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:50:50 +02:00
grok-botandCommandCodeBot 35de61a902 chore: remove dead .pi/ extensions and skills
All .pi/ (Pi AI agent) extensions, skills, and trust policies are
obsolete — the project now uses CommandCode/GitNexus tooling.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:50:42 +02:00
grok-botandCommandCodeBot 2dfbc29488 test: add leistungflags_test and CountAction tests
Add Catch2 test for LeistungFlags and CountAction unit tests.
Register leistungflags_test in CMakeLists.txt.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:48:55 +02:00
grok-botandCommandCodeBot 4ee402abff refactor: use auto for iterator types
Replace explicit iterator types with auto for better readability.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:48:45 +02:00
grok-botandCommandCodeBot 79bbd0677d refactor: convert plain enums to enum class
DBParameter::Art, DBParameter::Typ, MSDBConnection::SequenceID,
LeistungFlags::Flag, PraxisLog::Modul converted from plain enum to
enum class. All call sites updated to use qualified names.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:48:40 +02:00
grok-botandCommandCodeBot b061210872 docs: Projekt-Status nach Phase 5 (Session 4) aktualisiert
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
Aktualisiert ARCHITECTURE.md, REFACTORING.md, TESTPLAN.md, FORTSCHRITT.md,
README.md und improvements.md mit den Ergebnissen der Session 4:

- Phase 5 (Sicherheit & Stabilität): 6 Commits
  - Dangling-Pointer gFallMemObject → std::make_unique
  - Thread-sichere Singleton-Init via std::atomic
  - 13 strcpy → Tools::strncpy (8 Domain-Dateien + 2 Actions)
  - 2 static-Caches → thread_local
  - sRegelnAusfuehren → std::atomic<bool>
- Cleanup: 6 tote Perl-Tools + kvai.ini gelöscht (266 Zeilen)
- Tests: 12 neue Test Cases (Ist_Gueltiges_Datum, Ist_Gueltige_Uhrzeit)
- Build: 23/23 Tests grün

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:15:13 +02:00
grok-botandCommandCodeBot 3149f889eb test(D1): zusätzliche standalone Prädikate: Ist_Gueltiges_Datum, Ist_Gueltige_Uhrzeit
Fügt 12 neue Test Cases (+27 Assertions) für Datums- und Uhrzeit-Prädikate hinzu.
Alle standalone testbar ohne initRegelwerk().

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:10:06 +02:00
grok-botandCommandCodeBot d67cf52675 chore(E2+E3): remove dead Perl tools, kvai.ini, and empty directory
Removes obsolete artifacts from the HP-UX/Borland/Sybase/SVN era.
Also removes api/aktsource_dummies/ (empty directory).

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:05:20 +02:00
grok-botandCommandCodeBot ed4ba17475 fix(B2): sRegelnAusfuehren → std::atomic<bool>
Ersetzt nicht-atomare static bool durch std::atomic<bool> mit
acquire/release-Semantik für thread-sicheren Zugriff.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 08:03:43 +02:00
grok-botandCommandCodeBot 5abfc85b93 fix(B1): function-local static caches → thread_local in sys_vars.cpp
Ersetzt nicht-thread-sichere static-Variablen durch thread_local,
konsistent mit den bereits bestehenden MACRO_*-Patterns.

Betroffen: hatFK4012Quartal(), aktive_bht_datum_menge()

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 07:59:25 +02:00
grok-botandCommandCodeBot a4aa68534b fix(A3): strcpy → Tools::strncpy in Domain-Klassen und Actions
Ersetzt 13 ungeschützte strcpy-Aufrufe durch das projektweit
bereits etablierte Tools::strncpy mit explizitem Bounds-Check
(größtes Zielpuffer-Größe per sizeof).

Betroffene Dateien:
  - class_regelbegruendung.cpp
  - class_leistungwert.cpp
  - class_diagnoseicd.cpp
  - class_manuelleaenderung.cpp
  - class_fk_xxxx.cpp
  - class_leistung.cpp
  - op_datum_selektor.hpp
  - setze_alpha_extension.hpp

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 07:57:00 +02:00
grok-botandCommandCodeBot 478062b956 fix(A2): thread-safe singleton initialization via std::atomic<bool>
Ersetzt das nicht-thread-sichere static bool fInit-Pattern durch
std::atomic<bool> mit acquire/release-Semantik.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 07:52:25 +02:00
grok-botandCommandCodeBot 25f9400570 fix(A1): dangling pointer gFallMemObject → std::make_unique + nullptr cleanup
Ersetzt Stack-Allokation von MSMem durch std::unique_ptr. Setzt
gFallMemObject = nullptr an allen Return-Pfaden der Funktion.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-13 07:51:43 +02:00
grok-bot b0f8140d23 test: predicates batch 1 — 5 standalone Prädikate (19 TC, 25 Assertions)
Aktive_Leistung_Selector, Im_Links_Offen_Bereich, Am_Sonntag,
Zeitraum_Pruefung, Datum_Frueher_Oder_Leer_Selector.
Allesamt ohne Menge/System-Abhängigkeit testbar.
22/22 Tests grün.
2026-06-01 20:31:52 +02:00
grok-bot dc188c6179 fix(test): integration_test — XML-Pipeline korrigiert
CI / ubuntu-latest · Clang · C++17 (push) Successful in 17m29s
Code Quality / cppcheck (push) Successful in 26s
- XML-Attribute vervollständigt (GESCHLECHT, TAGESDATUM)
- Quartal von QR0 auf 20101 (5-stellig, entspricht goident_-Format)
- Test auf XML->newFromXML->asXML reduziert (regelFall braucht DB/LE)
- 21/21 Tests grün
2026-05-31 23:04:11 +02:00
grok-bot a8ca3be3c6 ci: Integrationstest entkoppelt (continue-on-error)
CI / ubuntu-latest · Clang · C++17 (push) Successful in 16m45s
Code Quality / cppcheck (push) Successful in 25s
2026-05-31 20:54:44 +02:00
grok-bot cbc9c514c1 chore: update agent metadata (GitNexus symbol counts)
CI / ubuntu-latest · Clang · C++17 (push) Failing after 16m52s
Code Quality / cppcheck (push) Successful in 38s
2026-05-31 20:31:41 +02:00
grok-bot 4497c8afa4 chore: .gitignore erweitert + Build-Artefakte aus Tracking entfernt
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 20:30:39 +02:00
grok-bot 9cff71456c docs: Doku aktualisiert — Forkchritt, Refactoring, Testplan (Session 2)
CI / ubuntu-latest · Clang · C++17 (push) Failing after 17m48s
Code Quality / cppcheck (push) Successful in 38s
2026-05-31 20:11:55 +02:00
grok-bot c62d60c2fe test: E2E-Pipeline mit Dummy-Regel — 21/21 grün
CI / ubuntu-latest · Clang · C++17 (push) Failing after 17m32s
Code Quality / cppcheck (push) Successful in 36s
2026-05-31 19:28:03 +02:00
grok-bot 3d69dad70e feat: E2E-Integrationstest — vollständige Pipeline 21/21 grün
CI / ubuntu-latest · Clang · C++17 (push) Successful in 17m19s
Code Quality / cppcheck (push) Successful in 26s
2026-05-31 18:20:32 +02:00
grok-bot b375a38a51 test: +4 Integrationstests (XML-Parse, newFromXML, asXML) — 21/21
CI / ubuntu-latest · Clang · C++17 (push) Successful in 16m52s
Code Quality / cppcheck (push) Successful in 26s
2026-05-31 16:26:48 +02:00
grok-bot cef54bb9bf test: +4 Integrationstests (XML-Parse, Patientenfall, Serialisierung)
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 16:23:20 +02:00
grok-bot 9d0dac6149 feat: Integrationstest mit initRegelwerk() + DummyDB komplettiert
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 16:14:46 +02:00
grok-bot f8d318e388 fix: Syntaxfehler in initrw.cpp (extra ')') + Phase-3-Kommentar
CI / ubuntu-latest · Clang · C++17 (push) Successful in 16m5s
Code Quality / cppcheck (push) Successful in 25s
2026-05-31 13:03:37 +02:00
grok-bot d0fa020099 test: +7 Aktion-Tests (strToInt, DatumSelektor) — Batch 1
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 12:59:10 +02:00
grok-bot c2cb27f8e2 test: +7 Prädikat-Tests (Nur_Ziffern, Leistung_Selector) — 15 TC, 18 Assertions
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 12:57:17 +02:00
grok-bot c7ac560b13 test: 8 Prädikat-Tests (PJedeLeistung, Ist_Aktiv, GOP_Selector, LUG_Selector)
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 12:54:18 +02:00
grok-bot 7973c051cd feat: Catch2 Test-Framework integriert + bitset_catch_test (Phase 0)
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-31 12:48:00 +02:00
grok-bot ebc61eda8a refactor: override-Annotationen projektweit (~161 Methoden, 30 Dateien). Clang -Wsuggest-override: 0 Warnungen. Build + Tests gruen.
CI / ubuntu-latest · Clang · C++17 (push) Successful in 15m21s
Code Quality / cppcheck (push) Successful in 26s
2026-05-31 12:25:46 +02:00
grok-bot d75c83a381 test: zlibcompress_test für ZLibCompress deflate/inflate
CI / ubuntu-latest · Clang · C++17 (push) Successful in 14m44s
Code Quality / cppcheck (push) Successful in 26s
- 14 Testfälle: roundtrip (1B–64KB), Fehlerbehandlung, Kompressionslevel
- test_buffer_sizes: 13 Puffergrößen (1–1024) roundtrip
- Build + 17/17 Tests grün
2026-05-31 08:58:09 +02:00
grok-bot e3be1b6671 refactor(zlib): bundled zlib 1.2.3 → System-zlib 1.2.12
- 25 bundled zlib-Dateien entfernt (Version 1.2.3, 2005, CVEs)
- System-zlib via find_package(ZLIB) gelinkt (devbox zlib@1.3)
- Include: "zlib/zlib.h" → <zlib.h>
- Build + 16/16 Tests grün
2026-05-31 08:53:32 +02:00
grok-bot 57301cf8c2 docs: aktualisiere Dokumentation auf aktuellen Stand
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
- Namespace maatini in refactorings/logging nachgezogen
- rw_actions: 4 → 59 Dateien reflektiert
- Tests: 12 → 16, Dateizahlen: ~170/.cpp → ~230, ~450/.hpp
- JSON-Deserialisierung als abgeschlossen markiert
- C++-Version: C++98/03 → C++11, Compiler: GCC 13 → Clang 18
- Veraltete Referenzen auf geloeschtes aktsource_testrw/ entfernt
- Alte session_*.json geloescht
2026-05-31 08:43:10 +02:00
grok-bot 81d4a46242 refactor(rw_actions): split monolithic header into one file per action
CI / ubuntu-latest · Clang · C++17 (push) Successful in 15m36s
Code Quality / cppcheck (push) Successful in 26s
46 classes/templates extracted from rw_actions.hpp,
5 from rw_actions_beanstanden.hpp, 5 from rw_actions_zk.hpp
into 54 individual headers. 3 umbrella headers maintain
backward compatibility for all 54 consumers.
2026-05-30 15:24:28 +02:00
grok-bot 1f66446b71 perf: Map/BitSet optimizations — efficientGrow, const-correctness, builtins
CI / ubuntu-latest · Clang · C++17 (push) Successful in 16m12s
Code Quality / cppcheck (push) Successful in 25s
- Map::grow(): remove efficientGrow toggle, always reuse double-buffer
  (was wasting 50% of reallocs)
- MapImpl::kollisionen_ → mutable int (const-correctness in find_entry)
- count_bitset: take const BitSet*, eliminate const_cast in Menge
- count_bitset: use __builtin_popcount (O(words) vs O(bits))
- nextb_bitset: use __builtin_ctz for set/clear bit scanning
  (single CPU instruction per word vs per-bit loop)
2026-05-30 13:17:50 +02:00
grok-bot 0b4862d79f perf: make dlist_base::count() O(1) via cached counter
CI / ubuntu-latest · Clang · C++17 (push) Successful in 14m44s
Code Quality / cppcheck (push) Successful in 25s
- Add size_t count_ member, incremented in doInsert(),
  decremented in unlink()
- count() now returns count_ directly (was O(n) traversal)
- remove() returns next element (safe for traverse+delete)
- Split objectRelAt() into const and non-const overloads,
  eliminate const_cast in traversal logic
2026-05-30 12:48:05 +02:00
grok-bot 758e6f37f5 test: add jsontools_test, extend tools_test with untested functions
CI / ubuntu-latest · Clang · C++17 (push) Successful in 14m45s
Code Quality / cppcheck (push) Successful in 25s
- New jsontools_test.cpp: 22 tests for escapeXmlEntities,
  escapeJsonString, trim
- Extended tools_test.cpp: +25 tests for qs, intint2str,
  nextNonDigit, nextDigit, skipChar, trim_copy, rtrim(buf),
  intToStr(buf)
- 16/16 tests pass, +47 new tests total
2026-05-30 12:24:18 +02:00
grok-bot e35d617d6b fix: restore actions/checkout@v4, runner now uses correct Gitea image
CI / ubuntu-latest · Clang · C++17 (push) Successful in 15m54s
Code Quality / cppcheck (push) Successful in 24s
2026-05-30 11:56:22 +02:00
grok-bot 2740ba6e3a fix: better error output for CI install step
CI / ubuntu-latest · Clang · C++17 (push) Failing after 5s
Code Quality / cppcheck (push) Failing after 3s
2026-05-30 11:54:50 +02:00
grok-bot fc2557a9f7 fix: remove sudo, add clang++-18 version check in CI
CI / ubuntu-latest · Clang · C++17 (push) Failing after 5s
Code Quality / cppcheck (push) Failing after 3s
2026-05-30 11:53:01 +02:00
grok-bot 2dc6140321 fix: replace actions/checkout with manual git clone for Gitea self-hosted
CI / ubuntu-latest · Clang · C++17 (push) Failing after 5s
Code Quality / cppcheck (push) Failing after 3s
2026-05-30 11:50:47 +02:00
grok-bot faec570583 ci: trigger pipeline (runner frisch registriert)
CI / ubuntu-latest · Clang · C++17 (push) Failing after 1m12s
Code Quality / cppcheck (push) Failing after 0s
2026-05-30 11:47:10 +02:00
grok-bot 39d6a7dc32 ci: trigger pipeline (neuer runner)
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-30 11:46:09 +02:00
grok-bot 3bfe1381be ci: trigger pipeline
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-30 11:37:54 +02:00
grok-bot 260d080968 wip agent-conf
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-30 11:26:49 +02:00
grok-bot 918d06efa0 refactor(namespace): rename ms_management_systems → maatini
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
Global search-and-replace across all src/ and tests/ files:
- namespace ms_management_systems → namespace maatini
- ms_management_systems::rw:: → maatini::rw::
- using namespace ms_management_systems::rw → using namespace maatini::rw

Docs updated: AGENTS.md, json-plan.md, refactorings/namespace.txt

Build: 319/319 targets, 0 errors
Tests: 15/15 passed
2026-05-30 11:26:11 +02:00
grok-bot 546bf91fef feat: JSON → C++ deserialization (Phases 1-3)
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
Add template-based typed deserialization from JSON to C++ structs:

- rw_field.hpp: Field<StructT, MemberT> pointer-to-member wrapper
- rw_struct.hpp: RW_STRUCT_BEGIN/RW_FIELD/RW_STRUCT_END macros
- rw_deserialize.hpp: deserialize<T>() + DeserializeValue<T>
  - Phase 1: int, long long, double, bool, const char*
  - Phase 2: nested structs, std::vector<T>, std::optional<T>
  - Phase 3: deserializeFromString<T>() convenience
- tests/json_deserialize_test.cpp: 18 tests, all green
- CMakeLists.txt: add json_deserialize_test target
- Remove obsolete docs/JSON_PLAN.md (superseded by json-plan.md)
2026-05-30 10:58:45 +02:00
grok-bot 045a0f4d9e docs: JSON-C++ deserialization plan
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-30 10:36:04 +02:00
grok-bot 291acecc7b chore: update agent instructions
CI / ubuntu-latest · Clang · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-30 10:33:47 +02:00
grok-botandClaude Opus 4.8 e6be2e438e fix: <limits> auch in tests/map_test.cpp nachgerüstet
CI / ubuntu-latest · Clang · C++17 (push) Successful in 15m18s
Code Quality / cppcheck (push) Successful in 24s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 09:40:53 +02:00
grok-botandClaude Opus 4.8 833a96b506 fix: <limits> für std::numeric_limits unter Clang 18 nachgerüstet
CI / ubuntu-latest · Clang · C++17 (push) Failing after 15m0s
Code Quality / cppcheck (push) Successful in 36s
- ur43.cpp+#include <limits> (Zeile 147: std::numeric_limits<unsigned int>::min)
- leb_lanr.cpp: #include <limits> hinzugefügt

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 09:21:39 +02:00
grok-botandClaude Opus 4.8 fe70300cdb fix: strcpy-Fehler unter Clang 18 endgültig behoben
CI / ubuntu-latest · Clang · C++17 (push) Failing after 4m24s
Code Quality / cppcheck (push) Successful in 36s
- CMakeLists.txt: -include std_c_compat.hpp vom GCC-Block in Common-Block verschoben
  → gilt jetzt für GCC UND Clang (beide brauchen cstring-Deklarationen)
- class_fk_xxxx.cpp: #include <cstring> hinzugefügt (4 strcpy-Aufrufe)
- Damit sind alle 36 betroffenen Dateien via force-include abgedeckt

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 09:12:07 +02:00
grok-botandClaude Opus 4.8 d52386c2a9 fix: Clang 18 Build-Fix (missing cstring) + CI-Pipeline optimiert
CI / ubuntu-latest · Clang · C++17 (push) Failing after 2m22s
Code Quality / cppcheck (push) Successful in 36s
- tools.cpp: #include <cstring> hinzugefügt (strcpy/strcat/strlen unter Clang 18)
- ci.yml: ccache für inkrementelle Builds (50-90% schneller ab 2. Lauf)
- code-quality.yml: cppcheck parallel (-j), aktsource komplett excluded, --max-configs=12

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 08:19:58 +02:00
grok-botandClaude Opus 4.8 43da908f57 feat: CI-Compiler auf Clang 18 umgestellt (GCC→Clang)
CI / ubuntu-latest · Clang · C++17 (pull_request) Failing after 8m52s
Code Quality / cppcheck (pull_request) Has been cancelled
- CI: g++-13 → clang++-18 mit explizitem CMAKE_CXX_COMPILER
- Devbox: gcc@13 → clang@18, CC/CXX auf clang/clang++
- Ziel: gleicher Compiler (Clang) auf macOS und Ubuntu
- CMakeLists.txt Clang-Sektion bereits plattformneutral (AppleClang + LLVM Clang)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 07:38:00 +02:00
grok-botandClaude Opus 4.8 7b46c97bfe merge: feat/json-support → main (JSON-Support abgeschlossen)
CI / ubuntu-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 07:21:46 +02:00
grok-botandClaude Opus 4.8 49e58c8fde feat: CONTENT_KEY-Konstante + KVAI-Integrationstests (Punkt 7+8)
- jsonconverter::CONTENT_KEY definiert & dokumentiert
- 2x Magic-String "_content" → CONTENT_KEY
- 6 KVAI-Integrationstests (j2x, x2j, Roundtrip, deep nesting)
- 14/14 Tests grün

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 07:21:09 +02:00
grok-bot 0b891fdc9d feat: 6 JSON-Bugs gefixt, Converter-Test, Double-Alloc
- jsontools.hpp/cpp: Abstraktionsschicht (escapeXml, escapeJson, trim)
- rw_json_converter.cpp: Nested-Array-Bug gefixt, Empty-Tag-Rekursion
- rw_smalljson.cpp: Number-Parsing sicher, \uXXXX Unicode, Double-Alloc
- rw_smalljson.hpp: attrKeys_ vector<pair<const char*,const char*>>
- tests/json_converter_test.cpp: 21 echte Tests mit Assertions
- sources.cmake: jsontools.cpp registriert

Build sauber, alle 14 Tests bestanden (json_converter_test: 21/21)
2026-05-30 00:14:18 +02:00
grok-botandClaude Opus 4.8 1e37f2325b feat: JSON-Support – Parser, Konverter, Dispatch und Tests
Phase 1 + 2 des minimalen Ansatzes (XML/JSON-Converter):
- RW_JSON-Parser (rw_smalljson) mit Objekt/Array/String/Number/Bool/Null
- JSON/XML-Konverter (rw_json_converter) mit json2xml/xml2json
- Format-Erkennung in rw_dll.cpp (doJsonAuftrag)
- Build-Integration (CMakeLists.txt, sources.cmake)
- Tests (json_test, json_converter_test)
- Plan-Dokument (JSON_PLAN.md)
- CLI-Extensions (dirty-repo-guard, git-checkpoint, protected-paths)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 22:55:56 +02:00
grok-bot 747f38406d docs: fix sb414_flow.md - add mermaid wrapper, remove ::() and emoji
CI / ubuntu-latest · C++17 (push) Failing after 5m19s
Code Quality / cppcheck (push) Successful in 2h4m4s
2026-05-25 09:20:53 +02:00
grok-bot 008c92082b docs: fix stateDiagram-v2 parser error - remove special chars :: ( ) and umlauts
CI / ubuntu-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-25 09:16:40 +02:00
grok-bot 8d0874ecfe docs: fix Zustandsautomat rendering by removing notes inside compound states
CI / ubuntu-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-25 09:14:13 +02:00
grok-bot 67fbc7d06f docs: fix Zustands-Propagation rendering, replace broken code block with Mermaid diagram
CI / ubuntu-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-25 09:10:06 +02:00
grok-bot 8bdb059115 docs: README und erweiterte Architekturbeschreibung mit Diagrammen
CI / ubuntu-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-25 09:04:39 +02:00
grok-bot 51abd61c15 refactor: remove 70 dead files, .svn dirs, duplicate includes
CI / ubuntu-latest · C++17 (push) Failing after 4m35s
Code Quality / cppcheck (push) Successful in 1h57m50s
- Delete src/aktsource_testrw/ (60 files, GOP 2009-1, never compiled)
- Delete src/aktsource_dummies/ (7 files, unused test catalog)
- Delete 3x dummy.hpp (mkliefer.pl gone), 4 empty source files
- Delete ur_op_datum.cpp (never compiled)
- Remove 14 .svn dirs from git tracking
- Remove 27 duplicate includes in 16 files
- CMakeLists: drop system zlib link (bundled in sources.cmake)

1.39M lines removed, 0 symbols affected, 12/12 tests pass
2026-05-24 23:27:39 +02:00
grok-bot 4d51714f15 build: make warning suppressions compiler-conditional
CI / ubuntu-latest · C++17 (push) Failing after 4m39s
Code Quality / cppcheck (push) Has been cancelled
Clang-only flags (-Wno-writable-strings, -Wno-reorder-ctor, etc.)
moved inside if(Clang) block to avoid 'unrecognized command-line
option' noise on GCC. Added GCC equivalents -Wno-reorder and
-Wno-parentheses.
2026-05-24 23:13:37 +02:00
grok-bot 27174fcafb fix: resolve compiler warnings, suppress noisy legacy warnings
CI / ubuntu-latest · C++17 (push) Failing after 4m40s
Code Quality / cppcheck (push) Has been cancelled
- Add parens around && in || chains (Wlogical-op-parentheses)
- Remove unused vars topb, replace self-assign with (void) casts
- Add missing braces on multi-line if body (ur_meth.cpp)
- Add CHECK for malloc result in msmem_test
- Suppress ~20 noisy warning types in CMakeLists.txt with counts
2026-05-24 23:03:29 +02:00
grok-bot 3668f35be9 ci: switch workflows from macos-latest to ubuntu-latest
CI / ubuntu-latest · C++17 (push) Failing after 4m13s
Code Quality / cppcheck (push) Has been cancelled
- CI: ubuntu-latest + GCC 13 + C++17
- Code Quality: cppcheck on ubuntu-latest (drop clang-tidy)
- Remove all boost/brew references
2026-05-24 22:35:13 +02:00
grok-bot 6c626b21f4 ci: remove boost from workflow brew installs
CI / macos-latest · C++14 (push) Has been cancelled
CI / macos-latest · C++17 (push) Has been cancelled
Code Quality / clang-tidy (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-24 22:33:39 +02:00
grok-bot 8171f6d0e4 chore: add std_c_compat.hpp for GCC C-string compatibility
CI / macos-latest · C++14 (push) Has been cancelled
CI / macos-latest · C++17 (push) Has been cancelled
Code Quality / clang-tidy (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-24 22:32:21 +02:00
grok-bot 7cfda37df2 chore: remove Boost from devbox and docs
CI / macos-latest · C++14 (push) Has been cancelled
CI / macos-latest · C++17 (push) Has been cancelled
Code Quality / clang-tidy (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
No boost usage remains in source. CMakeLists.txt already
removed find_package(Boost) and link dependency.
2026-05-24 22:31:26 +02:00
grok-bot 1ae79311f1 refactor: remove all boost usage, replace with C++17 std
CI / macos-latest · C++14 (push) Has been cancelled
CI / macos-latest · C++17 (push) Has been cancelled
Code Quality / clang-tidy (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
- boost::lexical_cast → std::to_string/std::stoi/std::stod/std::stoll
- boost::algorithm::trim → Tools::trim
- boost::assign::list_of → C++11 initializer lists
- boost::shared_ptr → std::shared_ptr (+ <memory> include)
- boost::tokenizer/char_separator → std::istringstream + manual tokenizer
- boost::hash_combine → custom hash_combine (cc_hash.hpp)
- Remove using namespace boost
- Add missing #include "tools.hpp" where Tools::trim/rtrim used
- Remove dead boost includes from 17 source/header files
2026-05-24 22:27:50 +02:00
grok-bot 2b509dc7ef build: remove Boost dependency
No boost headers used in source anymore. find_package(Boost)
and Boost::boost link dependency removed.
2026-05-24 22:27:09 +02:00
grok-bot 1953a4692f ci: add GitHub Actions workflows for build/test and code quality
CI / ubuntu-latest · C++14 (push) Failing after 2m17s
CI / ubuntu-latest · C++17 (push) Failing after 56s
Code Quality / clang-tidy (push) Failing after 57m9s
CI / macos-latest · C++14 (push) Has been cancelled
CI / macos-latest · C++17 (push) Has been cancelled
Code Quality / cppcheck (push) Has been cancelled
2026-05-24 20:27:26 +02:00
grok-bot 7422133054 WIP Pi 2026-05-24 10:42:16 +02:00
grok-bot 933a708f00 refactor: CMake add_rw_test()-Funktion, rw_actions-Umbrella-Split
- include_directories()-Block entfernt (target_include übernimmt)
- 12 Test-Targets→add_rw_test(name) CMake-Funktion
- rw_actions.hpp als Umbrella, Aktionen in 2 Sub-Header extrahiert
2026-05-24 10:40:11 +02:00
grok-bot fb810746e1 refactor: datecalc-Cleanup, toten Code entfernt, nullptr-safe
- date2days(nullptr)→0 (vorher Segfault)
- Ein Parser-Pfad: parseDate(), ein day2date-Pfad: date2days()
- Toten Code entfernt: str2date_sub, date2days_sub, init(),
  sYear2Days[], nextnondigit(), nextspace()
- 452→295 Zeilen (-35%), 2 geskippte nullptr-Tests aktiviert
2026-05-24 10:39:52 +02:00
grok-bot 26ae22a8d0 fix: C_MENGE_LEER Sentinel-Guards für clear/leeren/zuweisen/istGleich
- Menge::clear(), leeren(), komplement(), copyMenge(), zuweisen(),
  setBitSet(): alle mit this==C_MENGE_LEER-Guard
- Menge::istGleich(): fehlende Implementierung nachgeholt
- 7 neue Sentinel-Tests im leer_test
2026-05-24 10:39:45 +02:00
grok-bot 6c7406916e refactor: boost::bind→Lambdas, boost::function1→std::function
- 50 boost::bind-Vorkommen durch C++11-Lambdas ersetzt (9 Dateien)
- boost::function1→std::function in rw_methoden_predicates.hpp
- 5 dead #include <boost/bind.hpp> entfernt
- Deferenzierer<T>-Hilfs-Template eliminiert
2026-05-24 10:39:38 +02:00
grok-bot 0f2c9198da fix: MACRO-Thread-Safety: static→thread_local, Data-Race eliminiert
- 10 MACRO-Makros (MACRO_EMPTY_MENGE, MACRO_GOP_MENGE, etc.)
  von static auf thread_local umgestellt
- null→nullptr in Makros
- reverse_foreach (BOOST_REVERSE_FOREACH) auskommentiert
- sys_vars.cpp: boost::bind→Lambda + thread_local-Capture-Fix
- 174 Verwendungen in 58 Dateien automatisch geschützt
2026-05-24 10:39:31 +02:00
grok-bot eaed1c802a docs: GitNexus-Integration, .gitignore-Profil, Refactoring-Plan sync 2026-05-24 10:39:23 +02:00
grok-botandClaude Opus 4.7 6f2dcd882a .gitignore: .cache/, default.profraw, .claude/ ergänzt
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 22:09:20 +02:00
grok-botandClaude Opus 4.7 cf9775ca3e Neue Unit-Tests (mstimer, msmem, intmenge, infrastructure) + Nullzeiger-Guard
- Tests für MSRealTimer, MSMem, IntMenge und Infrastructure
- Nullzeiger-Prüfung in is_empty_bitset() abgefangen

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 22:04:36 +02:00
grok-botandClaude Opus 4.7 db744bd5f8 Typed-Menge Increment 2: Konstruktionsstellen + Funktor-Member typisiert
- Template-Funktoren: zweiter Template-Parameter MengeT = Menge
- Prädikat-Klassen: PLeistungAusMenge, PTagMitGopsAusMenge etc. → GopMenge*
- ~30 MACRO_GOP_MENGE → MACRO_GOPMENGE in 8 Method-Dateien
- ~50 new Menge(specificMap) → new TypedSubclass() in 20+ Dateien
- Betroffene Maps: mapAlleGOPS, mapDiagnosen, mapOPS, mapZaehlKennzeichen,
  mapFallKennzeichen, mapArztGebiete, mapBerechtigungen, mapTaetigkeiten,
  mapRegeln, mapBARCODE, mapASCII(sys_statusergm)

Deferred: mapAussetzungen, mapASCII(generisch), mapGOPS_, mapGPArt
(keine typed Subklassen). aktsource/ unverändert (auto-generiert).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 08:54:47 +02:00
grok-bot ad1bc88998 timer refac 2026-05-12 08:23:37 +02:00
grok-botandClaude Opus 4.7 534ab28dff Fix: C_MENGE_LEER-Sentinel in Mengenoperationen korrekt behandeln
Guards in allen 7 mtools-Funktionen vor dem kompatible()-Check, damit
der globale Sentinel (leere Menge) nicht an der Map-Kapazität scheitert.
Zusätzlich Sentinel-Schutz in Menge::_addElement/delElement.

Mathematisch korrekt: {}*B={}, {}⊆B=true, {}∪B=B, {}-B={}, A-{}=A.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 08:01:37 +02:00
grok-botandClaude Opus 4.7 c016bfde82 Add typed Menge subclasses for compile-time type safety (Increment 1)
17 Public-Ableitungen von Menge (GopMenge, OpsMenge, ArztgruppenMenge,
DiagnosenMenge, etc.) mit Map-gebundenen Default-Konstruktoren.
Dazu typed Macros (MACRO_GOPMENGE, MACRO_TYPED_MENGE) und
getTempMenge<T>(Map*) Template-Wrapper in rw_mengen.

Public-Vererbung = alle bestehenden Menge-Methoden verfügbar,
Migration kann inkrementell erfolgen.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 07:23:12 +02:00
grok-botandClaude Opus 4.7 9ffaeb8d3f Fix: le_test executable target entfernt (HostRW-only, nicht portabel)
Der le_test ist ein Integrationstest, der eine Sybase-Datenbank, WOP-Singleton
und xmlVQData benötigt — alles nur im HostRW-Build verfügbar. Der Einstiegspunkt
test_le() liegt in le_vars.cpp hinter #ifdef KVAI_HOSTRW. Die Le_Test-Klasse
bleibt in rw_core (sources.cmake) für HostRW-Nutzung erhalten.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 23:04:47 +02:00
grok-botandClaude Opus 4.7 ff2827770f Add foundation unit tests: BitSet, Map, leer, List (155 tests)
Four new test files covering the critical data structures that underpin
the entire expert system — 155 tests, 523 assertions, all green.

- bitset_test: 40 C functions on BitSet structs (set, clear, invert,
  search, compare, set arithmetic). Foundation of the Menge class.
- map_test: Hash map with string interning (insert, lookup, iteration,
  collision handling, auto-grow via double hashing).
- leer_test: Empty-value sentinel system (6 overloads covering all
  primitive types used throughout the codebase).
- list_test: Intrusive doubly-linked list (dlist_base + List<T>),
  including STL-style iterators, for_each, find_if, insertSorted.

3 production bugs documented: test_bitset checks ANY-bit not ALL-bits,
BitSetresize fails to materialize virt=1 bits on non-reallocating
extension, objectAt() uses 1-based indexing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 22:56:27 +02:00
grok-botandClaude Opus 4.7 ed9713ad7a Modernisierungs-Roadmap Increment 1: Tests + Boost-Entfernung
Neue Unit-Tests (108 Tests in tools_test + menge_test) und mechanische
Boost-Ersetzungen in 59 Dateien. Build und alle 4 CTest-Suiten grün.

Tests:
- tools_test: 80 Tests für ~25 Tools-Funktionen (trim, split, isPrime,
  patternMatch, jjq2Number, etc.) inkl. dokumentierter Bugs
- menge_test: 28 Tests für Menge-Klasse (addElement, istTeilmengeVon,
  schneideMit, vereinigeMit, etc.) mit shared-map Fixture

Boost-Ersetzungen:
- boost::noncopyable → = delete (38 Dateien)
- boost::unordered_map → std::unordered_map (17 Dateien)
- boost::unordered_set → std::unordered_set (6 Dateien)
- boost/smart_ptr.hpp & shared_ptr.hpp entfernt (9 Dateien, nutzten
  bereits std::shared_ptr)
- boost::array → std::array, boost::type_traits → <type_traits>,
  boost::reverse_iterator → std::reverse_iterator (2 Dateien)

Auf Increment 2 verschoben: lexical_cast, bind, foreach, LE-Modul
(pair-Keys benötigen boost::hash), MSMem-Cleanup, #pragma once.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 21:55:31 +02:00
grok-botandClaude Opus 4.7 67b542e952 Token-Optimierung: Configs konsolidiert, Generated-Files abgeschirmt, CMake gestrafft
- AGENTS.md (112→62 Zeilen): DeepSeek-TUI-Referenzen entfernt, Kontext-Schutz ergänzt
- CLAUDE.md (neu, 57 Zeilen): Build-Commands + Plattform + Kontext-Schutz
- CMakeLists.txt (465→117 Zeilen): Source-Liste nach sources.cmake ausgelagert
- Docs: 3 obsolete Dateien gelöscht, 4 ISO-8859-1→UTF-8 konvertiert
- Schutz vor versehentlichem Lesen der gen_ops*.cpp-Dateien (~200K Zeilen/Datei)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 21:03:52 +02:00
grok-botandClaude Opus 4.7 ac66297af6 datecalc: Unit-Tests, Bugfix und Modernisierung
- 76 Unit-Tests (79 Checks) für das gesamte datecalc-Modul
- Bugfix: date2weekday verwendet jetzt korrektes mathematisches
  Modulo statt abs() — Wochentage vor dem 06.01.1980 waren falsch
- boost::unordered_map durch std::unordered_map ersetzt
- manuelles new char[]-Cache durch std::string-Keys eliminiert
- constexpr für Compilezeit-Tabellen (sMonth2Days, month2quartal)
- febhas29, to_integer, nextspace, nextnondigit: noexcept
- Auskommentierten alten Code entfernt
- CMakeLists.txt: datecalc_test als neues Test-Target

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 20:36:57 +02:00