@on-par/factory-cli 0.9.11-next.7 → 0.9.11-next.71

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.
Files changed (152) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/base-health-ci.d.ts +16 -2
  3. package/dist/cli/base-health-ci.d.ts.map +1 -1
  4. package/dist/cli/base-health-ci.js +30 -5
  5. package/dist/cli/base-health-ci.js.map +1 -1
  6. package/dist/cli/base-hold.d.ts +7 -13
  7. package/dist/cli/base-hold.d.ts.map +1 -1
  8. package/dist/cli/base-hold.js +44 -30
  9. package/dist/cli/base-hold.js.map +1 -1
  10. package/dist/cli/cost-json.d.ts +5 -31
  11. package/dist/cli/cost-json.d.ts.map +1 -1
  12. package/dist/cli/cost-json.js +13 -2
  13. package/dist/cli/cost-json.js.map +1 -1
  14. package/dist/cli/daemon.d.ts +2 -15
  15. package/dist/cli/daemon.d.ts.map +1 -1
  16. package/dist/cli/daemon.js +5 -11
  17. package/dist/cli/daemon.js.map +1 -1
  18. package/dist/cli/doctor.d.ts.map +1 -1
  19. package/dist/cli/doctor.js +3 -1
  20. package/dist/cli/doctor.js.map +1 -1
  21. package/dist/cli/harness-check.d.ts.map +1 -1
  22. package/dist/cli/harness-check.js +8 -3
  23. package/dist/cli/harness-check.js.map +1 -1
  24. package/dist/cli/help-groups.d.ts.map +1 -1
  25. package/dist/cli/help-groups.js +16 -2
  26. package/dist/cli/help-groups.js.map +1 -1
  27. package/dist/cli/index.d.ts +24 -32
  28. package/dist/cli/index.d.ts.map +1 -1
  29. package/dist/cli/index.js +82 -174
  30. package/dist/cli/index.js.map +1 -1
  31. package/dist/cli/json-contract.d.ts +307 -0
  32. package/dist/cli/json-contract.d.ts.map +1 -0
  33. package/dist/cli/json-contract.js +209 -0
  34. package/dist/cli/json-contract.js.map +1 -0
  35. package/dist/cli/land-pr.d.ts.map +1 -1
  36. package/dist/cli/land-pr.js +5 -0
  37. package/dist/cli/land-pr.js.map +1 -1
  38. package/dist/cli/land.d.ts.map +1 -1
  39. package/dist/cli/land.js +19 -1
  40. package/dist/cli/land.js.map +1 -1
  41. package/dist/cli/lane-environment-pause-error.d.ts +3 -0
  42. package/dist/cli/lane-environment-pause-error.d.ts.map +1 -1
  43. package/dist/cli/lane-environment-pause-error.js +4 -0
  44. package/dist/cli/lane-environment-pause-error.js.map +1 -1
  45. package/dist/cli/logs.d.ts +4 -0
  46. package/dist/cli/logs.d.ts.map +1 -1
  47. package/dist/cli/logs.js +6 -2
  48. package/dist/cli/logs.js.map +1 -1
  49. package/dist/cli/model-override-messages.d.ts +4 -0
  50. package/dist/cli/model-override-messages.d.ts.map +1 -0
  51. package/dist/cli/model-override-messages.js +15 -0
  52. package/dist/cli/model-override-messages.js.map +1 -0
  53. package/dist/cli/program-observe.d.ts.map +1 -1
  54. package/dist/cli/program-observe.js +6 -0
  55. package/dist/cli/program-observe.js.map +1 -1
  56. package/dist/cli/program-run-work.d.ts.map +1 -1
  57. package/dist/cli/program-run-work.js +12 -0
  58. package/dist/cli/program-run-work.js.map +1 -1
  59. package/dist/cli/queue-add-json.d.ts +3 -25
  60. package/dist/cli/queue-add-json.d.ts.map +1 -1
  61. package/dist/cli/queue-add-json.js.map +1 -1
  62. package/dist/cli/queue-list.d.ts +6 -24
  63. package/dist/cli/queue-list.d.ts.map +1 -1
  64. package/dist/cli/queue-list.js +6 -1
  65. package/dist/cli/queue-list.js.map +1 -1
  66. package/dist/cli/queue-preflight.d.ts +50 -0
  67. package/dist/cli/queue-preflight.d.ts.map +1 -0
  68. package/dist/cli/queue-preflight.js +327 -0
  69. package/dist/cli/queue-preflight.js.map +1 -0
  70. package/dist/cli/risk-policy.d.ts +8 -0
  71. package/dist/cli/risk-policy.d.ts.map +1 -0
  72. package/dist/cli/risk-policy.js +34 -0
  73. package/dist/cli/risk-policy.js.map +1 -0
  74. package/dist/cli/run-branch.d.ts +26 -0
  75. package/dist/cli/run-branch.d.ts.map +1 -0
  76. package/dist/cli/run-branch.js +42 -0
  77. package/dist/cli/run-branch.js.map +1 -0
  78. package/dist/cli/run-lane.d.ts.map +1 -1
  79. package/dist/cli/run-lane.js +9 -1
  80. package/dist/cli/run-lane.js.map +1 -1
  81. package/dist/cli/run.d.ts.map +1 -1
  82. package/dist/cli/run.js +17 -11
  83. package/dist/cli/run.js.map +1 -1
  84. package/dist/cli/runs-diffstat.d.ts +6 -25
  85. package/dist/cli/runs-diffstat.d.ts.map +1 -1
  86. package/dist/cli/runs-diffstat.js.map +1 -1
  87. package/dist/cli/runs.d.ts +4 -19
  88. package/dist/cli/runs.d.ts.map +1 -1
  89. package/dist/cli/runs.js +1 -1
  90. package/dist/cli/runs.js.map +1 -1
  91. package/dist/cli/self-update-stop.d.ts +7 -0
  92. package/dist/cli/self-update-stop.d.ts.map +1 -0
  93. package/dist/cli/self-update-stop.js +27 -0
  94. package/dist/cli/self-update-stop.js.map +1 -0
  95. package/dist/cli/ship-reports.d.ts +34 -0
  96. package/dist/cli/ship-reports.d.ts.map +1 -0
  97. package/dist/cli/ship-reports.js +54 -0
  98. package/dist/cli/ship-reports.js.map +1 -0
  99. package/dist/cli/ship-run-state.d.ts +5 -0
  100. package/dist/cli/ship-run-state.d.ts.map +1 -0
  101. package/dist/cli/ship-run-state.js +17 -0
  102. package/dist/cli/ship-run-state.js.map +1 -0
  103. package/dist/cli/ship-steps.d.ts +4 -47
  104. package/dist/cli/ship-steps.d.ts.map +1 -1
  105. package/dist/cli/ship-steps.js +22 -82
  106. package/dist/cli/ship-steps.js.map +1 -1
  107. package/dist/cli/ship.d.ts +2 -0
  108. package/dist/cli/ship.d.ts.map +1 -1
  109. package/dist/cli/ship.js +64 -67
  110. package/dist/cli/ship.js.map +1 -1
  111. package/dist/cli/slice-index.d.ts +16 -0
  112. package/dist/cli/slice-index.d.ts.map +1 -0
  113. package/dist/cli/slice-index.js +27 -0
  114. package/dist/cli/slice-index.js.map +1 -0
  115. package/dist/cli/status-json.d.ts +7 -28
  116. package/dist/cli/status-json.d.ts.map +1 -1
  117. package/dist/cli/status-json.js +3 -1
  118. package/dist/cli/status-json.js.map +1 -1
  119. package/dist/cli/status.d.ts.map +1 -1
  120. package/dist/cli/status.js +4 -1
  121. package/dist/cli/status.js.map +1 -1
  122. package/dist/cli/steer.d.ts +50 -0
  123. package/dist/cli/steer.d.ts.map +1 -0
  124. package/dist/cli/steer.js +145 -0
  125. package/dist/cli/steer.js.map +1 -0
  126. package/dist/cli/steerability-report.d.ts +9 -0
  127. package/dist/cli/steerability-report.d.ts.map +1 -0
  128. package/dist/cli/steerability-report.js +28 -0
  129. package/dist/cli/steerability-report.js.map +1 -0
  130. package/dist/cli/stop-resume-json.d.ts +2 -10
  131. package/dist/cli/stop-resume-json.d.ts.map +1 -1
  132. package/dist/cli/stop-resume-json.js +1 -0
  133. package/dist/cli/stop-resume-json.js.map +1 -1
  134. package/dist/cli/usage-json.d.ts +4 -13
  135. package/dist/cli/usage-json.d.ts.map +1 -1
  136. package/dist/cli/usage-json.js.map +1 -1
  137. package/dist/cli/worktree-reap.d.ts.map +1 -1
  138. package/dist/cli/worktree-reap.js +7 -1
  139. package/dist/cli/worktree-reap.js.map +1 -1
  140. package/package.json +8 -5
  141. package/schemas/cost.schema.json +114 -0
  142. package/schemas/daemon-status.schema.json +44 -0
  143. package/schemas/logs-line.schema.json +123 -0
  144. package/schemas/queue-add.schema.json +73 -0
  145. package/schemas/queue-list.schema.json +77 -0
  146. package/schemas/resume.schema.json +36 -0
  147. package/schemas/runs-diffstat.schema.json +81 -0
  148. package/schemas/runs.schema.json +75 -0
  149. package/schemas/status.schema.json +200 -0
  150. package/schemas/stop.schema.json +36 -0
  151. package/schemas/unpark.schema.json +57 -0
  152. package/schemas/usage.schema.json +28 -0
