spec-controller 0.1.122 → 0.1.123
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/dist/cli.js +273 -279
- package/dist/spec-reconciliation.schema.json +174 -171
- package/package.json +2 -2
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
"ClaimReconciliation": {
|
|
765
765
|
"type": "object",
|
|
766
766
|
"properties": {
|
|
767
|
-
"
|
|
767
|
+
"claim": {
|
|
768
768
|
"type": "string"
|
|
769
769
|
},
|
|
770
770
|
"kind": {
|
|
@@ -773,30 +773,12 @@
|
|
|
773
773
|
"verdict": {
|
|
774
774
|
"$ref": "#/definitions/Verdict"
|
|
775
775
|
},
|
|
776
|
-
"evidenceObservations": {
|
|
777
|
-
"type": "array",
|
|
778
|
-
"items": {
|
|
779
|
-
"$ref": "#/definitions/EvidenceObservation"
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"evidenceObligations": {
|
|
783
|
-
"type": "array",
|
|
784
|
-
"items": {
|
|
785
|
-
"$ref": "#/definitions/EvidenceObligation"
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
776
|
"qualityCheckReconciliations": {
|
|
789
777
|
"type": "array",
|
|
790
778
|
"items": {
|
|
791
779
|
"$ref": "#/definitions/QualityCheckReconciliation"
|
|
792
780
|
}
|
|
793
781
|
},
|
|
794
|
-
"reconcilingItems": {
|
|
795
|
-
"type": "array",
|
|
796
|
-
"items": {
|
|
797
|
-
"$ref": "#/definitions/QualityCheckReconciliation"
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
782
|
"pendingItems": {
|
|
801
783
|
"type": "array",
|
|
802
784
|
"items": {
|
|
@@ -805,13 +787,10 @@
|
|
|
805
787
|
}
|
|
806
788
|
},
|
|
807
789
|
"required": [
|
|
808
|
-
"
|
|
790
|
+
"claim",
|
|
809
791
|
"kind",
|
|
810
792
|
"verdict",
|
|
811
|
-
"evidenceObservations",
|
|
812
|
-
"evidenceObligations",
|
|
813
793
|
"qualityCheckReconciliations",
|
|
814
|
-
"reconcilingItems",
|
|
815
794
|
"pendingItems"
|
|
816
795
|
],
|
|
817
796
|
"additionalProperties": false
|
|
@@ -831,58 +810,169 @@
|
|
|
831
810
|
"out-of-balance"
|
|
832
811
|
]
|
|
833
812
|
},
|
|
834
|
-
"
|
|
835
|
-
"anyOf": [
|
|
836
|
-
{
|
|
837
|
-
"$ref": "#/definitions/BehaviouralEvidenceObservation"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"$ref": "#/definitions/FitnessEvidenceObservation"
|
|
841
|
-
}
|
|
842
|
-
]
|
|
843
|
-
},
|
|
844
|
-
"BehaviouralEvidenceObservation": {
|
|
813
|
+
"QualityCheckReconciliation": {
|
|
845
814
|
"type": "object",
|
|
815
|
+
"additionalProperties": false,
|
|
846
816
|
"properties": {
|
|
847
817
|
"qualityCheck": {
|
|
848
|
-
"$ref": "#/definitions/
|
|
849
|
-
},
|
|
850
|
-
"scnId": {
|
|
851
|
-
"type": [
|
|
852
|
-
"string",
|
|
853
|
-
"null"
|
|
854
|
-
]
|
|
855
|
-
},
|
|
856
|
-
"status": {
|
|
857
|
-
"$ref": "#/definitions/EvidenceStatus"
|
|
858
|
-
},
|
|
859
|
-
"locator": {
|
|
860
|
-
"type": "string"
|
|
818
|
+
"$ref": "#/definitions/QualityCheck"
|
|
861
819
|
},
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"const": true
|
|
820
|
+
"outcome": {
|
|
821
|
+
"$ref": "#/definitions/Outcome"
|
|
865
822
|
},
|
|
866
|
-
"
|
|
867
|
-
"
|
|
823
|
+
"evidenceObligation": {
|
|
824
|
+
"$ref": "#/definitions/EvidenceObligation"
|
|
868
825
|
},
|
|
869
|
-
"
|
|
826
|
+
"evidenceObservations": {
|
|
870
827
|
"type": "array",
|
|
871
828
|
"items": {
|
|
872
|
-
"$ref": "#/definitions/
|
|
829
|
+
"$ref": "#/definitions/ReconciledEvidenceObservation"
|
|
873
830
|
}
|
|
874
831
|
},
|
|
875
|
-
"
|
|
876
|
-
"
|
|
832
|
+
"scenario": {
|
|
833
|
+
"$ref": "#/definitions/ScenarioName"
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"QualityCheck": {
|
|
838
|
+
"type": "string",
|
|
839
|
+
"enum": [
|
|
840
|
+
"fitness",
|
|
841
|
+
"unit",
|
|
842
|
+
"integration",
|
|
843
|
+
"e2e",
|
|
844
|
+
"performance"
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
"Outcome": {
|
|
848
|
+
"type": "string",
|
|
849
|
+
"enum": [
|
|
850
|
+
"satisfied",
|
|
851
|
+
"failing",
|
|
852
|
+
"watermelon",
|
|
853
|
+
"missing",
|
|
854
|
+
"cites-unknown-scenario",
|
|
855
|
+
"cites-no-scenario",
|
|
856
|
+
"broken",
|
|
857
|
+
"no-evidence-obligation",
|
|
858
|
+
"no-scn-code",
|
|
859
|
+
"duplicate-scn-code",
|
|
860
|
+
"both-missing"
|
|
861
|
+
]
|
|
862
|
+
},
|
|
863
|
+
"EvidenceObligation": {
|
|
864
|
+
"type": "object",
|
|
865
|
+
"properties": {
|
|
866
|
+
"qualityCheck": {
|
|
867
|
+
"$ref": "#/definitions/QualityCheck"
|
|
868
|
+
},
|
|
869
|
+
"pending": {
|
|
870
|
+
"type": "boolean"
|
|
877
871
|
}
|
|
878
872
|
},
|
|
879
|
-
"required": [
|
|
880
|
-
"qualityCheck",
|
|
881
|
-
"scnId",
|
|
882
|
-
"status"
|
|
883
|
-
],
|
|
884
873
|
"additionalProperties": false
|
|
885
874
|
},
|
|
875
|
+
"ReconciledEvidenceObservation": {
|
|
876
|
+
"anyOf": [
|
|
877
|
+
{
|
|
878
|
+
"type": "object",
|
|
879
|
+
"additionalProperties": false,
|
|
880
|
+
"properties": {
|
|
881
|
+
"outcome": {
|
|
882
|
+
"$ref": "#/definitions/Outcome"
|
|
883
|
+
},
|
|
884
|
+
"qualityCheck": {
|
|
885
|
+
"$ref": "#/definitions/BehaviouralQualityCheck"
|
|
886
|
+
},
|
|
887
|
+
"scnId": {
|
|
888
|
+
"type": [
|
|
889
|
+
"string",
|
|
890
|
+
"null"
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
"status": {
|
|
894
|
+
"$ref": "#/definitions/EvidenceStatus"
|
|
895
|
+
},
|
|
896
|
+
"locator": {
|
|
897
|
+
"type": "string"
|
|
898
|
+
},
|
|
899
|
+
"broken": {
|
|
900
|
+
"type": "boolean",
|
|
901
|
+
"const": true
|
|
902
|
+
},
|
|
903
|
+
"message": {
|
|
904
|
+
"type": "string"
|
|
905
|
+
},
|
|
906
|
+
"notes": {
|
|
907
|
+
"type": "array",
|
|
908
|
+
"items": {
|
|
909
|
+
"$ref": "#/definitions/ObservationNote"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"testName": {
|
|
913
|
+
"type": "string"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"required": [
|
|
917
|
+
"outcome",
|
|
918
|
+
"qualityCheck",
|
|
919
|
+
"scnId",
|
|
920
|
+
"status"
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"type": "object",
|
|
925
|
+
"additionalProperties": false,
|
|
926
|
+
"properties": {
|
|
927
|
+
"outcome": {
|
|
928
|
+
"$ref": "#/definitions/Outcome"
|
|
929
|
+
},
|
|
930
|
+
"qualityCheck": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"const": "fitness"
|
|
933
|
+
},
|
|
934
|
+
"fitnessFunction": {
|
|
935
|
+
"type": "string"
|
|
936
|
+
},
|
|
937
|
+
"scnId": {
|
|
938
|
+
"type": "string"
|
|
939
|
+
},
|
|
940
|
+
"exists": {
|
|
941
|
+
"type": "boolean"
|
|
942
|
+
},
|
|
943
|
+
"enforcedOverRealSource": {
|
|
944
|
+
"type": "boolean"
|
|
945
|
+
},
|
|
946
|
+
"status": {
|
|
947
|
+
"$ref": "#/definitions/EvidenceStatus"
|
|
948
|
+
},
|
|
949
|
+
"broken": {
|
|
950
|
+
"type": "boolean",
|
|
951
|
+
"const": true
|
|
952
|
+
},
|
|
953
|
+
"message": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
"notes": {
|
|
957
|
+
"type": "array",
|
|
958
|
+
"items": {
|
|
959
|
+
"$ref": "#/definitions/ObservationNote"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"locator": {
|
|
963
|
+
"type": "string"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"required": [
|
|
967
|
+
"enforcedOverRealSource",
|
|
968
|
+
"exists",
|
|
969
|
+
"fitnessFunction",
|
|
970
|
+
"outcome",
|
|
971
|
+
"qualityCheck"
|
|
972
|
+
]
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
},
|
|
886
976
|
"EvidenceStatus": {
|
|
887
977
|
"type": "string",
|
|
888
978
|
"enum": [
|
|
@@ -912,6 +1002,23 @@
|
|
|
912
1002
|
],
|
|
913
1003
|
"additionalProperties": false
|
|
914
1004
|
},
|
|
1005
|
+
{
|
|
1006
|
+
"type": "object",
|
|
1007
|
+
"properties": {
|
|
1008
|
+
"kind": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"const": "shared-scn-code"
|
|
1011
|
+
},
|
|
1012
|
+
"code": {
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
"required": [
|
|
1017
|
+
"kind",
|
|
1018
|
+
"code"
|
|
1019
|
+
],
|
|
1020
|
+
"additionalProperties": false
|
|
1021
|
+
},
|
|
915
1022
|
{
|
|
916
1023
|
"type": "object",
|
|
917
1024
|
"properties": {
|
|
@@ -950,126 +1057,22 @@
|
|
|
950
1057
|
}
|
|
951
1058
|
]
|
|
952
1059
|
},
|
|
953
|
-
"
|
|
1060
|
+
"ScenarioName": {
|
|
954
1061
|
"type": "object",
|
|
955
1062
|
"properties": {
|
|
956
|
-
"
|
|
957
|
-
"type": "string",
|
|
958
|
-
"const": "fitness"
|
|
959
|
-
},
|
|
960
|
-
"fitnessFunction": {
|
|
961
|
-
"type": "string"
|
|
962
|
-
},
|
|
963
|
-
"scnId": {
|
|
964
|
-
"type": "string"
|
|
965
|
-
},
|
|
966
|
-
"exists": {
|
|
967
|
-
"type": "boolean"
|
|
968
|
-
},
|
|
969
|
-
"enforcedOverRealSource": {
|
|
970
|
-
"type": "boolean"
|
|
971
|
-
},
|
|
972
|
-
"status": {
|
|
973
|
-
"$ref": "#/definitions/EvidenceStatus"
|
|
974
|
-
},
|
|
975
|
-
"broken": {
|
|
976
|
-
"type": "boolean",
|
|
977
|
-
"const": true
|
|
978
|
-
},
|
|
979
|
-
"message": {
|
|
1063
|
+
"feature": {
|
|
980
1064
|
"type": "string"
|
|
981
1065
|
},
|
|
982
|
-
"
|
|
983
|
-
"type": "array",
|
|
984
|
-
"items": {
|
|
985
|
-
"$ref": "#/definitions/ObservationNote"
|
|
986
|
-
}
|
|
987
|
-
},
|
|
988
|
-
"locator": {
|
|
1066
|
+
"title": {
|
|
989
1067
|
"type": "string"
|
|
990
1068
|
}
|
|
991
1069
|
},
|
|
992
1070
|
"required": [
|
|
993
|
-
"
|
|
994
|
-
"
|
|
995
|
-
"exists",
|
|
996
|
-
"enforcedOverRealSource"
|
|
1071
|
+
"feature",
|
|
1072
|
+
"title"
|
|
997
1073
|
],
|
|
998
|
-
"additionalProperties": false
|
|
999
|
-
},
|
|
1000
|
-
"EvidenceObligation": {
|
|
1001
|
-
"type": "object",
|
|
1002
|
-
"properties": {
|
|
1003
|
-
"qualityCheck": {
|
|
1004
|
-
"$ref": "#/definitions/QualityCheck"
|
|
1005
|
-
},
|
|
1006
|
-
"pending": {
|
|
1007
|
-
"type": "boolean"
|
|
1008
|
-
}
|
|
1009
|
-
},
|
|
1010
|
-
"additionalProperties": false
|
|
1011
|
-
},
|
|
1012
|
-
"QualityCheck": {
|
|
1013
|
-
"type": "string",
|
|
1014
|
-
"enum": [
|
|
1015
|
-
"fitness",
|
|
1016
|
-
"unit",
|
|
1017
|
-
"integration",
|
|
1018
|
-
"e2e",
|
|
1019
|
-
"performance"
|
|
1020
|
-
]
|
|
1021
|
-
},
|
|
1022
|
-
"QualityCheckReconciliation": {
|
|
1023
|
-
"type": "object",
|
|
1024
1074
|
"additionalProperties": false,
|
|
1025
|
-
"
|
|
1026
|
-
"qualityCheck": {
|
|
1027
|
-
"$ref": "#/definitions/QualityCheck"
|
|
1028
|
-
},
|
|
1029
|
-
"fitnessFunction": {
|
|
1030
|
-
"type": "string"
|
|
1031
|
-
},
|
|
1032
|
-
"outcome": {
|
|
1033
|
-
"$ref": "#/definitions/Outcome"
|
|
1034
|
-
},
|
|
1035
|
-
"evidenceObligation": {
|
|
1036
|
-
"$ref": "#/definitions/EvidenceObligation"
|
|
1037
|
-
},
|
|
1038
|
-
"evidenceObservation": {
|
|
1039
|
-
"$ref": "#/definitions/EvidenceObservation"
|
|
1040
|
-
},
|
|
1041
|
-
"locator": {
|
|
1042
|
-
"type": "string"
|
|
1043
|
-
},
|
|
1044
|
-
"message": {
|
|
1045
|
-
"type": "string"
|
|
1046
|
-
},
|
|
1047
|
-
"notes": {
|
|
1048
|
-
"type": "array",
|
|
1049
|
-
"items": {
|
|
1050
|
-
"$ref": "#/definitions/ObservationNote"
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
},
|
|
1054
|
-
"required": [
|
|
1055
|
-
"outcome"
|
|
1056
|
-
]
|
|
1057
|
-
},
|
|
1058
|
-
"Outcome": {
|
|
1059
|
-
"type": "string",
|
|
1060
|
-
"enum": [
|
|
1061
|
-
"satisfied",
|
|
1062
|
-
"failing",
|
|
1063
|
-
"watermelon",
|
|
1064
|
-
"missing",
|
|
1065
|
-
"cites-unknown-scenario",
|
|
1066
|
-
"cites-no-scenario",
|
|
1067
|
-
"broken",
|
|
1068
|
-
"no-evidence-obligation",
|
|
1069
|
-
"no-scn-code",
|
|
1070
|
-
"duplicate-scn-code",
|
|
1071
|
-
"both-missing"
|
|
1072
|
-
]
|
|
1075
|
+
"description": "The scenario a duplicate-scn-code reconciliation reconciles, by its feature file and title."
|
|
1073
1076
|
},
|
|
1074
1077
|
"PendingItem": {
|
|
1075
1078
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.123",
|
|
4
4
|
"description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reconciliation",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fast-xml-parser": "^5.11.2",
|
|
27
27
|
"ts-json-schema-generator": "^2.9.0",
|
|
28
28
|
"yaml": "^2.9.0",
|
|
29
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
29
|
+
"@3f-consulting/spec-controller-core": "0.1.123"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|