pluribus-context 0.3.22 → 0.3.26
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/CHANGELOG.md +25 -3
- package/README.md +2 -2
- package/docs/community-review-packet.md +2 -1
- package/docs/context-budget-receipts.md +150 -0
- package/docs/context-input-evidence.md +397 -0
- package/docs/context-receipts-for-agent-observability.md +177 -0
- package/docs/orchestration-search-receipts.md +102 -0
- package/docs/portability-fidelity-report.md +4 -2
- package/examples/context-input-evidence/AGENTS.md +12 -0
- package/examples/context-input-evidence/agent-overlay-log.jsonl +4 -0
- package/examples/context-input-evidence/agent-overlay-otel-trace.json +548 -0
- package/examples/context-input-evidence/agent-overlay-receipt.ndjson +3 -0
- package/examples/context-input-evidence/agentgateway-progressive-disclosure-otel-trace.json +393 -0
- package/examples/context-input-evidence/agentgateway-progressive-disclosure-receipt.ndjson +4 -0
- package/examples/context-input-evidence/brain-remediation-otel-trace.json +645 -0
- package/examples/context-input-evidence/brain-remediation-receipt.ndjson +7 -0
- package/examples/context-input-evidence/claudekit-mcp-manager-otel-trace.json +417 -0
- package/examples/context-input-evidence/claudekit-mcp-manager-receipt.ndjson +5 -0
- package/examples/context-input-evidence/cli-progressive-disclosure-otel-trace.json +399 -0
- package/examples/context-input-evidence/cli-progressive-disclosure-receipt.ndjson +4 -0
- package/examples/context-input-evidence/compaction-otel-trace.json +711 -0
- package/examples/context-input-evidence/compaction-receipt.ndjson +6 -0
- package/examples/context-input-evidence/context-selection-otel-trace.json +627 -0
- package/examples/context-input-evidence/context-selection-receipt.ndjson +7 -0
- package/examples/context-input-evidence/convert-agent-overlay-log.mjs +156 -0
- package/examples/context-input-evidence/convert-agentgateway-progressive-disclosure-log.mjs +251 -0
- package/examples/context-input-evidence/convert-brain-remediation-log.mjs +241 -0
- package/examples/context-input-evidence/convert-claudekit-mcp-manager-log.mjs +253 -0
- package/examples/context-input-evidence/convert-cli-progressive-disclosure-log.mjs +251 -0
- package/examples/context-input-evidence/convert-compaction-log.mjs +224 -0
- package/examples/context-input-evidence/convert-context-selection-log.mjs +247 -0
- package/examples/context-input-evidence/convert-mcp-tool-search-log.mjs +242 -0
- package/examples/context-input-evidence/convert-memory-consolidation-log.mjs +240 -0
- package/examples/context-input-evidence/convert-memory-governance-delete-log.mjs +223 -0
- package/examples/context-input-evidence/convert-memory-log.mjs +226 -0
- package/examples/context-input-evidence/convert-memory-provenance-log.mjs +263 -0
- package/examples/context-input-evidence/convert-secret-scanning-log.mjs +233 -0
- package/examples/context-input-evidence/convert-session-log.mjs +186 -0
- package/examples/context-input-evidence/convert-skill-log.mjs +161 -0
- package/examples/context-input-evidence/convert-skill-registry-log.mjs +246 -0
- package/examples/context-input-evidence/convert-skill-routing-log.mjs +253 -0
- package/examples/context-input-evidence/convert-subagent-context-budget-log.mjs +267 -0
- package/examples/context-input-evidence/convert-subagent-delegation-log.mjs +264 -0
- package/examples/context-input-evidence/export-otel-trace.mjs +128 -0
- package/examples/context-input-evidence/generate-receipt.mjs +188 -0
- package/examples/context-input-evidence/mcp-tool-search-otel-trace.json +477 -0
- package/examples/context-input-evidence/mcp-tool-search-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-consolidation-otel-trace.json +492 -0
- package/examples/context-input-evidence/memory-consolidation-receipt.ndjson +4 -0
- package/examples/context-input-evidence/memory-governance-delete-otel-trace.json +614 -0
- package/examples/context-input-evidence/memory-governance-delete-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-otel-trace.json +645 -0
- package/examples/context-input-evidence/memory-provenance-otel-trace.json +711 -0
- package/examples/context-input-evidence/memory-provenance-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-receipt.ndjson +4 -0
- package/examples/context-input-evidence/otel-trace.json +1119 -0
- package/examples/context-input-evidence/receipt.ndjson +6 -0
- package/examples/context-input-evidence/sample-agentgateway-progressive-disclosure-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-brain-remediation-log.jsonl +9 -0
- package/examples/context-input-evidence/sample-claudekit-mcp-manager-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-cli-progressive-disclosure-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-compaction-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-context-selection-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-mcp-tool-search-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-consolidation-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-memory-governance-delete-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-provenance-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-retrieval-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-secret-scanning-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-session-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-skill-registry-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-skill-routing-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-subagent-context-budget-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-subagent-delegation-log.jsonl +5 -0
- package/examples/context-input-evidence/secret-scanning-otel-trace.json +794 -0
- package/examples/context-input-evidence/secret-scanning-receipt.ndjson +6 -0
- package/examples/context-input-evidence/session-otel-trace.json +411 -0
- package/examples/context-input-evidence/session-receipt.ndjson +2 -0
- package/examples/context-input-evidence/skill-invocation-log.jsonl +4 -0
- package/examples/context-input-evidence/skill-otel-trace.json +548 -0
- package/examples/context-input-evidence/skill-receipt.ndjson +3 -0
- package/examples/context-input-evidence/skill-registry-otel-trace.json +471 -0
- package/examples/context-input-evidence/skill-registry-receipt.ndjson +5 -0
- package/examples/context-input-evidence/skill-routing-otel-trace.json +567 -0
- package/examples/context-input-evidence/skill-routing-receipt.ndjson +6 -0
- package/examples/context-input-evidence/subagent-context-budget-otel-trace.json +507 -0
- package/examples/context-input-evidence/subagent-context-budget-receipt.ndjson +5 -0
- package/examples/context-input-evidence/subagent-delegation-otel-trace.json +388 -0
- package/examples/context-input-evidence/subagent-delegation-receipt.ndjson +4 -0
- package/package.json +6 -2
- package/schemas/audit-result.schema.json +409 -71
- package/src/commands/audit.js +64 -3
- package/src/utils/version.js +1 -1
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
"title": "Pluribus audit JSON result",
|
|
5
5
|
"description": "Machine-readable output produced by `pluribus audit --json`.",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"required": [
|
|
7
|
+
"required": [
|
|
8
|
+
"ok",
|
|
9
|
+
"source",
|
|
10
|
+
"sourceFound",
|
|
11
|
+
"summary",
|
|
12
|
+
"nextStep"
|
|
13
|
+
],
|
|
8
14
|
"properties": {
|
|
9
15
|
"ok": {
|
|
10
16
|
"type": "boolean",
|
|
@@ -20,40 +26,68 @@
|
|
|
20
26
|
},
|
|
21
27
|
"tools": {
|
|
22
28
|
"type": "array",
|
|
23
|
-
"items": {
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
24
32
|
"description": "Tool ids audited when a source file exists."
|
|
25
33
|
},
|
|
26
34
|
"results": {
|
|
27
35
|
"type": "array",
|
|
28
|
-
"items": {
|
|
36
|
+
"items": {
|
|
37
|
+
"$ref": "#/$defs/result"
|
|
38
|
+
},
|
|
29
39
|
"description": "Per-tool/per-file audit results when a source file exists."
|
|
30
40
|
},
|
|
31
41
|
"existingContextFiles": {
|
|
32
42
|
"type": "array",
|
|
33
|
-
"items": {
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
34
46
|
"description": "Known AI context files discovered when no source file exists."
|
|
35
47
|
},
|
|
36
48
|
"errors": {
|
|
37
49
|
"type": "array",
|
|
38
|
-
"items": {
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
39
53
|
"description": "Validation/import/tool errors that prevented a full audit."
|
|
40
54
|
},
|
|
41
55
|
"requiredSections": {
|
|
42
56
|
"type": "array",
|
|
43
|
-
"items": {
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
44
60
|
"description": "Required pluribus.md sections when validation fails."
|
|
45
61
|
},
|
|
46
62
|
"summary": {
|
|
47
63
|
"type": "object",
|
|
48
64
|
"description": "Counts for the audit or discovery result.",
|
|
49
65
|
"properties": {
|
|
50
|
-
"current": {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
66
|
+
"current": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": 0
|
|
69
|
+
},
|
|
70
|
+
"drifted": {
|
|
71
|
+
"type": "integer",
|
|
72
|
+
"minimum": 0
|
|
73
|
+
},
|
|
74
|
+
"missing": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"minimum": 0
|
|
77
|
+
},
|
|
78
|
+
"errors": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"minimum": 0
|
|
81
|
+
},
|
|
82
|
+
"existingContextFiles": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": 0
|
|
85
|
+
}
|
|
55
86
|
},
|
|
56
|
-
"additionalProperties": {
|
|
87
|
+
"additionalProperties": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"minimum": 0
|
|
90
|
+
}
|
|
57
91
|
},
|
|
58
92
|
"nextStep": {
|
|
59
93
|
"type": "string",
|
|
@@ -77,20 +111,38 @@
|
|
|
77
111
|
"allOf": [
|
|
78
112
|
{
|
|
79
113
|
"if": {
|
|
80
|
-
"properties": {
|
|
81
|
-
|
|
114
|
+
"properties": {
|
|
115
|
+
"sourceFound": {
|
|
116
|
+
"const": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"sourceFound"
|
|
121
|
+
]
|
|
82
122
|
},
|
|
83
123
|
"then": {
|
|
84
|
-
"required": [
|
|
124
|
+
"required": [
|
|
125
|
+
"tools",
|
|
126
|
+
"results"
|
|
127
|
+
]
|
|
85
128
|
}
|
|
86
129
|
},
|
|
87
130
|
{
|
|
88
131
|
"if": {
|
|
89
|
-
"properties": {
|
|
90
|
-
|
|
132
|
+
"properties": {
|
|
133
|
+
"sourceFound": {
|
|
134
|
+
"const": false
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"sourceFound"
|
|
139
|
+
]
|
|
91
140
|
},
|
|
92
141
|
"then": {
|
|
93
|
-
"required": [
|
|
142
|
+
"required": [
|
|
143
|
+
"existingContextFiles",
|
|
144
|
+
"docs"
|
|
145
|
+
]
|
|
94
146
|
}
|
|
95
147
|
}
|
|
96
148
|
],
|
|
@@ -98,32 +150,62 @@
|
|
|
98
150
|
"$defs": {
|
|
99
151
|
"fidelityReport": {
|
|
100
152
|
"type": "object",
|
|
101
|
-
"required": [
|
|
153
|
+
"required": [
|
|
154
|
+
"claim",
|
|
155
|
+
"sourceSections",
|
|
156
|
+
"targets",
|
|
157
|
+
"summary",
|
|
158
|
+
"warnings",
|
|
159
|
+
"nextStep"
|
|
160
|
+
],
|
|
102
161
|
"properties": {
|
|
103
|
-
"claim": {
|
|
162
|
+
"claim": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
104
165
|
"sourceSections": {
|
|
105
166
|
"type": "array",
|
|
106
|
-
"items": {
|
|
167
|
+
"items": {
|
|
168
|
+
"type": "string"
|
|
169
|
+
}
|
|
107
170
|
},
|
|
108
171
|
"targets": {
|
|
109
172
|
"type": "array",
|
|
110
|
-
"items": {
|
|
173
|
+
"items": {
|
|
174
|
+
"$ref": "#/$defs/fidelityTarget"
|
|
175
|
+
}
|
|
111
176
|
},
|
|
112
177
|
"summary": {
|
|
113
178
|
"type": "object",
|
|
114
|
-
"required": [
|
|
179
|
+
"required": [
|
|
180
|
+
"targetCount",
|
|
181
|
+
"targetsWithUnsupportedSections",
|
|
182
|
+
"warningCount"
|
|
183
|
+
],
|
|
115
184
|
"properties": {
|
|
116
|
-
"targetCount": {
|
|
117
|
-
|
|
118
|
-
|
|
185
|
+
"targetCount": {
|
|
186
|
+
"type": "integer",
|
|
187
|
+
"minimum": 0
|
|
188
|
+
},
|
|
189
|
+
"targetsWithUnsupportedSections": {
|
|
190
|
+
"type": "integer",
|
|
191
|
+
"minimum": 0
|
|
192
|
+
},
|
|
193
|
+
"warningCount": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"minimum": 0
|
|
196
|
+
}
|
|
119
197
|
},
|
|
120
198
|
"additionalProperties": false
|
|
121
199
|
},
|
|
122
200
|
"warnings": {
|
|
123
201
|
"type": "array",
|
|
124
|
-
"items": {
|
|
202
|
+
"items": {
|
|
203
|
+
"$ref": "#/$defs/fidelityWarning"
|
|
204
|
+
}
|
|
125
205
|
},
|
|
126
|
-
"nextStep": {
|
|
206
|
+
"nextStep": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
127
209
|
},
|
|
128
210
|
"additionalProperties": false
|
|
129
211
|
},
|
|
@@ -138,35 +220,66 @@
|
|
|
138
220
|
"manualActivationRequired",
|
|
139
221
|
"activation",
|
|
140
222
|
"loadEvidence",
|
|
223
|
+
"duplicateLoadEvidence",
|
|
141
224
|
"effectiveContext",
|
|
142
225
|
"semanticDifference",
|
|
143
226
|
"representedSections",
|
|
144
227
|
"unsupportedSections"
|
|
145
228
|
],
|
|
146
229
|
"properties": {
|
|
147
|
-
"toolId": {
|
|
230
|
+
"toolId": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
148
233
|
"files": {
|
|
149
234
|
"type": "array",
|
|
150
|
-
"items": {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"nativeDiscoverySurface": {
|
|
240
|
+
"type": [
|
|
241
|
+
"string",
|
|
242
|
+
"null"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"resolutionAnchor": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"genericFallback": {
|
|
249
|
+
"type": "boolean"
|
|
250
|
+
},
|
|
251
|
+
"manualActivationRequired": {
|
|
252
|
+
"type": "boolean"
|
|
253
|
+
},
|
|
254
|
+
"activation": {
|
|
255
|
+
"$ref": "#/$defs/fidelityActivation"
|
|
256
|
+
},
|
|
257
|
+
"loadEvidence": {
|
|
258
|
+
"$ref": "#/$defs/loadEvidence"
|
|
259
|
+
},
|
|
260
|
+
"effectiveContext": {
|
|
261
|
+
"$ref": "#/$defs/effectiveContext"
|
|
262
|
+
},
|
|
159
263
|
"semanticDifference": {
|
|
160
264
|
"type": "array",
|
|
161
|
-
"items": {
|
|
265
|
+
"items": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
}
|
|
162
268
|
},
|
|
163
269
|
"representedSections": {
|
|
164
270
|
"type": "array",
|
|
165
|
-
"items": {
|
|
271
|
+
"items": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
166
274
|
},
|
|
167
275
|
"unsupportedSections": {
|
|
168
276
|
"type": "array",
|
|
169
|
-
"items": {
|
|
277
|
+
"items": {
|
|
278
|
+
"type": "string"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"duplicateLoadEvidence": {
|
|
282
|
+
"$ref": "#/$defs/duplicateLoadEvidence"
|
|
170
283
|
}
|
|
171
284
|
},
|
|
172
285
|
"additionalProperties": false
|
|
@@ -188,21 +301,51 @@
|
|
|
188
301
|
"note"
|
|
189
302
|
],
|
|
190
303
|
"properties": {
|
|
191
|
-
"loadedBy": {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
"
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
"
|
|
304
|
+
"loadedBy": {
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
"effectiveSource": {
|
|
308
|
+
"type": [
|
|
309
|
+
"string",
|
|
310
|
+
"null"
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"deliveryPath": {
|
|
314
|
+
"type": [
|
|
315
|
+
"string",
|
|
316
|
+
"null"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
"deliveryMechanism": {
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
"hookInstalled": {
|
|
323
|
+
"type": "boolean"
|
|
324
|
+
},
|
|
325
|
+
"injectedOnSessionStart": {
|
|
326
|
+
"type": "boolean"
|
|
327
|
+
},
|
|
328
|
+
"manualInjectionRequired": {
|
|
329
|
+
"type": "boolean"
|
|
330
|
+
},
|
|
331
|
+
"resumeBehavior": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
},
|
|
334
|
+
"dedupeKey": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"dedupeRisk": {
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
201
340
|
"evidence": {
|
|
202
341
|
"type": "array",
|
|
203
|
-
"items": {
|
|
342
|
+
"items": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
204
345
|
},
|
|
205
|
-
"note": {
|
|
346
|
+
"note": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
206
349
|
},
|
|
207
350
|
"additionalProperties": false
|
|
208
351
|
},
|
|
@@ -220,46 +363,88 @@
|
|
|
220
363
|
"note"
|
|
221
364
|
],
|
|
222
365
|
"properties": {
|
|
223
|
-
"scope": {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"
|
|
227
|
-
|
|
366
|
+
"scope": {
|
|
367
|
+
"type": "string"
|
|
368
|
+
},
|
|
369
|
+
"pathScoped": {
|
|
370
|
+
"type": "boolean"
|
|
371
|
+
},
|
|
372
|
+
"inheritance": {
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"overrideBehavior": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
},
|
|
378
|
+
"isolationEvidence": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
228
381
|
"entrypoints": {
|
|
229
382
|
"type": "array",
|
|
230
|
-
"items": {
|
|
383
|
+
"items": {
|
|
384
|
+
"type": "string"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"loadedBy": {
|
|
388
|
+
"type": "string"
|
|
231
389
|
},
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
390
|
+
"effectiveSource": {
|
|
391
|
+
"type": [
|
|
392
|
+
"string",
|
|
393
|
+
"null"
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
"note": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
235
399
|
},
|
|
236
400
|
"additionalProperties": false
|
|
237
401
|
},
|
|
238
402
|
"fidelityActivation": {
|
|
239
403
|
"type": "object",
|
|
240
|
-
"required": [
|
|
404
|
+
"required": [
|
|
405
|
+
"kind",
|
|
406
|
+
"evidence"
|
|
407
|
+
],
|
|
241
408
|
"properties": {
|
|
242
|
-
"kind": {
|
|
409
|
+
"kind": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
},
|
|
243
412
|
"evidence": {
|
|
244
413
|
"type": "array",
|
|
245
|
-
"items": {
|
|
414
|
+
"items": {
|
|
415
|
+
"type": "string"
|
|
416
|
+
}
|
|
246
417
|
}
|
|
247
418
|
},
|
|
248
419
|
"additionalProperties": false
|
|
249
420
|
},
|
|
250
421
|
"fidelityWarning": {
|
|
251
422
|
"type": "object",
|
|
252
|
-
"required": [
|
|
423
|
+
"required": [
|
|
424
|
+
"code",
|
|
425
|
+
"target",
|
|
426
|
+
"message"
|
|
427
|
+
],
|
|
253
428
|
"properties": {
|
|
254
|
-
"code": {
|
|
255
|
-
|
|
256
|
-
|
|
429
|
+
"code": {
|
|
430
|
+
"type": "string"
|
|
431
|
+
},
|
|
432
|
+
"target": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"message": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
257
438
|
},
|
|
258
439
|
"additionalProperties": false
|
|
259
440
|
},
|
|
260
441
|
"result": {
|
|
261
442
|
"type": "object",
|
|
262
|
-
"required": [
|
|
443
|
+
"required": [
|
|
444
|
+
"toolId",
|
|
445
|
+
"status",
|
|
446
|
+
"file"
|
|
447
|
+
],
|
|
263
448
|
"properties": {
|
|
264
449
|
"toolId": {
|
|
265
450
|
"type": "string",
|
|
@@ -267,7 +452,12 @@
|
|
|
267
452
|
},
|
|
268
453
|
"status": {
|
|
269
454
|
"type": "string",
|
|
270
|
-
"enum": [
|
|
455
|
+
"enum": [
|
|
456
|
+
"current",
|
|
457
|
+
"missing",
|
|
458
|
+
"drift",
|
|
459
|
+
"error"
|
|
460
|
+
]
|
|
271
461
|
},
|
|
272
462
|
"file": {
|
|
273
463
|
"type": "string",
|
|
@@ -279,6 +469,154 @@
|
|
|
279
469
|
}
|
|
280
470
|
},
|
|
281
471
|
"additionalProperties": false
|
|
472
|
+
},
|
|
473
|
+
"duplicateLoadEvidence": {
|
|
474
|
+
"type": "object",
|
|
475
|
+
"required": [
|
|
476
|
+
"contentIdentity",
|
|
477
|
+
"candidateLoads",
|
|
478
|
+
"selectedLoad",
|
|
479
|
+
"suppressedLoads",
|
|
480
|
+
"selectionPolicy",
|
|
481
|
+
"crossRootScanMode",
|
|
482
|
+
"duplicateRisk",
|
|
483
|
+
"invariant",
|
|
484
|
+
"note"
|
|
485
|
+
],
|
|
486
|
+
"properties": {
|
|
487
|
+
"contentIdentity": {
|
|
488
|
+
"type": [
|
|
489
|
+
"string",
|
|
490
|
+
"null"
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
"candidateLoads": {
|
|
494
|
+
"type": "array",
|
|
495
|
+
"items": {
|
|
496
|
+
"$ref": "#/$defs/duplicateLoadCandidate"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"selectedLoad": {
|
|
500
|
+
"anyOf": [
|
|
501
|
+
{
|
|
502
|
+
"$ref": "#/$defs/selectedDuplicateLoad"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"type": "null"
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
"suppressedLoads": {
|
|
510
|
+
"type": "array",
|
|
511
|
+
"items": {
|
|
512
|
+
"$ref": "#/$defs/duplicateLoadCandidate"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"selectionPolicy": {
|
|
516
|
+
"type": "string"
|
|
517
|
+
},
|
|
518
|
+
"crossRootScanMode": {
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
"duplicateRisk": {
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
"invariant": {
|
|
525
|
+
"type": "string"
|
|
526
|
+
},
|
|
527
|
+
"note": {
|
|
528
|
+
"type": "string"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"additionalProperties": false
|
|
532
|
+
},
|
|
533
|
+
"duplicateLoadCandidate": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"required": [
|
|
536
|
+
"path",
|
|
537
|
+
"contentHash",
|
|
538
|
+
"toolOwner",
|
|
539
|
+
"loadedBy",
|
|
540
|
+
"discoveryRoot",
|
|
541
|
+
"priority",
|
|
542
|
+
"source"
|
|
543
|
+
],
|
|
544
|
+
"properties": {
|
|
545
|
+
"path": {
|
|
546
|
+
"type": "string"
|
|
547
|
+
},
|
|
548
|
+
"contentHash": {
|
|
549
|
+
"type": [
|
|
550
|
+
"string",
|
|
551
|
+
"null"
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"toolOwner": {
|
|
555
|
+
"type": "string"
|
|
556
|
+
},
|
|
557
|
+
"loadedBy": {
|
|
558
|
+
"type": "string"
|
|
559
|
+
},
|
|
560
|
+
"discoveryRoot": {
|
|
561
|
+
"type": [
|
|
562
|
+
"string",
|
|
563
|
+
"null"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"priority": {
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"source": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"additionalProperties": false
|
|
574
|
+
},
|
|
575
|
+
"selectedDuplicateLoad": {
|
|
576
|
+
"type": "object",
|
|
577
|
+
"required": [
|
|
578
|
+
"path",
|
|
579
|
+
"contentHash",
|
|
580
|
+
"toolOwner",
|
|
581
|
+
"loadedBy",
|
|
582
|
+
"discoveryRoot",
|
|
583
|
+
"priority",
|
|
584
|
+
"source",
|
|
585
|
+
"selectionReason"
|
|
586
|
+
],
|
|
587
|
+
"properties": {
|
|
588
|
+
"path": {
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"contentHash": {
|
|
592
|
+
"type": [
|
|
593
|
+
"string",
|
|
594
|
+
"null"
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
"toolOwner": {
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"loadedBy": {
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"discoveryRoot": {
|
|
604
|
+
"type": [
|
|
605
|
+
"string",
|
|
606
|
+
"null"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"priority": {
|
|
610
|
+
"type": "string"
|
|
611
|
+
},
|
|
612
|
+
"source": {
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"selectionReason": {
|
|
616
|
+
"type": "string"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"additionalProperties": false
|
|
282
620
|
}
|
|
283
621
|
}
|
|
284
622
|
}
|