@praxisui/visual-builder 10.0.0-rc.44 → 10.0.0-rc.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +249 -14
- package/fesm2022/praxisui-visual-builder.mjs +2969 -22
- package/package.json +5 -5
- package/types/praxisui-visual-builder.d.ts +207 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-14T23:14:13.846Z",
|
|
4
4
|
"packageName": "@praxisui/visual-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.45",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -300,31 +300,121 @@
|
|
|
300
300
|
{
|
|
301
301
|
"kind": "node",
|
|
302
302
|
"resolver": "rule-node-by-id",
|
|
303
|
+
"resolutionSpec": {
|
|
304
|
+
"strategy": "array-match",
|
|
305
|
+
"paths": [
|
|
306
|
+
"RuleBuilderState.nodes",
|
|
307
|
+
"nodes"
|
|
308
|
+
],
|
|
309
|
+
"matchFields": [
|
|
310
|
+
"id",
|
|
311
|
+
"nodeId"
|
|
312
|
+
],
|
|
313
|
+
"inputMatchFields": [
|
|
314
|
+
"nodeId",
|
|
315
|
+
"id"
|
|
316
|
+
],
|
|
317
|
+
"allowIndex": false
|
|
318
|
+
},
|
|
303
319
|
"description": "Visual rule graph node keyed by stable RuleNode.id."
|
|
304
320
|
},
|
|
305
321
|
{
|
|
306
322
|
"kind": "edge",
|
|
307
323
|
"resolver": "rule-node-edge-by-source-target",
|
|
324
|
+
"resolutionSpec": {
|
|
325
|
+
"strategy": "array-match",
|
|
326
|
+
"paths": [
|
|
327
|
+
"RuleBuilderState.nodes",
|
|
328
|
+
"nodes"
|
|
329
|
+
],
|
|
330
|
+
"matchFields": [
|
|
331
|
+
"id",
|
|
332
|
+
"nodeId"
|
|
333
|
+
],
|
|
334
|
+
"inputMatchFields": [
|
|
335
|
+
"sourceNodeId",
|
|
336
|
+
"targetNodeId"
|
|
337
|
+
],
|
|
338
|
+
"allowIndex": false
|
|
339
|
+
},
|
|
308
340
|
"description": "Parent-child or semantic graph edge between existing rule nodes."
|
|
309
341
|
},
|
|
310
342
|
{
|
|
311
343
|
"kind": "variable",
|
|
312
344
|
"resolver": "context-variable-by-name-scope",
|
|
345
|
+
"resolutionSpec": {
|
|
346
|
+
"strategy": "array-match",
|
|
347
|
+
"paths": [
|
|
348
|
+
"RuleBuilderConfig.contextVariables",
|
|
349
|
+
"config.contextVariables",
|
|
350
|
+
"contextVariables"
|
|
351
|
+
],
|
|
352
|
+
"matchFields": [
|
|
353
|
+
"name",
|
|
354
|
+
"scope"
|
|
355
|
+
],
|
|
356
|
+
"inputMatchFields": [
|
|
357
|
+
"name",
|
|
358
|
+
"scope"
|
|
359
|
+
],
|
|
360
|
+
"allowIndex": false
|
|
361
|
+
},
|
|
313
362
|
"description": "Context variable governed by ContextManagementService for contextual/template flows; visual field-condition references are not authorable until a canonical JSON Logic shape exists."
|
|
314
363
|
},
|
|
315
364
|
{
|
|
316
365
|
"kind": "condition",
|
|
317
366
|
"resolver": "json-logic-condition-by-node",
|
|
367
|
+
"resolutionSpec": {
|
|
368
|
+
"strategy": "array-match",
|
|
369
|
+
"paths": [
|
|
370
|
+
"RuleBuilderState.nodes",
|
|
371
|
+
"nodes"
|
|
372
|
+
],
|
|
373
|
+
"matchFields": [
|
|
374
|
+
"id",
|
|
375
|
+
"nodeId"
|
|
376
|
+
],
|
|
377
|
+
"inputMatchFields": [
|
|
378
|
+
"nodeId",
|
|
379
|
+
"id"
|
|
380
|
+
],
|
|
381
|
+
"allowIndex": false
|
|
382
|
+
},
|
|
318
383
|
"description": "JSON Logic condition attached to a node or represented by condition nodes."
|
|
319
384
|
},
|
|
320
385
|
{
|
|
321
386
|
"kind": "effect",
|
|
322
387
|
"resolver": "property-effect-by-node",
|
|
388
|
+
"resolutionSpec": {
|
|
389
|
+
"strategy": "array-match",
|
|
390
|
+
"paths": [
|
|
391
|
+
"RuleBuilderState.nodes",
|
|
392
|
+
"nodes"
|
|
393
|
+
],
|
|
394
|
+
"matchFields": [
|
|
395
|
+
"id",
|
|
396
|
+
"nodeId"
|
|
397
|
+
],
|
|
398
|
+
"inputMatchFields": [
|
|
399
|
+
"nodeId",
|
|
400
|
+
"id"
|
|
401
|
+
],
|
|
402
|
+
"allowIndex": false
|
|
403
|
+
},
|
|
323
404
|
"description": "Targeted property effect persisted as propertyRule/FormLayoutRule semantics."
|
|
324
405
|
},
|
|
325
406
|
{
|
|
326
407
|
"kind": "dslDocument",
|
|
327
408
|
"resolver": "rule-builder-json-logic-document",
|
|
409
|
+
"resolutionSpec": {
|
|
410
|
+
"strategy": "root-path",
|
|
411
|
+
"paths": [
|
|
412
|
+
"RuleBuilderState.currentJSON",
|
|
413
|
+
"currentJSON",
|
|
414
|
+
""
|
|
415
|
+
],
|
|
416
|
+
"allowIndex": false
|
|
417
|
+
},
|
|
328
418
|
"description": "Serialized JSON Logic/form-config document produced from the visual model."
|
|
329
419
|
}
|
|
330
420
|
],
|
|
@@ -337,6 +427,22 @@
|
|
|
337
427
|
"target": {
|
|
338
428
|
"kind": "node",
|
|
339
429
|
"resolver": "rule-node-by-id",
|
|
430
|
+
"resolutionSpec": {
|
|
431
|
+
"strategy": "array-match",
|
|
432
|
+
"paths": [
|
|
433
|
+
"RuleBuilderState.nodes",
|
|
434
|
+
"nodes"
|
|
435
|
+
],
|
|
436
|
+
"matchFields": [
|
|
437
|
+
"id",
|
|
438
|
+
"nodeId"
|
|
439
|
+
],
|
|
440
|
+
"inputMatchFields": [
|
|
441
|
+
"nodeId",
|
|
442
|
+
"id"
|
|
443
|
+
],
|
|
444
|
+
"allowIndex": false
|
|
445
|
+
},
|
|
340
446
|
"ambiguityPolicy": "fail",
|
|
341
447
|
"required": true
|
|
342
448
|
},
|
|
@@ -506,6 +612,22 @@
|
|
|
506
612
|
"target": {
|
|
507
613
|
"kind": "node",
|
|
508
614
|
"resolver": "rule-node-by-id",
|
|
615
|
+
"resolutionSpec": {
|
|
616
|
+
"strategy": "array-match",
|
|
617
|
+
"paths": [
|
|
618
|
+
"RuleBuilderState.nodes",
|
|
619
|
+
"nodes"
|
|
620
|
+
],
|
|
621
|
+
"matchFields": [
|
|
622
|
+
"id",
|
|
623
|
+
"nodeId"
|
|
624
|
+
],
|
|
625
|
+
"inputMatchFields": [
|
|
626
|
+
"nodeId",
|
|
627
|
+
"id"
|
|
628
|
+
],
|
|
629
|
+
"allowIndex": false
|
|
630
|
+
},
|
|
509
631
|
"ambiguityPolicy": "fail",
|
|
510
632
|
"required": true
|
|
511
633
|
},
|
|
@@ -599,6 +721,22 @@
|
|
|
599
721
|
"target": {
|
|
600
722
|
"kind": "node",
|
|
601
723
|
"resolver": "rule-node-by-id",
|
|
724
|
+
"resolutionSpec": {
|
|
725
|
+
"strategy": "array-match",
|
|
726
|
+
"paths": [
|
|
727
|
+
"RuleBuilderState.nodes",
|
|
728
|
+
"nodes"
|
|
729
|
+
],
|
|
730
|
+
"matchFields": [
|
|
731
|
+
"id",
|
|
732
|
+
"nodeId"
|
|
733
|
+
],
|
|
734
|
+
"inputMatchFields": [
|
|
735
|
+
"nodeId",
|
|
736
|
+
"id"
|
|
737
|
+
],
|
|
738
|
+
"allowIndex": false
|
|
739
|
+
},
|
|
602
740
|
"ambiguityPolicy": "fail",
|
|
603
741
|
"required": true
|
|
604
742
|
},
|
|
@@ -700,6 +838,22 @@
|
|
|
700
838
|
"target": {
|
|
701
839
|
"kind": "edge",
|
|
702
840
|
"resolver": "rule-node-edge-by-source-target",
|
|
841
|
+
"resolutionSpec": {
|
|
842
|
+
"strategy": "array-match",
|
|
843
|
+
"paths": [
|
|
844
|
+
"RuleBuilderState.nodes",
|
|
845
|
+
"nodes"
|
|
846
|
+
],
|
|
847
|
+
"matchFields": [
|
|
848
|
+
"id",
|
|
849
|
+
"nodeId"
|
|
850
|
+
],
|
|
851
|
+
"inputMatchFields": [
|
|
852
|
+
"sourceNodeId",
|
|
853
|
+
"targetNodeId"
|
|
854
|
+
],
|
|
855
|
+
"allowIndex": false
|
|
856
|
+
},
|
|
703
857
|
"ambiguityPolicy": "fail",
|
|
704
858
|
"required": true
|
|
705
859
|
},
|
|
@@ -806,6 +960,22 @@
|
|
|
806
960
|
"target": {
|
|
807
961
|
"kind": "edge",
|
|
808
962
|
"resolver": "rule-node-edge-by-source-target",
|
|
963
|
+
"resolutionSpec": {
|
|
964
|
+
"strategy": "array-match",
|
|
965
|
+
"paths": [
|
|
966
|
+
"RuleBuilderState.nodes",
|
|
967
|
+
"nodes"
|
|
968
|
+
],
|
|
969
|
+
"matchFields": [
|
|
970
|
+
"id",
|
|
971
|
+
"nodeId"
|
|
972
|
+
],
|
|
973
|
+
"inputMatchFields": [
|
|
974
|
+
"sourceNodeId",
|
|
975
|
+
"targetNodeId"
|
|
976
|
+
],
|
|
977
|
+
"allowIndex": false
|
|
978
|
+
},
|
|
809
979
|
"ambiguityPolicy": "fail",
|
|
810
980
|
"required": true
|
|
811
981
|
},
|
|
@@ -913,6 +1083,23 @@
|
|
|
913
1083
|
"target": {
|
|
914
1084
|
"kind": "variable",
|
|
915
1085
|
"resolver": "context-variable-by-name-scope",
|
|
1086
|
+
"resolutionSpec": {
|
|
1087
|
+
"strategy": "array-match",
|
|
1088
|
+
"paths": [
|
|
1089
|
+
"RuleBuilderConfig.contextVariables",
|
|
1090
|
+
"config.contextVariables",
|
|
1091
|
+
"contextVariables"
|
|
1092
|
+
],
|
|
1093
|
+
"matchFields": [
|
|
1094
|
+
"name",
|
|
1095
|
+
"scope"
|
|
1096
|
+
],
|
|
1097
|
+
"inputMatchFields": [
|
|
1098
|
+
"name",
|
|
1099
|
+
"scope"
|
|
1100
|
+
],
|
|
1101
|
+
"allowIndex": false
|
|
1102
|
+
},
|
|
916
1103
|
"ambiguityPolicy": "fail",
|
|
917
1104
|
"required": true
|
|
918
1105
|
},
|
|
@@ -1026,6 +1213,22 @@
|
|
|
1026
1213
|
"target": {
|
|
1027
1214
|
"kind": "condition",
|
|
1028
1215
|
"resolver": "json-logic-condition-by-node",
|
|
1216
|
+
"resolutionSpec": {
|
|
1217
|
+
"strategy": "array-match",
|
|
1218
|
+
"paths": [
|
|
1219
|
+
"RuleBuilderState.nodes",
|
|
1220
|
+
"nodes"
|
|
1221
|
+
],
|
|
1222
|
+
"matchFields": [
|
|
1223
|
+
"id",
|
|
1224
|
+
"nodeId"
|
|
1225
|
+
],
|
|
1226
|
+
"inputMatchFields": [
|
|
1227
|
+
"nodeId",
|
|
1228
|
+
"id"
|
|
1229
|
+
],
|
|
1230
|
+
"allowIndex": false
|
|
1231
|
+
},
|
|
1029
1232
|
"ambiguityPolicy": "fail",
|
|
1030
1233
|
"required": true
|
|
1031
1234
|
},
|
|
@@ -1115,6 +1318,7 @@
|
|
|
1115
1318
|
"json-logic-valid",
|
|
1116
1319
|
"condition-operators-supported",
|
|
1117
1320
|
"condition-fields-known",
|
|
1321
|
+
"condition-ontological-roots-valid",
|
|
1118
1322
|
"dsl-round-trip-stable"
|
|
1119
1323
|
],
|
|
1120
1324
|
"affectedPaths": [
|
|
@@ -1136,6 +1340,22 @@
|
|
|
1136
1340
|
"target": {
|
|
1137
1341
|
"kind": "effect",
|
|
1138
1342
|
"resolver": "property-effect-by-node",
|
|
1343
|
+
"resolutionSpec": {
|
|
1344
|
+
"strategy": "array-match",
|
|
1345
|
+
"paths": [
|
|
1346
|
+
"RuleBuilderState.nodes",
|
|
1347
|
+
"nodes"
|
|
1348
|
+
],
|
|
1349
|
+
"matchFields": [
|
|
1350
|
+
"id",
|
|
1351
|
+
"nodeId"
|
|
1352
|
+
],
|
|
1353
|
+
"inputMatchFields": [
|
|
1354
|
+
"nodeId",
|
|
1355
|
+
"id"
|
|
1356
|
+
],
|
|
1357
|
+
"allowIndex": false
|
|
1358
|
+
},
|
|
1139
1359
|
"ambiguityPolicy": "fail",
|
|
1140
1360
|
"required": true
|
|
1141
1361
|
},
|
|
@@ -1280,6 +1500,15 @@
|
|
|
1280
1500
|
"target": {
|
|
1281
1501
|
"kind": "dslDocument",
|
|
1282
1502
|
"resolver": "rule-builder-json-logic-document",
|
|
1503
|
+
"resolutionSpec": {
|
|
1504
|
+
"strategy": "root-path",
|
|
1505
|
+
"paths": [
|
|
1506
|
+
"RuleBuilderState.currentJSON",
|
|
1507
|
+
"currentJSON",
|
|
1508
|
+
""
|
|
1509
|
+
],
|
|
1510
|
+
"allowIndex": false
|
|
1511
|
+
},
|
|
1283
1512
|
"ambiguityPolicy": "fail",
|
|
1284
1513
|
"required": false
|
|
1285
1514
|
},
|
|
@@ -1467,6 +1696,12 @@
|
|
|
1467
1696
|
"code": "VISUAL_BUILDER_CONDITION_FIELDS_KNOWN",
|
|
1468
1697
|
"description": "Condition field references must resolve to configured field schemas; field-to-field comparisons use JSON Logic var operands."
|
|
1469
1698
|
},
|
|
1699
|
+
{
|
|
1700
|
+
"validatorId": "condition-ontological-roots-valid",
|
|
1701
|
+
"level": "error",
|
|
1702
|
+
"code": "VISUAL_BUILDER_ONTOLOGICAL_ROOTS_VALID",
|
|
1703
|
+
"description": "When ontologicalFactTree.availableRoots is configured, condition var paths must start with an allowed ontological root (draft, current, <concept>, neighborhood, context) and never use legacy facts.*."
|
|
1704
|
+
},
|
|
1470
1705
|
{
|
|
1471
1706
|
"validatorId": "effect-targets-exist",
|
|
1472
1707
|
"level": "error",
|
|
@@ -1767,9 +2002,9 @@
|
|
|
1767
2002
|
{
|
|
1768
2003
|
"chunkIndex": 7,
|
|
1769
2004
|
"chunkKind": "authoring_manifest",
|
|
1770
|
-
"content": "{\"operationId\":\"condition.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set JSON Logic condition Effects: compile-domain-patch. Set this condition to require country equal Brazil. Use age > 18 as a JavaScript expression.\",\"scope\":\"rules\",\"target\":{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"required\":true},\"inputContract\":{\"required\":[\"nodeId\",\"condition\"],\"properties\":[\"nodeId\",\"condition\",\"mode\",\"source\"],\"semanticTerms\":[\"nodeId\",\"condition\",\"mode\",\"source\",\"replace\",\"merge\",\"visual\",\"jsonLogic\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].config.condition\",\"RuleBuilderState.currentJSON\"],\"validators\":[{\"validatorId\":\"json-logic-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_JSON_LOGIC_VALID\",\"description\":\"Conditions must be valid JSON Logic objects, not JavaScript or legacy textual DSL.\"},{\"validatorId\":\"condition-operators-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_OPERATORS_SUPPORTED\",\"description\":\"Condition operators must be supported by visual parsing and export.\"},{\"validatorId\":\"condition-fields-known\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_FIELDS_KNOWN\",\"description\":\"Condition field references must resolve to configured field schemas; field-to-field comparisons use JSON Logic var operands.\"},{\"validatorId\":\"dsl-round-trip-stable\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DSL_ROUND_TRIP_STABLE\",\"description\":\"Serialized JSON output must import back to the same semantic visual model.\"}],\"preconditions\":[\"rule-builder-state-loaded\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"set-condition\",\"request\":\"Set this condition to require country equal Brazil.\",\"operationId\":\"condition.set\",\"params\":{\"nodeId\":\"country-br\",\"condition\":{\"===\":[{\"var\":\"country\"},\"BR\"]},\"source\":\"jsonLogic\"},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-javascript-condition\",\"request\":\"Use age > 18 as a JavaScript expression.\",\"operationId\":\"condition.set\",\"params\":{\"nodeId\":\"age-gt-18\",\"condition\":\"age > 18\"},\"isPositive\":false}]}",
|
|
2005
|
+
"content": "{\"operationId\":\"condition.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set JSON Logic condition Effects: compile-domain-patch. Set this condition to require country equal Brazil. Use age > 18 as a JavaScript expression.\",\"scope\":\"rules\",\"target\":{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"required\":true},\"inputContract\":{\"required\":[\"nodeId\",\"condition\"],\"properties\":[\"nodeId\",\"condition\",\"mode\",\"source\"],\"semanticTerms\":[\"nodeId\",\"condition\",\"mode\",\"source\",\"replace\",\"merge\",\"visual\",\"jsonLogic\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].config.condition\",\"RuleBuilderState.currentJSON\"],\"validators\":[{\"validatorId\":\"json-logic-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_JSON_LOGIC_VALID\",\"description\":\"Conditions must be valid JSON Logic objects, not JavaScript or legacy textual DSL.\"},{\"validatorId\":\"condition-operators-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_OPERATORS_SUPPORTED\",\"description\":\"Condition operators must be supported by visual parsing and export.\"},{\"validatorId\":\"condition-fields-known\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_FIELDS_KNOWN\",\"description\":\"Condition field references must resolve to configured field schemas; field-to-field comparisons use JSON Logic var operands.\"},{\"validatorId\":\"condition-ontological-roots-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_ONTOLOGICAL_ROOTS_VALID\",\"description\":\"When ontologicalFactTree.availableRoots is configured, condition var paths must start with an allowed ontological root (draft, current, <concept>, neighborhood, context) and never use legacy facts.*.\"},{\"validatorId\":\"dsl-round-trip-stable\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DSL_ROUND_TRIP_STABLE\",\"description\":\"Serialized JSON output must import back to the same semantic visual model.\"}],\"preconditions\":[\"rule-builder-state-loaded\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"set-condition\",\"request\":\"Set this condition to require country equal Brazil.\",\"operationId\":\"condition.set\",\"params\":{\"nodeId\":\"country-br\",\"condition\":{\"===\":[{\"var\":\"country\"},\"BR\"]},\"source\":\"jsonLogic\"},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-javascript-condition\",\"request\":\"Use age > 18 as a JavaScript expression.\",\"operationId\":\"condition.set\",\"params\":{\"nodeId\":\"age-gt-18\",\"condition\":\"age > 18\"},\"isPositive\":false}]}",
|
|
1771
2006
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1772
|
-
"contentHash": "
|
|
2007
|
+
"contentHash": "103da5584ee5de7805dcab4bd52101a12eb105bf23bb2b624fb0d7dc30f766a5",
|
|
1773
2008
|
"sourceKind": "component_definition",
|
|
1774
2009
|
"sourceId": "praxis-visual-builder",
|
|
1775
2010
|
"corpusVersion": "1.0.0"
|
|
@@ -1817,9 +2052,9 @@
|
|
|
1817
2052
|
{
|
|
1818
2053
|
"chunkIndex": 12,
|
|
1819
2054
|
"chunkKind": "authoring_manifest",
|
|
1820
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"description\":\"Visual rule graph node keyed by stable RuleNode.id.\"},{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"description\":\"Parent-child or semantic graph edge between existing rule nodes.\"},{\"kind\":\"variable\",\"resolver\":\"context-variable-by-name-scope\",\"description\":\"Context variable governed by ContextManagementService for contextual/template flows; visual field-condition references are not authorable until a canonical JSON Logic shape exists.\"},{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"description\":\"JSON Logic condition attached to a node or represented by condition nodes.\"},{\"kind\":\"effect\",\"resolver\":\"property-effect-by-node\",\"description\":\"Targeted property effect persisted as propertyRule/FormLayoutRule semantics.\"},{\"kind\":\"dslDocument\",\"resolver\":\"rule-builder-json-logic-document\",\"description\":\"Serialized JSON Logic/form-config document produced from the visual model.\"}]}",
|
|
2055
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"description\":\"Visual rule graph node keyed by stable RuleNode.id.\"},{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"sourceNodeId\",\"targetNodeId\"],\"allowIndex\":false},\"description\":\"Parent-child or semantic graph edge between existing rule nodes.\"},{\"kind\":\"variable\",\"resolver\":\"context-variable-by-name-scope\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderConfig.contextVariables\",\"config.contextVariables\",\"contextVariables\"],\"matchFields\":[\"name\",\"scope\"],\"inputMatchFields\":[\"name\",\"scope\"],\"allowIndex\":false},\"description\":\"Context variable governed by ContextManagementService for contextual/template flows; visual field-condition references are not authorable until a canonical JSON Logic shape exists.\"},{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"description\":\"JSON Logic condition attached to a node or represented by condition nodes.\"},{\"kind\":\"effect\",\"resolver\":\"property-effect-by-node\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"description\":\"Targeted property effect persisted as propertyRule/FormLayoutRule semantics.\"},{\"kind\":\"dslDocument\",\"resolver\":\"rule-builder-json-logic-document\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"RuleBuilderState.currentJSON\",\"currentJSON\",\"\"],\"allowIndex\":false},\"description\":\"Serialized JSON Logic/form-config document produced from the visual model.\"}]}",
|
|
1821
2056
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1822
|
-
"contentHash": "
|
|
2057
|
+
"contentHash": "91b38a2dafa66e6796abef2ceb6de131a1611be8f5028ccc028b999b6adc461c",
|
|
1823
2058
|
"sourceKind": "component_definition",
|
|
1824
2059
|
"sourceId": "praxis-visual-builder",
|
|
1825
2060
|
"corpusVersion": "1.0.0"
|
|
@@ -1827,9 +2062,9 @@
|
|
|
1827
2062
|
{
|
|
1828
2063
|
"chunkIndex": 13,
|
|
1829
2064
|
"chunkKind": "authoring_manifest",
|
|
1830
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"node.add\",\"title\":\"Add visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"nodeType\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"nodeType\":{\"enum\":[\"fieldCondition\",\"propertyRule\",\"andGroup\",\"orGroup\",\"notGroup\",\"xorGroup\",\"impliesGroup\",\"requiredIf\",\"visibleIf\",\"disabledIf\",\"readonlyIf\",\"forEach\",\"uniqueBy\",\"minLength\",\"maxLength\",\"ifDefined\",\"ifNotNull\",\"ifExists\",\"withDefault\",\"functionCall\",\"fieldToField\",\"contextual\",\"atLeast\",\"exactly\",\"expression\",\"contextualTemplate\",\"custom\"]},\"label\":{\"type\":\"string\"},\"parentId\":{\"type\":\"string\"},\"config\":{\"type\":\"object\"},\"metadata\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-add\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\",\"RuleBuilderService.addNode\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"nodeType\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"nodeType\":{\"enum\":[\"fieldCondition\",\"propertyRule\",\"andGroup\",\"orGroup\",\"notGroup\",\"xorGroup\",\"impliesGroup\",\"requiredIf\",\"visibleIf\",\"disabledIf\",\"readonlyIf\",\"forEach\",\"uniqueBy\",\"minLength\",\"maxLength\",\"ifDefined\",\"ifNotNull\",\"ifExists\",\"withDefault\",\"functionCall\",\"fieldToField\",\"contextual\",\"atLeast\",\"exactly\",\"expression\",\"contextualTemplate\",\"custom\"]},\"label\":{\"type\":\"string\"},\"parentId\":{\"type\":\"string\"},\"config\":{\"type\":\"object\"},\"metadata\":{\"type\":\"object\"}}},\"failureModes\":[\"duplicate-node-id\",\"unsupported-node-type\",\"parent-node-not-found\",\"graph-cycle-created\"],\"description\":\"Adds a rule node by stable id and validates graph integrity before the state can be serialized.\"}}],\"validators\":[\"node-id-unique\",\"node-type-supported\",\"parent-node-exists\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"node.remove\",\"title\":\"Remove visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"removeDescendants\":{\"type\":\"boolean\"},\"preserveDisconnectedChildren\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-remove\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\",\"RuleBuilderService.removeNode\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"removeDescendants\":{\"type\":\"boolean\"},\"preserveDisconnectedChildren\":{\"type\":\"boolean\"}}},\"failureModes\":[\"node-not-found\",\"destructive-removal-not-confirmed\",\"orphaned-edge-created\",\"dsl-round-trip-failed\"],\"description\":\"Removes a node and governed descendants by id, requiring confirmation because conditions/effects can be lost.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"node-exists\",\"destructive-removal-confirmed\",\"edges-reference-existing-nodes\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\",\"explicit-confirmation-provided\"]},{\"operationId\":\"node.configure\",\"title\":\"Configure visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"configPatch\":{\"type\":\"object\"},\"metadataPatch\":{\"type\":\"object\"},\"expanded\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-configure\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderService.updateNode\",\"RuleNodeRegistryService\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"configPatch\":{\"type\":\"object\"},\"metadataPatch\":{\"type\":\"object\"},\"expanded\":{\"type\":\"boolean\"}}},\"failureModes\":[\"node-not-found\",\"config-shape-invalid\",\"node-type-config-mismatch\",\"dsl-round-trip-failed\"],\"description\":\"Applies a typed patch to a rule node while preserving node identity and JSON Logic serialization.\"}}],\"validators\":[\"node-exists\",\"node-config-compatible\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.currentJSON\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"edge.connect\",\"title\":\"Connect visual graph edge\",\"scope\":\"interaction\",\"targetKind\":\"edge\",\"target\":{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"insertIndex\":{\"type\":\"number\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-edge-connect\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"identityKeys\":[\"sourceNodeId\",\"targetNodeId\",\"edgeKind\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"insertIndex\":{\"type\":\"number\"}}},\"failureModes\":[\"source-node-not-found\",\"target-node-not-found\",\"duplicate-edge\",\"graph-cycle-created\"],\"description\":\"Connects two existing nodes and rejects edges that break registry integrity or acyclic graph requirements.\"}}],\"validators\":[\"node-exists\",\"edges-reference-existing-nodes\",\"graph-acyclic-where-required\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
2065
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"node.add\",\"title\":\"Add visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"nodeType\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"nodeType\":{\"enum\":[\"fieldCondition\",\"propertyRule\",\"andGroup\",\"orGroup\",\"notGroup\",\"xorGroup\",\"impliesGroup\",\"requiredIf\",\"visibleIf\",\"disabledIf\",\"readonlyIf\",\"forEach\",\"uniqueBy\",\"minLength\",\"maxLength\",\"ifDefined\",\"ifNotNull\",\"ifExists\",\"withDefault\",\"functionCall\",\"fieldToField\",\"contextual\",\"atLeast\",\"exactly\",\"expression\",\"contextualTemplate\",\"custom\"]},\"label\":{\"type\":\"string\"},\"parentId\":{\"type\":\"string\"},\"config\":{\"type\":\"object\"},\"metadata\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-add\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\",\"RuleBuilderService.addNode\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"nodeType\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"nodeType\":{\"enum\":[\"fieldCondition\",\"propertyRule\",\"andGroup\",\"orGroup\",\"notGroup\",\"xorGroup\",\"impliesGroup\",\"requiredIf\",\"visibleIf\",\"disabledIf\",\"readonlyIf\",\"forEach\",\"uniqueBy\",\"minLength\",\"maxLength\",\"ifDefined\",\"ifNotNull\",\"ifExists\",\"withDefault\",\"functionCall\",\"fieldToField\",\"contextual\",\"atLeast\",\"exactly\",\"expression\",\"contextualTemplate\",\"custom\"]},\"label\":{\"type\":\"string\"},\"parentId\":{\"type\":\"string\"},\"config\":{\"type\":\"object\"},\"metadata\":{\"type\":\"object\"}}},\"failureModes\":[\"duplicate-node-id\",\"unsupported-node-type\",\"parent-node-not-found\",\"graph-cycle-created\"],\"description\":\"Adds a rule node by stable id and validates graph integrity before the state can be serialized.\"}}],\"validators\":[\"node-id-unique\",\"node-type-supported\",\"parent-node-exists\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"node.remove\",\"title\":\"Remove visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"removeDescendants\":{\"type\":\"boolean\"},\"preserveDisconnectedChildren\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-remove\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\",\"RuleBuilderService.removeNode\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"removeDescendants\":{\"type\":\"boolean\"},\"preserveDisconnectedChildren\":{\"type\":\"boolean\"}}},\"failureModes\":[\"node-not-found\",\"destructive-removal-not-confirmed\",\"orphaned-edge-created\",\"dsl-round-trip-failed\"],\"description\":\"Removes a node and governed descendants by id, requiring confirmation because conditions/effects can be lost.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"node-exists\",\"destructive-removal-confirmed\",\"edges-reference-existing-nodes\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.rootNodes\",\"RuleNodeRegistryService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\",\"explicit-confirmation-provided\"]},{\"operationId\":\"node.configure\",\"title\":\"Configure visual rule node\",\"scope\":\"rules\",\"targetKind\":\"node\",\"target\":{\"kind\":\"node\",\"resolver\":\"rule-node-by-id\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"configPatch\":{\"type\":\"object\"},\"metadataPatch\":{\"type\":\"object\"},\"expanded\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-node-configure\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderService.updateNode\",\"RuleNodeRegistryService\"],\"writes\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"configPatch\":{\"type\":\"object\"},\"metadataPatch\":{\"type\":\"object\"},\"expanded\":{\"type\":\"boolean\"}}},\"failureModes\":[\"node-not-found\",\"config-shape-invalid\",\"node-type-config-mismatch\",\"dsl-round-trip-failed\"],\"description\":\"Applies a typed patch to a rule node while preserving node identity and JSON Logic serialization.\"}}],\"validators\":[\"node-exists\",\"node-config-compatible\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes\",\"RuleBuilderState.currentJSON\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"edge.connect\",\"title\":\"Connect visual graph edge\",\"scope\":\"interaction\",\"targetKind\":\"edge\",\"target\":{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"sourceNodeId\",\"targetNodeId\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"insertIndex\":{\"type\":\"number\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-edge-connect\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"identityKeys\":[\"sourceNodeId\",\"targetNodeId\",\"edgeKind\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"insertIndex\":{\"type\":\"number\"}}},\"failureModes\":[\"source-node-not-found\",\"target-node-not-found\",\"duplicate-edge\",\"graph-cycle-created\"],\"description\":\"Connects two existing nodes and rejects edges that break registry integrity or acyclic graph requirements.\"}}],\"validators\":[\"node-exists\",\"edges-reference-existing-nodes\",\"graph-acyclic-where-required\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
1831
2066
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1832
|
-
"contentHash": "
|
|
2067
|
+
"contentHash": "452d7f7de2ac6f515334956b8ab4cf35cbc221b7a7ce404d99e93b141f16388c",
|
|
1833
2068
|
"sourceKind": "component_definition",
|
|
1834
2069
|
"sourceId": "praxis-visual-builder",
|
|
1835
2070
|
"corpusVersion": "1.0.0"
|
|
@@ -1837,9 +2072,9 @@
|
|
|
1837
2072
|
{
|
|
1838
2073
|
"chunkIndex": 14,
|
|
1839
2074
|
"chunkKind": "authoring_manifest",
|
|
1840
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"edge.remove\",\"title\":\"Remove visual graph edge\",\"scope\":\"interaction\",\"targetKind\":\"edge\",\"target\":{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"removeOrphanTarget\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-edge-remove\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"identityKeys\":[\"sourceNodeId\",\"targetNodeId\",\"edgeKind\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"removeOrphanTarget\":{\"type\":\"boolean\"}}},\"failureModes\":[\"edge-not-found\",\"destructive-removal-not-confirmed\",\"orphaned-node-created\",\"dsl-round-trip-failed\"],\"description\":\"Removes a graph edge by source and target ids with confirmation when the target can become orphaned.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"edge-exists\",\"destructive-removal-confirmed\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\",\"explicit-confirmation-provided\"]},{\"operationId\":\"variable.add\",\"title\":\"Add context variable\",\"scope\":\"dataBinding\",\"targetKind\":\"variable\",\"target\":{\"kind\":\"variable\",\"resolver\":\"context-variable-by-name-scope\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"name\",\"scope\",\"type\"],\"properties\":{\"name\":{\"type\":\"string\"},\"scope\":{\"type\":\"string\"},\"type\":{\"enum\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"]},\"defaultValue\":{},\"description\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-variable-add\",\"handlerContract\":{\"reads\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"writes\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"identityKeys\":[\"scope\",\"name\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"name\",\"scope\",\"type\"],\"properties\":{\"name\":{\"type\":\"string\"},\"scope\":{\"type\":\"string\"},\"type\":{\"enum\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"]},\"defaultValue\":{},\"description\":{\"type\":\"string\"}}},\"failureModes\":[\"duplicate-variable\",\"scope-not-found\",\"variable-type-invalid\",\"context-token-conflict\"],\"description\":\"Adds a governed context variable to ContextManagementService for contextual/template flows. Field-condition references stay unsupported until a canonical JSON Logic shape exists.\"}}],\"validators\":[\"variable-id-unique\",\"variable-scope-exists\",\"context-variable-reference-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-config-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"condition.set\",\"title\":\"Set JSON Logic condition\",\"scope\":\"rules\",\"targetKind\":\"condition\",\"target\":{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"condition\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"condition\":{\"type\":\"object\"},\"mode\":{\"enum\":[\"replace\",\"merge\"]},\"source\":{\"enum\":[\"visual\",\"jsonLogic\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-condition-set\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderService.loadFromConditionExpression\",\"RuleBuilderService.buildConditionExpressionFromGraph\"],\"writes\":[\"RuleBuilderState.nodes[].config.condition\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"condition\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"condition\":{\"type\":\"object\"},\"mode\":{\"enum\":[\"replace\",\"merge\"]},\"source\":{\"enum\":[\"visual\",\"jsonLogic\"]}}},\"failureModes\":[\"node-not-found\",\"json-logic-invalid\",\"unsupported-operator\",\"visual-parse-failed\",\"dsl-round-trip-failed\"],\"description\":\"Sets a canonical JSON Logic condition within the runtime-supported visual subset and proves it can parse back into the visual graph.\"}}],\"validators\":[\"json-logic-valid\",\"condition-operators-supported\",\"condition-fields-known\",\"
|
|
2075
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"edge.remove\",\"title\":\"Remove visual graph edge\",\"scope\":\"interaction\",\"targetKind\":\"edge\",\"target\":{\"kind\":\"edge\",\"resolver\":\"rule-node-edge-by-source-target\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"sourceNodeId\",\"targetNodeId\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"removeOrphanTarget\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-edge-remove\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"identityKeys\":[\"sourceNodeId\",\"targetNodeId\",\"edgeKind\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceNodeId\",\"targetNodeId\"],\"properties\":{\"sourceNodeId\":{\"type\":\"string\"},\"targetNodeId\":{\"type\":\"string\"},\"edgeKind\":{\"enum\":[\"child\",\"condition\",\"effect\"]},\"removeOrphanTarget\":{\"type\":\"boolean\"}}},\"failureModes\":[\"edge-not-found\",\"destructive-removal-not-confirmed\",\"orphaned-node-created\",\"dsl-round-trip-failed\"],\"description\":\"Removes a graph edge by source and target ids with confirmation when the target can become orphaned.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"edge-exists\",\"destructive-removal-confirmed\",\"graph-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].children\",\"RuleBuilderState.nodes[].parentId\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\",\"explicit-confirmation-provided\"]},{\"operationId\":\"variable.add\",\"title\":\"Add context variable\",\"scope\":\"dataBinding\",\"targetKind\":\"variable\",\"target\":{\"kind\":\"variable\",\"resolver\":\"context-variable-by-name-scope\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderConfig.contextVariables\",\"config.contextVariables\",\"contextVariables\"],\"matchFields\":[\"name\",\"scope\"],\"inputMatchFields\":[\"name\",\"scope\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"name\",\"scope\",\"type\"],\"properties\":{\"name\":{\"type\":\"string\"},\"scope\":{\"type\":\"string\"},\"type\":{\"enum\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"]},\"defaultValue\":{},\"description\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-variable-add\",\"handlerContract\":{\"reads\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"writes\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"identityKeys\":[\"scope\",\"name\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"name\",\"scope\",\"type\"],\"properties\":{\"name\":{\"type\":\"string\"},\"scope\":{\"type\":\"string\"},\"type\":{\"enum\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"]},\"defaultValue\":{},\"description\":{\"type\":\"string\"}}},\"failureModes\":[\"duplicate-variable\",\"scope-not-found\",\"variable-type-invalid\",\"context-token-conflict\"],\"description\":\"Adds a governed context variable to ContextManagementService for contextual/template flows. Field-condition references stay unsupported until a canonical JSON Logic shape exists.\"}}],\"validators\":[\"variable-id-unique\",\"variable-scope-exists\",\"context-variable-reference-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderConfig.contextVariables\",\"ContextManagementService\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-config-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"condition.set\",\"title\":\"Set JSON Logic condition\",\"scope\":\"rules\",\"targetKind\":\"condition\",\"target\":{\"kind\":\"condition\",\"resolver\":\"json-logic-condition-by-node\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"condition\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"condition\":{\"type\":\"object\"},\"mode\":{\"enum\":[\"replace\",\"merge\"]},\"source\":{\"enum\":[\"visual\",\"jsonLogic\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-condition-set\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderService.loadFromConditionExpression\",\"RuleBuilderService.buildConditionExpressionFromGraph\"],\"writes\":[\"RuleBuilderState.nodes[].config.condition\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"nodeId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"condition\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"condition\":{\"type\":\"object\"},\"mode\":{\"enum\":[\"replace\",\"merge\"]},\"source\":{\"enum\":[\"visual\",\"jsonLogic\"]}}},\"failureModes\":[\"node-not-found\",\"json-logic-invalid\",\"unsupported-operator\",\"visual-parse-failed\",\"dsl-round-trip-failed\"],\"description\":\"Sets a canonical JSON Logic condition within the runtime-supported visual subset and proves it can parse back into the visual graph.\"}}],\"validators\":[\"json-logic-valid\",\"condition-operators-supported\",\"condition-fields-known\",\"condition-ontological-roots-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].config.condition\",\"RuleBuilderState.currentJSON\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
1841
2076
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1842
|
-
"contentHash": "
|
|
2077
|
+
"contentHash": "8a3c03ac0dc94615e4aec4df7ff39d45000a55d31978d76d8bba65de6085fa8d",
|
|
1843
2078
|
"sourceKind": "component_definition",
|
|
1844
2079
|
"sourceId": "praxis-visual-builder",
|
|
1845
2080
|
"corpusVersion": "1.0.0"
|
|
@@ -1847,9 +2082,9 @@
|
|
|
1847
2082
|
{
|
|
1848
2083
|
"chunkIndex": 15,
|
|
1849
2084
|
"chunkKind": "authoring_manifest",
|
|
1850
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"dsl.roundTrip.validate\",\"title\":\"Validate visual and DSL round trip\",\"scope\":\"runtimeCoverage\",\"targetKind\":\"dslDocument\",\"target\":{\"kind\":\"dslDocument\",\"resolver\":\"rule-builder-json-logic-document\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"format\":{\"enum\":[\"json\"]},\"requireStableIds\":{\"type\":\"boolean\"},\"compareMode\":{\"enum\":[\"semantic\",\"exact\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-dsl-round-trip-validate\",\"handlerContract\":{\"reads\":[\"RuleBuilderState\",\"RuleBuilderService.export\",\"RuleBuilderService.import\",\"RuleBuilderService.buildConditionExpressionFromGraph\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.validationErrors\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"format\",\"compareMode\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"format\":{\"enum\":[\"json\"]},\"requireStableIds\":{\"type\":\"boolean\"},\"compareMode\":{\"enum\":[\"semantic\",\"exact\"]}}},\"failureModes\":[\"graph-invalid\",\"export-failed\",\"import-failed\",\"semantic-drift\",\"unstable-node-identity\"],\"description\":\"Exports the visual model to JSON, imports it back and rejects semantic drift or unstable identity.\"}}],\"validators\":[\"graph-valid\",\"dsl-round-trip-stable\",\"json-logic-valid\",\"registry-integrity-valid\"],\"affectedPaths\":[\"RuleBuilderState.currentJSON\",\"RuleBuilderState.validationErrors\"],\"submissionImpact\":\"none\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
2085
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"effect.set\",\"title\":\"Set visual property effect\",\"scope\":\"rules\",\"targetKind\":\"effect\",\"target\":{\"kind\":\"effect\",\"resolver\":\"property-effect-by-node\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"RuleBuilderState.nodes\",\"nodes\"],\"matchFields\":[\"id\",\"nodeId\"],\"inputMatchFields\":[\"nodeId\",\"id\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"targetType\",\"targets\",\"properties\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"targetType\":{\"enum\":[\"field\",\"section\",\"action\",\"row\",\"column\",\"visualBlock\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"properties\":{\"type\":\"object\"},\"propertiesWhenFalse\":{\"type\":\"object\"},\"conditionNodeId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-effect-set\",\"handlerContract\":{\"reads\":[\"RuleBuilderState.nodes\",\"RuleBuilderConfig.targetPropertySchemas\",\"RULE_PROPERTY_SCHEMA\",\"RuleBuilderService.export\"],\"writes\":[\"RuleBuilderState.nodes[].config.targetType\",\"RuleBuilderState.nodes[].config.targets\",\"RuleBuilderState.nodes[].config.properties\",\"RuleBuilderState.nodes[].config.propertiesWhenFalse\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"nodeId\",\"targetType\",\"targets\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"nodeId\",\"targetType\",\"targets\",\"properties\"],\"properties\":{\"nodeId\":{\"type\":\"string\"},\"targetType\":{\"enum\":[\"field\",\"section\",\"action\",\"row\",\"column\",\"visualBlock\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"properties\":{\"type\":\"object\"},\"propertiesWhenFalse\":{\"type\":\"object\"},\"conditionNodeId\":{\"type\":\"string\"}}},\"failureModes\":[\"node-not-found\",\"target-not-found\",\"property-not-allowed-for-target\",\"effect-value-invalid\",\"dsl-round-trip-failed\"],\"description\":\"Sets a property effect using governed target property schemas so export to FormLayoutRule remains deterministic.\"}}],\"validators\":[\"effect-targets-exist\",\"effect-properties-governed\",\"effect-values-valid\",\"dsl-round-trip-stable\"],\"affectedPaths\":[\"RuleBuilderState.nodes[].config.targetType\",\"RuleBuilderState.nodes[].config.targets\",\"RuleBuilderState.nodes[].config.properties\",\"RuleBuilderState.nodes[].config.propertiesWhenFalse\",\"RuleBuilderState.currentJSON\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"rule-builder-state-loaded\",\"target-schema-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"dsl.roundTrip.validate\",\"title\":\"Validate visual and DSL round trip\",\"scope\":\"runtimeCoverage\",\"targetKind\":\"dslDocument\",\"target\":{\"kind\":\"dslDocument\",\"resolver\":\"rule-builder-json-logic-document\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"RuleBuilderState.currentJSON\",\"currentJSON\",\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"format\":{\"enum\":[\"json\"]},\"requireStableIds\":{\"type\":\"boolean\"},\"compareMode\":{\"enum\":[\"semantic\",\"exact\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"visual-builder-dsl-round-trip-validate\",\"handlerContract\":{\"reads\":[\"RuleBuilderState\",\"RuleBuilderService.export\",\"RuleBuilderService.import\",\"RuleBuilderService.buildConditionExpressionFromGraph\",\"RuleNodeRegistryService.validateIntegrity\"],\"writes\":[\"RuleBuilderState.validationErrors\",\"RuleBuilderState.currentJSON\"],\"identityKeys\":[\"format\",\"compareMode\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"format\":{\"enum\":[\"json\"]},\"requireStableIds\":{\"type\":\"boolean\"},\"compareMode\":{\"enum\":[\"semantic\",\"exact\"]}}},\"failureModes\":[\"graph-invalid\",\"export-failed\",\"import-failed\",\"semantic-drift\",\"unstable-node-identity\"],\"description\":\"Exports the visual model to JSON, imports it back and rejects semantic drift or unstable identity.\"}}],\"validators\":[\"graph-valid\",\"dsl-round-trip-stable\",\"json-logic-valid\",\"registry-integrity-valid\"],\"affectedPaths\":[\"RuleBuilderState.currentJSON\",\"RuleBuilderState.validationErrors\"],\"submissionImpact\":\"none\",\"preconditions\":[\"rule-builder-state-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
1851
2086
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1852
|
-
"contentHash": "
|
|
2087
|
+
"contentHash": "948a88c748f1689344aee752062d23f3e92d8d17f989a0acd3e2d094a374b596",
|
|
1853
2088
|
"sourceKind": "component_definition",
|
|
1854
2089
|
"sourceId": "praxis-visual-builder",
|
|
1855
2090
|
"corpusVersion": "1.0.0"
|
|
@@ -1857,9 +2092,9 @@
|
|
|
1857
2092
|
{
|
|
1858
2093
|
"chunkIndex": 16,
|
|
1859
2094
|
"chunkKind": "authoring_manifest",
|
|
1860
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"node-id-unique\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_ID_UNIQUE\",\"description\":\"Rule node ids must be unique and stable.\"},{\"validatorId\":\"node-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_EXISTS\",\"description\":\"Target node must exist before it is configured or removed.\"},{\"validatorId\":\"node-type-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_TYPE_SUPPORTED\",\"description\":\"Node type must be supported by the rule node registry and visual editor.\"},{\"validatorId\":\"node-config-compatible\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_CONFIG_COMPATIBLE\",\"description\":\"Node config must match the declared node type.\"},{\"validatorId\":\"parent-node-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_PARENT_NODE_EXISTS\",\"description\":\"Parent node must exist when adding a child node.\"},{\"validatorId\":\"edge-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EDGE_EXISTS\",\"description\":\"Target edge must exist before removal.\"},{\"validatorId\":\"edges-reference-existing-nodes\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EDGES_REFERENCE_NODES\",\"description\":\"Every edge must reference existing source and target nodes.\"},{\"validatorId\":\"graph-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_GRAPH_VALID\",\"description\":\"Graph structure must pass registry integrity validation.\"},{\"validatorId\":\"graph-acyclic-where-required\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_GRAPH_ACYCLIC\",\"description\":\"Hierarchical rule graph edges must not introduce cycles.\"},{\"validatorId\":\"destructive-removal-confirmed\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DESTRUCTIVE_REMOVAL_CONFIRMED\",\"description\":\"Destructive node or edge removal requires explicit confirmation.\"},{\"validatorId\":\"variable-id-unique\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_VARIABLE_ID_UNIQUE\",\"description\":\"Context variable name and scope must be unique.\"},{\"validatorId\":\"variable-scope-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_VARIABLE_SCOPE_EXISTS\",\"description\":\"Context variable scope must exist in ContextManagementService before variables are added.\"},{\"validatorId\":\"context-variable-reference-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONTEXT_VARIABLE_VALID\",\"description\":\"Contextual/template variable references must resolve to declared variables.\"},{\"validatorId\":\"json-logic-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_JSON_LOGIC_VALID\",\"description\":\"Conditions must be valid JSON Logic objects, not JavaScript or legacy textual DSL.\"},{\"validatorId\":\"condition-operators-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_OPERATORS_SUPPORTED\",\"description\":\"Condition operators must be supported by visual parsing and export.\"},{\"validatorId\":\"condition-fields-known\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_FIELDS_KNOWN\",\"description\":\"Condition field references must resolve to configured field schemas; field-to-field comparisons use JSON Logic var operands.\"},{\"validatorId\":\"effect-targets-exist\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_TARGETS_EXIST\",\"description\":\"Effect targets must exist in configured target schemas.\"},{\"validatorId\":\"effect-properties-governed\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_PROPERTIES_GOVERNED\",\"description\":\"Effect properties must be allowed for the target type.\"},{\"validatorId\":\"effect-values-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_VALUES_VALID\",\"description\":\"Effect property values must satisfy target property schema types.\"},{\"validatorId\":\"registry-integrity-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_REGISTRY_INTEGRITY_VALID\",\"description\":\"RuleNodeRegistryService integrity checks must pass.\"},{\"validatorId\":\"dsl-round-trip-stable\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DSL_ROUND_TRIP_STABLE\",\"description\":\"Serialized JSON output must import back to the same semantic visual model.\"}]}",
|
|
2095
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-visual-builder\",\"ownerPackage\":\"@praxisui/visual-builder\",\"configSchemaId\":\"RuleBuilderState\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"node-id-unique\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_ID_UNIQUE\",\"description\":\"Rule node ids must be unique and stable.\"},{\"validatorId\":\"node-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_EXISTS\",\"description\":\"Target node must exist before it is configured or removed.\"},{\"validatorId\":\"node-type-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_TYPE_SUPPORTED\",\"description\":\"Node type must be supported by the rule node registry and visual editor.\"},{\"validatorId\":\"node-config-compatible\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_NODE_CONFIG_COMPATIBLE\",\"description\":\"Node config must match the declared node type.\"},{\"validatorId\":\"parent-node-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_PARENT_NODE_EXISTS\",\"description\":\"Parent node must exist when adding a child node.\"},{\"validatorId\":\"edge-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EDGE_EXISTS\",\"description\":\"Target edge must exist before removal.\"},{\"validatorId\":\"edges-reference-existing-nodes\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EDGES_REFERENCE_NODES\",\"description\":\"Every edge must reference existing source and target nodes.\"},{\"validatorId\":\"graph-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_GRAPH_VALID\",\"description\":\"Graph structure must pass registry integrity validation.\"},{\"validatorId\":\"graph-acyclic-where-required\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_GRAPH_ACYCLIC\",\"description\":\"Hierarchical rule graph edges must not introduce cycles.\"},{\"validatorId\":\"destructive-removal-confirmed\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DESTRUCTIVE_REMOVAL_CONFIRMED\",\"description\":\"Destructive node or edge removal requires explicit confirmation.\"},{\"validatorId\":\"variable-id-unique\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_VARIABLE_ID_UNIQUE\",\"description\":\"Context variable name and scope must be unique.\"},{\"validatorId\":\"variable-scope-exists\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_VARIABLE_SCOPE_EXISTS\",\"description\":\"Context variable scope must exist in ContextManagementService before variables are added.\"},{\"validatorId\":\"context-variable-reference-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONTEXT_VARIABLE_VALID\",\"description\":\"Contextual/template variable references must resolve to declared variables.\"},{\"validatorId\":\"json-logic-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_JSON_LOGIC_VALID\",\"description\":\"Conditions must be valid JSON Logic objects, not JavaScript or legacy textual DSL.\"},{\"validatorId\":\"condition-operators-supported\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_OPERATORS_SUPPORTED\",\"description\":\"Condition operators must be supported by visual parsing and export.\"},{\"validatorId\":\"condition-fields-known\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_CONDITION_FIELDS_KNOWN\",\"description\":\"Condition field references must resolve to configured field schemas; field-to-field comparisons use JSON Logic var operands.\"},{\"validatorId\":\"condition-ontological-roots-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_ONTOLOGICAL_ROOTS_VALID\",\"description\":\"When ontologicalFactTree.availableRoots is configured, condition var paths must start with an allowed ontological root (draft, current, <concept>, neighborhood, context) and never use legacy facts.*.\"},{\"validatorId\":\"effect-targets-exist\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_TARGETS_EXIST\",\"description\":\"Effect targets must exist in configured target schemas.\"},{\"validatorId\":\"effect-properties-governed\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_PROPERTIES_GOVERNED\",\"description\":\"Effect properties must be allowed for the target type.\"},{\"validatorId\":\"effect-values-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_EFFECT_VALUES_VALID\",\"description\":\"Effect property values must satisfy target property schema types.\"},{\"validatorId\":\"registry-integrity-valid\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_REGISTRY_INTEGRITY_VALID\",\"description\":\"RuleNodeRegistryService integrity checks must pass.\"},{\"validatorId\":\"dsl-round-trip-stable\",\"level\":\"error\",\"code\":\"VISUAL_BUILDER_DSL_ROUND_TRIP_STABLE\",\"description\":\"Serialized JSON output must import back to the same semantic visual model.\"}]}",
|
|
1861
2096
|
"sourcePointer": "projects/praxis-visual-builder/src/lib/ai/praxis-visual-builder-authoring-manifest.ts",
|
|
1862
|
-
"contentHash": "
|
|
2097
|
+
"contentHash": "c23b880553c4656b6f5a96f887280c4136acaf4863213b4853eceb95f5836c9b",
|
|
1863
2098
|
"sourceKind": "component_definition",
|
|
1864
2099
|
"sourceId": "praxis-visual-builder",
|
|
1865
2100
|
"corpusVersion": "1.0.0"
|