Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
678d7e3
chore(submodule): bump frontend to SA-7a 702251b + refresh bundle
claude May 8, 2026
0c79971
chore(submodule): bump frontend to SA-7b 771c064 + refresh bundle
claude May 8, 2026
50405fe
docs(parity): final ObjectDiagram 1:1 check
claude May 8, 2026
eb184ed
docs(parity): final NNDiagram 1:1 check
claude May 8, 2026
7fa8f8d
docs(parity): final UserDiagram 1:1 check
claude May 8, 2026
c0c181b
docs(parity): final StateMachineDiagram 1:1 check
claude May 8, 2026
bb023c4
docs(parity): final AgentDiagram 1:1 check
claude May 8, 2026
d8273e1
docs(parity): final ClassDiagram 1:1 check
claude May 8, 2026
4afc909
fix(backend): NN dimension slug disambiguation surfaced by parity check
claude May 8, 2026
fa89dc2
docs(analysis): A7 image endpoint
claude May 8, 2026
d9484a0
docs(analysis): A3 frontend lint audit
claude May 8, 2026
c54a519
docs(analysis): A6 docs sync audit
claude May 8, 2026
ba48e6e
docs(analysis): A8 OCL validation
claude May 8, 2026
1974352
docs(analysis): A5 bridge correctness
claude May 8, 2026
2f4f4e5
docs(analysis): A4 test coverage map
claude May 8, 2026
b5a7a5e
docs(analysis): A10 deploy + GUI generator
claude May 8, 2026
2874423
docs(analysis): A1 round-trip corpus sweep
claude May 8, 2026
46e77fa
docs(analysis): A2 all-generators smoke
claude May 8, 2026
111e98d
docs(analysis): A9 localStorage migration corpus
claude May 8, 2026
d818eb3
chore(submodule): bump frontend with Windows vite-resolver fix
claude May 8, 2026
e14f2cc
refactor: SA-DEBRAND rename ApollonEditor → BesserEditor; strip Apoll…
claude May 8, 2026
5b3b879
chore(submodule): bump frontend with SA-DEBRAND rename 2031a1c
claude May 8, 2026
cfb0ac5
chore(submodule): bump frontend to SA-7b.2 34b390c + ignore generator…
claude May 8, 2026
7a06433
docs(per-component): PC-2 ClassEditPanel
claude May 8, 2026
e43cb16
docs(per-component): PC-4 Object node + inspector
claude May 8, 2026
98a519e
docs(per-component): PC-3 Class edges + OCL
claude May 8, 2026
2f41187
docs(per-component): PC-7 AgentState
claude May 8, 2026
7a434ee
docs(per-component): PC-12 BesserEditor public API
claude May 8, 2026
74ad5c8
docs(per-component): PC-10 NN container + layers + icons
claude May 8, 2026
e3cf2e0
docs(per-component): PC-5 State + bodies + edge
claude May 8, 2026
11b8c86
docs(per-component): PC-1 Class node
claude May 8, 2026
85ac82e
docs(per-component): PC-6 State markers visual
claude May 8, 2026
5a0041d
docs(per-component): PC-8 Agent intent + RAG + edges
claude May 8, 2026
86b1ada
docs(per-component): PC-11 PropertiesPanel + palette + settings
claude May 8, 2026
ad01b61
docs(per-component): PC-9 UserDiagram
claude May 8, 2026
9dd75f7
docs(migrations): note SA-UX-FIX-2 NN icon restoration; bump frontend…
claude May 8, 2026
824256c
chore(submodule): bump frontend with SA-UX-FIX + SA-UX-FIX-2 (173d620…
claude May 8, 2026
7521c28
docs(deep-review): 01 element inventory
claude May 8, 2026
80b1977
docs(deep-review): 02 behavioral matrix
claude May 8, 2026
fd7b5e9
docs(deep-review): 03 CSS / theme / visual
claude May 8, 2026
a408439
chore(submodule): bump frontend with fix-wave-3 (10 commits) d8eda99 …
claude May 8, 2026
7d686cb
docs(migrations): develop-branch comparison
claude May 8, 2026
b4ae8d9
chore(submodule): bump frontend to current HEAD + refresh bundle
claude May 8, 2026
d2b60b4
fix(library): inspector-theme MUI palette CSS-var crash — refresh bundle
claude May 8, 2026
15eed4d
chore(submodule): bump frontend with SA-FIX-CRITICAL-2 (33bf060) + bu…
claude May 8, 2026
e16dcce
chore(submodule): bump frontend a31c4ec — 6 UI fixes from user testing
claude May 8, 2026
5a8e2ce
docs(deep-analysis): UserDiagram v3 vs v4
claude May 8, 2026
11ce8e5
docs(deep-analysis): AgentDiagram v3 vs v4
claude May 8, 2026
64e6efd
docs(deep-analysis): ObjectDiagram v3 vs v4
claude May 8, 2026
10e8f55
docs(deep-analysis): NNDiagram v3 vs v4
claude May 8, 2026
07930f5
docs(deep-analysis): StateMachineDiagram v3 vs v4
claude May 8, 2026
1f33ef9
docs(deep-analysis): ClassDiagram v3 vs v4
claude May 8, 2026
ef746f3
fix(library): SA-FINAL close 14 deep-analysis gaps
claude May 8, 2026
605cd29
docs(deep-review): inspector layout audit
claude May 8, 2026
7aabfe5
docs(deep-review): edge markers exhaustive
claude May 8, 2026
74af212
docs(deep-review): parent-child interactions
claude May 8, 2026
0fba84c
docs(deep-review): css dark mode
claude May 8, 2026
28f92a8
docs(deep-review): comments + constraints
claude May 8, 2026
0ddb024
docs(deep-review): webapp store sync
claude May 8, 2026
9c19fd1
docs(deep-review): palette consistency audit
claude May 8, 2026
eabdea4
chore(submodule): bump WME pointer to fb8557d (OCL cleanup)
claude May 8, 2026
4f74c08
docs(deep-review): export fidelity
claude May 8, 2026
0b80812
docs(deep-review): migrator-corpus sweep + runner script
claude May 8, 2026
c252914
docs(deep-review): migrator corpus
claude May 8, 2026
a73c75a
docs(deep-review): canvas interactions
claude May 8, 2026
7ccc6c7
chore(submodule): bump WME pointer to 8442d39 (batch 1 fixes)
claude May 8, 2026
a51c3ad
chore(submodule): bump WME pointer to c4958df (SA-FINAL-2 batches 2-4)
claude May 8, 2026
04ac2b7
chore(submodule): bump WME pointer to 8ab64e83 (SA-FINAL-3 wave compl…
claude May 11, 2026
a910d49
chore(submodule): bump WME pointer to 447b270 (user-reported bug fixes)
claude May 11, 2026
e931576
chore(submodule): bump WME pointer to dda92de (user-reported follow-ups)
claude May 11, 2026
43e466c
chore(submodule): bump WME pointer to ee02183
claude May 11, 2026
4ff7a2d
chore(submodule): bump WME pointer for Class palette revert + AgentIn…
claude May 11, 2026
3a114bb
chore(submodule): bump WME pointer for OCL body restoration in templates
ArmenSl May 11, 2026
9fc1496
chore(submodule): bump WME pointer for Agent inspector parity fixes
ArmenSl May 11, 2026
acb3e6a
chore(submodule): bump WME pointer for kind-removal + NN icon-box fixes
ArmenSl May 11, 2026
4ac71f3
chore(submodule): bump WME pointer for new-project reset + ER + palet…
ArmenSl May 11, 2026
d9cbbbd
chore(submodule): bump WME pointer for SA-N comment cleanup + palette…
ArmenSl May 11, 2026
3eb2916
chore(submodule): bump WME pointer for AgentState palette preview bod…
ArmenSl May 11, 2026
03b45f8
chore(submodule): bump WME pointer for UserDiagram v3 parity
ArmenSl May 11, 2026
f5c8b77
chore(submodule): bump WME pointer to suppress duplicate AgentState n…
ArmenSl May 11, 2026
31f92d3
chore(submodule): bump WME pointer for stronger AgentIntent section s…
ArmenSl May 11, 2026
f4e69d1
chore(submodule): bump WME pointer for class snap-to-content + NN layout
ArmenSl May 11, 2026
bac3f02
chore(submodule): bump WME pointer to tighten NN palette to 90x100
ArmenSl May 11, 2026
3deac1e
chore(submodule): bump WME pointer for NNContainer empty-state hint
ArmenSl May 11, 2026
9a8ba64
chore(submodule): bump WME pointer for NN edge auto-detect + NNRefere…
ArmenSl May 11, 2026
d5cfc36
chore(submodule): bump WME pointer for NN composition diamond + templ…
ArmenSl May 11, 2026
a973ddb
chore(submodule): bump WME pointer for v3 corner handle normalizer
ArmenSl May 11, 2026
38279e1
chore(submodule): update WME pointer for method signature handling an…
ArmenSl May 11, 2026
a81271e
refactor: remove webapp cutover checklist document
ArmenSl May 11, 2026
8d5b209
docs: retire packages/editor refs in web-editor sphinx docs + bump su…
ArmenSl May 11, 2026
203e5d9
fix(backend): close v4 wire-contract gaps that silently dropped edito…
ArmenSl Jun 11, 2026
fe4df19
feat(agent): v4 reasoning primitives + multi-LLM backend support
ArmenSl Jun 12, 2026
5418221
feat(generators): port Supabase generator to the companion branch
ArmenSl Jun 12, 2026
d79b36e
fix(state-machine): surface duplicate-state/transition errors to the …
ArmenSl Jun 12, 2026
96cc0cf
fix(backend): wave-3 sweep — personalization style support, project s…
ArmenSl Jun 12, 2026
0e124e1
chore(submodule): bump WME pointer to ba7f901b2 (parity waves 1-3: P0…
ArmenSl Jun 12, 2026
81a7981
chore(submodule): bump WME pointer to db1a767de (auto-layout, header …
ArmenSl Jun 12, 2026
16d5268
chore: remove committed migration bundle, ignore *.bundle
ArmenSl Jun 12, 2026
6a4e691
feat(bpmn): add BPMN metamodel, generator, and code builder
ArmenSl Jul 2, 2026
f9b6396
feat(web-editor): BPMN v4 JSON<->BUML converters + router/generator/v…
ArmenSl Jul 2, 2026
0a3afbf
fix(agent): read/emit reasoning states as AgentState.stateType (v4 fo…
ArmenSl Jul 2, 2026
189455f
feat(bpmn): emit BPMN MODEL section in project_builder for project BU…
ArmenSl Jul 2, 2026
9a66b36
chore(frontend): bump submodule to React Flow migration parity work
ArmenSl Jul 2, 2026
e031005
chore(frontend): bump submodule to onboarding build fix
ArmenSl Jul 2, 2026
3f7cc70
chore(frontend): bump submodule to editor live-testing fixes
ArmenSl Jul 2, 2026
b8d9ae4
feat(agent-converter): fold agent initial state into a data property
ArmenSl Jul 7, 2026
cb71cf4
fix(converters,metamodel): port BUML safety fixes from development
ArmenSl Jul 7, 2026
89ab8fe
feat(generators): add TestCaseGenerator (testgen) and register it
ArmenSl Jul 7, 2026
d00e410
feat(django): OCL constraint validation via clean()
ArmenSl Jul 7, 2026
28f5169
chore: bump web editor frontend submodule
ArmenSl Jul 7, 2026
7201143
feat(gui-mm): extend GUI metamodel with richer input and form semantics
mgv99 Jun 24, 2026
be53ab1
fix(gui): full InputField/Alert parsing and code generation for BESSE…
mgv99 Jul 2, 2026
b83e415
fix: remove unused AlertSeverity import in gui_model_builder.py
Copilot Jul 2, 2026
fb3418d
fix(gui): serialize Alert/InputField/Form back to editor JSON (buml->…
ArmenSl Jul 6, 2026
ed01992
feat(react-generator): support new GUI components from No-Code editor
mgv99 Jul 3, 2026
6b3efc4
fix: remove unused SelectOption import in react serialization
Copilot Jul 3, 2026
01e2e7b
feat(agent): add reply-action primitives + RAG.llm_prompt to metamodel
ArmenSl Jul 7, 2026
159ec2e
feat(agent): port reply-action handling to converters, builder + BAF gen
ArmenSl Jul 7, 2026
2e35865
feat(agents): optional per-agent YAML config + web_app torch wiring
ArmenSl Jul 7, 2026
e00940b
Merge feature/smart-generator into the React Flow migration
ArmenSl Sep 30, 2026
0ab256d
Merge development into the React Flow migration
ArmenSl Sep 30, 2026
32b001b
Merge development into the React Flow migration
ArmenSl Oct 1, 2026
8fc341e
Merge development into the React Flow migration
ArmenSl Oct 6, 2026
13bd550
fix(web-editor): v4 regressions found in the migration review
ArmenSl Oct 6, 2026
b9d3532
chore(frontend): point the submodule at the reviewed React Flow branch
ArmenSl Oct 6, 2026
2e29b11
fix(web-editor): .py imports keep associations and lay out without ov…
ArmenSl Oct 6, 2026
87c359f
chore(frontend): point submodule at the React Flow branch after the f…
ArmenSl Oct 8, 2026
d087bfa
Merge development into the React Flow migration
ArmenSl Oct 8, 2026
49f7444
test(bpmn): agentic BPMN converter and swarm-binding tests on v4 fixt…
ArmenSl Oct 8, 2026
389c285
feat(web-editor): read and write Component and Deployment diagrams as v4
ArmenSl Oct 8, 2026
62f4352
fix(web-editor): read A2A tags from v4 agent diagrams
ArmenSl Oct 8, 2026
742c7b9
docs: v4 shape of Component, Deployment, agentic BPMN and A2A tags
ArmenSl Oct 8, 2026
a53ead0
fix(web-editor): never read a v3 elements map from agent diagrams
ArmenSl Oct 9, 2026
f7b01fd
style(bpmn): repair mis-encoded characters in two comments
ArmenSl Oct 9, 2026
2b68f6c
chore: ignore the BAF application.log
ArmenSl Oct 9, 2026
c585846
fix(nn): sequential generation with a sub-network
ArmenSl Oct 9, 2026
acbc433
fix(django): keep methods on their own line after the OCL clean()
ArmenSl Oct 9, 2026
80e04f5
test(component): editor default stereotypes survive the BUML round trip
ArmenSl Oct 9, 2026
40206e8
docs: state the v4-only wire contract and refresh the v4 shape spec
ArmenSl Oct 9, 2026
546a378
style(web-editor): describe the v4 converters as they are
ArmenSl Oct 9, 2026
35d6210
chore(frontend): point submodule at the React Flow branch with develo…
ArmenSl Oct 9, 2026
83c15ed
chore(frontend): point submodule at the final React Flow branch fixes…
ArmenSl Oct 9, 2026
50ac6f1
fix(web-editor): reject legacy v3 models nested in agent configs
claude Oct 13, 2026
3b5a3d3
fix(web-editor): keep components-only agent diagrams in projects
claude Oct 13, 2026
83c652c
fix(buml-code-builder): sanitize object variable names; fix v4 object…
claude Oct 13, 2026
ed6fdee
chore(tests): remove stray frontend corpus tooling
claude Oct 13, 2026
248c771
fix(web-editor): use the editor's --besser colour token for the agent…
claude Oct 13, 2026
fb6dae5
chore(frontend): point submodule at the React Flow branch with develo…
claude Oct 13, 2026
17b977d
fix(web-editor): resolve object classes by classId in project conversion
ArmenSl Oct 14, 2026
2029b3e
chore(frontend): point submodule at the migration fixes for bound-les…
ArmenSl Oct 14, 2026
a616542
Merge development (v8.2.0) into the React Flow migration
ArmenSl Oct 19, 2026
6fccdcf
test: port development's converter tests to v4 fixtures
ArmenSl Oct 19, 2026
d7ce6e3
docs: document v4 timestamp, UserDiagram and BPMN path locations
ArmenSl Oct 19, 2026
c530b3d
fix(agent-simulator): gate custom code under every action-row key
ArmenSl Oct 19, 2026
659de18
fix(bpmn-converter): reject unknown BPMN edge types
ArmenSl Oct 19, 2026
541df2f
fix(class-converter): emit a class description once
ArmenSl Oct 19, 2026
0c7a94f
fix(class-converter): keep method contracts off the model on .py import
ArmenSl Oct 19, 2026
cee9bbd
fix(buml-builder): one section per model when a project has several o…
ArmenSl Oct 19, 2026
7d9c331
fix(project-converter): keep diagram and class ids through a project .py
ArmenSl Oct 19, 2026
c773293
fix(agent-converter): keep the default LLM where the editor reads it
ArmenSl Oct 19, 2026
f0dbd0c
fix(nn-converter): emit metrics and sub-NN references as the editor s…
ArmenSl Oct 19, 2026
8446147
fix(project-converter): read the project description from its definition
ArmenSl Oct 19, 2026
eb3bf4d
fix(web-editor): answer malformed and v3 diagrams with 400, not 500 o…
ArmenSl Oct 19, 2026
4fe9647
fix(agent-generation): report an agent diagram that has no states
ArmenSl Oct 19, 2026
544af21
fix(class-converter): import a class named Project from B-UML
ArmenSl Oct 19, 2026
425d402
chore(frontend): point the submodule at the React Flow review fixes
ArmenSl Oct 19, 2026
c72b2a1
fix(agent-generation): report an agent without states on single-diagr…
ArmenSl Oct 19, 2026
437a895
fix(class-converter): answer an inheritance cycle and non-list rows w…
ArmenSl Oct 19, 2026
c3acc1a
fix(project-converter): export a project whose name has spaces
ArmenSl Oct 19, 2026
9a173d2
fix(project-converter): keep diagram titles through a project .py
ArmenSl Oct 19, 2026
4b08a20
fix(project-converter): import object diagrams against their class di…
ArmenSl Oct 19, 2026
1810612
fix(class-converter): emit a class description where the inspector re…
ArmenSl Oct 19, 2026
d981262
fix(agent-converter): keep A2A wiring through a B-UML export and import
ArmenSl Oct 19, 2026
9feb2b6
chore(frontend): point the submodule at the final React Flow fixes
ArmenSl Oct 19, 2026
f5fb3f8
chore(frontend): point the submodule at the live-test fixes
ArmenSl Oct 19, 2026
7cc38d4
Merge development into feature/migration-react-flow-sync
ArmenSl Oct 20, 2026
746c603
chore(frontend): show only the class name on association end sections
ArmenSl Oct 20, 2026
f473cb8
chore(frontend): agent initial node, node resizing, one-click associa…
ArmenSl Oct 26, 2026
6c672ce
chore(frontend): taller classes and a polished agent state card
ArmenSl Oct 26, 2026
6b0aaca
chore(frontend): agent entry edge direction and on_error code block
ArmenSl Oct 26, 2026
8421980
fix(web-editor): keep guarded transitions and mixed agent bodies thro…
ArmenSl Oct 26, 2026
d00f837
chore(frontend): interface, deployment, TensorOp and BAL fixes from t…
ArmenSl Oct 26, 2026
885f2a9
Merge development into feature/migration-react-flow-sync
ArmenSl Oct 26, 2026
5c60648
fix(web-editor): keep association orientation on v4; port development…
ArmenSl Oct 26, 2026
67ea4dc
Merge development (Knowledge Graph) into the React Flow migration
ArmenSl Oct 28, 2026
36c7129
chore: tidy the legacy-format guard and update the frontend
ArmenSl Oct 28, 2026
3259492
chore: update the frontend (Knowledge Graph editor in the React Flow …
ArmenSl Oct 29, 2026
b575c8a
chore: update the frontend (develop merged, lazy UI locales in the ed…
ArmenSl Oct 29, 2026
4170001
Merge development (GitHub integration, any target, model catalog) int…
ArmenSl Oct 30, 2026
b06c448
chore: update the frontend (canvas controls on the right edge)
ArmenSl Oct 30, 2026
2f937c4
Merge development (v8.9.3) into the React Flow migration
ArmenSl Nov 9, 2026
2d3f222
fix(web-editor): export process_kg_diagram again and drop a duplicate…
ArmenSl Nov 9, 2026
e09f2bc
test(github): build the model-history fixtures from development in th…
ArmenSl Nov 9, 2026
5a4fffa
test(web-editor): point the v4 tests at the routers and services deve…
ArmenSl Nov 9, 2026
5db149b
test(generation): give the dispatch tests a v4 class diagram
ArmenSl Nov 9, 2026
fdac3a9
test(generators): the BPMN generator reads the "BPMN" project bucket
ArmenSl Nov 9, 2026
61f9f5c
test(web-editor): read and send v4 diagrams in development's import a…
ArmenSl Nov 9, 2026
badf7f8
test(github): send v4 diagrams in development's attribution round-tri…
ArmenSl Nov 9, 2026
262565c
test(github): build v4 class diagrams in development's attribution tests
ArmenSl Nov 9, 2026
1d92b3a
Merge pull request #766 from BESSER-PEARL/arm/rfs-tests-wme
ArmenSl Nov 9, 2026
a01f2f1
Merge pull request #765 from BESSER-PEARL/arm/react-flow-sync
ArmenSl Nov 9, 2026
74ac5c4
chore: update the frontend submodule with the develop sync
ArmenSl Nov 9, 2026
cf49c1d
Merge pull request #773 from BESSER-PEARL/arm/rf-frontend-bump
ArmenSl Nov 10, 2026
9eac985
feat(import): keep an existing diagram's layout on B-UML import
ArmenSl Nov 10, 2026
1839b22
test(import): cover layout adoption and the partial agent import warning
ArmenSl Nov 10, 2026
085b153
docs(backend): document existing_model and the import warnings of /ge…
ArmenSl Nov 10, 2026
ebf9077
Merge origin/development into the React Flow branch
ArmenSl Nov 11, 2026
a425326
fix(editor-backend): reject v3 models that slip past the legacy guard
ArmenSl Nov 11, 2026
5702dec
docs(editor-backend): describe the tightened legacy v3 rule
ArmenSl Nov 11, 2026
cbf1719
test: port the tests merged from development to the v4 diagram shape
ArmenSl Nov 11, 2026
e043348
fix(editor-backend): skip an agent diagram without states in project …
ArmenSl Nov 11, 2026
eccd953
fix(converters): keep class layout through a JSON to B-UML round trip
ArmenSl Nov 11, 2026
6fd4191
chore(frontend): point the editor submodule at the merged React Flow …
ArmenSl Nov 12, 2026
62ef765
chore(frontend): point the editor submodule at the regenerated API sc…
ArmenSl Nov 12, 2026
a67b356
Merge pull request #778 from BESSER-PEARL/fix/774-layout-preserving-i…
ArmenSl Nov 12, 2026
b0ae034
chore(frontend): point the editor submodule at the BPMN export fix
ArmenSl Nov 13, 2026
1a36236
chore(frontend): point the editor submodule at element and diagram locks
ArmenSl Nov 13, 2026
71f799b
chore(frontend): point the editor submodule at the regenerated API types
ArmenSl Nov 13, 2026
f5639ec
chore(frontend): point the editor submodule at the export, lock, cont…
ArmenSl Nov 13, 2026
eb5bc5a
Merge development into the React Flow branch
ArmenSl Dec 2, 2026
ad5b7be
fix(traceability): match a project file's trace to v4 diagrams
ArmenSl Dec 2, 2026
05963f6
fix(user-profile): read v4 UserDiagram nodes in the profile helpers
ArmenSl Dec 2, 2026
28f0b46
fix(spec-driven): find a GUI's class diagram by v4 element ids
ArmenSl Dec 2, 2026
c801bbf
test: port development's agent, GUI, placeholder and Alloy tests to v…
ArmenSl Dec 2, 2026
965b055
docs(v4-shape): component binding and collaboration fields, user prof…
ArmenSl Dec 2, 2026
552d60c
chore(frontend): point the editor submodule at the React Flow branch …
ArmenSl Dec 2, 2026
dc32d35
docs(generators): restore development's toctree order
ArmenSl Dec 2, 2026
3669498
test(bpmn): restore development's full event table and load-bearing f…
ArmenSl Dec 2, 2026
fee0114
fix(class-converter): ignore an unresolvable method return type, as d…
ArmenSl Dec 2, 2026
b1e0d84
fix(agent-converter): read the legacy transition data development read
ArmenSl Dec 2, 2026
4e7241b
fix(nn-converter): place imported layers inside their container
ArmenSl Dec 2, 2026
7d95f8d
fix(nn-converter): restore development's hint on *args/**kwargs errors
ArmenSl Dec 2, 2026
373c083
fix(buml-builder): keep the titles of several BPMN models in a projec…
ArmenSl Dec 2, 2026
89b1226
fix(conversion-router): keep development's diagram priority on a proj…
ArmenSl Dec 2, 2026
4f00375
chore(frontend): point the editor submodule at the develop parity fixes
ArmenSl Dec 2, 2026
96d36ae
revert(registry): the BPMN generator needs the BPMNDiagram type again…
ArmenSl Dec 2, 2026
895d5f8
revert(nn): drop the sub-network sequential generation fix developmen…
ArmenSl Dec 2, 2026
dd0a973
revert(agent-config): use development's --apollon-primary-contrast de…
ArmenSl Dec 2, 2026
f49f812
revert: development's .gitignore and generator tests
ArmenSl Dec 2, 2026
775161a
revert(project-io): restore development's B-UML project and agent .py…
ArmenSl Dec 2, 2026
7fe428b
revert(class-converter): restore development's class diagram output
ArmenSl Dec 2, 2026
392afd2
revert(agent): restore development's agent processing and generation …
ArmenSl Dec 2, 2026
fb051ff
revert(bpmn,nn,state-machine): restore development's converter behaviour
ArmenSl Dec 2, 2026
a0f5259
test(buml-builder): drop branch-only builder tests development lacks
ArmenSl Dec 2, 2026
bbd5a61
chore(frontend): point the editor submodule at the engine-only branch
ArmenSl Dec 2, 2026
6e1eb2e
chore(frontend): point the editor submodule at develop's theme values
ArmenSl Dec 2, 2026
e7982c6
revert: put the branch's own improvements back on the React Flow branch
ArmenSl Dec 3, 2026
f3e6079
Merge development into the React Flow branch
ArmenSl Dec 3, 2026
3ef45b2
chore(frontend): point the editor submodule at the React Flow branch …
ArmenSl Dec 3, 2026
b219eda
test: move the model sync and OCL error fixtures to the v4 diagram fo…
ArmenSl Dec 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ besser/utilities/web_modeling_editor/backend/output
besser/utilities/web_modeling_editor/backend/feedback_data
output_backend/

# BAF logger output (written by tests and local agent runs)
application.log

# pylint
.pylintrc

Expand All @@ -56,6 +59,10 @@ node_modules/

reviews/
.vscode/
/output/

# Local transfer artifacts (never commit)
*.bundle

# Corporate proxy CA certs for building behind TLS inspection (site-internal, do not commit)
ca-certs-extra/*.crt
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ variables are documented in `docs/source/web_editor_backend.rst`. Backend facts
declared on the app itself: `GET /health` (no prefix) and `GET /besser_api/`. OpenAPI UI is at `/docs`,
not `/besser_api/docs`.
- Unhandled exceptions are deliberately flattened to a generic HTTP 500; the traceback is in the server log.
- UML diagrams travel in the v4 React Flow shape (`{version: "4.x", nodes, edges}`); the converters read only
that. A v3 model (`elements` / `relationships`) is refused with HTTP 400 (`services/validators/legacy_format.py`),
never converted to an empty model. GUI and quantum models keep their own formats. The per-type wire contract
is `docs/source/migrations/uml-v4-shape.md`; update it with any converter field change.
- No per-client rate limiting; the only throughput control is `BESSER_LLM_MAX_CONCURRENT_RUNS` on
spec-driven runs (429 when full, 409 when that run id is already active).

Expand Down
5 changes: 4 additions & 1 deletion besser/generators/nn/nn_code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,10 @@ def _apply_sequential_constraints(self, lambda_wrap_types):

# Update prev_out_var with current module's output
if module_details:
if module_name.endswith('_op'):
if isinstance(module_details, dict):
# A sub-NN: its details are a dict of its layers.
prev_out_var = module_details.get("in_out_variable")
elif module_name.endswith('_op'):
module_obj = (
module_details[2]
if len(module_details) > 2 else None
Expand Down
3 changes: 2 additions & 1 deletion besser/generators/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ def load_class(self) -> type:
output_type="file",
file_extension=".bpmn",
requires_class_diagram=False,
required_diagram_type="BPMNDiagram",
# Project bucket key ("BPMN"); the model inside has type "BPMNDiagram".
required_diagram_type="BPMN",
download_filename="bpmn_diagram.bpmn",
agent_tool=AgentTool(
name="generate_bpmn",
Expand Down
44 changes: 26 additions & 18 deletions besser/utilities/buml_code_builder/agent_model_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,26 +199,27 @@ def _write_body(f, state_var: str, state_name: str, body: Body, fallback: bool)
suffix = "_fallback" if fallback else ""
body_var = f"{state_var}{suffix}_body"
body_name = f"{_escape_python_string(state_name)}{suffix}_body"
custom_action = next((a for a in body.actions if isinstance(a, CustomCodeAction)), None)
if custom_action is not None:
# CustomCodeAction is always a singleton in a custom body; its function is
# emitted before the Body is created.
f.write(f"{custom_action.to_code()}\n")
function_match = search(r'def\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(', custom_action.code)
function_name = (
function_match.group(1) if function_match
else f"custom_action_{safe_var_name(custom_action.name)}"
)
action_var = f"CustomCodeAction_{state_var}{suffix}"
f.write(f"{action_var} = CustomCodeAction(callable={function_name})\n")
f.write(f"{body_var} = Body('{body_name}')\n")
f.write(f"{body_var}.add_action({action_var})\n")
else:
f.write(f"{body_var} = Body('{body_name}')\n")
for action in body.actions:
# Code actions' functions and action objects come before the Body; the
# actions are then added in their order, mixed with the other replies.
action_exprs = []
for index, action in enumerate(body.actions):
if isinstance(action, CustomCodeAction):
f.write(f"{action.to_code()}\n")
function_match = search(r'def\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\(', action.code)
function_name = (
function_match.group(1) if function_match
else f"custom_action_{safe_var_name(action.name)}"
)
action_var = f"CustomCodeAction_{state_var}{suffix}" + (f"_{index}" if index else "")
f.write(f"{action_var} = CustomCodeAction(callable={function_name})\n")
action_exprs.append(action_var)
else:
expr = _action_expr(action)
if expr is not None:
f.write(f"{body_var}.add_action({expr})\n")
action_exprs.append(expr)
f.write(f"{body_var} = Body('{body_name}')\n")
for expr in action_exprs:
f.write(f"{body_var}.add_action({expr})\n")
f.write("\n")
setter = "set_fallback_body" if fallback else "set_body"
f.write(f"{state_var}.{setter}({body_var})\n")
Expand Down Expand Up @@ -652,4 +653,11 @@ def condition_var(name):

f.write("\n")

# The web editor's a2a: tags, parsed (see a2a_tags.annotate_agent_with_a2a);
# the Docker Compose generator reads them from the agent.
a2a = getattr(model, "_a2a", None)
if a2a:
f.write("# A2A WIRING\n")
f.write(f"{model_var_name}._a2a = {a2a!r}\n\n")

logger.info("Agent model saved to %s", file_path)
50 changes: 50 additions & 0 deletions besser/utilities/buml_code_builder/project_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
This module generates Python code for complete BUML projects including all models.
"""

import json
import logging
import os
import re
import tempfile
import uuid
import shutil
Expand Down Expand Up @@ -87,6 +89,44 @@ def _suffixed_name(base_name: str, index: int, total: int) -> str:
return f"{base_name}_{index}"


# The fixed "# <KIND> MODEL #" banner a model builder writes, with its borders.
_BUILDER_BANNER = re.compile(r"^#+\n# [A-Z ]+ MODEL #\n#+\n", re.MULTILINE)


def _editor_id_lines(project: Project) -> list:
"""``# diagram-id`` / ``# diagram-title`` / ``# diagram-references`` /
``# class-ids`` comment lines for the web editor.

``json_to_buml_project`` records the diagram each model came from; the
importer restores those ids, titles and object diagram references (in
section order per diagram type) and the class node ids, which
cross-diagram references (object ``classId``, component ``realizes`` /
``processModelRefs``, ...) point at.
"""
diagram_ids = getattr(project, "_diagram_ids", None) or {}
diagram_references = getattr(project, "_diagram_references", None) or {}
lines = []
class_ids = {}
for model in project.models:
entry = diagram_ids.get(id(model))
if entry is None:
continue
diagram_type, diagram_id, title = entry
lines.append(f"# diagram-id {diagram_type}: {json.dumps(diagram_id)}")
# One per id, empty when untitled, so the titles line up with the ids.
title = title if isinstance(title, str) else ""
lines.append(f"# diagram-title {diagram_type}: {json.dumps(title)}")
if diagram_type == "ObjectDiagram":
references = diagram_references.get(id(model)) or {}
lines.append(f"# diagram-references {diagram_type}: {json.dumps(references, sort_keys=True)}")
index = getattr(model, "_wme_class_index", None)
if diagram_type == "ClassDiagram" and index:
class_ids[diagram_id] = {cls.name: wid for wid, cls in index.items()}
if class_ids:
lines.append(f"# class-ids {json.dumps(class_ids, sort_keys=True)}")
return lines


def _section_titles(models: Sequence, titles_by_id: Dict[int, str]) -> List[str]:
"""Return the title each model's section banner carries, in order.

Expand All @@ -111,6 +151,9 @@ def _write_temp_to_output(temp_path: str, out_file, section_header: str = ""):
# One version header per file: the project writes its own at the top.
content = content.removeprefix(buml_header())
if section_header:
# The numbered header replaces the builder's banner: with both, the
# importer reads each model as two sections.
content = _BUILDER_BANNER.sub("", content, count=1)
out_file.write(section_header)
out_file.write(content)
out_file.write("\n\n")
Expand Down Expand Up @@ -618,6 +661,13 @@ def project_to_code(project: Project, file_path: str, sm: str = "", emit_ids: bo
f.write("######################\n\n")
f.write("from besser.BUML.metamodel.project import Project\n")
f.write("from besser.BUML.metamodel.structural.structural import Metadata\n\n")
id_lines = _editor_id_lines(project)
display_name = getattr(project, "_display_name", None)
if display_name:
id_lines.insert(0, f"# project-name {json.dumps(display_name)}")
if id_lines:
f.write("# Web editor ids, read back on import\n")
f.write("\n".join(id_lines) + "\n\n")

# Write metadata and project
f.write(f'metadata = Metadata(description="{_escape_python_string(project.metadata.description)}")\n')
Expand Down
75 changes: 30 additions & 45 deletions besser/utilities/kg_llm_to_buml.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ def clean_plantuml_response(response: str) -> str:
def convert_spec_json_to_buml(system_spec, title="KG Imported Diagram"):
"""
Convert class specifications from GPT-generated JSON to the web editor's
class-diagram JSON (``{"title", "model": {"elements", "relationships"}}``).
class-diagram JSON (``{"title", "model": {"nodes", "edges"}}``).

:func:`kg_to_buml` does not go through this JSON: it builds the model with
:func:`spec_to_domain_model`. Kept for callers of the released API.
"""

elements = {}
relationships = {}
nodes = []
edges = []

# ID generation helpers
def make_id(prefix, counter):
Expand All @@ -132,11 +132,11 @@ def make_id(prefix, counter):
class_map[cls["className"]] = class_id
class_counter += 1

# Create class element
class_element = {
"id": class_id,
"type": "Class",
# Create class node (v4 shape); attribute/method rows carry the
# "+ name: type" signature, parsed by the class diagram processor.
class_data = {
"name": cls["className"],
"stereotype": None,
"attributes": [],
"methods": []
}
Expand All @@ -154,15 +154,7 @@ def make_id(prefix, counter):
)
name_str = f"{visibility_symbol} {attr['name']}: {attr['type']}"

attr_element = {
"id": attr_id,
"type": "ClassAttribute",
"owner": class_id,
"name": name_str
}

class_element["attributes"].append(attr_id)
elements[attr_id] = attr_element
class_data["attributes"].append({"id": attr_id, "name": name_str})

# --- Methods ---
for method in cls.get("methods", []):
Expand All @@ -185,17 +177,14 @@ def make_id(prefix, counter):

name_str = f"{visibility_symbol} {method['name']}({param_str}): {return_type}"

method_element = {
"id": method_id,
"type": "ClassMethod",
"owner": class_id,
"name": name_str
}

class_element["methods"].append(method_id)
elements[method_id] = method_element
class_data["methods"].append({"id": method_id, "name": name_str})

elements[class_id] = class_element
nodes.append({
"id": class_id,
"type": "class",
"position": {"x": 0, "y": 0},
"data": class_data
})

# === Relationships ===
for rel in system_spec.get("relationships", []):
Expand All @@ -218,34 +207,30 @@ def make_id(prefix, counter):
if not source_class_id or not target_class_id:
continue # skip invalid relationships

relationship_obj = {
edges.append({
"id": rel_id,
"type": converted_type,
"source": {
"element": source_class_id,
"multiplicity": rel.get("sourceMultiplicity", "1"),
"role": rel.get("sourceRole", "")
},
"target": {
"element": target_class_id,
"multiplicity": rel.get("targetMultiplicity", "1"),
"role": rel.get("name", "")
},
"name": rel.get("name", "")
}

relationships[rel_id] = relationship_obj
"source": source_class_id,
"target": target_class_id,
"data": {
"name": rel.get("name", ""),
"sourceMultiplicity": rel.get("sourceMultiplicity", "1"),
"sourceRole": rel.get("sourceRole", ""),
"targetMultiplicity": rel.get("targetMultiplicity", "1"),
"targetRole": rel.get("name", "")
}
})

# === Final structure ===
apollon_buml_json = {
besser_buml_json = {
"title": title.replace(" ", "_"),
"model": {
"elements": elements,
"relationships": relationships
"nodes": nodes,
"edges": edges
}
}

return apollon_buml_json
return besser_buml_json


_VISIBILITIES = {"public", "private", "protected", "package"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,34 @@
# BPMN — WME ↔ B-UML BPMN metamodel constants
# Single source of truth for the BPMN converter pair (json_to_buml /
# buml_to_json). Diagram-type discriminator: "BPMNDiagram" (uniform with
# "ClassDiagram", "StateMachineDiagram", …).
# "ClassDiagram", "StateMachineDiagram", …) — the value of
# ``UMLDiagramType.BPMN`` in ``packages/library/lib/types/DiagramType.ts``.
# ---------------------------------------------------------------------------
BPMN_DIAGRAM_TYPE = "BPMNDiagram"
BPMN_RELATIONSHIP_TYPE = "BPMNFlow"
# Both spellings accepted on read: "BPMN" was the canonical v4 value for a while
# (and is the project-envelope key, ``project.diagrams.BPMN``).
BPMN_DIAGRAM_TYPES = ("BPMNDiagram", "BPMN")
# Key of the BPMN bucket in the project envelope (``project.diagrams.BPMN``,
# ``SupportedDiagramType`` in the webapp) — NOT the model ``type`` above.
BPMN_PROJECT_DIAGRAM_KEY = "BPMN"

# UML Deployment diagram type (the Docker Compose generator's input).
DEPLOYMENT_DIAGRAM_TYPE = "DeploymentDiagram"

# v4 required-interface edge types per diagram. The socket variants differ only
# in how much of the socket is drawn; all read as InterfaceRequired, and the
# converters keep the drawn variant in the relationship layout.
COMPONENT_REQUIRED_INTERFACE_EDGE_TYPES = frozenset({
"ComponentRequiredInterface",
"ComponentRequiredQuarterInterface",
"ComponentRequiredThreeQuarterInterface",
})
DEPLOYMENT_REQUIRED_INTERFACE_EDGE_TYPES = frozenset({
"DeploymentRequiredInterface",
"DeploymentRequiredQuarterInterface",
"DeploymentRequiredThreeQuarterInterface",
})

# Knowledge Graph diagram type (the KG editor's model, see ``routers/kg_router.py``).
KG_DIAGRAM_TYPE = "KnowledgeGraphDiagram"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"font": "sans",
"lineSpacing": 1.5,
"alignment": "left",
"color": "var(--apollon-primary-contrast)",
"color": "var(--besser-primary-contrast)",
"contrast": "medium"
},
"voiceStyle": {
Expand Down
20 changes: 19 additions & 1 deletion besser/utilities/web_modeling_editor/backend/models/diagram.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Dict, Any, Literal, Optional
from datetime import datetime
from pydantic import BaseModel
from pydantic import BaseModel, model_validator

class DjangoConfig(BaseModel):
project_name: str
Expand All @@ -25,6 +25,24 @@ class DiagramInput(BaseModel):
referenceDiagramData: Optional[Dict[str, Any]] = None
references: Optional[Dict[str, str]] = None # Per-diagram cross-references by ID (e.g. {"ClassDiagram": "uuid-..."})

@model_validator(mode="after")
def reject_legacy_v3_model(self) -> "DiagramInput":
"""Reject a UML model saved in the legacy v3 editor format.

Raises ``LegacyDiagramFormatError`` (a ``ConversionError``) rather
than ``ValueError`` on purpose: pydantic lets non-``ValueError``
exceptions propagate, so the app-level ``ConversionError`` handler
answers HTTP 400 with this message instead of a generic 422. It also
fires for diagrams nested in a ``ProjectInput``.
"""
# Lazy import: importing the services package at module load would
# cycle back here (services.deployment -> routers -> models).
from besser.utilities.web_modeling_editor.backend.services.validators.legacy_format import (
ensure_diagram_not_legacy,
)
ensure_diagram_not_legacy(self.model, title=self.title, reference=self.referenceDiagramData)
return self


class FeedbackSubmission(BaseModel):
"""Model for user feedback submissions."""
Expand Down
Loading