@davidahmann/mill 0.1.4 → 0.2.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.
- package/README.md +141 -32
- package/dist/audit/repository.d.ts.map +1 -1
- package/dist/audit/repository.js +2 -0
- package/dist/audit/repository.js.map +1 -1
- package/dist/cli-program.d.ts.map +1 -1
- package/dist/cli-program.js +189 -0
- package/dist/cli-program.js.map +1 -1
- package/dist/contracts/schemas.d.ts +467 -2
- package/dist/contracts/schemas.d.ts.map +1 -1
- package/dist/contracts/schemas.js +211 -1
- package/dist/contracts/schemas.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/planning/closure.d.ts +24 -0
- package/dist/planning/closure.d.ts.map +1 -0
- package/dist/planning/closure.js +68 -0
- package/dist/planning/closure.js.map +1 -0
- package/dist/planning/outcomes.d.ts +6 -0
- package/dist/planning/outcomes.d.ts.map +1 -0
- package/dist/planning/outcomes.js +36 -0
- package/dist/planning/outcomes.js.map +1 -0
- package/dist/planning/tasks.d.ts +32 -0
- package/dist/planning/tasks.d.ts.map +1 -0
- package/dist/planning/tasks.js +305 -0
- package/dist/planning/tasks.js.map +1 -0
- package/dist/repository/intelligence.d.ts +78 -0
- package/dist/repository/intelligence.d.ts.map +1 -0
- package/dist/repository/intelligence.js +537 -0
- package/dist/repository/intelligence.js.map +1 -0
- package/dist/repository/native-adoption.d.ts +36 -0
- package/dist/repository/native-adoption.d.ts.map +1 -0
- package/dist/repository/native-adoption.js +146 -0
- package/dist/repository/native-adoption.js.map +1 -0
- package/dist/repository/scan.d.ts.map +1 -1
- package/dist/repository/scan.js +4 -0
- package/dist/repository/scan.js.map +1 -1
- package/dist/runtime/authority-plans.d.ts +43 -0
- package/dist/runtime/authority-plans.d.ts.map +1 -0
- package/dist/runtime/authority-plans.js +173 -0
- package/dist/runtime/authority-plans.js.map +1 -0
- package/dist/runtime/codex.d.ts.map +1 -1
- package/dist/runtime/codex.js +24 -5
- package/dist/runtime/codex.js.map +1 -1
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/context.js +36 -0
- package/dist/runtime/context.js.map +1 -1
- package/dist/runtime/delivery.d.ts +8 -1
- package/dist/runtime/delivery.d.ts.map +1 -1
- package/dist/runtime/delivery.js +187 -74
- package/dist/runtime/delivery.js.map +1 -1
- package/dist/runtime/effect-boundary.d.ts +38 -0
- package/dist/runtime/effect-boundary.d.ts.map +1 -0
- package/dist/runtime/effect-boundary.js +59 -0
- package/dist/runtime/effect-boundary.js.map +1 -0
- package/dist/runtime/github.d.ts +24 -0
- package/dist/runtime/github.d.ts.map +1 -1
- package/dist/runtime/github.js +117 -2
- package/dist/runtime/github.js.map +1 -1
- package/dist/runtime/inputs.js.map +1 -1
- package/dist/runtime/lifecycle.d.ts +5 -0
- package/dist/runtime/lifecycle.d.ts.map +1 -1
- package/dist/runtime/lifecycle.js +60 -16
- package/dist/runtime/lifecycle.js.map +1 -1
- package/dist/runtime/merge.d.ts +73 -0
- package/dist/runtime/merge.d.ts.map +1 -0
- package/dist/runtime/merge.js +299 -0
- package/dist/runtime/merge.js.map +1 -0
- package/dist/runtime/public-metadata.d.ts +3 -0
- package/dist/runtime/public-metadata.d.ts.map +1 -0
- package/dist/runtime/public-metadata.js +15 -0
- package/dist/runtime/public-metadata.js.map +1 -0
- package/dist/runtime/repair.d.ts +12 -0
- package/dist/runtime/repair.d.ts.map +1 -0
- package/dist/runtime/repair.js +34 -0
- package/dist/runtime/repair.js.map +1 -0
- package/dist/runtime/repository.d.ts +18 -0
- package/dist/runtime/repository.d.ts.map +1 -1
- package/dist/runtime/repository.js +114 -2
- package/dist/runtime/repository.js.map +1 -1
- package/dist/runtime/state.d.ts +42 -1
- package/dist/runtime/state.d.ts.map +1 -1
- package/dist/runtime/state.js +324 -11
- package/dist/runtime/state.js.map +1 -1
- package/dist/runtime/usage.d.ts +12 -0
- package/dist/runtime/usage.d.ts.map +1 -0
- package/dist/runtime/usage.js +45 -0
- package/dist/runtime/usage.js.map +1 -0
- package/dist/runtime/verifier.d.ts.map +1 -1
- package/dist/runtime/verifier.js +12 -0
- package/dist/runtime/verifier.js.map +1 -1
- package/dist/runtime/worker.d.ts +1 -0
- package/dist/runtime/worker.d.ts.map +1 -1
- package/dist/runtime/worker.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/workflows/founder.d.ts.map +1 -1
- package/dist/workflows/founder.js +5 -0
- package/dist/workflows/founder.js.map +1 -1
- package/node_modules/typescript/LICENSE.txt +55 -0
- package/node_modules/typescript/README.md +50 -0
- package/node_modules/typescript/SECURITY.md +39 -0
- package/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/node_modules/typescript/bin/tsc +2 -0
- package/node_modules/typescript/bin/tsserver +2 -0
- package/node_modules/typescript/lib/_tsc.js +134465 -0
- package/node_modules/typescript/lib/_tsserver.js +659 -0
- package/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2125 -0
- package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2125 -0
- package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/lib.d.ts +20 -0
- package/node_modules/typescript/lib/lib.decorators.d.ts +382 -0
- package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +20 -0
- package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +18 -0
- package/node_modules/typescript/lib/lib.dom.d.ts +45125 -0
- package/node_modules/typescript/lib/lib.dom.iterable.d.ts +18 -0
- package/node_modules/typescript/lib/lib.es2015.collection.d.ts +150 -0
- package/node_modules/typescript/lib/lib.es2015.core.d.ts +595 -0
- package/node_modules/typescript/lib/lib.es2015.d.ts +26 -0
- package/node_modules/typescript/lib/lib.es2015.generator.d.ts +75 -0
- package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +603 -0
- package/node_modules/typescript/lib/lib.es2015.promise.d.ts +79 -0
- package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +126 -0
- package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +142 -0
- package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +44 -0
- package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +114 -0
- package/node_modules/typescript/lib/lib.es2016.d.ts +19 -0
- package/node_modules/typescript/lib/lib.es2016.full.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2016.intl.d.ts +29 -0
- package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +19 -0
- package/node_modules/typescript/lib/lib.es2017.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2017.date.d.ts +29 -0
- package/node_modules/typescript/lib/lib.es2017.full.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2017.intl.d.ts +42 -0
- package/node_modules/typescript/lib/lib.es2017.object.d.ts +47 -0
- package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +133 -0
- package/node_modules/typescript/lib/lib.es2017.string.d.ts +43 -0
- package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +51 -0
- package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +75 -0
- package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +51 -0
- package/node_modules/typescript/lib/lib.es2018.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2018.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2018.intl.d.ts +81 -0
- package/node_modules/typescript/lib/lib.es2018.promise.d.ts +28 -0
- package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +35 -0
- package/node_modules/typescript/lib/lib.es2019.array.d.ts +77 -0
- package/node_modules/typescript/lib/lib.es2019.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2019.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2019.intl.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2019.object.d.ts +31 -0
- package/node_modules/typescript/lib/lib.es2019.string.d.ts +35 -0
- package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +763 -0
- package/node_modules/typescript/lib/lib.es2020.d.ts +25 -0
- package/node_modules/typescript/lib/lib.es2020.date.d.ts +40 -0
- package/node_modules/typescript/lib/lib.es2020.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2020.intl.d.ts +472 -0
- package/node_modules/typescript/lib/lib.es2020.number.d.ts +26 -0
- package/node_modules/typescript/lib/lib.es2020.promise.d.ts +45 -0
- package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
- package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/node_modules/typescript/lib/lib.es2021.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2021.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2021.intl.d.ts +164 -0
- package/node_modules/typescript/lib/lib.es2021.promise.d.ts +46 -0
- package/node_modules/typescript/lib/lib.es2021.string.d.ts +31 -0
- package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
- package/node_modules/typescript/lib/lib.es2022.array.d.ts +119 -0
- package/node_modules/typescript/lib/lib.es2022.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
- package/node_modules/typescript/lib/lib.es2022.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2022.intl.d.ts +143 -0
- package/node_modules/typescript/lib/lib.es2022.object.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +37 -0
- package/node_modules/typescript/lib/lib.es2022.string.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2023.array.d.ts +922 -0
- package/node_modules/typescript/lib/lib.es2023.collection.d.ts +19 -0
- package/node_modules/typescript/lib/lib.es2023.d.ts +20 -0
- package/node_modules/typescript/lib/lib.es2023.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2023.intl.d.ts +62 -0
- package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +63 -0
- package/node_modules/typescript/lib/lib.es2024.collection.d.ts +27 -0
- package/node_modules/typescript/lib/lib.es2024.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2024.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2024.object.d.ts +27 -0
- package/node_modules/typescript/lib/lib.es2024.promise.d.ts +33 -0
- package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +66 -0
- package/node_modules/typescript/lib/lib.es2024.string.d.ts +27 -0
- package/node_modules/typescript/lib/lib.es2025.collection.d.ts +94 -0
- package/node_modules/typescript/lib/lib.es2025.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2025.float16.d.ts +443 -0
- package/node_modules/typescript/lib/lib.es2025.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2025.intl.d.ts +200 -0
- package/node_modules/typescript/lib/lib.es2025.iterator.d.ts +146 -0
- package/node_modules/typescript/lib/lib.es2025.promise.d.ts +32 -0
- package/node_modules/typescript/lib/lib.es2025.regexp.d.ts +30 -0
- package/node_modules/typescript/lib/lib.es5.d.ts +4599 -0
- package/node_modules/typescript/lib/lib.es6.d.ts +21 -0
- package/node_modules/typescript/lib/lib.esnext.array.d.ts +33 -0
- package/node_modules/typescript/lib/lib.esnext.collection.d.ts +47 -0
- package/node_modules/typescript/lib/lib.esnext.d.ts +27 -0
- package/node_modules/typescript/lib/lib.esnext.date.d.ts +21 -0
- package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +26 -0
- package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +191 -0
- package/node_modules/typescript/lib/lib.esnext.error.d.ts +22 -0
- package/node_modules/typescript/lib/lib.esnext.full.d.ts +22 -0
- package/node_modules/typescript/lib/lib.esnext.intl.d.ts +107 -0
- package/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +23 -0
- package/node_modules/typescript/lib/lib.esnext.temporal.d.ts +485 -0
- package/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/node_modules/typescript/lib/lib.scripthost.d.ts +320 -0
- package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +18 -0
- package/node_modules/typescript/lib/lib.webworker.d.ts +15606 -0
- package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +21 -0
- package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +18 -0
- package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2125 -0
- package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/tsc.js +8 -0
- package/node_modules/typescript/lib/tsserver.js +8 -0
- package/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/node_modules/typescript/lib/typesMap.json +497 -0
- package/node_modules/typescript/lib/typescript.d.ts +11448 -0
- package/node_modules/typescript/lib/typescript.js +201039 -0
- package/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/node_modules/typescript/lib/watchGuard.js +53 -0
- package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2129 -0
- package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2125 -0
- package/node_modules/typescript/package.json +118 -0
- package/package.json +7 -4
- package/schemas/audit-report.schema.json +1 -0
- package/schemas/change-request.schema.json +189 -0
- package/schemas/context-manifest.schema.json +50 -0
- package/schemas/delivery-record.schema.json +109 -0
- package/schemas/mill-config.schema.json +50 -2
- package/schemas/repository-intelligence.schema.json +200 -0
- package/schemas/review-result.schema.json +21 -0
- package/schemas/task-packet.schema.json +12 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": { "type": "string", "const": "1" },
|
|
6
|
+
"extractor": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": { "type": "string", "const": "mill.repository-intelligence" },
|
|
10
|
+
"version": { "type": "string", "const": "1" },
|
|
11
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
12
|
+
},
|
|
13
|
+
"required": ["id", "version", "digest"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
},
|
|
16
|
+
"source": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"commit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
20
|
+
"tree": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
21
|
+
"root": { "type": "string", "const": "." }
|
|
22
|
+
},
|
|
23
|
+
"required": ["commit", "tree", "root"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"scanDigest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
27
|
+
"sourceFiles": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "type": "string", "minLength": 1 }
|
|
30
|
+
},
|
|
31
|
+
"modules": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"path": { "type": "string", "minLength": 1 },
|
|
37
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
38
|
+
"imports": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"kind": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": ["dynamic", "require", "static", "type"]
|
|
46
|
+
},
|
|
47
|
+
"specifier": { "type": "string", "minLength": 1 },
|
|
48
|
+
"location": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"path": { "type": "string", "minLength": 1 },
|
|
52
|
+
"line": {
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"exclusiveMinimum": 0,
|
|
55
|
+
"maximum": 9007199254740991
|
|
56
|
+
},
|
|
57
|
+
"column": {
|
|
58
|
+
"type": "integer",
|
|
59
|
+
"exclusiveMinimum": 0,
|
|
60
|
+
"maximum": 9007199254740991
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": ["path", "line", "column"],
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"resolution": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"enum": ["external", "resolved_local", "unresolved"]
|
|
69
|
+
},
|
|
70
|
+
"targetPath": { "type": "string", "minLength": 1 }
|
|
71
|
+
},
|
|
72
|
+
"required": ["kind", "specifier", "location", "resolution"],
|
|
73
|
+
"additionalProperties": false
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"parseDiagnostics": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"path": { "type": "string", "minLength": 1 },
|
|
82
|
+
"line": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"exclusiveMinimum": 0,
|
|
85
|
+
"maximum": 9007199254740991
|
|
86
|
+
},
|
|
87
|
+
"column": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"exclusiveMinimum": 0,
|
|
90
|
+
"maximum": 9007199254740991
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": ["path", "line", "column"],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": ["path", "digest", "imports", "parseDiagnostics"],
|
|
99
|
+
"additionalProperties": false
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"tests": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"inventory": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"path": { "type": "string", "minLength": 1 },
|
|
111
|
+
"source": { "type": "string", "const": "filename" }
|
|
112
|
+
},
|
|
113
|
+
"required": ["path", "source"],
|
|
114
|
+
"additionalProperties": false
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"declaredSelection": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"script": { "type": "string", "minLength": 1 },
|
|
123
|
+
"command": { "type": "string", "minLength": 1 },
|
|
124
|
+
"selector": { "type": "string", "minLength": 1 },
|
|
125
|
+
"matchedInventory": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": { "type": "string", "minLength": 1 }
|
|
128
|
+
},
|
|
129
|
+
"status": { "type": "string", "enum": ["observed", "unknown"] }
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"script",
|
|
133
|
+
"command",
|
|
134
|
+
"selector",
|
|
135
|
+
"matchedInventory",
|
|
136
|
+
"status"
|
|
137
|
+
],
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"executedCoverage": { "type": "string", "const": "unknown" }
|
|
142
|
+
},
|
|
143
|
+
"required": ["inventory", "declaredSelection", "executedCoverage"],
|
|
144
|
+
"additionalProperties": false
|
|
145
|
+
},
|
|
146
|
+
"changeImpact": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"changedPath": { "type": "string", "minLength": 1 },
|
|
152
|
+
"leads": {
|
|
153
|
+
"type": "array",
|
|
154
|
+
"items": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"path": { "type": "string", "minLength": 1 },
|
|
158
|
+
"relationship": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"enum": ["changed", "direct_importer", "transitive_importer"]
|
|
161
|
+
},
|
|
162
|
+
"via": { "type": "string", "minLength": 1 }
|
|
163
|
+
},
|
|
164
|
+
"required": ["path", "relationship"],
|
|
165
|
+
"additionalProperties": false
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"unknowns": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"items": { "type": "string", "minLength": 1 }
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": ["changedPath", "leads", "unknowns"],
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"unknowns": {
|
|
178
|
+
"type": "array",
|
|
179
|
+
"items": { "type": "string", "minLength": 1 }
|
|
180
|
+
},
|
|
181
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
182
|
+
"authority": { "type": "string", "const": "derived_read_only" }
|
|
183
|
+
},
|
|
184
|
+
"required": [
|
|
185
|
+
"schemaVersion",
|
|
186
|
+
"extractor",
|
|
187
|
+
"source",
|
|
188
|
+
"scanDigest",
|
|
189
|
+
"sourceFiles",
|
|
190
|
+
"modules",
|
|
191
|
+
"tests",
|
|
192
|
+
"changeImpact",
|
|
193
|
+
"unknowns",
|
|
194
|
+
"digest",
|
|
195
|
+
"authority"
|
|
196
|
+
],
|
|
197
|
+
"additionalProperties": false,
|
|
198
|
+
"$id": "https://github.com/davidahmann/mill/schemas/repository-intelligence.schema.json",
|
|
199
|
+
"title": "RepositoryIntelligence"
|
|
200
|
+
}
|
|
@@ -4,6 +4,27 @@
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"schemaVersion": { "type": "string", "const": "1" },
|
|
6
6
|
"candidateCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
7
|
+
"scope": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"baseCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
11
|
+
"candidateCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
12
|
+
"candidateTree": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
13
|
+
"changedPaths": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": { "type": "string", "minLength": 1 }
|
|
16
|
+
},
|
|
17
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"baseCommit",
|
|
21
|
+
"candidateCommit",
|
|
22
|
+
"candidateTree",
|
|
23
|
+
"changedPaths",
|
|
24
|
+
"digest"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
},
|
|
7
28
|
"summary": { "type": "string" },
|
|
8
29
|
"findings": {
|
|
9
30
|
"type": "array",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"schemaVersion": { "type": "string", "const": "1" },
|
|
8
|
+
"repositoryIntelligence": { "type": "boolean", "const": true },
|
|
8
9
|
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
|
|
9
10
|
"title": { "type": "string", "minLength": 1 },
|
|
10
11
|
"objective": { "type": "string", "minLength": 1 },
|
|
@@ -50,6 +51,11 @@
|
|
|
50
51
|
"minimum": 1,
|
|
51
52
|
"maximum": 7200
|
|
52
53
|
},
|
|
54
|
+
"maxContextBytes": {
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"minimum": 1024,
|
|
57
|
+
"maximum": 16777216
|
|
58
|
+
},
|
|
53
59
|
"maxOutputBytes": {
|
|
54
60
|
"type": "integer",
|
|
55
61
|
"minimum": 1024,
|
|
@@ -138,6 +144,7 @@
|
|
|
138
144
|
"type": "object",
|
|
139
145
|
"properties": {
|
|
140
146
|
"schemaVersion": { "type": "string", "const": "2" },
|
|
147
|
+
"repositoryIntelligence": { "type": "boolean", "const": true },
|
|
141
148
|
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
|
|
142
149
|
"title": { "type": "string", "minLength": 1 },
|
|
143
150
|
"objective": { "type": "string", "minLength": 1 },
|
|
@@ -183,6 +190,11 @@
|
|
|
183
190
|
"minimum": 1,
|
|
184
191
|
"maximum": 7200
|
|
185
192
|
},
|
|
193
|
+
"maxContextBytes": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"minimum": 1024,
|
|
196
|
+
"maximum": 16777216
|
|
197
|
+
},
|
|
186
198
|
"maxOutputBytes": {
|
|
187
199
|
"type": "integer",
|
|
188
200
|
"minimum": 1024,
|