probatio 0.3.0 → 0.5.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 +11 -197
- package/bin/probatio.js +52 -0
- package/package.json +22 -29
- package/LICENSE +0 -21
- package/dist/cli.js +0 -721
- package/dist/contract.js +0 -32
- package/dist/flags.js +0 -87
- package/dist/golden/check.js +0 -188
- package/dist/golden/record.js +0 -395
- package/dist/golden/recorder.mjs +0 -78
- package/dist/ledger/build.js +0 -348
- package/dist/ledger/check.js +0 -133
- package/dist/matrix/report.js +0 -256
- package/dist/mcp.js +0 -188
- package/dist/memory/state.js +0 -222
- package/dist/mutate/affected.js +0 -173
- package/dist/mutate/child-lines.mjs +0 -39
- package/dist/mutate/coverage-map.js +0 -229
- package/dist/mutate/csharp-coverage.js +0 -161
- package/dist/mutate/fail-reporter.mjs +0 -65
- package/dist/mutate/find.js +0 -13
- package/dist/mutate/generate.js +0 -156
- package/dist/mutate/go-coverage.js +0 -100
- package/dist/mutate/ids.js +0 -22
- package/dist/mutate/java-coverage.js +0 -217
- package/dist/mutate/kill-label.js +0 -34
- package/dist/mutate/load-failure.mjs +0 -40
- package/dist/mutate/mocha-coverage.cjs +0 -77
- package/dist/mutate/node-batch-loader.mjs +0 -99
- package/dist/mutate/node-batch.mjs +0 -167
- package/dist/mutate/node-coverage.mjs +0 -77
- package/dist/mutate/operators.js +0 -181
- package/dist/mutate/patch.js +0 -136
- package/dist/mutate/precise-lines.mjs +0 -304
- package/dist/mutate/probatio-jacoco-run.java +0 -516
- package/dist/mutate/project-config.js +0 -58
- package/dist/mutate/py-pytest-reporter.py +0 -145
- package/dist/mutate/py-reporter.py +0 -79
- package/dist/mutate/run.js +0 -1335
- package/dist/mutate/rust-coverage.js +0 -144
- package/dist/mutate/sealed.js +0 -118
- package/dist/mutate/suite-decision.js +0 -130
- package/dist/mutate/suites.js +0 -1524
- package/dist/mutate/tally.js +0 -240
- package/dist/mutate/text-operators.js +0 -637
- package/dist/mutate/titles.js +0 -23
- package/dist/node-version.js +0 -13
- package/dist/swarm/check-kill.js +0 -114
- package/dist/swarm/queue.js +0 -68
- package/dist/verify/change.js +0 -340
- package/schemas/check-kill.schema.json +0 -93
- package/schemas/findings.add.schema.json +0 -53
- package/schemas/gap.fix.schema.json +0 -53
- package/schemas/gap.revert.schema.json +0 -53
- package/schemas/golden.check.schema.json +0 -89
- package/schemas/golden.compare.schema.json +0 -151
- package/schemas/golden.record.schema.json +0 -126
- package/schemas/guard.check.schema.json +0 -53
- package/schemas/ledger.build.schema.json +0 -132
- package/schemas/ledger.check.schema.json +0 -143
- package/schemas/matrix.report.schema.json +0 -129
- package/schemas/mcp.schema.json +0 -53
- package/schemas/mutate.generate.schema.json +0 -127
- package/schemas/mutate.help.schema.json +0 -53
- package/schemas/mutate.run.schema.json +0 -272
- package/schemas/mutate.sealed.schema.json +0 -53
- package/schemas/mutate.tally.schema.json +0 -137
- package/schemas/queue.claim.schema.json +0 -53
- package/schemas/queue.reap.schema.json +0 -71
- package/schemas/queue.seed.schema.json +0 -71
- package/schemas/schema.schema.json +0 -74
- package/schemas/seal.schema.json +0 -69
- package/schemas/status.schema.json +0 -103
- package/schemas/verify-change.schema.json +0 -222
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/gap.fix.schema.json",
|
|
4
|
-
"title": "probatio gap.fix",
|
|
5
|
-
"description": "Records a gap as fixed, with the guard that now catches it. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "gap.fix"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/gap.revert.schema.json",
|
|
4
|
-
"title": "probatio gap.revert",
|
|
5
|
-
"description": "Reports a fixed gap that came back, naming the original fix and guard. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "gap.revert"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/golden.check.schema.json",
|
|
4
|
-
"title": "probatio golden.check",
|
|
5
|
-
"description": "Compares a recorded golden table with a new one. Contract changes need a Golden-Change trailer. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "golden.check"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"wording": {
|
|
53
|
-
"type": "array",
|
|
54
|
-
"items": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"contract": {
|
|
59
|
-
"type": "array",
|
|
60
|
-
"items": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"invariant": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"updated": {
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"if": {
|
|
75
|
-
"properties": {
|
|
76
|
-
"ok": {
|
|
77
|
-
"const": true
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"then": {
|
|
82
|
-
"required": [
|
|
83
|
-
"wording",
|
|
84
|
-
"contract",
|
|
85
|
-
"invariant",
|
|
86
|
-
"updated"
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/golden.compare.schema.json",
|
|
4
|
-
"title": "probatio golden.compare",
|
|
5
|
-
"description": "Scores the same mutants with only the unit tests and with only the golden replay. Nothing is deleted. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "golden.compare"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"operators": {
|
|
53
|
-
"enum": [
|
|
54
|
-
"core",
|
|
55
|
-
"wide"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"unitKills": {
|
|
59
|
-
"type": "integer",
|
|
60
|
-
"minimum": 0
|
|
61
|
-
},
|
|
62
|
-
"goldenKills": {
|
|
63
|
-
"type": "integer",
|
|
64
|
-
"minimum": 0
|
|
65
|
-
},
|
|
66
|
-
"both": {
|
|
67
|
-
"type": "integer",
|
|
68
|
-
"minimum": 0
|
|
69
|
-
},
|
|
70
|
-
"unitOnly": {
|
|
71
|
-
"type": "array",
|
|
72
|
-
"items": {
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"goldenOnly": {
|
|
77
|
-
"type": "array",
|
|
78
|
-
"items": {
|
|
79
|
-
"type": "string"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"rest": {
|
|
83
|
-
"type": "integer",
|
|
84
|
-
"minimum": 0
|
|
85
|
-
},
|
|
86
|
-
"unit": {
|
|
87
|
-
"type": "object",
|
|
88
|
-
"properties": {
|
|
89
|
-
"summary": {
|
|
90
|
-
"type": "string"
|
|
91
|
-
},
|
|
92
|
-
"full": {
|
|
93
|
-
"type": "string"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"required": [
|
|
97
|
-
"summary"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"golden": {
|
|
101
|
-
"type": "object",
|
|
102
|
-
"properties": {
|
|
103
|
-
"summary": {
|
|
104
|
-
"type": "string"
|
|
105
|
-
},
|
|
106
|
-
"full": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": [
|
|
111
|
-
"summary"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
"pruning": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"properties": {
|
|
117
|
-
"mode": {
|
|
118
|
-
"const": "advisory"
|
|
119
|
-
},
|
|
120
|
-
"deletedTests": {
|
|
121
|
-
"const": 0
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"required": [
|
|
125
|
-
"mode",
|
|
126
|
-
"deletedTests"
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"if": {
|
|
131
|
-
"properties": {
|
|
132
|
-
"ok": {
|
|
133
|
-
"const": true
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"then": {
|
|
138
|
-
"required": [
|
|
139
|
-
"operators",
|
|
140
|
-
"unitKills",
|
|
141
|
-
"goldenKills",
|
|
142
|
-
"both",
|
|
143
|
-
"unitOnly",
|
|
144
|
-
"goldenOnly",
|
|
145
|
-
"rest",
|
|
146
|
-
"unit",
|
|
147
|
-
"golden",
|
|
148
|
-
"pruning"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/golden.record.schema.json",
|
|
4
|
-
"title": "probatio golden.record",
|
|
5
|
-
"description": "Records the calls the unit tests make into a golden table and a replay test. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "golden.record"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"rows": {
|
|
53
|
-
"type": "integer",
|
|
54
|
-
"minimum": 0
|
|
55
|
-
},
|
|
56
|
-
"hidden": {
|
|
57
|
-
"type": "integer",
|
|
58
|
-
"minimum": 0
|
|
59
|
-
},
|
|
60
|
-
"unstable": {
|
|
61
|
-
"type": "integer",
|
|
62
|
-
"minimum": 0
|
|
63
|
-
},
|
|
64
|
-
"modules": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": {
|
|
67
|
-
"type": "object",
|
|
68
|
-
"properties": {
|
|
69
|
-
"module": {
|
|
70
|
-
"type": "string"
|
|
71
|
-
},
|
|
72
|
-
"rows": {
|
|
73
|
-
"type": "integer",
|
|
74
|
-
"minimum": 0
|
|
75
|
-
},
|
|
76
|
-
"hidden": {
|
|
77
|
-
"type": "integer",
|
|
78
|
-
"minimum": 0
|
|
79
|
-
},
|
|
80
|
-
"unstable": {
|
|
81
|
-
"type": "integer",
|
|
82
|
-
"minimum": 0
|
|
83
|
-
},
|
|
84
|
-
"functions": {
|
|
85
|
-
"type": "array",
|
|
86
|
-
"items": {
|
|
87
|
-
"type": "string"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"required": [
|
|
92
|
-
"module",
|
|
93
|
-
"rows",
|
|
94
|
-
"hidden",
|
|
95
|
-
"unstable"
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"written": {
|
|
100
|
-
"type": "array",
|
|
101
|
-
"items": {
|
|
102
|
-
"type": "string"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"commit": {
|
|
106
|
-
"type": "string"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"if": {
|
|
110
|
-
"properties": {
|
|
111
|
-
"ok": {
|
|
112
|
-
"const": true
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"then": {
|
|
117
|
-
"required": [
|
|
118
|
-
"rows",
|
|
119
|
-
"hidden",
|
|
120
|
-
"unstable",
|
|
121
|
-
"modules",
|
|
122
|
-
"written",
|
|
123
|
-
"commit"
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/guard.check.schema.json",
|
|
4
|
-
"title": "probatio guard.check",
|
|
5
|
-
"description": "Refuses a guard change without a Guard-Change trailer. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "guard.check"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/IronAdamant/Probatio/blob/main/schemas/ledger.build.schema.json",
|
|
4
|
-
"title": "probatio ledger.build",
|
|
5
|
-
"description": "Reverts fix commits into forward patches: the project's own memory of fixed bugs. Every command prints one JSON object. schemaVersion changes when a field is renamed, removed, or changes meaning. A new field does not change it.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"ok",
|
|
10
|
-
"command",
|
|
11
|
-
"summary",
|
|
12
|
-
"next",
|
|
13
|
-
"nextCall"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"ok": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"command": {
|
|
23
|
-
"const": "ledger.build"
|
|
24
|
-
},
|
|
25
|
-
"summary": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"next": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"nextCall": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "null"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"argv": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"argv"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"clean": {
|
|
53
|
-
"type": "integer",
|
|
54
|
-
"minimum": 0
|
|
55
|
-
},
|
|
56
|
-
"hand": {
|
|
57
|
-
"type": "integer",
|
|
58
|
-
"minimum": 0
|
|
59
|
-
},
|
|
60
|
-
"handmade": {
|
|
61
|
-
"type": "integer",
|
|
62
|
-
"minimum": 0
|
|
63
|
-
},
|
|
64
|
-
"skipped": {
|
|
65
|
-
"type": "integer",
|
|
66
|
-
"minimum": 0
|
|
67
|
-
},
|
|
68
|
-
"handNeeded": {
|
|
69
|
-
"type": "array",
|
|
70
|
-
"items": {
|
|
71
|
-
"type": "object",
|
|
72
|
-
"properties": {
|
|
73
|
-
"id": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"commit": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"file": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
},
|
|
82
|
-
"line": {
|
|
83
|
-
"type": "integer",
|
|
84
|
-
"minimum": 0
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": [
|
|
88
|
-
"id",
|
|
89
|
-
"commit"
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"rest": {
|
|
94
|
-
"type": "integer",
|
|
95
|
-
"minimum": 0
|
|
96
|
-
},
|
|
97
|
-
"commit": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"full": {
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"historyBudgetHit": {
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
|
-
"commitsScanned": {
|
|
107
|
-
"type": "integer",
|
|
108
|
-
"minimum": 0
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"if": {
|
|
112
|
-
"properties": {
|
|
113
|
-
"ok": {
|
|
114
|
-
"const": true
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"then": {
|
|
119
|
-
"required": [
|
|
120
|
-
"clean",
|
|
121
|
-
"hand",
|
|
122
|
-
"handmade",
|
|
123
|
-
"skipped",
|
|
124
|
-
"handNeeded",
|
|
125
|
-
"rest",
|
|
126
|
-
"commit",
|
|
127
|
-
"full",
|
|
128
|
-
"historyBudgetHit",
|
|
129
|
-
"commitsScanned"
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
}
|