@decantr/verifier 2.2.0 → 2.3.0
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/README.md +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/schema/decantr-ci-report.v1.json +104 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/verifier",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Shared verification, critique, Project Health, and report-schema engine for Decantr",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"decantr",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"./schema/verification-report.common.v1.json": "./schema/verification-report.common.v1.json",
|
|
36
36
|
"./schema/project-audit-report.v1.json": "./schema/project-audit-report.v1.json",
|
|
37
37
|
"./schema/project-health-report.v1.json": "./schema/project-health-report.v1.json",
|
|
38
|
+
"./schema/decantr-ci-report.v1.json": "./schema/decantr-ci-report.v1.json",
|
|
38
39
|
"./schema/evidence-bundle.v1.json": "./schema/evidence-bundle.v1.json",
|
|
39
40
|
"./schema/workspace-health-report.v1.json": "./schema/workspace-health-report.v1.json",
|
|
40
41
|
"./schema/file-critique-report.v1.json": "./schema/file-critique-report.v1.json",
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://decantr.ai/schemas/decantr-ci-report.v1.json",
|
|
4
|
+
"title": "Decantr CI Report",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"$schema",
|
|
10
|
+
"generatedAt",
|
|
11
|
+
"mode",
|
|
12
|
+
"projectPath",
|
|
13
|
+
"failOn",
|
|
14
|
+
"status",
|
|
15
|
+
"health",
|
|
16
|
+
"localLaw"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"$schema": {
|
|
20
|
+
"const": "https://decantr.ai/schemas/decantr-ci-report.v1.json"
|
|
21
|
+
},
|
|
22
|
+
"generatedAt": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "date-time"
|
|
25
|
+
},
|
|
26
|
+
"mode": {
|
|
27
|
+
"const": "project"
|
|
28
|
+
},
|
|
29
|
+
"projectPath": {
|
|
30
|
+
"type": ["string", "null"]
|
|
31
|
+
},
|
|
32
|
+
"failOn": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["error", "warn", "none"]
|
|
35
|
+
},
|
|
36
|
+
"status": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": ["healthy", "warning", "error"]
|
|
39
|
+
},
|
|
40
|
+
"health": {
|
|
41
|
+
"$ref": "https://decantr.ai/schemas/project-health-report.v1.json"
|
|
42
|
+
},
|
|
43
|
+
"localLaw": {
|
|
44
|
+
"$ref": "#/$defs/localLaw"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": ["$schema", "generatedAt", "mode", "failOn", "status", "workspace"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"$schema": {
|
|
54
|
+
"const": "https://decantr.ai/schemas/decantr-ci-report.v1.json"
|
|
55
|
+
},
|
|
56
|
+
"generatedAt": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": "date-time"
|
|
59
|
+
},
|
|
60
|
+
"mode": {
|
|
61
|
+
"const": "workspace"
|
|
62
|
+
},
|
|
63
|
+
"failOn": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": ["error", "warn", "none"]
|
|
66
|
+
},
|
|
67
|
+
"status": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"enum": ["healthy", "warning", "error"]
|
|
70
|
+
},
|
|
71
|
+
"workspace": {
|
|
72
|
+
"$ref": "https://decantr.ai/schemas/workspace-health-report.v1.json"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"additionalProperties": false
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"$defs": {
|
|
79
|
+
"localLaw": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"required": ["checked", "patternsPresent", "rulesPresent", "errorCount", "warnCount"],
|
|
82
|
+
"properties": {
|
|
83
|
+
"checked": {
|
|
84
|
+
"type": "boolean"
|
|
85
|
+
},
|
|
86
|
+
"patternsPresent": {
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
"rulesPresent": {
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"errorCount": {
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 0
|
|
95
|
+
},
|
|
96
|
+
"warnCount": {
|
|
97
|
+
"type": "integer",
|
|
98
|
+
"minimum": 0
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|