forked from StarRocks/starrocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule_boundary_manifest.json
More file actions
1517 lines (1517 loc) · 69.5 KB
/
Copy pathmodule_boundary_manifest.json
File metadata and controls
1517 lines (1517 loc) · 69.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"target_dependency_guards": [
{
"id": "execschemascannerdependencyguard",
"target": "Exec",
"forbidden_dependency_prefixes": ["SchemaScanner"],
"allowed_dependencies": ["SchemaScannerCore"],
"remediation": "Keep Exec dependent only on the SchemaScannerCore contract; compose concrete schema scanner layers and the builtin factory above Exec."
}
],
"modules": [
{
"id": "base",
"doc_label": "Base",
"summary": "Lowest-level BE primitives. Keep it free of higher-level StarRocks module dependencies.",
"owned_targets": ["Base"],
"owned_roots": ["be/src/base"],
"allowed_include_prefixes": ["base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["Gutil"],
"allowed_test_targets": ["base_test"],
"allowed_test_link_deps": ["Base", "Gutil", "StarRocksGen"],
"remediation": "Move shared helpers into Base/Gutil or introduce a lower-level interface instead of pulling in higher-level BE modules."
},
{
"id": "gutil",
"doc_label": "Gutil",
"summary": "Standalone utility substrate. Do not couple it to BE modules.",
"owned_targets": ["Gutil"],
"owned_roots": ["be/src/gutil"],
"allowed_include_prefixes": ["gutil/"],
"allowed_target_deps": ["Common", "Base", "Gutil"],
"allowed_test_targets": [],
"allowed_test_link_deps": [],
"remediation": "Keep Gutil independent; move BE-specific logic out instead of importing BE modules."
},
{
"id": "common",
"doc_label": "Common",
"summary": "Core shared infrastructure above Base/Gutil and generated code only. Higher-level BE modules must not leak back into it.",
"owned_targets": ["Common"],
"owned_roots": ["be/src/common"],
"allowed_include_prefixes": ["common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["common_test"],
"allowed_test_link_deps": ["Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Move the dependency upward or add a lower-level abstraction; Common may only depend on Base, Gutil, and generated code."
},
{
"id": "cache",
"doc_label": "Cache",
"summary": "Cache implementation module for DataCache facade, cache engines, scan read-buffer/cache stream wrappers, monitors, metrics, utilities, StarCache integration, and peer-cache RPC reads without service/bootstrap or ExecEnv singleton coupling.",
"owned_targets": ["Cache"],
"owned_roots": ["be/src/cache"],
"allowed_include_prefixes": [
"cache/",
"common/brpc/",
"runtime/current_thread.h",
"runtime/mem_tracker.h",
"fs/",
"io/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": [
"runtime/",
"storage/",
"service/",
"platform/http/",
"agent/",
"exec/",
"connector/",
"util/"
],
"forbidden_includes": [
"exec/exec_env.h"
],
"allowed_target_deps": ["Runtime", "FileSystem", "IO", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["cache_test"],
"allowed_test_link_deps": [
"Cache",
"Runtime",
"FileSystem",
"IO",
"Common",
"Base",
"Gutil",
"StarRocksGen"
],
"remediation": "Keep Cache self-contained within cache engines, scan read-buffer/cache stream wrappers, monitors, metrics, utilities, and injected peer-cache BRPC stubs; keep service startup, storage code, HTTP/admin code, and ExecEnv singleton access outside cache."
},
{
"id": "httpservice",
"doc_label": "HttpService",
"summary": "BE HTTP pages, admin actions, load actions, download helpers, and web handlers.",
"owned_targets": ["HttpService"],
"owned_roots": ["be/src/http"],
"allowed_include_prefixes": [
"http/",
"cache/",
"compute_env/",
"data_workflows/",
"exec/",
"exec_primitive/",
"exprs/",
"fs/",
"io/",
"orchestration/",
"platform/",
"runtime/",
"storage/",
"storage_primitive/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["service/", "service_be/", "agent/", "connector/"],
"forbidden_includes": [],
"allowed_target_deps": ["Storage", "DataWorkflows", "Orchestration", "Runtime", "ComputeEnv", "Exec", "ExecRuntime", "Expr", "ExprDict", "ExprTableFunction", "ExprUtility", "FileSystem", "IO", "Platform", "StoragePrimitive", "Cache", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": [],
"allowed_test_link_deps": [],
"remediation": "Keep BE HTTP pages, actions, download helpers, and web handlers in HttpService; keep reusable lower-level helpers in their owning modules such as Platform and Runtime."
},
{
"id": "io",
"doc_label": "IO",
"summary": "Minimal IO foundation used by FS and upper layers.",
"owned_targets": ["IO"],
"owned_roots": ["be/src/io"],
"allowed_include_prefixes": ["io/", "common/", "base/", "gutil/", "gen_cpp/"],
"forbidden_include_prefixes": [],
"allowed_target_deps": ["Common", "Base", "Gutil"],
"allowed_test_targets": ["io_test"],
"allowed_test_link_deps": ["IO", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep IO free of higher FS/runtime/storage/exec/service code; move the dependency upward or add a lower-level interface."
},
{
"id": "filesystem",
"doc_label": "FileSystem",
"summary": "Filesystem module on top of IO, including core abstractions and non-JNI filesystem providers.",
"owned_targets": ["FileSystem"],
"owned_globs": [
"be/src/fs/**"
],
"allowed_include_prefixes": ["fs/", "io/", "common/", "base/", "gutil/", "gen_cpp/"],
"forbidden_include_prefixes": ["fs_ext/"],
"forbidden_includes": ["fs/key_cache.h"],
"allowed_target_deps": ["IO", "Common", "Base", "Gutil"],
"allowed_test_targets": ["fs_test"],
"allowed_test_link_deps": ["FileSystem", "IO", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep FileSystem limited to IO plus filesystem code that does not require runtime/JNI integration; move runtime-backed filesystem providers to fs_ext."
},
{
"id": "hdfsfilesystem",
"doc_label": "HdfsFileSystem",
"summary": "HDFS filesystem extension above FileSystem for libhdfs/JNI runtime integration.",
"owned_targets": ["HdfsFileSystem"],
"owned_roots": ["be/src/fs_ext/hdfs"],
"allowed_include_prefixes": ["fs_ext/hdfs/", "fs/", "io/", "runtime/", "common/", "base/", "gutil/", "gen_cpp/"],
"forbidden_include_prefixes": ["agent/", "cache/", "connector/", "data_workflows/", "exec/", "formats/", "http/", "module/", "platform/", "service/", "storage/", "tools/", "types/"],
"allowed_target_deps": ["FileSystem", "Runtime", "IO", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["hdfs_filesystem_test"],
"allowed_test_link_deps": ["HdfsFileSystem", "FileSystem", "Runtime", "IO", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep HDFS-specific libhdfs/JNI integration in fs_ext; shared filesystem contracts belong in FileSystem."
},
{
"id": "platform",
"doc_label": "Platform",
"summary": "Shared BE platform utilities above IO/FS/Common and below Runtime/Exec/Storage/Service, including reusable HTTP client/server primitives.",
"owned_targets": ["Platform"],
"owned_roots": ["be/src/platform"],
"allowed_include_prefixes": ["platform/", "fs/", "io/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["FileSystem", "IO", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["platform_test"],
"allowed_test_link_deps": ["Platform"],
"remediation": "Keep Platform limited to reusable host, filesystem-adjacent, download, temp-file, environment, retry, HTTP primitive, and platform-level helpers; move runtime, exec, storage, and service integration upward."
},
{
"id": "typecore",
"doc_label": "Types",
"summary": "Core type system without runtime/storage/exec coupling.",
"owned_targets": ["Types"],
"owned_globs": ["be/src/types/**"],
"allowed_include_prefixes": ["types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["Common", "Base", "Gutil"],
"allowed_test_targets": ["types_test"],
"allowed_test_link_deps": ["Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep Types independent of runtime/util/storage/exec layers; move integration code into higher layers."
},
{
"id": "columncore",
"doc_label": "ColumnCore",
"summary": "Core column representations that must stay independent of ChunkCore and higher layers.",
"owned_targets": ["ColumnCore"],
"owned_globs": ["be/src/column/**"],
"excluded_globs": [
"be/src/column/chunk.*",
"be/src/column/chunk_factory.*",
"be/src/column/chunk_schema_helper.*",
"be/src/column/chunk_extra_data.*",
"be/src/column/chunk_slice.*",
"be/src/column/column_access_path.*",
"be/src/column/datum_tuple.*",
"be/src/column/field.*",
"be/src/column/schema.*",
"be/src/column/sorting/**",
"be/src/column/segmented_chunk.*"
],
"allowed_include_prefixes": ["column/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["column_test"],
"allowed_test_link_deps": ["ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ColumnCore free of ChunkCore/Runtime/Exec/Storage coupling; move integration code upward or introduce an interface."
},
{
"id": "chunkcore",
"doc_label": "ChunkCore",
"summary": "Core chunk, schema, field, and chunk-adjacent helpers on top of ColumnCore.",
"owned_targets": ["ChunkCore"],
"allowed_include_prefixes": ["column/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["chunk_test"],
"allowed_test_link_deps": ["ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ChunkCore limited to chunk/schema helpers and free of Runtime/Exec/Storage-specific serialization coupling."
},
{
"id": "columnsortcore",
"doc_label": "ColumnSortCore",
"summary": "Reusable column and chunk sorting primitives above ChunkCore without runtime, exec, storage, or expression coupling.",
"owned_targets": ["ColumnSortCore"],
"owned_globs": ["be/src/column/sorting/**"],
"allowed_include_prefixes": ["column/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["column_sort_core_test"],
"allowed_test_link_deps": ["ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ColumnSortCore limited to reusable sorting and permutation primitives; move runtime merge/cursor orchestration to ComputeEnv or higher layers."
},
{
"id": "runtime",
"doc_label": "Runtime",
"summary": "Core runtime building blocks and process-scoped runtime environment resources without Exec/Storage/Service coupling.",
"owned_targets": ["Runtime"],
"additional_owned_globs": [
"be/src/runtime/arena_allocator.h",
"be/src/runtime/bucket_aware_partition.h",
"be/src/runtime/closure_guard.h",
"be/src/runtime/current_thread.h",
"be/src/runtime/descriptor_helper.h",
"be/src/runtime/descriptors.h",
"be/src/runtime/descriptors_ext.h",
"be/src/runtime/descriptors_fwd.h",
"be/src/runtime/exception.h",
"be/src/runtime/exec_env_fwd.h",
"be/src/runtime/heartbeat_flags.h",
"be/src/runtime/mem_pool.h",
"be/src/runtime/mem_tracker.h",
"be/src/runtime/mem_tracker_fwd.h",
"be/src/runtime/merge_commit_trace.h",
"be/src/runtime/multi_precision.h",
"be/src/runtime/process_memory_metrics.h",
"be/src/runtime/query_context_lifetime.h",
"be/src/runtime/raw_container_checked.h",
"be/src/runtime/rest_monitor_iface.h",
"be/src/runtime/runtime_fwd.h",
"be/src/runtime/runtime_filter.h",
"be/src/runtime/runtime_filter_cache.h",
"be/src/runtime/runtime_filter_factory.h",
"be/src/runtime/runtime_filter_layout.h",
"be/src/runtime/runtime_filter_query_lifecycle.h",
"be/src/runtime/runtime_in_filter.h",
"be/src/runtime/runtime_metrics.h",
"be/src/runtime/runtime_state.h",
"be/src/runtime/runtime_state_fwd.h",
"be/src/runtime/service_contexts.h",
"be/src/runtime/time_guard.*",
"be/src/runtime/memory/*.h"
],
"allowed_include_prefixes": ["runtime/", "platform/", "column/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"forbidden_include_prefixes": [
"exec/",
"storage/",
"service/",
"connector/"
],
"forbidden_includes": [
"runtime/arrow_result_writer.h",
"runtime/broker_mgr.h",
"runtime/buffer_control_block.h",
"runtime/customized_result_writer.h",
"runtime/data_stream_mgr.h",
"runtime/data_stream_recvr.h",
"runtime/data_stream_sender.h",
"exec/exec_env.h",
"runtime/export_sink.h",
"runtime/external_scan_context_mgr.h",
"runtime/file_result_writer.h",
"runtime/http_result_writer.h",
"runtime/hive_table_sink.h",
"runtime/iceberg_table_sink.h",
"runtime/lake_tablets_channel.h",
"runtime/load_channel.h",
"runtime/load_channel_mgr.h",
"runtime/local_pass_through_buffer.h",
"exec/lookup_stream_mgr.h",
"runtime/message_body_sink.h",
"runtime/metadata_result_writer.h",
"runtime/mysql_result_writer.h",
"runtime/mysql_table_sink.h",
"runtime/mysql_table_writer.h",
"runtime/result_buffer_mgr.h",
"runtime/result_queue_mgr.h",
"runtime/result_sink.h",
"runtime/schema_table_sink.h",
"runtime/table_function_table_sink.h",
"runtime/tablets_channel.h",
"runtime/variable_result_writer.h"
],
"allowed_target_deps": ["Platform", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["runtime_test"],
"allowed_test_link_deps": ["Runtime", "Platform", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep Runtime restricted to core runtime infrastructure and process-scoped runtime environment resources; move execution, service, storage, stream-load, and connector integration into higher modules."
},
{
"id": "format",
"doc_label": "Format",
"summary": "Format module for core format primitives and concrete CSV, JSON, Avro, ORC, and Parquet implementations.",
"owned_targets": ["Formats", "FormatParquet", "FormatOrc", "FormatAvro", "FormatJson", "FormatCsv", "FormatCore"],
"owned_roots": ["be/src/formats"],
"excluded_globs": ["be/src/formats/orc/apache-orc/**"],
"allowed_include_prefixes": [
"formats/",
"cache/",
"compute_env/",
"exec_primitive/runtime_filter/",
"exprs/",
"runtime/",
"fs/",
"io/",
"storage_primitive/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"allowed_target_deps": [
"ComputeEnv",
"StoragePrimitive",
"ExecPrimitive",
"Expr",
"Runtime",
"FileSystem",
"IO",
"Cache",
"ChunkCore",
"ColumnCore",
"Types",
"Common",
"Base",
"Gutil",
"StarRocksGen",
"orc"
],
"allowed_test_targets": ["format_test"],
"allowed_test_link_deps": [
"Formats",
"Expr",
"Runtime",
"FileSystem",
"ChunkCore",
"ColumnCore",
"Types",
"Common",
"Base",
"Gutil",
"StarRocksGen"
],
"remediation": "Keep format code inside the Format module; move connector orchestration and higher execution policy upward."
},
{
"id": "storageprimitive",
"doc_label": "StoragePrimitive",
"summary": "Shared storage-access primitives, predicate contracts, predicate trees, iterator/merge/aggregation helpers, and value/schema types used by Storage, Exec, Connector, Format, and ComputeEnv without concrete Storage engine, tablet, rowset, lake, service, or full Exec coupling.",
"owned_targets": ["StoragePrimitive"],
"owned_roots": ["be/src/storage_primitive"],
"allowed_include_prefixes": [
"storage_primitive/",
"exec_primitive/",
"exprs/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["storage/", "exec/", "service/", "connector/", "http/", "cache/", "util/"],
"forbidden_includes": ["exec/exec_env.h"],
"allowed_target_deps": ["ExecPrimitive", "Expr", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["storage_primitive_test"],
"allowed_test_link_deps": ["StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep StoragePrimitive limited to reusable storage-access contracts, predicate contracts, predicate trees, iterator/merge/aggregation helpers, and value/schema types; move concrete storage engine, tablet, rowset, lake, service, concrete connector, and full Exec integration upward."
},
{
"id": "storagebase",
"doc_label": "StorageBase",
"summary": "Base storage algorithms above StoragePrimitive and ComputeEnv without concrete Storage engine, tablet, rowset, lake, service, or full Exec coupling.",
"owned_targets": ["StorageBase"],
"owned_roots": ["be/src/storage/base"],
"allowed_include_prefixes": [
"storage/base/",
"storage_primitive/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["storage/", "compute_env/", "exec/", "service/", "connector/", "cache/", "http/", "agent/"],
"forbidden_includes": ["exec/exec_env.h"],
"allowed_target_deps": ["ComputeEnv", "StoragePrimitive", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["storage_base_test"],
"allowed_test_link_deps": ["StorageBase", "ComputeEnv", "StoragePrimitive", "FileSystem", "IO", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep StorageBase limited to reusable storage algorithms and helpers that may depend on ComputeEnv; move concrete storage engine, tablet, rowset, lake, service, connector, cache, and full Exec integration upward."
},
{
"id": "storage",
"doc_label": "Storage",
"summary": "Concrete storage engine: tablet/rowset/segment management, compaction, persistent index, lake (cloud-native) tablets, binlog, inverted/vector indexes, and sstable, depending only on ComputeEnv's dependency closure plus StorageBase/StoragePrimitive and Platform HTTP helpers for replication transport, without Exec/Service/Connector/Agent reach-up or ExecEnv singleton coupling.",
"owned_targets": ["Storage"],
"owned_roots": ["be/src/storage"],
"excluded_globs": ["be/src/storage/base/**"],
"allowed_include_prefixes": [
"storage/",
"compute_env/",
"cache/",
"exec_primitive/",
"storage_primitive/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["service/", "connector/", "agent/"],
"forbidden_includes": ["exec/exec_env.h"],
"allowed_target_deps": ["StorageBase", "StoragePrimitive", "ExecPrimitive", "ComputeEnv", "Cache", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": [],
"allowed_test_link_deps": [],
"remediation": "Keep Storage limited to the concrete storage engine over ComputeEnv's dependency closure plus StorageBase/StoragePrimitive and Platform HTTP helpers; move Exec, Service, Connector, Agent, and DataWorkflows orchestration upward and route ExecEnv access through injected dependencies."
},
{
"id": "computeenv",
"doc_label": "ComputeEnv",
"summary": "Shared compute-side BE environment boundary for process-scoped compute resources, StarOS/Starlet worker runtime, load-path management, query-scoped scan coordination helpers, query-cache primitives, WorkGroup scheduling/executor resources, StarCache coordination, and pipeline controls below full Exec/Storage and above Runtime.",
"owned_targets": ["ComputeEnv"],
"owned_roots": ["be/src/compute_env"],
"allowed_include_prefixes": [
"compute_env/",
"cache/",
"exec_primitive/",
"storage_primitive/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["exec/", "storage/", "service/", "connector/", "agent/"],
"forbidden_includes": ["exec/exec_env.h"],
"allowed_target_deps": ["Cache", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["compute_env_test", "compute_env_sorting_test"],
"allowed_test_link_deps": ["ComputeEnv", "Expr", "Runtime", "FileSystem", "IO", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ComputeEnv limited to process-scoped compute resources, StarOS/Starlet worker runtime, load-path management without ExecEnv or concrete storage engine coupling, query-scoped scan coordination helpers without concrete scan/storage policy, query-cache primitives without concrete storage policy, WorkGroup scheduling/executor resources, shared compute-side service contracts, stable execution primitives, reusable compute-side sorting algorithms, StarCache coordination, and spill infrastructure; move concrete Exec, Storage, Service, Connector, and Agent integration upward."
},
{
"id": "agentserver",
"doc_label": "AgentServer",
"summary": "FE-agent task orchestration, heartbeat handling, agent metrics, and agent worker helpers below Service.",
"owned_targets": ["AgentServer"],
"owned_roots": ["be/src/agent"],
"allowed_include_prefixes": [
"agent/",
"data_workflows/",
"cache/",
"compute_env/workgroup/",
"exec/pipeline/query_context.h",
"exec/runtime/query_context_manager.h",
"fs/",
"io/",
"runtime/",
"storage/",
"storage_primitive/",
"platform/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": [
"service/",
"platform/http/",
"connector/",
"formats/",
"script/",
"tools/"
],
"allowed_target_deps": [
"Runtime",
"DataWorkflows",
"Storage",
"Cache",
"ComputeEnv",
"Exec",
"ExecRuntime",
"StoragePrimitive",
"Platform",
"FileSystem",
"IO",
"Common",
"Base",
"Gutil",
"StarRocksGen"
],
"remediation": "Keep AgentServer as FE-agent task and heartbeat orchestration below Service; move service/bootstrap integration upward."
},
{
"id": "dataworkflows",
"doc_label": "DataWorkflows",
"summary": "Data-plane workflow orchestration above concrete Storage and Exec for load, delete, schema-change, and tablet-write workflows without service/bootstrap ownership.",
"owned_targets": ["DataWorkflows"],
"owned_roots": ["be/src/data_workflows"],
"allowed_include_prefixes": [
"data_workflows/",
"connector/file/",
"storage/",
"storage_primitive/",
"exec/",
"exec_primitive/",
"runtime/",
"compute_env/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": [
"agent/",
"service/",
"connector/",
"http/",
"script/",
"tools/"
],
"allowed_target_deps": [
"Storage",
"Exec",
"ConnectorFile",
"Runtime",
"StorageBase",
"StoragePrimitive",
"ExecRuntime",
"ExecPrimitive",
"ComputeEnv",
"Runtime",
"Runtime",
"Platform",
"FileSystem",
"IO",
"ChunkCore",
"ColumnCore",
"Types",
"Common",
"Base",
"Gutil",
"StarRocksGen"
],
"allowed_test_targets": ["data_workflows_test"],
"allowed_test_link_deps": [
"DataWorkflows",
"SchemaScannerBuiltin",
"Storage",
"Exec",
"ConnectorFile",
"Runtime",
"StorageBase",
"StoragePrimitive",
"ExecRuntime",
"ExecPrimitive",
"ComputeEnv",
"Runtime",
"Runtime",
"Platform",
"FileSystem",
"IO",
"ChunkCore",
"ColumnCore",
"Types",
"Common",
"Base",
"Gutil",
"StarRocksGen"
],
"remediation": "Keep DataWorkflows limited to data-plane orchestration over concrete Storage and Exec; move service/bootstrap, agent scheduling, connector registration, and lower reusable primitives to their owning layers."
},
{
"id": "expr",
"doc_label": "Expr",
"summary": "Core expression infrastructure, UDF runtime helpers, builtin aggregate registry, and aggregate-state combinator helpers that depend only on Platform, Geo, Runtime, and lower layers.",
"owned_targets": ["Expr"],
"allowed_include_prefixes": ["exprs/", "platform/", "geo/", "runtime/", "column/", "types/", "common/", "base/", "gutil/", "gen_cpp/"],
"allowed_target_deps": ["Platform", "Geo", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["expr_test", "expr_java_test"],
"allowed_test_link_deps": ["Expr", "Platform", "Geo", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep Expr limited to core expression infrastructure, UDF runtime helpers, builtin scalar helpers, builtin aggregate registry and aggregate-state combinator helpers, and dependencies no higher than Platform, Geo, Runtime, and lower layers."
},
{
"id": "exprdict",
"doc_label": "ExprDict",
"summary": "Dictionary expression extensions and dict expression factory registration above Expr, ComputeEnv, and Storage integration.",
"agents_path": "be/src/exprs_ext/dict/AGENTS.md",
"owned_targets": ["ExprDict"],
"allowed_include_prefixes": [
"exprs_ext/dict/",
"exprs/",
"compute_env/",
"storage/",
"storage_primitive/",
"exec/exec_env.h",
"platform/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["service/", "http/", "agent/", "connector/"],
"allowed_target_deps": ["Expr", "ComputeEnv", "Storage", "StoragePrimitive", "Exec", "Platform", "Runtime", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep dictionary-specific expression implementations in ExprDict; shared expression contracts belong in Expr, and broader query execution orchestration belongs above the extension."
},
{
"id": "exprtablefunction",
"doc_label": "ExprTableFunction",
"summary": "Table-function expression extensions that need concrete storage integration.",
"agents_path": "be/src/exprs_ext/table_function/AGENTS.md",
"owned_targets": ["ExprTableFunction"],
"allowed_include_prefixes": [
"exprs_ext/table_function/",
"exprs/",
"storage/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["service/", "http/", "agent/", "connector/"],
"allowed_target_deps": ["Expr", "Storage", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep table-function extensions in ExprTableFunction; reusable table-function contracts belong in Expr."
},
{
"id": "exprutility",
"doc_label": "ExprUtility",
"summary": "Utility expression functions that need runtime, execution-runtime, platform, or storage-primitive integration.",
"agents_path": "be/src/exprs_ext/utility/AGENTS.md",
"owned_targets": ["ExprUtility"],
"allowed_include_prefixes": [
"exprs_ext/utility/",
"exprs/",
"exec/pipeline/fragment_context.h",
"storage_primitive/",
"platform/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["service/", "http/", "agent/", "connector/", "storage/"],
"allowed_target_deps": ["Expr", "ExecRuntime", "StoragePrimitive", "Platform", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep utility expression functions in ExprUtility; move lower reusable helpers into their owning modules instead of expanding Expr."
},
{
"id": "execprimitive",
"doc_label": "ExecPrimitive",
"summary": "Primitive execution contracts, DataSink base contract, runtime-filter infrastructure, generic morsel queues, and stable pipeline operator/factory primitives without broader Exec runtime, scheduler, storage, service, or connector coupling.",
"owned_targets": ["ExecPrimitive"],
"owned_roots": ["be/src/exec_primitive"],
"allowed_include_prefixes": [
"exec_primitive/",
"exprs/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["exec/", "compute_env/workgroup/", "storage/", "service/", "http/", "connector/", "cache/", "util/"],
"forbidden_includes": [
"exec/pipeline/fragment_context.h",
"exec/runtime/pipeline.h",
"exec/runtime/pipeline_driver.h",
"exec/pipeline/pipeline_driver_executor.h",
"exec/pipeline/query_context.h",
"exec/pipeline/scan/morsel.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["Expr", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["exec_primitive_test"],
"allowed_test_link_deps": ["ExecPrimitive", "Expr", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ExecPrimitive limited to execution contracts, the DataSink base contract, runtime filters, generic morsel queues, and stable operator/factory primitives; move runtime, scheduler, concrete operators, concrete sinks, storage, service, and connector integration upward."
},
{
"id": "execruntime",
"doc_label": "ExecRuntime",
"summary": "Operator-tree execution framework for query and fragment contexts, driver lifecycle, execution groups, and scheduling-adjacent behavior above ComputeEnv and ExecPrimitive without concrete operators, storage, service, connector, cache, or broad Exec coupling.",
"owned_targets": ["ExecRuntime"],
"owned_roots": ["be/src/exec/runtime"],
"additional_owned_globs": [
"be/src/exec/pipeline/fragment_context.h",
"be/src/exec/pipeline/query_context.h"
],
"allowed_include_prefixes": [
"compute_env/",
"exec/runtime/",
"exec_primitive/",
"exec/pipeline/operator_with_dependency.h",
"storage_primitive/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["exec/", "storage/", "service/", "connector/", "cache/", "http/", "agent/", "util/"],
"forbidden_includes": [
"exec/pipeline/pipeline_driver_executor.h",
"exec/pipeline/pipeline_driver_queue.h",
"exec/pipeline/pipeline_driver_poller.h",
"exec/pipeline/scan/morsel.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ComputeEnv", "ExecPrimitive", "StoragePrimitive", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["exec_runtime_test"],
"allowed_test_link_deps": ["ExecRuntime", "ComputeEnv", "ExecPrimitive", "StoragePrimitive", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ExecRuntime limited to the operator-tree execution framework and runtime behavior that can be expressed through ComputeEnv and ExecPrimitive contracts; move concrete operators, storage, service, connector, cache, HTTP, and broad Exec integration upward."
},
{
"id": "connectorprimitive",
"doc_label": "ConnectorPrimitive",
"summary": "Connector contracts, DataSource, DataSourceProvider default mechanics, and generic connector sink memory management interfaces without concrete connectors, sinks, registry composition, storage, service, or full Exec coupling.",
"owned_targets": ["ConnectorPrimitive"],
"owned_roots": ["be/src/connector_primitive"],
"allowed_include_prefixes": [
"connector_primitive/",
"exec_primitive/",
"exprs/",
"runtime/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "storage/", "service/", "http/", "cache/", "util/"],
"forbidden_includes": [
"connector/common/partitioned_connector_chunk_sink.h",
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ExecPrimitive", "Expr", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_primitive_test"],
"allowed_test_link_deps": ["ConnectorPrimitive", "ExecPrimitive", "Expr", "Runtime", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorPrimitive limited to connector contracts, default scan-range-to-morsel mechanics, and generic sink memory policies expressed through lower-level interfaces; move concrete connectors, reusable sink/file-writer helpers, registry wiring, storage, service, and full Exec integration upward."
},
{
"id": "connectorcommon",
"doc_label": "ConnectorCommon",
"summary": "Reusable connector sink/file-writer helpers above connector contracts, including sink commit/profile types and shared writer-side utilities, without concrete connector registry composition, service, HTTP, or full Exec coupling.",
"owned_targets": ["ConnectorCommon"],
"owned_roots": ["be/src/connector/common"],
"allowed_include_prefixes": [
"connector/common/",
"connector_primitive/",
"compute_env/",
"cache/",
"storage_primitive/",
"exec_primitive/",
"exprs/",
"runtime/",
"platform/",
"formats/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "storage/", "service/", "http/", "agent/", "util/"],
"forbidden_includes": [
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ComputeEnv", "ConnectorPrimitive", "Cache", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "FormatCore", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_common_test"],
"allowed_test_link_deps": ["ConnectorCommon", "ComputeEnv", "ConnectorPrimitive", "Cache", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "FormatCore", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorCommon limited to reusable connector sink/file-writer helpers expressed through connector contracts and compute/runtime lower layers; move concrete connectors, registry wiring, service, HTTP, storage-engine-specific behavior, and full Exec integration upward."
},
{
"id": "connectorhive",
"doc_label": "ConnectorHive",
"summary": "Concrete Hive-compatible connector read/write implementation, including HDFS scanner formats and JNI-backed lake readers, without registry composition or full Exec coupling.",
"agents_path": "be/src/connector/hive/AGENTS.md",
"owned_targets": ["ConnectorHive"],
"owned_roots": ["be/src/connector/hive"],
"allowed_include_prefixes": [
"connector/hive/",
"connector/common/",
"connector_primitive/",
"compute_env/",
"cache/",
"storage_primitive/",
"exec_primitive/",
"formats/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "storage/", "service/", "http/", "agent/", "script/", "tools/", "util/"],
"forbidden_includes": [
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ConnectorCommon", "ConnectorPrimitive", "ComputeEnv", "Cache", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "Formats", "FormatCore", "FormatCsv", "FormatJson", "FormatAvro", "FormatOrc", "FormatParquet", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_hive_test"],
"allowed_test_link_deps": ["ConnectorHive", "ConnectorCommon", "ConnectorPrimitive", "ComputeEnv", "Cache", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "Formats", "FormatCore", "FormatCsv", "FormatJson", "FormatAvro", "FormatOrc", "FormatParquet", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorHive limited to Hive-compatible connector scans and sinks over lower connector, compute, runtime, format, and filesystem modules; keep registration in ModuleBootstrap and avoid full Exec or concrete Storage dependencies."
},
{
"id": "connectoriceberg",
"doc_label": "ConnectorIceberg",
"summary": "Concrete Iceberg connector write implementation, including data, position-delete, and row-delta sinks, without registry composition or full Exec and Storage coupling.",
"agents_path": "be/src/connector/iceberg/AGENTS.md",
"owned_targets": ["ConnectorIceberg"],
"owned_roots": ["be/src/connector/iceberg"],
"allowed_include_prefixes": [
"connector/iceberg/",
"connector/common/",
"connector_primitive/",
"formats/",
"exprs/",
"runtime/",
"fs/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "storage/", "service/", "http/", "agent/", "script/", "tools/", "util/"],
"forbidden_includes": [
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ConnectorCommon", "ConnectorPrimitive", "Expr", "Runtime", "FormatCore", "FormatParquet", "FileSystem", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_iceberg_test"],
"allowed_test_link_deps": ["ConnectorIceberg", "ConnectorCommon", "ConnectorPrimitive", "Expr", "Runtime", "FormatCore", "FormatParquet", "FileSystem", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorIceberg limited to Iceberg connector sinks and format-specific helpers over lower connector, runtime, format, and filesystem modules; keep registration in ModuleBootstrap and orchestration in Exec."
},
{
"id": "connectorfile",
"doc_label": "ConnectorFile",
"summary": "Concrete file connector read/write implementation, including file scanner formats, file scan metrics, and connector-native file chunk sink, without registry composition or full Exec coupling.",
"agents_path": "be/src/connector/file/AGENTS.md",
"owned_targets": ["ConnectorFile"],
"owned_roots": ["be/src/connector/file"],
"allowed_include_prefixes": [
"connector/file/",
"connector/common/",
"connector_primitive/",
"compute_env/",
"formats/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "storage/", "service/", "http/", "agent/", "script/", "tools/", "util/"],
"forbidden_includes": [
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ConnectorCommon", "ConnectorPrimitive", "ComputeEnv", "Cache", "Expr", "Runtime", "Platform", "FormatCore", "FormatCsv", "FormatJson", "FormatAvro", "FormatOrc", "FormatParquet", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_file_test"],
"allowed_test_link_deps": ["ConnectorFile", "ConnectorCommon", "ConnectorPrimitive", "ComputeEnv", "Cache", "Expr", "Runtime", "Platform", "FormatCore", "FormatCsv", "FormatJson", "FormatAvro", "FormatOrc", "FormatParquet", "FileSystem", "IO", "ColumnSortCore", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorFile limited to concrete file connector scanner and connector-native sink behavior over connector contracts, compute/runtime helpers, formats, and FS/IO; move registry wiring and pipeline/export orchestration upward."
},
{
"id": "connectorlake",
"doc_label": "ConnectorLake",
"summary": "Concrete shared-data lake connector and lake late-materialization context above Storage, without registry composition, service, or full Exec coupling.",
"agents_path": "be/src/connector/lake/AGENTS.md",
"owned_targets": ["ConnectorLake"],
"owned_roots": ["be/src/connector/lake"],
"allowed_include_prefixes": [
"connector/lake/",
"connector_primitive/",
"storage/",
"storage_primitive/",
"compute_env/",
"exec_primitive/",
"exprs/",
"runtime/",
"platform/",
"fs/",
"io/",
"column/",
"types/",
"common/",
"base/",
"gutil/",
"gen_cpp/"
],
"forbidden_include_prefixes": ["connector/", "exec/", "service/", "http/", "agent/", "script/", "tools/", "formats/", "cache/", "util/"],
"forbidden_includes": [
"connector/connector_registry.h",
"exec/exec_env.h"
],
"allowed_target_deps": ["ConnectorPrimitive", "Storage", "ComputeEnv", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"allowed_test_targets": ["connector_lake_test"],
"allowed_test_link_deps": ["ConnectorLake", "ConnectorPrimitive", "Storage", "ComputeEnv", "StoragePrimitive", "ExecPrimitive", "Expr", "Runtime", "Platform", "FileSystem", "IO", "ChunkCore", "ColumnCore", "Types", "Common", "Base", "Gutil", "StarRocksGen"],
"remediation": "Keep ConnectorLake limited to shared-data lake scans and lake late-materialization state over Storage and lower compute/runtime contracts; keep registration in ModuleBootstrap and avoid registry, service, or full Exec coupling."
},
{
"id": "connectorbenchmark",
"doc_label": "ConnectorBenchmark",
"summary": "Benchgen-backed benchmark connector implementation above connector contracts without registry composition, storage, service, or full Exec coupling.",
"agents_path": "be/src/connector/benchmark/AGENTS.md",
"owned_targets": ["ConnectorBenchmark"],
"allowed_include_prefixes": [
"connector/benchmark/",
"connector_primitive/",
"exprs/",
"runtime/",