@cat-factory/contracts 0.309.0 → 0.310.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.
@@ -888,6 +888,7 @@ export declare const createWorkspaceContract: {
888
888
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
889
889
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
890
890
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
891
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
891
892
  readonly body: v.StringSchema<undefined>;
892
893
  }, undefined>, undefined>, undefined>;
893
894
  readonly requiredApprovals: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -915,6 +916,7 @@ export declare const createWorkspaceContract: {
915
916
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
916
917
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
917
918
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
919
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
918
920
  readonly body: v.StringSchema<undefined>;
919
921
  }, undefined>, undefined>, undefined>;
920
922
  }, undefined>, undefined>;
@@ -1159,6 +1161,7 @@ export declare const createWorkspaceContract: {
1159
1161
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1160
1162
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1161
1163
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1164
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
1162
1165
  readonly body: v.StringSchema<undefined>;
1163
1166
  }, undefined>, undefined>, undefined>;
1164
1167
  readonly requestedBy: v.PicklistSchema<["human", "reviewer"], undefined>;
@@ -4434,6 +4437,7 @@ export declare const getWorkspaceContract: {
4434
4437
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4435
4438
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4436
4439
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4440
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
4437
4441
  readonly body: v.StringSchema<undefined>;
4438
4442
  }, undefined>, undefined>, undefined>;
4439
4443
  readonly requiredApprovals: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -4461,6 +4465,7 @@ export declare const getWorkspaceContract: {
4461
4465
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4462
4466
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4463
4467
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4468
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
4464
4469
  readonly body: v.StringSchema<undefined>;
4465
4470
  }, undefined>, undefined>, undefined>;
4466
4471
  }, undefined>, undefined>;
@@ -4705,6 +4710,7 @@ export declare const getWorkspaceContract: {
4705
4710
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4706
4711
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4707
4712
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4713
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
4708
4714
  readonly body: v.StringSchema<undefined>;
4709
4715
  }, undefined>, undefined>, undefined>;
4710
4716
  readonly requestedBy: v.PicklistSchema<["human", "reviewer"], undefined>;
@@ -1 +1 @@
1
- {"version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cEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
828
828
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
829
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
829
830
  readonly body: v.StringSchema<undefined>;
830
831
  }, undefined>, undefined>, undefined>;
831
832
  readonly requiredApprovals: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -853,6 +854,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
853
854
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
854
855
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
855
856
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
857
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
856
858
  readonly body: v.StringSchema<undefined>;
857
859
  }, undefined>, undefined>, undefined>;
858
860
  }, undefined>, undefined>;
@@ -1097,6 +1099,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1097
1099
  readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1098
1100
  readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1099
1101
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1102
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
1100
1103
  readonly body: v.StringSchema<undefined>;
1101
1104
  }, undefined>, undefined>, undefined>;
1102
1105
  readonly requestedBy: v.PicklistSchema<["human", "reviewer"], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAA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ringSchema<undefined>, undefined>;
12
12
  }, undefined>;
13
13
  export type Decision = v.InferOutput<typeof decisionSchema>;
