@agent-teams/engineering-foundation 2.0.1 → 2.1.1

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.
Files changed (53) hide show
  1. package/dist/capabilities/source-dependencies/adapters/inbound/configuration/parse-capability-config.d.ts.map +1 -1
  2. package/dist/capabilities/source-dependencies/adapters/inbound/configuration/parse-capability-config.js +9 -11
  3. package/dist/capabilities/source-dependencies/adapters/inbound/configuration/parse-capability-config.js.map +1 -1
  4. package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts +4 -1
  5. package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts.map +1 -1
  6. package/dist/capabilities/source-dependencies/application/model/repository-path.js +38 -3
  7. package/dist/capabilities/source-dependencies/application/model/repository-path.js.map +1 -1
  8. package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.d.ts.map +1 -1
  9. package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js +6 -2
  10. package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js.map +1 -1
  11. package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.d.ts.map +1 -1
  12. package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js +13 -6
  13. package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js.map +1 -1
  14. package/dist/features/quality-coverage/adapters/configuration.d.ts +1 -1
  15. package/dist/features/quality-coverage/adapters/configuration.d.ts.map +1 -1
  16. package/dist/features/quality-coverage/adapters/configuration.js +1 -1
  17. package/dist/features/quality-coverage/adapters/configuration.js.map +1 -1
  18. package/dist/features/quality-coverage/adapters/consumer-observations.d.ts.map +1 -1
  19. package/dist/features/quality-coverage/adapters/consumer-observations.js +30 -9
  20. package/dist/features/quality-coverage/adapters/consumer-observations.js.map +1 -1
  21. package/dist/features/quality-coverage/adapters/profile-input.d.ts.map +1 -1
  22. package/dist/features/quality-coverage/adapters/profile-input.js +18 -0
  23. package/dist/features/quality-coverage/adapters/profile-input.js.map +1 -1
  24. package/dist/features/quality-coverage/api.d.ts +1 -0
  25. package/dist/features/quality-coverage/api.d.ts.map +1 -1
  26. package/dist/features/quality-coverage/api.js +1 -0
  27. package/dist/features/quality-coverage/api.js.map +1 -1
  28. package/dist/features/quality-coverage/application/evaluate-coverage.d.ts.map +1 -1
  29. package/dist/features/quality-coverage/application/evaluate-coverage.js +24 -9
  30. package/dist/features/quality-coverage/application/evaluate-coverage.js.map +1 -1
  31. package/dist/features/quality-coverage/application/model.d.ts +4 -0
  32. package/dist/features/quality-coverage/application/model.d.ts.map +1 -1
  33. package/dist/features/quality-coverage/application/model.js.map +1 -1
  34. package/dist/features/quality-coverage/application/profile.d.ts +7 -0
  35. package/dist/features/quality-coverage/application/profile.d.ts.map +1 -1
  36. package/dist/features/quality-coverage/application/rules.d.ts +1 -0
  37. package/dist/features/quality-coverage/application/rules.d.ts.map +1 -1
  38. package/dist/features/quality-coverage/application/rules.js +1 -0
  39. package/dist/features/quality-coverage/application/rules.js.map +1 -1
  40. package/dist/features/quality-coverage/application/script-route.d.ts +7 -1
  41. package/dist/features/quality-coverage/application/script-route.d.ts.map +1 -1
  42. package/dist/features/quality-coverage/application/script-route.js +35 -3
  43. package/dist/features/quality-coverage/application/script-route.js.map +1 -1
  44. package/dist/features/quality-coverage/schemas.d.ts +1 -1
  45. package/dist/features/quality-coverage/schemas.d.ts.map +1 -1
  46. package/dist/features/quality-coverage/schemas.js +1 -1
  47. package/dist/features/quality-coverage/schemas.js.map +1 -1
  48. package/dist/schema-catalog.d.ts +1 -1
  49. package/dist/schema-catalog.d.ts.map +1 -1
  50. package/dist/schema-ids.d.ts +1 -1
  51. package/dist/schema-ids.d.ts.map +1 -1
  52. package/package.json +4 -3
  53. package/schemas/quality-source-coverage/v3.schema.json +165 -0
