@decantr/verifier 2.3.3 → 2.4.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 +4 -0
- package/package.json +1 -1
- package/schema/decantr-ci-report.v1.json +48 -0
package/README.md
CHANGED
|
@@ -67,6 +67,10 @@ function isBlocking(report: ProjectHealthReport) {
|
|
|
67
67
|
- `@decantr/verifier/schema/file-critique-report.v1.json`
|
|
68
68
|
- `@decantr/verifier/schema/showcase-shortlist-report.v1.json`
|
|
69
69
|
|
|
70
|
+
## Security And Permissions
|
|
71
|
+
|
|
72
|
+
The verifier is a local library. It reads selected project source, Decantr context, and built `dist`/`.next` output when callers request project or runtime audits. Built-output runtime audit starts a temporary loopback static server and fetches from that local server only; it does not contact external hosts. The verifier does not write files, spawn processes, emit telemetry, or upload source by itself. See [security permissions](https://decantr.ai/reference/security-permissions.md).
|
|
73
|
+
|
|
70
74
|
## Compatibility
|
|
71
75
|
|
|
72
76
|
`@decantr/verifier` is stable in the `2.x` line for the documented verifier APIs and published report-schema exports.
|
package/package.json
CHANGED
|
@@ -89,6 +89,54 @@
|
|
|
89
89
|
"rulesPresent": {
|
|
90
90
|
"type": "boolean"
|
|
91
91
|
},
|
|
92
|
+
"warnings": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"findings": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"required": [
|
|
103
|
+
"ruleId",
|
|
104
|
+
"severity",
|
|
105
|
+
"file",
|
|
106
|
+
"line",
|
|
107
|
+
"column",
|
|
108
|
+
"message",
|
|
109
|
+
"suggestedFix"
|
|
110
|
+
],
|
|
111
|
+
"properties": {
|
|
112
|
+
"ruleId": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"severity": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": ["info", "warn", "error"]
|
|
118
|
+
},
|
|
119
|
+
"file": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"line": {
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"minimum": 1
|
|
125
|
+
},
|
|
126
|
+
"column": {
|
|
127
|
+
"type": "integer",
|
|
128
|
+
"minimum": 1
|
|
129
|
+
},
|
|
130
|
+
"message": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"suggestedFix": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
}
|
|
139
|
+
},
|
|
92
140
|
"errorCount": {
|
|
93
141
|
"type": "integer",
|
|
94
142
|
"minimum": 0
|