@@ -0,0 +1,114 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "rows": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "ts": {
15
+ "type": "string"
16
+ },
17
+ "issue": {
18
+ "type": "string"
19
+ },
20
+ "task": {
21
+ "type": "string"
22
+ },
23
+ "model": {
24
+ "type": "string"
25
+ },
26
+ "inputTokens": {
27
+ "type": "number"
28
+ },
29
+ "outputTokens": {
30
+ "type": "number"
31
+ },
32
+ "cacheReadTokens": {
33
+ "type": ["number", "null"]
34
+ },
35
+ "cacheCreationTokens": {
36
+ "type": ["number", "null"]
37
+ },
38
+ "cost": {
39
+ "type": ["number", "null"]
40
+ }
41
+ },
42
+ "required": [
43
+ "ts",
44
+ "issue",
45
+ "task",
46
+ "model",
47
+ "inputTokens",
48
+ "outputTokens",
49
+ "cacheReadTokens",
50
+ "cacheCreationTokens",
51
+ "cost"
52
+ ],
53
+ "additionalProperties": false
54
+ }
55
+ },
56
+ "perModel": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "object",
60
+ "properties": {
61
+ "model": {
62
+ "type": "string"
63
+ },
64
+ "tasks": {
65
+ "type": "number"
66
+ },
67
+ "inputTokens": {
68
+ "type": "number"
69
+ },
70
+ "outputTokens": {
71
+ "type": "number"
72
+ },
73
+ "cost": {
74
+ "type": ["number", "null"]
75
+ },
76
+ "unpricedCount": {
77
+ "type": "number"
78
+ },
79
+ "cachedRateMissingCount": {
80
+ "type": "number"
81
+ }
82
+ },
83
+ "required": [
84
+ "model",
85
+ "tasks",
86
+ "inputTokens",
87
+ "outputTokens",
88
+ "cost",
89
+ "unpricedCount",
90
+ "cachedRateMissingCount"
91
+ ],
92
+ "additionalProperties": false
93
+ }
94
+ },
95
+ "total": {
96
+ "type": "object",
97
+ "properties": {
98
+ "cost": {
99
+ "type": ["number", "null"]
100
+ },
101
+ "unpricedCount": {
102
+ "type": "number"
103
+ },
104
+ "cachedRateMissingCount": {
105
+ "type": "number"
106
+ }
107
+ },
108
+ "required": ["cost", "unpricedCount", "cachedRateMissingCount"],
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "required": ["schemaVersion", "rows", "perModel", "total"],
113
+ "additionalProperties": false
114
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "running": {
10
+ "type": "boolean"
11
+ },
12
+ "pid": {
13
+ "type": ["number", "null"]
14
+ },
15
+ "uptimeSec": {
16
+ "type": ["number", "null"]
17
+ },
18
+ "plistInstalled": {
19
+ "type": "boolean"
20
+ },
21
+ "repos": {
22
+ "type": "array",
23
+ "items": {
24
+ "type": "object",
25
+ "properties": {
26
+ "slug": {
27
+ "type": "string"
28
+ },
29
+ "checkoutPath": {
30
+ "type": "string"
31
+ },
32
+ "state": {
33
+ "type": "string",
34
+ "enum": ["active", "paused", "draining", "detached"]
35
+ }
36
+ },
37
+ "required": ["slug", "checkoutPath", "state"],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ },
42
+ "required": ["schemaVersion", "running", "pid", "uptimeSec", "plistInstalled", "repos"],
43
+ "additionalProperties": false
44
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "ts": {
6
+ "type": "string"
7
+ },
8
+ "type": {
9
+ "type": "string"
10
+ },
11
+ "issue": {
12
+ "type": "string"
13
+ },
14
+ "msg": {
15
+ "type": "string"
16
+ },
17
+ "level": {
18
+ "type": "string",
19
+ "enum": ["debug", "info", "warn", "error"]
20
+ },
21
+ "lane": {
22
+ "type": "string"
23
+ },
24
+ "repo": {
25
+ "type": "string"
26
+ },
27
+ "phase": {
28
+ "type": "string"
29
+ },
30
+ "actor": {
31
+ "type": "string"
32
+ },
33
+ "failoverReason": {
34
+ "type": "string"
35
+ },
36
+ "fingerprint": {
37
+ "type": "string"
38
+ },
39
+ "evidence": {
40
+ "type": "object",
41
+ "properties": {},
42
+ "additionalProperties": {}
43
+ },
44
+ "rework": {
45
+ "type": "object",
46
+ "properties": {},
47
+ "additionalProperties": {}
48
+ },
49
+ "readiness": {
50
+ "type": "object",
51
+ "properties": {},
52
+ "additionalProperties": {}
53
+ },
54
+ "queueReprioritization": {
55
+ "type": "object",
56
+ "properties": {},
57
+ "additionalProperties": {}
58
+ },
59
+ "prClassification": {
60
+ "type": "object",
61
+ "properties": {},
62
+ "additionalProperties": {}
63
+ },
64
+ "lanePaused": {
65
+ "type": "object",
66
+ "properties": {},
67
+ "additionalProperties": {}
68
+ },
69
+ "stewardTriggered": {
70
+ "type": "object",
71
+ "properties": {},
72
+ "additionalProperties": {}
73
+ },
74
+ "flakyTests": {
75
+ "type": "object",
76
+ "properties": {},
77
+ "additionalProperties": {}
78
+ },
79
+ "attribution": {
80
+ "type": "object",
81
+ "properties": {},
82
+ "additionalProperties": {}
83
+ },
84
+ "checkFailure": {
85
+ "type": "object",
86
+ "properties": {},
87
+ "additionalProperties": {}
88
+ },
89
+ "ciFailure": {
90
+ "type": "object",
91
+ "properties": {},
92
+ "additionalProperties": {}
93
+ },
94
+ "escalateKind": {
95
+ "type": "string",
96
+ "enum": ["missing-info", "contradiction", "split"]
97
+ },
98
+ "model": {
99
+ "type": "string"
100
+ },
101
+ "tokens": {
102
+ "type": "object",
103
+ "properties": {
104
+ "input": {
105
+ "type": "number"
106
+ },
107
+ "output": {
108
+ "type": "number"
109
+ }
110
+ },
111
+ "required": ["input", "output"],
112
+ "additionalProperties": false
113
+ },
114
+ "durationMs": {
115
+ "type": "number"
116
+ },
117
+ "cursor": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ "required": ["ts", "type", "issue", "msg"],
122
+ "additionalProperties": false
123
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "ok": {
10
+ "type": "boolean"
11
+ },
12
+ "action": {
13
+ "type": "string",
14
+ "const": "queue-add"
15
+ },
16
+ "lane": {
17
+ "type": "string"
18
+ },
19
+ "issues": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "object",
23
+ "properties": {
24
+ "number": {
25
+ "type": "number"
26
+ },
27
+ "outcome": {
28
+ "type": "string",
29
+ "enum": ["queued", "already-queued", "failed"]
30
+ },
31
+ "order": {
32
+ "type": ["number", "null"]
33
+ },
34
+ "labelsAdded": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "detail": {
41
+ "type": "string"
42
+ },
43
+ "collision": {
44
+ "type": "object",
45
+ "properties": {
46
+ "order": {
47
+ "type": "number"
48
+ },
49
+ "heldBy": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "number"
53
+ }
54
+ }
55
+ },
56
+ "required": ["order", "heldBy"],
57
+ "additionalProperties": false
58
+ }
59
+ },
60
+ "required": ["number", "outcome", "order", "labelsAdded"],
61
+ "additionalProperties": false
62
+ }
63
+ },
64
+ "labelsCreated": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string"
68
+ }
69
+ }
70
+ },
71
+ "required": ["schemaVersion", "ok", "action", "lane", "issues", "labelsCreated"],
72
+ "additionalProperties": false
73
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "lanes": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "lane": {
15
+ "type": "string"
16
+ },
17
+ "items": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "issue": {
23
+ "type": "number"
24
+ },
25
+ "title": {
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": ["queued", "in-progress", "parked"]
31
+ },
32
+ "order": {
33
+ "type": "number"
34
+ },
35
+ "claimedBy": {
36
+ "type": ["string", "null"]
37
+ }
38
+ },
39
+ "required": ["issue", "status", "order", "claimedBy"],
40
+ "additionalProperties": false
41
+ }
42
+ }
43
+ },
44
+ "required": ["lane", "items"],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "orderConflicts": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "object",
52
+ "properties": {
53
+ "lane": {
54
+ "type": "string"
55
+ },
56
+ "order": {
57
+ "type": ["number", "null"]
58
+ },
59
+ "issues": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "number"
63
+ }
64
+ },
65
+ "reason": {
66
+ "type": "string",
67
+ "enum": ["missing-order-label", "multiple-order-labels", "malformed-order-label"]
68
+ }
69
+ },
70
+ "required": ["lane", "order", "issues"],
71
+ "additionalProperties": false
72
+ }
73
+ }
74
+ },
75
+ "required": ["schemaVersion", "lanes", "orderConflicts"],
76
+ "additionalProperties": false
77
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "ok": {
10
+ "type": "boolean",
11
+ "const": true
12
+ },
13
+ "repo": {
14
+ "type": "string"
15
+ },
16
+ "stopFlag": {
17
+ "type": "object",
18
+ "properties": {
19
+ "before": {
20
+ "type": "boolean"
21
+ },
22
+ "after": {
23
+ "type": "boolean"
24
+ }
25
+ },
26
+ "required": ["before", "after"],
27
+ "additionalProperties": false
28
+ },
29
+ "action": {
30
+ "type": "string",
31
+ "const": "resume"
32
+ }
33
+ },
34
+ "required": ["schemaVersion", "ok", "repo", "stopFlag", "action"],
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "issue": {
10
+ "type": "number"
11
+ },
12
+ "branch": {
13
+ "type": ["string", "null"]
14
+ },
15
+ "base": {
16
+ "type": "string"
17
+ },
18
+ "files": {
19
+ "anyOf": [
20
+ {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "path": {
26
+ "type": "string"
27
+ },
28
+ "added": {
29
+ "type": ["number", "null"]
30
+ },
31
+ "deleted": {
32
+ "type": ["number", "null"]
33
+ }
34
+ },
35
+ "required": ["path", "added", "deleted"],
36
+ "additionalProperties": false
37
+ }
38
+ },
39
+ {
40
+ "type": "null"
41
+ }
42
+ ]
43
+ },
44
+ "totals": {
45
+ "anyOf": [
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "files": {
50
+ "type": "number"
51
+ },
52
+ "added": {
53
+ "type": "number"
54
+ },
55
+ "deleted": {
56
+ "type": "number"
57
+ }
58
+ },
59
+ "required": ["files", "added", "deleted"],
60
+ "additionalProperties": false
61
+ },
62
+ {
63
+ "type": "null"
64
+ }
65
+ ]
66
+ },
67
+ "reason": {
68
+ "anyOf": [
69
+ {
70
+ "type": "string",
71
+ "enum": ["branch-missing", "base-missing", "no-branch"]
72
+ },
73
+ {
74
+ "type": "null"
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["schemaVersion", "issue", "branch", "base", "files", "totals", "reason"],
80
+ "additionalProperties": false
81
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "number",
7
+ "const": 1
8
+ },
9
+ "runs": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "issue": {
15
+ "type": "number"
16
+ },
17
+ "lane": {
18
+ "type": ["string", "null"]
19
+ },
20
+ "repo": {
21
+ "type": ["string", "null"]
22
+ },
23
+ "status": {
24
+ "type": ["string", "null"]
25
+ },
26
+ "phase": {
27
+ "anyOf": [
28
+ {
29
+ "type": "string",
30
+ "enum": ["plan", "build", "check", "ship"]
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ]
36
+ },
37
+ "branch": {
38
+ "type": ["string", "null"]
39
+ },
40
+ "prNumber": {
41
+ "type": ["number", "null"]
42
+ },
43
+ "model": {
44
+ "type": ["string", "null"]
45
+ },
46
+ "attempts": {
47
+ "type": ["number", "null"]
48
+ },
49
+ "startedAt": {
50
+ "type": ["string", "null"]
51
+ },
52
+ "updatedAt": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "required": [
57
+ "issue",
58
+ "lane",
59
+ "repo",
60
+ "status",
61
+ "phase",
62
+ "branch",
63
+ "prNumber",
64
+ "model",
65
+ "attempts",
66
+ "startedAt",
67
+ "updatedAt"
68
+ ],
69
+ "additionalProperties": false
70
+ }
71
+ }
72
+ },
73
+ "required": ["schemaVersion", "runs"],
74
+ "additionalProperties": false
75
+ }