14
+ /**
15
+ * How urgently a review comment must be acted on, worst first. The three levels are the ones a
16
+ * reviewer already writes as prose group labels ("Must fix" / "Should fix" / "Minor"), promoted to
17
+ * a field so the ENGINE can act on them rather than a human having to read the summary to find out
18
+ * what blocks the work.
19
+ *
20
+ * `blocker` is the load-bearing member and the only one with mechanical force: while a companion's
21
+ * latest verdict carries one, the producer is reworked and the run does not advance past the step,
22
+ * whatever the overall rating says (see {@link hasBlockingReviewComments} and kernel's
23
+ * `disposeCompanionVerdict`). A rating is one number over a whole deliverable, so a review that
24
+ * found something genuinely unshippable could still average above the bar and be waved through;
25
+ * that is the gap this closes. `major` and `minor` differ only in how a reader (and a reworking
26
+ * producer) should prioritise them.
27
+ */
28
+ export declare const reviewCommentSeveritySchema: v.PicklistSchema<["blocker", "major", "minor"], undefined>;
29
+ export type ReviewCommentSeverity = v.InferOutput<typeof reviewCommentSeveritySchema>;
30
+ /** Rank of a {@link ReviewCommentSeverity}, for worst-first ordering and "at or above" tests. */
31
+ export declare const REVIEW_COMMENT_SEVERITY_RANK: Record<ReviewCommentSeverity, number>;
32
+ /**
33
+ * Whether a value is still a member of the vocabulary — DERIVED from the picklist, so it cannot
34
+ * drift from it the way a hand-written second list would.
35
+ *
36
+ * The vocabulary is closed but PERSISTED (a verdict's `comments`, a gate's `comments`, a step's
37
+ * `rework.comments`), and the schema's `severity` fallback does NOT cover those reads: a stored run
38
+ * row is mapped onto {@link StepReviewComment} by the facade repositories, never re-parsed, so the
39
+ * fallback runs on the MODEL REPLY and nowhere else. A member retired from the union therefore goes
40
+ * on existing in saved rows with its type claiming otherwise, and every `Record<ReviewCommentSeverity, …>`
41
+ * over it is total against the TYPE and partial against the DATA. Narrow with this at the read
42
+ * boundary and render the negative case as the unrecognised level it is.
43
+ *
44
+ * A retired member here is NAMED rather than dropped or mapped onto a current one, for the reason
45
+ * `isBinaryModality` names its own: nothing knows which surviving level was meant, and the reader
46
+ * that meets a stale value first is the panel asking a person to act on the finding. What it must
47
+ * never do is claim an urgency nobody graded. It carries no mechanical force either (a stale value
48
+ * is not a `blocker`), so retiring a member means restating the stored rows in the same change;
49
+ * this is what keeps the interim honest instead of invisible.
50
+ */
51
+ export declare function isReviewCommentSeverity(value: string): value is ReviewCommentSeverity;
52
+ /** Where an ungraded comment (and an unrecognised level) sorts: below every graded one. */
53
+ export declare const UNGRADED_REVIEW_COMMENT_RANK = -1;
54
+ /**
55
+ * The rank a comment's severity sorts and compares at: {@link REVIEW_COMMENT_SEVERITY_RANK} while
56
+ * the vocabulary holds it, and {@link UNGRADED_REVIEW_COMMENT_RANK} when the comment carries no
57
+ * severity (a person's) or one this build no longer knows ({@link isReviewCommentSeverity}).
58
+ *
59
+ * The ONE place that lookup happens, so an unrecognised value cannot reach the `Record` raw and
60
+ * come back `undefined` — which sorts by `NaN` and compares false against every floor at once.
61
+ */
62
+ export declare function reviewCommentSeverityRank(severity: string | undefined): number;
14
63
  /**
15
64
  * One GitHub-review-style comment left on a specific block or item of an agent's
16
65
  * proposal — either by a human reviewing an approval gate, or by a quality
@@ -44,10 +93,56 @@ export declare const stepReviewCommentSchema: v.ObjectSchema<{
44
93
  * items rather than free prose. Absent for prose-range comments.
45
94
  */
46
95
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
96
+ /**
97
+ * How urgently this point must be acted on (see {@link reviewCommentSeveritySchema}).
98
+ *
99
+ * Absent on a HUMAN's comment, which carries no such grading: a person requesting changes on an
100
+ * approval gate is already holding the run, so there is nothing for a severity to decide. Absent
101
+ * too on a comment recorded before this field existed. An absent severity is therefore read as
102
+ * "ungraded", NEVER as a blocker and never as a nit — the one reader that acts on the value
103
+ * ({@link hasBlockingReviewComments}) asks only whether a `blocker` is present.
104
+ *
105
+ * An out-of-vocabulary value from a model reads as `major`, the same "unreadable severity reads
106
+ * as its safe default" rule the judge and PR-review findings use. `major` rather than either
107
+ * extreme on purpose: a typo must not manufacture a hard stop, and it must not silently retire
108
+ * one either, so it lands where the point still costs a rework round without holding the run.
109
+ *
110
+ * That fallback covers the MODEL REPLY, which is the only input this schema parses. A stored row
111
+ * is mapped onto the type by the facade repositories rather than re-parsed, so a value this build
112
+ * has retired reaches a reader with the fallback never having run: narrow those reads with
113
+ * {@link isReviewCommentSeverity} / {@link reviewCommentSeverityRank}.
114
+ */
115
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
47
116
  /** The reviewer's note on this block / item. */
48
117
  readonly body: v.StringSchema<undefined>;