@@ -0,0 +1,165 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.agent-teams.ai/engineering-foundation/quality-source-coverage/v3",
4
+ "title": "Production quality source coverage profile",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schemaVersion",
9
+ "sourcePolicyPath",
10
+ "suppressionPolicyPath",
11
+ "featureProfilePath",
12
+ "lintConfigPath",
13
+ "compilerProjects",
14
+ "scripts"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": {
18
+ "const": 3
19
+ },
20
+ "sourcePolicyPath": {
21
+ "type": "string",
22
+ "minLength": 1,
23
+ "maxLength": 240,
24
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
25
+ },
26
+ "suppressionPolicyPath": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "maxLength": 240,
30
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
31
+ },
32
+ "featureProfilePath": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 240,
36
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
37
+ },
38
+ "lintConfigPath": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 240,
42
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
43
+ },
44
+ "bridgeAdmissionsPath": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 240,
48
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
49
+ },
50
+ "scripts": {
51
+ "type": "object",
52
+ "additionalProperties": false,
53
+ "required": [
54
+ "fast",
55
+ "full",
56
+ "scope",
57
+ "typed"
58
+ ],
59
+ "properties": {
60
+ "fast": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 128,
64
+ "pattern": "^[A-Za-z0-9_:-]+$"
65
+ },
66
+ "full": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 128,
70
+ "pattern": "^[A-Za-z0-9_:-]+$"
71
+ },
72
+ "scope": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "maxLength": 128,
76
+ "pattern": "^[A-Za-z0-9_:-]+$"
77
+ },
78
+ "typed": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "maxLength": 128,
82
+ "pattern": "^[A-Za-z0-9_:-]+$"
83
+ }
84
+ }
85
+ },
86
+ "compilerProjects": {
87
+ "type": "array",
88
+ "minItems": 1,
89
+ "maxItems": 1000,
90
+ "uniqueItems": true,
91
+ "items": {
92
+ "type": "string",
93
+ "minLength": 1,
94
+ "maxLength": 240,
95
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.json$"
96
+ }
97
+ },
98
+ "nativeChecks": {
99
+ "type": "array",
100
+ "maxItems": 1000,
101
+ "uniqueItems": true,
102
+ "items": {
103
+ "type": "object",
104
+ "additionalProperties": false,
105
+ "required": [
106
+ "boundaryId",
107
+ "script"
108
+ ],
109
+ "properties": {
110
+ "boundaryId": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 240
114
+ },
115
+ "script": {
116
+ "type": "string",
117
+ "minLength": 1,
118
+ "maxLength": 128,
119
+ "pattern": "^[A-Za-z0-9_:-]+$"
120
+ }
121
+ }
122
+ }
123
+ },
124
+ "assets": {
125
+ "type": "array",
126
+ "maxItems": 1000,
127
+ "uniqueItems": true,
128
+ "items": {
129
+ "type": "object",
130
+ "additionalProperties": false,
131
+ "required": [
132
+ "path",
133
+ "kind",
134
+ "boundaryId",
135
+ "script"
136
+ ],
137
+ "properties": {
138
+ "path": {
139
+ "type": "string",
140
+ "minLength": 1,
141
+ "maxLength": 240,
142
+ "pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*[?*]).+\\.(?:proto|sql)$"
143
+ },
144
+ "kind": {
145
+ "enum": [
146
+ "protobuf",
147
+ "sql-migration"
148
+ ]
149
+ },
150
+ "boundaryId": {
151
+ "type": "string",
152
+ "minLength": 1,
153
+ "maxLength": 240
154
+ },
155
+ "script": {
156
+ "type": "string",
157
+ "minLength": 1,
158
+ "maxLength": 128,
159
+ "pattern": "^[A-Za-z0-9_:-]+$"
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }