Skip to content

Commit e63085e

Browse files
Copilothotlong
andcommitted
Phase 4: fix encryption deprecation marker, fix API index duplicate exports, regenerate JSON schemas
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent faca5fe commit e63085e

51 files changed

Lines changed: 803 additions & 439 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/spec/json-schema/ai/FeedbackLoop.json

Lines changed: 92 additions & 52 deletions
Large diffs are not rendered by default.

packages/spec/json-schema/ai/Resolution.json

Lines changed: 92 additions & 52 deletions
Large diffs are not rendered by default.

packages/spec/json-schema/api/ObjectDefinitionResponse.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,8 @@
736736
"aes-256-cbc",
737737
"chacha20-poly1305"
738738
],
739-
"default": "aes-256-gcm",
740-
"description": "Encryption algorithm"
739+
"description": "Encryption algorithm",
740+
"default": "aes-256-gcm"
741741
},
742742
"keyManagement": {
743743
"type": "object",
@@ -824,7 +824,8 @@
824824
"type": "object",
825825
"properties": {
826826
"field": {
827-
"type": "string"
827+
"type": "string",
828+
"description": "Field name to apply masking to"
828829
},
829830
"strategy": {
830831
"type": "string",
@@ -836,19 +837,22 @@
836837
"randomize",
837838
"nullify",
838839
"substitute"
839-
]
840+
],
841+
"description": "Masking strategy to use"
840842
},
841843
"pattern": {
842844
"type": "string",
843845
"description": "Regex pattern for partial masking"
844846
},
845847
"preserveFormat": {
846848
"type": "boolean",
847-
"default": true
849+
"default": true,
850+
"description": "Keep the original data format after masking"
848851
},
849852
"preserveLength": {
850853
"type": "boolean",
851-
"default": true
854+
"default": true,
855+
"description": "Keep the original data length after masking"
852856
},
853857
"roles": {
854858
"type": "array",
@@ -986,7 +990,7 @@
986990
"encryption": {
987991
"type": "boolean",
988992
"default": false,
989-
"description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
993+
"description": "DEPRECATED: Use `encryptionConfig` for enhanced encryption features. Scheduled for removal in v2.0.0"
990994
},
991995
"index": {
992996
"type": "boolean",

packages/spec/json-schema/data/Field.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@
620620
"aes-256-cbc",
621621
"chacha20-poly1305"
622622
],
623-
"default": "aes-256-gcm",
624-
"description": "Encryption algorithm"
623+
"description": "Encryption algorithm",
624+
"default": "aes-256-gcm"
625625
},
626626
"keyManagement": {
627627
"type": "object",
@@ -708,7 +708,8 @@
708708
"type": "object",
709709
"properties": {
710710
"field": {
711-
"type": "string"
711+
"type": "string",
712+
"description": "Field name to apply masking to"
712713
},
713714
"strategy": {
714715
"type": "string",
@@ -720,19 +721,22 @@
720721
"randomize",
721722
"nullify",
722723
"substitute"
723-
]
724+
],
725+
"description": "Masking strategy to use"
724726
},
725727
"pattern": {
726728
"type": "string",
727729
"description": "Regex pattern for partial masking"
728730
},
729731
"preserveFormat": {
730732
"type": "boolean",
731-
"default": true
733+
"default": true,
734+
"description": "Keep the original data format after masking"
732735
},
733736
"preserveLength": {
734737
"type": "boolean",
735-
"default": true
738+
"default": true,
739+
"description": "Keep the original data length after masking"
736740
},
737741
"roles": {
738742
"type": "array",
@@ -870,7 +874,7 @@
870874
"encryption": {
871875
"type": "boolean",
872876
"default": false,
873-
"description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
877+
"description": "DEPRECATED: Use `encryptionConfig` for enhanced encryption features. Scheduled for removal in v2.0.0"
874878
},
875879
"index": {
876880
"type": "boolean",

packages/spec/json-schema/data/Object.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@
677677
"aes-256-cbc",
678678
"chacha20-poly1305"
679679
],
680-
"default": "aes-256-gcm",
681-
"description": "Encryption algorithm"
680+
"description": "Encryption algorithm",
681+
"default": "aes-256-gcm"
682682
},
683683
"keyManagement": {
684684
"type": "object",
@@ -765,7 +765,8 @@
765765
"type": "object",
766766
"properties": {
767767
"field": {
768-
"type": "string"
768+
"type": "string",
769+
"description": "Field name to apply masking to"
769770
},
770771
"strategy": {
771772
"type": "string",
@@ -777,19 +778,22 @@
777778
"randomize",
778779
"nullify",
779780
"substitute"
780-
]
781+
],
782+
"description": "Masking strategy to use"
781783
},
782784
"pattern": {
783785
"type": "string",
784786
"description": "Regex pattern for partial masking"
785787
},
786788
"preserveFormat": {
787789
"type": "boolean",
788-
"default": true
790+
"default": true,
791+
"description": "Keep the original data format after masking"
789792
},
790793
"preserveLength": {
791794
"type": "boolean",
792-
"default": true
795+
"default": true,
796+
"description": "Keep the original data length after masking"
793797
},
794798
"roles": {
795799
"type": "array",
@@ -927,7 +931,7 @@
927931
"encryption": {
928932
"type": "boolean",
929933
"default": false,
930-
"description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
934+
"description": "DEPRECATED: Use `encryptionConfig` for enhanced encryption features. Scheduled for removal in v2.0.0"
931935
},
932936
"index": {
933937
"type": "boolean",

packages/spec/json-schema/data/ObjectExtension.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@
629629
"aes-256-cbc",
630630
"chacha20-poly1305"
631631
],
632-
"default": "aes-256-gcm",
633-
"description": "Encryption algorithm"
632+
"description": "Encryption algorithm",
633+
"default": "aes-256-gcm"
634634
},
635635
"keyManagement": {
636636
"type": "object",
@@ -717,7 +717,8 @@
717717
"type": "object",
718718
"properties": {
719719
"field": {
720-
"type": "string"
720+
"type": "string",
721+
"description": "Field name to apply masking to"
721722
},
722723
"strategy": {
723724
"type": "string",
@@ -729,19 +730,22 @@
729730
"randomize",
730731
"nullify",
731732
"substitute"
732-
]
733+
],
734+
"description": "Masking strategy to use"
733735
},
734736
"pattern": {
735737
"type": "string",
736738
"description": "Regex pattern for partial masking"
737739
},
738740
"preserveFormat": {
739741
"type": "boolean",
740-
"default": true
742+
"default": true,
743+
"description": "Keep the original data format after masking"
741744
},
742745
"preserveLength": {
743746
"type": "boolean",
744-
"default": true
747+
"default": true,
748+
"description": "Keep the original data length after masking"
745749
},
746750
"roles": {
747751
"type": "array",
@@ -879,7 +883,7 @@
879883
"encryption": {
880884
"type": "boolean",
881885
"default": false,
882-
"description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
886+
"description": "DEPRECATED: Use `encryptionConfig` for enhanced encryption features. Scheduled for removal in v2.0.0"
883887
},
884888
"index": {
885889
"type": "boolean",

packages/spec/json-schema/kernel/OpsDomainModule.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"name",
2222
"files"
2323
],
24-
"additionalProperties": false
24+
"additionalProperties": false,
25+
"description": "Scanned domain module representing a plugin folder"
2526
}
2627
},
2728
"$schema": "http://json-schema.org/draft-07/schema#"