49
118
  }, undefined>;
50
119
  export type StepReviewComment = v.InferOutput<typeof stepReviewCommentSchema>;
120
+ /**
121
+ * The comments that MUST be fixed before the work moves on, worst-first-ordered input aside.
122
+ *
123
+ * The pure rule, in contracts rather than in the engine, because both sides have to agree about
124
+ * it: the engine decides whether the run advances, and the SPA states on the parked step WHY it
125
+ * stopped and which points to look at. Restated on each side, the panel would eventually count
126
+ * findings the engine did not.
127
+ */
128
+ export declare function blockingReviewComments(comments: readonly StepReviewComment[] | undefined): StepReviewComment[];
129
+ /** Whether any of `comments` is a `blocker` (see {@link blockingReviewComments}). */
130
+ export declare function hasBlockingReviewComments(comments: readonly StepReviewComment[] | undefined): boolean;
131
+ /**
132
+ * Whether a review raised anything it did NOT call a nit.
133
+ *
134
+ * What separates a batch worth sending back to the producer from one that only had polish to offer:
135
+ * a `minor` is stated to the reviewer as "never worth holding anything for", so a rule that spent a
136
+ * producer re-run plus a re-grading call on one would make that instruction false (kernel's
137
+ * `disposeCompanionVerdict` is the reader).
138
+ *
139
+ * Everything that is not the nit level counts, which puts an UNGRADED comment and a level this build
140
+ * has retired on the acting side. Both are cases where the urgency is unknown rather than known to
141
+ * be low, and the cheap error is one wasted round against a point silently dropped.
142
+ */
143
+ export declare function hasReviewCommentsBeyondNits(comments: readonly StepReviewComment[] | undefined): boolean;
144
+ /** `comments` ordered worst severity first; an ungraded comment sorts last. Stable within a level. */
145
+ export declare function bySeverityWorstFirst(comments: readonly StepReviewComment[]): StepReviewComment[];
51
146
  /**
52
147
  * The standardized, stored verdict a quality companion produced for an output it
53
148
  * graded — shared by every companion site (the pipeline companion step and the
@@ -75,6 +170,10 @@ export declare const companionVerdictSchema: v.ObjectSchema<{
75
170
  * mirror-image reason — so it cannot regress on a point raised two rounds ago and forgotten.
76
171
  *
77
172
  * Absent on a round that anchored nothing, and on every verdict written before this existed.
173
+ *
174
+ * Their SEVERITIES are what makes the verdict self-describing: `passed: false` on a round whose
175
+ * rating cleared `threshold` is only readable next to the `blocker` that held it (see
176
+ * {@link reviewCommentSeveritySchema}).
78
177
  */
79
178
  readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
80
179
  /**
@@ -97,6 +196,26 @@ export declare const companionVerdictSchema: v.ObjectSchema<{
97
196
  * items rather than free prose. Absent for prose-range comments.
98
197
  */
99
198
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
199
+ /**
200
+ * How urgently this point must be acted on (see {@link reviewCommentSeveritySchema}).
201
+ *
202
+ * Absent on a HUMAN's comment, which carries no such grading: a person requesting changes on an
203
+ * approval gate is already holding the run, so there is nothing for a severity to decide. Absent
204
+ * too on a comment recorded before this field existed. An absent severity is therefore read as
205
+ * "ungraded", NEVER as a blocker and never as a nit — the one reader that acts on the value
206
+ * ({@link hasBlockingReviewComments}) asks only whether a `blocker` is present.
207
+ *
208
+ * An out-of-vocabulary value from a model reads as `major`, the same "unreadable severity reads
209
+ * as its safe default" rule the judge and PR-review findings use. `major` rather than either
210
+ * extreme on purpose: a typo must not manufacture a hard stop, and it must not silently retire
211
+ * one either, so it lands where the point still costs a rework round without holding the run.
212
+ *
213
+ * That fallback covers the MODEL REPLY, which is the only input this schema parses. A stored row
214
+ * is mapped onto the type by the facade repositories rather than re-parsed, so a value this build
215
+ * has retired reaches a reader with the fallback never having run: narrow those reads with
216
+ * {@link isReviewCommentSeverity} / {@link reviewCommentSeverityRank}.
217
+ */
218
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
100
219
  /** The reviewer's note on this block / item. */
101
220
  readonly body: v.StringSchema<undefined>;
102
221
  }, undefined>, undefined>, undefined>;
@@ -157,6 +276,26 @@ export declare const stepApprovalSchema: v.ObjectSchema<{
157
276
  * items rather than free prose. Absent for prose-range comments.
158
277
  */
159
278
  readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
279
+ /**
280
+ * How urgently this point must be acted on (see {@link reviewCommentSeveritySchema}).
281
+ *
282
+ * Absent on a HUMAN's comment, which carries no such grading: a person requesting changes on an
283
+ * approval gate is already holding the run, so there is nothing for a severity to decide. Absent
284
+ * too on a comment recorded before this field existed. An absent severity is therefore read as
285
+ * "ungraded", NEVER as a blocker and never as a nit — the one reader that acts on the value
286
+ * ({@link hasBlockingReviewComments}) asks only whether a `blocker` is present.
287
+ *
288
+ * An out-of-vocabulary value from a model reads as `major`, the same "unreadable severity reads
289
+ * as its safe default" rule the judge and PR-review findings use. `major` rather than either
290
+ * extreme on purpose: a typo must not manufacture a hard stop, and it must not silently retire
291
+ * one either, so it lands where the point still costs a rework round without holding the run.
292
+ *
293
+ * That fallback covers the MODEL REPLY, which is the only input this schema parses. A stored row
294
+ * is mapped onto the type by the facade repositories rather than re-parsed, so a value this build
295
+ * has retired reaches a reader with the fallback never having run: narrow those reads with
296
+ * {@link isReviewCommentSeverity} / {@link reviewCommentSeverityRank}.
297
+ */
298
+ readonly severity: v.OptionalSchema<v.SchemaWithFallback<v.PicklistSchema<["blocker", "major", "minor"], undefined>, "major">, undefined>;
160
299
  /** The reviewer's note on this block / item. */
161
300
  readonly body: v.StringSchema<undefined>;
162
301
  }, undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"step-decisions.d.ts","sourceRoot":"","sources":["../src/step-decisions.ts"],"names":[],"mappings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H,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,GAAG,SAAS,GACjD,OAAO,CAET;AAED,sGAAsG;AACtG,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,GAAG,iBAAiB,EAAE,CAIhG;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB;IACjC,oEAAoE;;IAEpE,uDAAuD;;IAEvD,4CAA4C;;IAE5C,0EAA0E;;IAE1E;;;;;;;;;;;;;;OAcG;;QA1HH;;;;WAIG;;QAEH;;;;;WAKG;;;QAGH;;;;WAIG;;QAEH;;;;;;;;;;;;;;;;;;WAkBG;;QAEH,gDAAgD;;;aAoFhD,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,uFAKnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;IAC7B,2EAA2E;;IAE3E,gHAAgH;;IAEhH,4EAA4E;;IAE5E,sFAAsF;;IAEtF,kFAAkF;;QAtKlF;;;;WAIG;;QAEH;;;;;WAKG;;;QAGH;;;;WAIG;;QAEH;;;;;;;;;;;;;;;;;;WAkBG;;QAEH,gDAAgD;;;IAgIhD;;;;;;;OAOG;;IAEH;;;OAGG;;;;;IAEH;;;;OAIG;;;;;;aAEH,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -23,6 +23,65 @@ export const decisionSchema = v.object({
23
23
  options: v.array(v.string()),
24
24
  chosen: v.nullable(v.string()),
25
25
  });
26
+ /**
27
+ * How urgently a review comment must be acted on, worst first. The three levels are the ones a
28
+ * reviewer already writes as prose group labels ("Must fix" / "Should fix" / "Minor"), promoted to
29
+ * a field so the ENGINE can act on them rather than a human having to read the summary to find out
30
+ * what blocks the work.
31
+ *
32
+ * `blocker` is the load-bearing member and the only one with mechanical force: while a companion's
33
+ * latest verdict carries one, the producer is reworked and the run does not advance past the step,
34
+ * whatever the overall rating says (see {@link hasBlockingReviewComments} and kernel's
35
+ * `disposeCompanionVerdict`). A rating is one number over a whole deliverable, so a review that
36
+ * found something genuinely unshippable could still average above the bar and be waved through;
37
+ * that is the gap this closes. `major` and `minor` differ only in how a reader (and a reworking
38
+ * producer) should prioritise them.
39
+ */
40
+ export const reviewCommentSeveritySchema = v.picklist(['blocker', 'major', 'minor']);
41
+ /** Rank of a {@link ReviewCommentSeverity}, for worst-first ordering and "at or above" tests. */
42
+ export const REVIEW_COMMENT_SEVERITY_RANK = {
43
+ minor: 0,
44
+ major: 1,
45
+ blocker: 2,
46
+ };
47
+ const REVIEW_COMMENT_SEVERITY_SET = new Set(reviewCommentSeveritySchema.options);
48
+ /**
49
+ * Whether a value is still a member of the vocabulary — DERIVED from the picklist, so it cannot
50
+ * drift from it the way a hand-written second list would.
51
+ *
52
+ * The vocabulary is closed but PERSISTED (a verdict's `comments`, a gate's `comments`, a step's
53
+ * `rework.comments`), and the schema's `severity` fallback does NOT cover those reads: a stored run
54
+ * row is mapped onto {@link StepReviewComment} by the facade repositories, never re-parsed, so the
55
+ * fallback runs on the MODEL REPLY and nowhere else. A member retired from the union therefore goes
56
+ * on existing in saved rows with its type claiming otherwise, and every `Record<ReviewCommentSeverity, …>`
57
+ * over it is total against the TYPE and partial against the DATA. Narrow with this at the read
58
+ * boundary and render the negative case as the unrecognised level it is.
59
+ *
60
+ * A retired member here is NAMED rather than dropped or mapped onto a current one, for the reason
61
+ * `isBinaryModality` names its own: nothing knows which surviving level was meant, and the reader
62
+ * that meets a stale value first is the panel asking a person to act on the finding. What it must
63
+ * never do is claim an urgency nobody graded. It carries no mechanical force either (a stale value
64
+ * is not a `blocker`), so retiring a member means restating the stored rows in the same change;
65
+ * this is what keeps the interim honest instead of invisible.
66
+ */
67
+ export function isReviewCommentSeverity(value) {
68
+ return REVIEW_COMMENT_SEVERITY_SET.has(value);
69
+ }
70
+ /** Where an ungraded comment (and an unrecognised level) sorts: below every graded one. */
71
+ export const UNGRADED_REVIEW_COMMENT_RANK = -1;
72
+ /**
73
+ * The rank a comment's severity sorts and compares at: {@link REVIEW_COMMENT_SEVERITY_RANK} while
74
+ * the vocabulary holds it, and {@link UNGRADED_REVIEW_COMMENT_RANK} when the comment carries no
75
+ * severity (a person's) or one this build no longer knows ({@link isReviewCommentSeverity}).
76
+ *
77
+ * The ONE place that lookup happens, so an unrecognised value cannot reach the `Record` raw and
78
+ * come back `undefined` — which sorts by `NaN` and compares false against every floor at once.
79
+ */
80
+ export function reviewCommentSeverityRank(severity) {
81
+ return severity !== undefined && isReviewCommentSeverity(severity)
82
+ ? REVIEW_COMMENT_SEVERITY_RANK[severity]
83
+ : UNGRADED_REVIEW_COMMENT_RANK;
84
+ }
26
85
  /**
27
86
  * One GitHub-review-style comment left on a specific block or item of an agent's
28
87
  * proposal — either by a human reviewing an approval gate, or by a quality
@@ -56,9 +115,63 @@ export const stepReviewCommentSchema = v.object({
56
115
  * items rather than free prose. Absent for prose-range comments.
57
116
  */
58
117
  anchorId: v.optional(v.string()),
