@cat-factory/contracts 0.325.0 → 0.327.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/dist/board-projection.d.ts +35 -0
- package/dist/board-projection.d.ts.map +1 -0
- package/dist/board-projection.js +47 -0
- package/dist/board-projection.js.map +1 -0
- package/dist/environments-kubernetes.d.ts +3 -3
- package/dist/environments-kubernetes.js +1 -1
- package/dist/environments.d.ts +13 -13
- package/dist/environments.js +1 -1
- package/dist/execution.d.ts +28 -2
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +16 -0
- package/dist/execution.js.map +1 -1
- package/dist/followUp.d.ts +69 -5
- package/dist/followUp.d.ts.map +1 -1
- package/dist/followUp.js +54 -2
- package/dist/followUp.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/pr-report.d.ts +130 -1
- package/dist/pr-report.d.ts.map +1 -1
- package/dist/pr-report.js +69 -1
- package/dist/pr-report.js.map +1 -1
- package/dist/public-decisions.d.ts +33 -4
- package/dist/public-decisions.d.ts.map +1 -1
- package/dist/public-decisions.js +7 -0
- package/dist/public-decisions.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +8 -2
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +8 -2
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +1266 -9
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/execution.js +15 -0
- package/dist/routes/execution.js.map +1 -1
- package/dist/routes/followUp.d.ts +11 -5
- package/dist/routes/followUp.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +4 -1
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +20 -5
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/public-decisions.d.ts +83 -41
- package/dist/routes/public-decisions.d.ts.map +1 -1
- package/dist/routes/public-evidence.d.ts +20 -0
- package/dist/routes/public-evidence.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +12 -3
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +8 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +4 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/wildcard-dns.d.ts +66 -0
- package/dist/wildcard-dns.d.ts.map +1 -0
- package/dist/wildcard-dns.js +215 -0
- package/dist/wildcard-dns.js.map +1 -0
- package/package.json +1 -1
package/dist/followUp.d.ts
CHANGED
|
@@ -16,11 +16,15 @@ export type FollowUpItemKind = v.InferOutput<typeof followUpItemKindSchema>;
|
|
|
16
16
|
* Coder loop-back as rework.
|
|
17
17
|
* - `answered`: a question the human answered (`answer` set); the Q&A is folded into
|
|
18
18
|
* the next Coder loop-back.
|
|
19
|
+
* - `closed`: a question RULED ON without a loop-back (`answer` carries the reason).
|
|
20
|
+
* Nobody could supply what the Coder asked for, or the ask was settled by what the
|
|
21
|
+
* brief already says, so there is nothing for another pass to apply. See
|
|
22
|
+
* {@link followUpResolutionSchema} for why this is a status of its own.
|
|
19
23
|
* - `dismissed`: waved off as not worth acting on.
|
|
20
|
-
* All of `filed`/`queued`/`answered`/`dismissed` are "decided"; only `pending`
|
|
24
|
+
* All of `filed`/`queued`/`answered`/`closed`/`dismissed` are "decided"; only `pending`
|
|
21
25
|
* holds the gate.
|
|
22
26
|
*/
|
|
23
|
-
export declare const followUpItemStatusSchema: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
27
|
+
export declare const followUpItemStatusSchema: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
24
28
|
export type FollowUpItemStatus = v.InferOutput<typeof followUpItemStatusSchema>;
|
|
25
29
|
/** A single forward-looking item the Coder surfaced. */
|
|
26
30
|
export declare const followUpItemSchema: v.ObjectSchema<{
|
|
@@ -32,7 +36,7 @@ export declare const followUpItemSchema: v.ObjectSchema<{
|
|
|
32
36
|
readonly detail: v.StringSchema<undefined>;
|
|
33
37
|
/** An optional concrete suggestion the Coder offered (a follow-up's proposed fix). */
|
|
34
38
|
readonly suggestedAction: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
35
|
-
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
39
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
36
40
|
/** The human's answer to a `question` item, or null while unanswered / not a question. */
|
|
37
41
|
readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
38
42
|
/**
|
|
@@ -50,6 +54,18 @@ export declare const followUpItemSchema: v.ObjectSchema<{
|
|
|
50
54
|
* follow-up was triaged.
|
|
51
55
|
*/
|
|
52
56
|
readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* True when this item was decided for a send-back (`queued` / `answered`) that the step's loop
|
|
59
|
+
* budget could not pay for: `loops` had already reached `maxLoops`, so the Coder never received
|
|
60
|
+
* it. Absent on every item that was sent, and on every item that was never going to be.
|
|
61
|
+
*
|
|
62
|
+
* The sibling of {@link dismissedByPolicy}, and recorded for the same reason. Without it a
|
|
63
|
+
* dropped send-back is stored as `answered` with `sentToCoder` false forever, which is
|
|
64
|
+
* indistinguishable from an answer still queued for a pass that is about to run, and reads to
|
|
65
|
+
* anybody auditing the step as an answer the Coder acted on. A budget that quietly discards a
|
|
66
|
+
* human's decision has to say so.
|
|
67
|
+
*/
|
|
68
|
+
readonly sendBackDropped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
53
69
|
/** Canonical external id of the filed ticket (e.g. "owner/repo#123"), when `filed`. */
|
|
54
70
|
readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
55
71
|
/** URL of the filed ticket, when `filed`. */
|
|
@@ -78,7 +94,7 @@ export declare const followUpsStepStateSchema: v.ObjectSchema<{
|
|
|
78
94
|
readonly detail: v.StringSchema<undefined>;
|
|
79
95
|
/** An optional concrete suggestion the Coder offered (a follow-up's proposed fix). */
|
|
80
96
|
readonly suggestedAction: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
81
|
-
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
97
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
82
98
|
/** The human's answer to a `question` item, or null while unanswered / not a question. */
|
|
83
99
|
readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
84
100
|
/**
|
|
@@ -96,6 +112,18 @@ export declare const followUpsStepStateSchema: v.ObjectSchema<{
|
|
|
96
112
|
* follow-up was triaged.
|
|
97
113
|
*/
|
|
98
114
|
readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* True when this item was decided for a send-back (`queued` / `answered`) that the step's loop
|
|
117
|
+
* budget could not pay for: `loops` had already reached `maxLoops`, so the Coder never received
|
|
118
|
+
* it. Absent on every item that was sent, and on every item that was never going to be.
|
|
119
|
+
*
|
|
120
|
+
* The sibling of {@link dismissedByPolicy}, and recorded for the same reason. Without it a
|
|
121
|
+
* dropped send-back is stored as `answered` with `sentToCoder` false forever, which is
|
|
122
|
+
* indistinguishable from an answer still queued for a pass that is about to run, and reads to
|
|
123
|
+
* anybody auditing the step as an answer the Coder acted on. A budget that quietly discards a
|
|
124
|
+
* human's decision has to say so.
|
|
125
|
+
*/
|
|
126
|
+
readonly sendBackDropped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
99
127
|
/** Canonical external id of the filed ticket (e.g. "owner/repo#123"), when `filed`. */
|
|
100
128
|
readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
101
129
|
/** URL of the filed ticket, when `filed`. */
|
|
@@ -109,9 +137,45 @@ export declare const followUpsStepStateSchema: v.ObjectSchema<{
|
|
|
109
137
|
readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
|
|
110
138
|
}, undefined>;
|
|
111
139
|
export type FollowUpsStepState = v.InferOutput<typeof followUpsStepStateSchema>;
|
|
112
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* What answering a `question` DOES, which is not the same as what the answer says.
|
|
142
|
+
*
|
|
143
|
+
* - `answered` (the default, and every answer before this existed): the reply carries information
|
|
144
|
+
* the next pass applies, so it is folded into a Coder loop-back.
|
|
145
|
+
* - `closed`: the reply RULES ON the question without supplying anything to act on. The Coder
|
|
146
|
+
* asked for a fact nobody here has, or asked to widen scope and the answer is no. The reason is
|
|
147
|
+
* still recorded in `answer` and still shown to the Coder, as something already settled.
|
|
148
|
+
*
|
|
149
|
+
* Split from the answer TEXT because the engine cannot read the difference out of prose, and
|
|
150
|
+
* guessing it wrong is expensive in both directions. Answering every question as if it carried new
|
|
151
|
+
* information is what produced the loop this vocabulary exists to end: a question the answerer
|
|
152
|
+
* could not resolve ("which IngressClass does the target cluster mark as default?") came back with
|
|
153
|
+
* a generic steer, the Coder found nothing in it to apply, reworded the surrounding comment, and
|
|
154
|
+
* re-raised the same question under a new title. Three passes, one commit's worth of change, and
|
|
155
|
+
* the budget rather than the conversation was what finally stopped it.
|
|
156
|
+
*
|
|
157
|
+
* The answerer always knows which one they are giving. Ask them rather than infer it.
|
|
158
|
+
*/
|
|
159
|
+
export declare const followUpResolutionSchema: v.PicklistSchema<["answered", "closed"], undefined>;
|
|
160
|
+
export type FollowUpResolution = v.InferOutput<typeof followUpResolutionSchema>;
|
|
161
|
+
/**
|
|
162
|
+
* Answer a `question` item. `answered` folds the answer into the next Coder loop-back;
|
|
163
|
+
* `closed` records it as a ruling with no further pass. See {@link followUpResolutionSchema}.
|
|
164
|
+
*
|
|
165
|
+
* `resolution` is OPTIONAL and an omitted one means `answered`, so a caller written before it
|
|
166
|
+
* existed keeps its exact prior behaviour. That is the public surface's additive rule
|
|
167
|
+
* (`backend/docs/public-api.md`), and it is also the right reading on the merits: an answer that
|
|
168
|
+
* came with no disposition is one somebody typed into a box that promised to send it back.
|
|
169
|
+
*
|
|
170
|
+
* Declared WITHOUT a valibot `default`, deliberately. A schema default is "always present on the
|
|
171
|
+
* way out, optional on the way in", and the SDK emitters cannot render one shape as both
|
|
172
|
+
* (`scripts/sdk/ir.mjs` refuses it rather than guessing). So the field is plainly optional on the
|
|
173
|
+
* wire and the ENGINE owns the fallback, in `FollowUpGateController.answerFollowUp`, which is the
|
|
174
|
+
* one place that has to agree with itself about what an absent disposition means.
|
|
175
|
+
*/
|
|
113
176
|
export declare const answerFollowUpSchema: v.ObjectSchema<{
|
|
114
177
|
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
|
|
178
|
+
readonly resolution: v.OptionalSchema<v.PicklistSchema<["answered", "closed"], undefined>, undefined>;
|
|
115
179
|
}, undefined>;
|
|
116
180
|
export type AnswerFollowUpInput = v.InferOutput<typeof answerFollowUpSchema>;
|
|
117
181
|
/**
|
package/dist/followUp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"followUp.d.ts","sourceRoot":"","sources":["../src/followUp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,wDAAwC,CAAA;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E
|
|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AwB,CAAC,CAAA;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB;;;aAG/B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;aAKjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
package/dist/followUp.js
CHANGED
|
@@ -34,8 +34,12 @@ export const followUpItemKindSchema = v.picklist(['follow_up', 'question']);
|
|
|
34
34
|
* Coder loop-back as rework.
|
|
35
35
|
* - `answered`: a question the human answered (`answer` set); the Q&A is folded into
|
|
36
36
|
* the next Coder loop-back.
|
|
37
|
+
* - `closed`: a question RULED ON without a loop-back (`answer` carries the reason).
|
|
38
|
+
* Nobody could supply what the Coder asked for, or the ask was settled by what the
|
|
39
|
+
* brief already says, so there is nothing for another pass to apply. See
|
|
40
|
+
* {@link followUpResolutionSchema} for why this is a status of its own.
|
|
37
41
|
* - `dismissed`: waved off as not worth acting on.
|
|
38
|
-
* All of `filed`/`queued`/`answered`/`dismissed` are "decided"; only `pending`
|
|
42
|
+
* All of `filed`/`queued`/`answered`/`closed`/`dismissed` are "decided"; only `pending`
|
|
39
43
|
* holds the gate.
|
|
40
44
|
*/
|
|
41
45
|
export const followUpItemStatusSchema = v.picklist([
|
|
@@ -43,6 +47,7 @@ export const followUpItemStatusSchema = v.picklist([
|
|
|
43
47
|
'filed',
|
|
44
48
|
'queued',
|
|
45
49
|
'answered',
|
|
50
|
+
'closed',
|
|
46
51
|
'dismissed',
|
|
47
52
|
]);
|
|
48
53
|
/** A single forward-looking item the Coder surfaced. */
|
|
@@ -73,6 +78,18 @@ export const followUpItemSchema = v.object({
|
|
|
73
78
|
* follow-up was triaged.
|
|
74
79
|
*/
|
|
75
80
|
dismissedByPolicy: v.optional(v.boolean()),
|
|
81
|
+
/**
|
|
82
|
+
* True when this item was decided for a send-back (`queued` / `answered`) that the step's loop
|
|
83
|
+
* budget could not pay for: `loops` had already reached `maxLoops`, so the Coder never received
|
|
84
|
+
* it. Absent on every item that was sent, and on every item that was never going to be.
|
|
85
|
+
*
|
|
86
|
+
* The sibling of {@link dismissedByPolicy}, and recorded for the same reason. Without it a
|
|
87
|
+
* dropped send-back is stored as `answered` with `sentToCoder` false forever, which is
|
|
88
|
+
* indistinguishable from an answer still queued for a pass that is about to run, and reads to
|
|
89
|
+
* anybody auditing the step as an answer the Coder acted on. A budget that quietly discards a
|
|
90
|
+
* human's decision has to say so.
|
|
91
|
+
*/
|
|
92
|
+
sendBackDropped: v.optional(v.boolean()),
|
|
76
93
|
/** Canonical external id of the filed ticket (e.g. "owner/repo#123"), when `filed`. */
|
|
77
94
|
ticketExternalId: v.optional(v.nullable(v.string())),
|
|
78
95
|
/** URL of the filed ticket, when `filed`. */
|
|
@@ -98,9 +115,44 @@ export const followUpsStepStateSchema = v.object({
|
|
|
98
115
|
maxLoops: v.optional(v.number(), 3),
|
|
99
116
|
});
|
|
100
117
|
// ---- Request bodies -------------------------------------------------------
|
|
101
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* What answering a `question` DOES, which is not the same as what the answer says.
|
|
120
|
+
*
|
|
121
|
+
* - `answered` (the default, and every answer before this existed): the reply carries information
|
|
122
|
+
* the next pass applies, so it is folded into a Coder loop-back.
|
|
123
|
+
* - `closed`: the reply RULES ON the question without supplying anything to act on. The Coder
|
|
124
|
+
* asked for a fact nobody here has, or asked to widen scope and the answer is no. The reason is
|
|
125
|
+
* still recorded in `answer` and still shown to the Coder, as something already settled.
|
|
126
|
+
*
|
|
127
|
+
* Split from the answer TEXT because the engine cannot read the difference out of prose, and
|
|
128
|
+
* guessing it wrong is expensive in both directions. Answering every question as if it carried new
|
|
129
|
+
* information is what produced the loop this vocabulary exists to end: a question the answerer
|
|
130
|
+
* could not resolve ("which IngressClass does the target cluster mark as default?") came back with
|
|
131
|
+
* a generic steer, the Coder found nothing in it to apply, reworded the surrounding comment, and
|
|
132
|
+
* re-raised the same question under a new title. Three passes, one commit's worth of change, and
|
|
133
|
+
* the budget rather than the conversation was what finally stopped it.
|
|
134
|
+
*
|
|
135
|
+
* The answerer always knows which one they are giving. Ask them rather than infer it.
|
|
136
|
+
*/
|
|
137
|
+
export const followUpResolutionSchema = v.picklist(['answered', 'closed']);
|
|
138
|
+
/**
|
|
139
|
+
* Answer a `question` item. `answered` folds the answer into the next Coder loop-back;
|
|
140
|
+
* `closed` records it as a ruling with no further pass. See {@link followUpResolutionSchema}.
|
|
141
|
+
*
|
|
142
|
+
* `resolution` is OPTIONAL and an omitted one means `answered`, so a caller written before it
|
|
143
|
+
* existed keeps its exact prior behaviour. That is the public surface's additive rule
|
|
144
|
+
* (`backend/docs/public-api.md`), and it is also the right reading on the merits: an answer that
|
|
145
|
+
* came with no disposition is one somebody typed into a box that promised to send it back.
|
|
146
|
+
*
|
|
147
|
+
* Declared WITHOUT a valibot `default`, deliberately. A schema default is "always present on the
|
|
148
|
+
* way out, optional on the way in", and the SDK emitters cannot render one shape as both
|
|
149
|
+
* (`scripts/sdk/ir.mjs` refuses it rather than guessing). So the field is plainly optional on the
|
|
150
|
+
* wire and the ENGINE owns the fallback, in `FollowUpGateController.answerFollowUp`, which is the
|
|
151
|
+
* one place that has to agree with itself about what an absent disposition means.
|
|
152
|
+
*/
|
|
102
153
|
export const answerFollowUpSchema = v.object({
|
|
103
154
|
answer: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(4000)),
|
|
155
|
+
resolution: v.optional(followUpResolutionSchema),
|
|
104
156
|
});
|
|
105
157
|
/**
|
|
106
158
|
* One streamed item line the harness lifts off the Coder container's sentinel file
|
package/dist/followUp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"followUp.js","sourceRoot":"","sources":["../src/followUp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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AAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACpD,CAAC,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './entities.js';
|
|
|
5
5
|
export * from './module-assignment.js';
|
|
6
6
|
export * from './agent-failure-kinds.js';
|
|
7
7
|
export * from './execution.js';
|
|
8
|
+
export * from './board-projection.js';
|
|
8
9
|
export * from './companion-state.js';
|
|
9
10
|
export * from './step-decisions.js';
|
|
10
11
|
export * from './gate-config.js';
|
|
@@ -50,6 +51,7 @@ export * from './tasks.js';
|
|
|
50
51
|
export * from './bug-hunt.js';
|
|
51
52
|
export * from './environments.js';
|
|
52
53
|
export * from './environments-kubernetes.js';
|
|
54
|
+
export * from './wildcard-dns.js';
|
|
53
55
|
export * from './service-account-token.js';
|
|
54
56
|
export * from './preflights.js';
|
|
55
57
|
export * from './compose-sources.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sB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B,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * from './entities.js';
|
|
|
5
5
|
export * from './module-assignment.js';
|
|
6
6
|
export * from './agent-failure-kinds.js';
|
|
7
7
|
export * from './execution.js';
|
|
8
|
+
export * from './board-projection.js';
|
|
8
9
|
export * from './companion-state.js';
|
|
9
10
|
export * from './step-decisions.js';
|
|
10
11
|
export * from './gate-config.js';
|
|
@@ -50,6 +51,7 @@ export * from './tasks.js';
|
|
|
50
51
|
export * from './bug-hunt.js';
|
|
51
52
|
export * from './environments.js';
|
|
52
53
|
export * from './environments-kubernetes.js';
|
|
54
|
+
export * from './wildcard-dns.js';
|
|
53
55
|
export * from './service-account-token.js';
|
|
54
56
|
export * from './preflights.js';
|
|
55
57
|
export * from './compose-sources.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,C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Ac,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
package/dist/pr-report.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as v from 'valibot';
|
|
|
7
7
|
* (see the header), so a bump means "there is more here than there was", and a consumer written
|
|
8
8
|
* against an older number keeps reading the fields it knows.
|
|
9
9
|
*/
|
|
10
|
-
export declare const PR_VERIFICATION_REPORT_VERSION =
|
|
10
|
+
export declare const PR_VERIFICATION_REPORT_VERSION = 10;
|
|
11
11
|
/**
|
|
12
12
|
* How much of one captured command log the report carries, per command.
|
|
13
13
|
*
|
|
@@ -780,6 +780,90 @@ export declare const prReportJudgeSchema: v.ObjectSchema<{
|
|
|
780
780
|
}, undefined>, undefined>, undefined>;
|
|
781
781
|
}, undefined>;
|
|
782
782
|
export type PrReportJudge = v.InferOutput<typeof prReportJudgeSchema>;
|
|
783
|
+
/** One item the Coder surfaced mid-run, and what was done with it. */
|
|
784
|
+
export declare const prReportFollowUpSchema: v.ObjectSchema<{
|
|
785
|
+
/** `follow_up` (a loose end it chose not to act on) or `question` (a clarification it raised). */
|
|
786
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
787
|
+
/** The item's headline. Model-authored text: scrubbed at compose time, escaped at render. */
|
|
788
|
+
readonly title: v.StringSchema<undefined>;
|
|
789
|
+
/** How it was decided. `pending` is unreachable here (the gate holds the run until it is not). */
|
|
790
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
791
|
+
/**
|
|
792
|
+
* True when this item was decided for a send-back the Coder never received, because the step's
|
|
793
|
+
* loop budget was already spent. The one disposition `status` cannot show on its own.
|
|
794
|
+
*/
|
|
795
|
+
readonly sendBackDropped: v.BooleanSchema<undefined>;
|
|
796
|
+
/** True when the run's autonomy policy dismissed it because nobody was watching. */
|
|
797
|
+
readonly dismissedByPolicy: v.BooleanSchema<undefined>;
|
|
798
|
+
}, undefined>;
|
|
799
|
+
export type PrReportFollowUp = v.InferOutput<typeof prReportFollowUpSchema>;
|
|
800
|
+
/**
|
|
801
|
+
* What the Coder flagged while it worked, and what was decided about each one.
|
|
802
|
+
*
|
|
803
|
+
* A reviewer reading this pull request is the person best placed to act on a loose end the Coder
|
|
804
|
+
* noticed, and the worst placed to discover one: the items live on the run, and the only trace on
|
|
805
|
+
* the PR itself used to be whatever the agent chose to write into a commit message. Three of the
|
|
806
|
+
* dispositions here are load-bearing for that reader:
|
|
807
|
+
*
|
|
808
|
+
* - `closed`: a question ruled on rather than answered. The reason is the ruling, and a reviewer
|
|
809
|
+
* who disagrees with it is looking at a decision, not an oversight.
|
|
810
|
+
* - `sendBackDropped`: a decision that was made and then thrown away when the loop budget ran
|
|
811
|
+
* out. Nothing else on the PR says the run stopped short of what triage asked for.
|
|
812
|
+
* - `dismissedByPolicy`: nobody looked. An unattended run dismisses undecided items so it can
|
|
813
|
+
* finish, and the resulting item list would otherwise read as a triaged one.
|
|
814
|
+
*
|
|
815
|
+
* The three COUNTS below are taken over every item the run surfaced, before `entries` is capped;
|
|
816
|
+
* `total` is what they were taken over. A count reduced to the shown rows would answer a question
|
|
817
|
+
* nobody asked ("how many of the visible ones") and would silently read as zero for a run whose
|
|
818
|
+
* flagged items all fell past the cap.
|
|
819
|
+
*
|
|
820
|
+
* `absent` when the companion was off on every step, or never surfaced anything.
|
|
821
|
+
*/
|
|
822
|
+
export declare const prReportFollowUpsSchema: v.ObjectSchema<{
|
|
823
|
+
readonly status: v.PicklistSchema<["reported", "absent"], undefined>;
|
|
824
|
+
/** Says why the section is empty when `status` is `absent`. */
|
|
825
|
+
readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
826
|
+
/** Send-back passes spent and the ceiling they stopped at, summed across enabled steps. */
|
|
827
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
828
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
829
|
+
/** How many items the run surfaced in all, which may exceed `entries.length`. */
|
|
830
|
+
readonly total: v.NumberSchema<undefined>;
|
|
831
|
+
/** How many of those carry `sendBackDropped`, so a reader sees the count without scanning. */
|
|
832
|
+
readonly dropped: v.NumberSchema<undefined>;
|
|
833
|
+
/** How many of those the run's autonomy policy dismissed rather than a person. */
|
|
834
|
+
readonly dismissedByPolicy: v.NumberSchema<undefined>;
|
|
835
|
+
/**
|
|
836
|
+
* The send-back budget the drops were measured against: `loops`/`maxLoops` summed over the steps
|
|
837
|
+
* that actually dropped something, and null when nothing did.
|
|
838
|
+
*
|
|
839
|
+
* Separate from the section-level pair above because that one sums EVERY enabled step, and a
|
|
840
|
+
* pipeline may place more than one follow-up-enabled Coder. A run whose first Coder exhausted
|
|
841
|
+
* 3/3 and dropped a decision while its second never looped sums to 3/6, and a banner that
|
|
842
|
+
* asserted a spent budget over 3-of-6 would be telling a reviewer the platform discarded their
|
|
843
|
+
* decision with half the budget still available. Summed over the exhausted steps alone the two
|
|
844
|
+
* numbers are equal by construction, which is the fact the banner is actually claiming.
|
|
845
|
+
*/
|
|
846
|
+
readonly droppedBudget: v.NullableSchema<v.ObjectSchema<{
|
|
847
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
848
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
849
|
+
}, undefined>, undefined>;
|
|
850
|
+
readonly entries: v.ArraySchema<v.ObjectSchema<{
|
|
851
|
+
/** `follow_up` (a loose end it chose not to act on) or `question` (a clarification it raised). */
|
|
852
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
853
|
+
/** The item's headline. Model-authored text: scrubbed at compose time, escaped at render. */
|
|
854
|
+
readonly title: v.StringSchema<undefined>;
|
|
855
|
+
/** How it was decided. `pending` is unreachable here (the gate holds the run until it is not). */
|
|
856
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
857
|
+
/**
|
|
858
|
+
* True when this item was decided for a send-back the Coder never received, because the step's
|
|
859
|
+
* loop budget was already spent. The one disposition `status` cannot show on its own.
|
|
860
|
+
*/
|
|
861
|
+
readonly sendBackDropped: v.BooleanSchema<undefined>;
|
|
862
|
+
/** True when the run's autonomy policy dismissed it because nobody was watching. */
|
|
863
|
+
readonly dismissedByPolicy: v.BooleanSchema<undefined>;
|
|
864
|
+
}, undefined>, undefined>;
|
|
865
|
+
}, undefined>;
|
|
866
|
+
export type PrReportFollowUps = v.InferOutput<typeof prReportFollowUpsSchema>;
|
|
783
867
|
/** The run's judge verdicts. `absent` when the pipeline placed no judge step (or none settled). */
|
|
784
868
|
export declare const prReportJudgesSchema: v.ObjectSchema<{
|
|
785
869
|
readonly status: v.PicklistSchema<["reported", "absent"], undefined>;
|
|
@@ -1234,6 +1318,51 @@ export declare const prVerificationReportSchema: v.ObjectSchema<{
|
|
|
1234
1318
|
readonly movedDuringRun: v.BooleanSchema<undefined>;
|
|
1235
1319
|
}, undefined>, undefined>;
|
|
1236
1320
|
}, undefined>;
|
|
1321
|
+
/** What the Coder flagged mid-run, and how each item was decided. */
|
|
1322
|
+
readonly followUps: v.ObjectSchema<{
|
|
1323
|
+
readonly status: v.PicklistSchema<["reported", "absent"], undefined>;
|
|
1324
|
+
/** Says why the section is empty when `status` is `absent`. */
|
|
1325
|
+
readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1326
|
+
/** Send-back passes spent and the ceiling they stopped at, summed across enabled steps. */
|
|
1327
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1328
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1329
|
+
/** How many items the run surfaced in all, which may exceed `entries.length`. */
|
|
1330
|
+
readonly total: v.NumberSchema<undefined>;
|
|
1331
|
+
/** How many of those carry `sendBackDropped`, so a reader sees the count without scanning. */
|
|
1332
|
+
readonly dropped: v.NumberSchema<undefined>;
|
|
1333
|
+
/** How many of those the run's autonomy policy dismissed rather than a person. */
|
|
1334
|
+
readonly dismissedByPolicy: v.NumberSchema<undefined>;
|
|
1335
|
+
/**
|
|
1336
|
+
* The send-back budget the drops were measured against: `loops`/`maxLoops` summed over the steps
|
|
1337
|
+
* that actually dropped something, and null when nothing did.
|
|
1338
|
+
*
|
|
1339
|
+
* Separate from the section-level pair above because that one sums EVERY enabled step, and a
|
|
1340
|
+
* pipeline may place more than one follow-up-enabled Coder. A run whose first Coder exhausted
|
|
1341
|
+
* 3/3 and dropped a decision while its second never looped sums to 3/6, and a banner that
|
|
1342
|
+
* asserted a spent budget over 3-of-6 would be telling a reviewer the platform discarded their
|
|
1343
|
+
* decision with half the budget still available. Summed over the exhausted steps alone the two
|
|
1344
|
+
* numbers are equal by construction, which is the fact the banner is actually claiming.
|
|
1345
|
+
*/
|
|
1346
|
+
readonly droppedBudget: v.NullableSchema<v.ObjectSchema<{
|
|
1347
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1348
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1349
|
+
}, undefined>, undefined>;
|
|
1350
|
+
readonly entries: v.ArraySchema<v.ObjectSchema<{
|
|
1351
|
+
/** `follow_up` (a loose end it chose not to act on) or `question` (a clarification it raised). */
|
|
1352
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
1353
|
+
/** The item's headline. Model-authored text: scrubbed at compose time, escaped at render. */
|
|
1354
|
+
readonly title: v.StringSchema<undefined>;
|
|
1355
|
+
/** How it was decided. `pending` is unreachable here (the gate holds the run until it is not). */
|
|
1356
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "closed", "dismissed"], undefined>;
|
|
1357
|
+
/**
|
|
1358
|
+
* True when this item was decided for a send-back the Coder never received, because the step's
|
|
1359
|
+
* loop budget was already spent. The one disposition `status` cannot show on its own.
|
|
1360
|
+
*/
|
|
1361
|
+
readonly sendBackDropped: v.BooleanSchema<undefined>;
|
|
1362
|
+
/** True when the run's autonomy policy dismissed it because nobody was watching. */
|
|
1363
|
+
readonly dismissedByPolicy: v.BooleanSchema<undefined>;
|
|
1364
|
+
}, undefined>, undefined>;
|
|
1365
|
+
}, undefined>;
|
|
1237
1366
|
readonly ci: v.ObjectSchema<{
|
|
1238
1367
|
readonly status: v.PicklistSchema<["reported", "absent"], undefined>;
|
|
1239
1368
|
/** Says why the section is empty when `status` is `absent`. */
|
package/dist/pr-report.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-report.d.ts","sourceRoot":"","sources":["../src/pr-report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"pr-report.d.ts","sourceRoot":"","sources":["../src/pr-report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmC5B;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,KAAK,CAAA;AAEhD;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,OAAQ,CAAA;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,qDAAqC,CAAA;AAC7E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,2BAA2B,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;;gBAvDrF,oDAAoD;;gBAEpD,yEAAyE;;gBAEzE,mFAAmF;;gBAEnF;;;;;;;;;;;;mBAYG;;;YAuCH;;;;eAIG;;;QAiDH;;;;;;;;;;;;WAYG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;QAmKH,+DAA+D;;;YApG/D,6EAA6E;;;YAG7E,8FAA8F;;YAE9F,+EAA+E;;;YAG/E,uFAAuF;;YAEvF,uCAAuC;;YAEvC,iFAAiF;;;;;;;YAEjF,yEAAyE;;;YAGzE,2CAA2C;;YAE3C;;;;eAIG;;;;;;;;;QArDH;;;;;;;;WAQG;;QAEH;;;;WAIG;;;IAyXH;;;;;;;;;OASG;;aAEH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CAE9E"}
|
package/dist/pr-report.js
CHANGED
|
@@ -2,6 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
import { mergeAssessmentSchema } from './merge.js';
|
|
3
3
|
import { judgeDispositionSchema, judgeFindingSchema, judgeModelPinSchema } from './judge.js';
|
|
4
4
|
import { documentFreshnessSchema, documentOriginSchema } from './documents.js';
|
|
5
|
+
import { followUpItemKindSchema, followUpItemStatusSchema } from './followUp.js';
|
|
5
6
|
import { requirementPrioritySchema, requirementStateSchema } from './spec.js';
|
|
6
7
|
import { reproductionStatusSchema } from './reproduction.js';
|
|
7
8
|
import { requirementVerdictStatusSchema, testEnvironmentSchema } from './testing.js';
|
|
@@ -38,7 +39,7 @@ import { vcsProviderSchema } from './routes/auth.js';
|
|
|
38
39
|
* (see the header), so a bump means "there is more here than there was", and a consumer written
|
|
39
40
|
* against an older number keeps reading the fields it knows.
|
|
40
41
|
*/
|
|
41
|
-
export const PR_VERIFICATION_REPORT_VERSION =
|
|
42
|
+
export const PR_VERIFICATION_REPORT_VERSION = 10;
|
|
42
43
|
/**
|
|
43
44
|
* How much of one captured command log the report carries, per command.
|
|
44
45
|
*
|
|
@@ -603,6 +604,71 @@ export const prReportJudgeSchema = v.object({
|
|
|
603
604
|
*/
|
|
604
605
|
modelPin: v.optional(v.nullable(judgeModelPinSchema)),
|
|
605
606
|
});
|
|
607
|
+
/** One item the Coder surfaced mid-run, and what was done with it. */
|
|
608
|
+
export const prReportFollowUpSchema = v.object({
|
|
609
|
+
/** `follow_up` (a loose end it chose not to act on) or `question` (a clarification it raised). */
|
|
610
|
+
kind: followUpItemKindSchema,
|
|
611
|
+
/** The item's headline. Model-authored text: scrubbed at compose time, escaped at render. */
|
|
612
|
+
title: v.string(),
|
|
613
|
+
/** How it was decided. `pending` is unreachable here (the gate holds the run until it is not). */
|
|
614
|
+
status: followUpItemStatusSchema,
|
|
615
|
+
/**
|
|
616
|
+
* True when this item was decided for a send-back the Coder never received, because the step's
|
|
617
|
+
* loop budget was already spent. The one disposition `status` cannot show on its own.
|
|
618
|
+
*/
|
|
619
|
+
sendBackDropped: v.boolean(),
|
|
620
|
+
/** True when the run's autonomy policy dismissed it because nobody was watching. */
|
|
621
|
+
dismissedByPolicy: v.boolean(),
|
|
622
|
+
});
|
|
623
|
+
/**
|
|
624
|
+
* What the Coder flagged while it worked, and what was decided about each one.
|
|
625
|
+
*
|
|
626
|
+
* A reviewer reading this pull request is the person best placed to act on a loose end the Coder
|
|
627
|
+
* noticed, and the worst placed to discover one: the items live on the run, and the only trace on
|
|
628
|
+
* the PR itself used to be whatever the agent chose to write into a commit message. Three of the
|
|
629
|
+
* dispositions here are load-bearing for that reader:
|
|
630
|
+
*
|
|
631
|
+
* - `closed`: a question ruled on rather than answered. The reason is the ruling, and a reviewer
|
|
632
|
+
* who disagrees with it is looking at a decision, not an oversight.
|
|
633
|
+
* - `sendBackDropped`: a decision that was made and then thrown away when the loop budget ran
|
|
634
|
+
* out. Nothing else on the PR says the run stopped short of what triage asked for.
|
|
635
|
+
* - `dismissedByPolicy`: nobody looked. An unattended run dismisses undecided items so it can
|
|
636
|
+
* finish, and the resulting item list would otherwise read as a triaged one.
|
|
637
|
+
*
|
|
638
|
+
* The three COUNTS below are taken over every item the run surfaced, before `entries` is capped;
|
|
639
|
+
* `total` is what they were taken over. A count reduced to the shown rows would answer a question
|
|
640
|
+
* nobody asked ("how many of the visible ones") and would silently read as zero for a run whose
|
|
641
|
+
* flagged items all fell past the cap.
|
|
642
|
+
*
|
|
643
|
+
* `absent` when the companion was off on every step, or never surfaced anything.
|
|
644
|
+
*/
|
|
645
|
+
export const prReportFollowUpsSchema = v.object({
|
|
646
|
+
status: prReportSectionStatusSchema,
|
|
647
|
+
/** Says why the section is empty when `status` is `absent`. */
|
|
648
|
+
note: v.optional(v.nullable(v.string())),
|
|
649
|
+
/** Send-back passes spent and the ceiling they stopped at, summed across enabled steps. */
|
|
650
|
+
loops: v.number(),
|
|
651
|
+
maxLoops: v.number(),
|
|
652
|
+
/** How many items the run surfaced in all, which may exceed `entries.length`. */
|
|
653
|
+
total: v.number(),
|
|
654
|
+
/** How many of those carry `sendBackDropped`, so a reader sees the count without scanning. */
|
|
655
|
+
dropped: v.number(),
|
|
656
|
+
/** How many of those the run's autonomy policy dismissed rather than a person. */
|
|
657
|
+
dismissedByPolicy: v.number(),
|
|
658
|
+
/**
|
|
659
|
+
* The send-back budget the drops were measured against: `loops`/`maxLoops` summed over the steps
|
|
660
|
+
* that actually dropped something, and null when nothing did.
|
|
661
|
+
*
|
|
662
|
+
* Separate from the section-level pair above because that one sums EVERY enabled step, and a
|
|
663
|
+
* pipeline may place more than one follow-up-enabled Coder. A run whose first Coder exhausted
|
|
664
|
+
* 3/3 and dropped a decision while its second never looped sums to 3/6, and a banner that
|
|
665
|
+
* asserted a spent budget over 3-of-6 would be telling a reviewer the platform discarded their
|
|
666
|
+
* decision with half the budget still available. Summed over the exhausted steps alone the two
|
|
667
|
+
* numbers are equal by construction, which is the fact the banner is actually claiming.
|
|
668
|
+
*/
|
|
669
|
+
droppedBudget: v.nullable(v.object({ loops: v.number(), maxLoops: v.number() })),
|
|
670
|
+
entries: v.array(prReportFollowUpSchema),
|
|
671
|
+
});
|
|
606
672
|
/** The run's judge verdicts. `absent` when the pipeline placed no judge step (or none settled). */
|
|
607
673
|
export const prReportJudgesSchema = v.object({
|
|
608
674
|
status: prReportSectionStatusSchema,
|
|
@@ -840,6 +906,8 @@ export const prVerificationReportSchema = v.object({
|
|
|
840
906
|
run: prReportRunSchema,
|
|
841
907
|
/** What the run built FROM: the linked documents its agents read, at which revision. */
|
|
842
908
|
context: prReportContextSchema,
|
|
909
|
+
/** What the Coder flagged mid-run, and how each item was decided. */
|
|
910
|
+
followUps: prReportFollowUpsSchema,
|
|
843
911
|
ci: prReportCiSchema,
|
|
844
912
|
/** The platform's OWN run of the service's check commands against the pushed tree. */
|
|
845
913
|
validation: prReportValidationSchema,
|