packages/spec/json-schema/kernel/OpsFilePath.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"$ref": "#/definitions/OpsFilePath",
33
"definitions": {
44
"OpsFilePath": {
5-
"type": "string"
5+
"type": "string",
6+
"description": "Validates a file path against OPS naming conventions"
67
}
78
},
89
"$schema": "http://json-schema.org/draft-07/schema#"

packages/spec/json-schema/kernel/OpsPluginStructure.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"root",
2121
"files"
2222
],
23-
"additionalProperties": false
23+
"additionalProperties": false,
24+
"description": "Full plugin project layout validated against OPS conventions"
2425
}
2526
},
2627
"$schema": "http://json-schema.org/draft-07/schema#"

packages/spec/json-schema/system/AddFieldOperation.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,8 @@
635635
"aes-256-cbc",
636636
"chacha20-poly1305"
637637
],
638-
"default": "aes-256-gcm",
639-
"description": "Encryption algorithm"
638+
"description": "Encryption algorithm",
639+
"default": "aes-256-gcm"
640640
},
641641
"keyManagement": {
642642
"type": "object",
@@ -723,7 +723,8 @@
723723
"type": "object",
724724
"properties": {
725725
"field": {
726-
"type": "string"
726+
"type": "string",
727+
"description": "Field name to apply masking to"
727728
},
728729
"strategy": {
729730
"type": "string",
@@ -735,19 +736,22 @@
735736
"randomize",
736737
"nullify",
737738
"substitute"
738-
]
739+
],
740+
"description": "Masking strategy to use"
739741
},
740742
"pattern": {
741743
"type": "string",
742744
"description": "Regex pattern for partial masking"
743745
},
744746
"preserveFormat": {
745747
"type": "boolean",
746-
"default": true
748+
"default": true,
749+
"description": "Keep the original data format after masking"
747750
},
748751
"preserveLength": {
749752
"type": "boolean",
750-
"default": true
753+
"default": true,
754+
"description": "Keep the original data length after masking"
751755
},
752756
"roles": {
753757
"type": "array",
@@ -885,7 +889,7 @@
885889
"encryption": {
886890
"type": "boolean",
887891
"default": false,
888-
"description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
892+
"description": "DEPRECATED: Use `encryptionConfig` for enhanced encryption features. Scheduled for removal in v2.0.0"
889893
},
890894
"index": {
891895
"type": "boolean",
@@ -901,7 +905,8 @@
901905
"required": [
902906
"type"
903907
],
904-
"additionalProperties": false
908+
"additionalProperties": false,
909+
"description": "Full field definition to add"
905910
}
906911
},
907912
"required": [
@@ -910,7 +915,8 @@
910915
"fieldName",
911916
"field"
912917
],
913-
"additionalProperties": false
918+
"additionalProperties": false,
919+
"description": "Add a new field to an existing object"
914920
}
915921
},
916922
"$schema": "http://json-schema.org/draft-07/schema#"

0 commit comments

Comments
 (0)