118
+ /**
119
+ * How urgently this point must be acted on (see {@link reviewCommentSeveritySchema}).
120
+ *
121
+ * Absent on a HUMAN's comment, which carries no such grading: a person requesting changes on an
122
+ * approval gate is already holding the run, so there is nothing for a severity to decide. Absent
123
+ * too on a comment recorded before this field existed. An absent severity is therefore read as
124
+ * "ungraded", NEVER as a blocker and never as a nit — the one reader that acts on the value
125
+ * ({@link hasBlockingReviewComments}) asks only whether a `blocker` is present.
126
+ *
127
+ * An out-of-vocabulary value from a model reads as `major`, the same "unreadable severity reads
128
+ * as its safe default" rule the judge and PR-review findings use. `major` rather than either
129
+ * extreme on purpose: a typo must not manufacture a hard stop, and it must not silently retire
130
+ * one either, so it lands where the point still costs a rework round without holding the run.
131
+ *
132
+ * That fallback covers the MODEL REPLY, which is the only input this schema parses. A stored row
133
+ * is mapped onto the type by the facade repositories rather than re-parsed, so a value this build
134
+ * has retired reaches a reader with the fallback never having run: narrow those reads with
135
+ * {@link isReviewCommentSeverity} / {@link reviewCommentSeverityRank}.
136
+ */
137
+ severity: v.optional(v.fallback(reviewCommentSeveritySchema, 'major')),
59
138
  /** The reviewer's note on this block / item. */
60
139
  body: v.string(),
61
140
  });
141
+ /**
142
+ * The comments that MUST be fixed before the work moves on, worst-first-ordered input aside.
143
+ *
144
+ * The pure rule, in contracts rather than in the engine, because both sides have to agree about
145
+ * it: the engine decides whether the run advances, and the SPA states on the parked step WHY it
146
+ * stopped and which points to look at. Restated on each side, the panel would eventually count
147
+ * findings the engine did not.
148
+ */
149
+ export function blockingReviewComments(comments) {
150
+ return (comments ?? []).filter((comment) => comment.severity === 'blocker');
151
+ }
152
+ /** Whether any of `comments` is a `blocker` (see {@link blockingReviewComments}). */
153
+ export function hasBlockingReviewComments(comments) {
154
+ return (comments ?? []).some((comment) => comment.severity === 'blocker');
155
+ }
156
+ /**
157
+ * Whether a review raised anything it did NOT call a nit.
158
+ *
159
+ * What separates a batch worth sending back to the producer from one that only had polish to offer:
160
+ * a `minor` is stated to the reviewer as "never worth holding anything for", so a rule that spent a
161
+ * producer re-run plus a re-grading call on one would make that instruction false (kernel's
162
+ * `disposeCompanionVerdict` is the reader).
163
+ *
164
+ * Everything that is not the nit level counts, which puts an UNGRADED comment and a level this build
165
+ * has retired on the acting side. Both are cases where the urgency is unknown rather than known to
166
+ * be low, and the cheap error is one wasted round against a point silently dropped.
167
+ */
168
+ export function hasReviewCommentsBeyondNits(comments) {
169
+ return (comments ?? []).some((comment) => comment.severity !== 'minor');
170
+ }
171
+ /** `comments` ordered worst severity first; an ungraded comment sorts last. Stable within a level. */
172
+ export function bySeverityWorstFirst(comments) {
173
+ return [...comments].sort((a, b) => reviewCommentSeverityRank(b.severity) - reviewCommentSeverityRank(a.severity));
174
+ }
62
175
  /**
63
176
  * The standardized, stored verdict a quality companion produced for an output it
64
177
  * graded — shared by every companion site (the pipeline companion step and the
@@ -86,6 +199,10 @@ export const companionVerdictSchema = v.object({
86
199
  * mirror-image reason — so it cannot regress on a point raised two rounds ago and forgotten.
87
200
  *
88
201
  * Absent on a round that anchored nothing, and on every verdict written before this existed.
202
+ *
203
+ * Their SEVERITIES are what makes the verdict self-describing: `passed: false` on a round whose
204
+ * rating cleared `threshold` is only readable next to the `blocker` that held it (see
205
+ * {@link reviewCommentSeveritySchema}).
89
206
  */
90
207
  comments: v.optional(v.array(stepReviewCommentSchema)),
91
208
  });
@@ -1 +1 @@
1
- {"version":3,"file":"step-decisions.js","sourceRoot":"","sources":["../src/step-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAErF,8EAA8E;AAC9E,mGAAmG;AACnG,oGAAoG;AACpG,wBAAwB;AACxB,EAAE;AACF,oGAAoG;AACpG,kGAAkG;AAClG,mGAAmG;AACnG,gGAAgG;AAChG,kGAAkG;AAClG,qFAAqF;AACrF,8EAA8E;AAE9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAA;AAGF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C;;;;OA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C,uBAAuB,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzC;;;OAGG;IACH,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IACpD;;;;OAIG;IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;CACzD,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.309.0",
3
+ "version": "0.310.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",