@cat-factory/contracts 0.191.0 → 0.192.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/routes/validation-checks.d.ts +7 -0
- package/dist/routes/validation-checks.d.ts.map +1 -1
- package/dist/validation-checks.d.ts +24 -0
- package/dist/validation-checks.d.ts.map +1 -1
- package/dist/validation-checks.js +32 -0
- package/dist/validation-checks.js.map +1 -1
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ export declare const getServiceValidationConfigContract: {
|
|
|
38
38
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
39
39
|
}, undefined>, undefined>;
|
|
40
40
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
41
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
41
42
|
}, undefined>;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
@@ -55,18 +56,21 @@ export declare const setServiceValidationConfigContract: {
|
|
|
55
56
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
56
57
|
}, undefined>, undefined>;
|
|
57
58
|
readonly maxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
|
|
59
|
+
readonly dependencyInstall: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
58
60
|
}, undefined>, v.CheckAction<{
|
|
59
61
|
checks: {
|
|
60
62
|
label: string;
|
|
61
63
|
command: string;
|
|
62
64
|
}[];
|
|
63
65
|
maxAttempts?: number | undefined;
|
|
66
|
+
dependencyInstall?: string | undefined;
|
|
64
67
|
}, "validation check labels must be unique within a service">, v.CheckAction<{
|
|
65
68
|
checks: {
|
|
66
69
|
label: string;
|
|
67
70
|
command: string;
|
|
68
71
|
}[];
|
|
69
72
|
maxAttempts?: number | undefined;
|
|
73
|
+
dependencyInstall?: string | undefined;
|
|
70
74
|
}, "at most 10 validation checks per service">]>;
|
|
71
75
|
readonly responsesByStatusCode: {
|
|
72
76
|
readonly '4xx': v.ObjectSchema<{
|
|
@@ -98,6 +102,7 @@ export declare const setServiceValidationConfigContract: {
|
|
|
98
102
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
99
103
|
}, undefined>, undefined>;
|
|
100
104
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
105
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
101
106
|
}, undefined>;
|
|
102
107
|
};
|
|
103
108
|
};
|
|
@@ -180,6 +185,7 @@ export declare const detectServiceValidationChecksContract: {
|
|
|
180
185
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
181
186
|
}, undefined>, undefined>;
|
|
182
187
|
readonly truncated: v.BooleanSchema<undefined>;
|
|
188
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
183
189
|
}, undefined>;
|
|
184
190
|
};
|
|
185
191
|
};
|
|
@@ -217,6 +223,7 @@ export declare const listServiceValidationConfigsContract: {
|
|
|
217
223
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
218
224
|
}, undefined>, undefined>;
|
|
219
225
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
226
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
227
|
}, undefined>, undefined>;
|
|
221
228
|
};
|
|
222
229
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-checks.d.ts","sourceRoot":"","sources":["../../src/routes/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiB5B,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"validation-checks.d.ts","sourceRoot":"","sources":["../../src/routes/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiB5B,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK7C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM7C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAA;AAEF,gGAAgG;AAChG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO/C,CAAA"}
|
|
@@ -26,18 +26,26 @@ export declare const upsertServiceValidationConfigSchema: v.SchemaWithPipe<reado
|
|
|
26
26
|
}, undefined>, undefined>;
|
|
27
27
|
/** Repair-round budget; omitted ⇒ {@link VALIDATION_DEFAULT_MAX_ATTEMPTS}. */
|
|
28
28
|
readonly maxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The pre-agent dependency install. Independent of `checks`: a service may declare ONLY
|
|
31
|
+
* this (prepopulate the checkout, verify nothing) or only checks. An empty/omitted value
|
|
32
|
+
* clears it.
|
|
33
|
+
*/
|
|
34
|
+
readonly dependencyInstall: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
29
35
|
}, undefined>, v.CheckAction<{
|
|
30
36
|
checks: {
|
|
31
37
|
label: string;
|
|
32
38
|
command: string;
|
|
33
39
|
}[];
|
|
34
40
|
maxAttempts?: number | undefined;
|
|
41
|
+
dependencyInstall?: string | undefined;
|
|
35
42
|
}, "validation check labels must be unique within a service">, v.CheckAction<{
|
|
36
43
|
checks: {
|
|
37
44
|
label: string;
|
|
38
45
|
command: string;
|
|
39
46
|
}[];
|
|
40
47
|
maxAttempts?: number | undefined;
|
|
48
|
+
dependencyInstall?: string | undefined;
|
|
41
49
|
}, "at most 10 validation checks per service">]>;
|
|
42
50
|
export type UpsertServiceValidationConfigInput = v.InferOutput<typeof upsertServiceValidationConfigSchema>;
|
|
43
51
|
/** What `GET .../validation-checks` returns for one service frame. */
|
|
@@ -49,6 +57,8 @@ export declare const serviceValidationConfigSchema: v.ObjectSchema<{
|
|
|
49
57
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
50
58
|
}, undefined>, undefined>;
|
|
51
59
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
60
|
+
/** The pre-agent dependency install, when the service declared one. */
|
|
61
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
52
62
|
}, undefined>;
|
|
53
63
|
export type ServiceValidationConfig = v.InferOutput<typeof serviceValidationConfigSchema>;
|
|
54
64
|
/**
|
|
@@ -62,6 +72,13 @@ export declare const resolvedValidationChecksSchema: v.ObjectSchema<{
|
|
|
62
72
|
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
63
73
|
}, undefined>, undefined>;
|
|
64
74
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The pre-agent dependency install resolved for this dispatch. Carried on the SAME resolved
|
|
77
|
+
* object as the checks because it comes from the same frame-chain read — so prepopulation
|
|
78
|
+
* costs the dispatch no extra round trip — but it is threaded onto the job body SEPARATELY
|
|
79
|
+
* (every checkout-having dispatch, not only a PR-opening one).
|
|
80
|
+
*/
|
|
81
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
65
82
|
}, undefined>;
|
|
66
83
|
export type ResolvedValidationChecks = v.InferOutput<typeof resolvedValidationChecksSchema>;
|
|
67
84
|
/**
|
|
@@ -100,6 +117,13 @@ export declare const detectedValidationChecksSchema: v.ObjectSchema<{
|
|
|
100
117
|
}, undefined>, undefined>;
|
|
101
118
|
/** Whether {@link VALIDATION_MAX_CHECKS} dropped suggestions the detectors produced. */
|
|
102
119
|
readonly truncated: v.BooleanSchema<undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* The suggested DEPENDENCY PREPOPULATION command — every detected ecosystem's install,
|
|
122
|
+
* chained with `&&`. Suggested independently of {@link checks}: an ecosystem that declares an
|
|
123
|
+
* install but nothing to verify contributes no check (an install alone verifies nothing) yet
|
|
124
|
+
* is exactly the case prepopulation exists for. Absent when nothing detected needs one.
|
|
125
|
+
*/
|
|
126
|
+
readonly dependencyInstall: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
103
127
|
}, undefined>;
|
|
104
128
|
export type DetectedValidationChecks = v.InferOutput<typeof detectedValidationChecksSchema>;
|
|
105
129
|
/** One command's outcome in a validation attempt. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-checks.d.ts","sourceRoot":"","sources":["../src/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,wEAAwE;AACxE,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"validation-checks.d.ts","sourceRoot":"","sources":["../src/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,wEAAwE;AACxE,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAazE;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,IAAI,CAAA;AAChD,eAAO,MAAM,+BAA+B,KAAK,CAAA;AASjD,mGAAmG;AACnG,eAAO,MAAM,qBAAqB,KAAK,CAAA;AAEvC,kFAAkF;AAClF,eAAO,MAAM,mCAAmC;;;;;IAG5C,8EAA8E;;IAE9E;;;;OAIG;;;;;;;;;;;;;;;;gDAWN,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,WAAW,CAC5D,OAAO,mCAAmC,CAC3C,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,6BAA6B;IACxC,sDAAsD;;;;;;;IAItD,uEAAuE;;aAEvE,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEzF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;IA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C,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,mGAAmG;AACnG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAQ3E"}
|
|
@@ -28,6 +28,16 @@ export const validationCheckSchema = v.object({
|
|
|
28
28
|
label: validationCheckLabelSchema,
|
|
29
29
|
command: validationCommandSchema,
|
|
30
30
|
});
|
|
31
|
+
/**
|
|
32
|
+
* The service's DEPENDENCY PREPOPULATION command: the install the harness runs against the
|
|
33
|
+
* checkout BEFORE the coding agent's first turn, so the agent reads a tree that has its
|
|
34
|
+
* dependencies present (`node_modules`, a populated `.venv`, a warm module cache) rather than
|
|
35
|
+
* inferring capabilities from a manifest. Same shape and trust boundary as a check's command —
|
|
36
|
+
* it runs as `sh -c` in the run's own container — but a different PHASE and a different
|
|
37
|
+
* disposition: prepopulation is setup, never a gate, so a failure is reported to the agent and
|
|
38
|
+
* the run continues. See `docs/initiatives/agent-dependency-prepopulation.md`.
|
|
39
|
+
*/
|
|
40
|
+
const dependencyInstallSchema = validationCommandSchema;
|
|
31
41
|
/**
|
|
32
42
|
* How many times the harness may re-run the agent against failing checks before giving up.
|
|
33
43
|
* Bounded so a wedged service can't burn a container indefinitely. `1` = run the checks once
|
|
@@ -47,6 +57,12 @@ export const upsertServiceValidationConfigSchema = v.pipe(v.object({
|
|
|
47
57
|
checks: v.array(validationCheckSchema),
|
|
48
58
|
/** Repair-round budget; omitted ⇒ {@link VALIDATION_DEFAULT_MAX_ATTEMPTS}. */
|
|
49
59
|
maxAttempts: v.optional(validationMaxAttemptsSchema),
|
|
60
|
+
/**
|
|
61
|
+
* The pre-agent dependency install. Independent of `checks`: a service may declare ONLY
|
|
62
|
+
* this (prepopulate the checkout, verify nothing) or only checks. An empty/omitted value
|
|
63
|
+
* clears it.
|
|
64
|
+
*/
|
|
65
|
+
dependencyInstall: v.optional(dependencyInstallSchema),
|
|
50
66
|
}), v.check((o) => new Set(o.checks.map((c) => c.label)).size === o.checks.length, 'validation check labels must be unique within a service'), v.check((o) => o.checks.length <= VALIDATION_MAX_CHECKS, `at most ${VALIDATION_MAX_CHECKS} validation checks per service`));
|
|
51
67
|
/** What `GET .../validation-checks` returns for one service frame. */
|
|
52
68
|
export const serviceValidationConfigSchema = v.object({
|
|
@@ -54,6 +70,8 @@ export const serviceValidationConfigSchema = v.object({
|
|
|
54
70
|
blockId: v.string(),
|
|
55
71
|
checks: v.array(validationCheckSchema),
|
|
56
72
|
maxAttempts: v.number(),
|
|
73
|
+
/** The pre-agent dependency install, when the service declared one. */
|
|
74
|
+
dependencyInstall: v.optional(v.string()),
|
|
57
75
|
});
|
|
58
76
|
/**
|
|
59
77
|
* The RESOLVED checks a dispatch carries: the frame-chain walk's result, folded onto the
|
|
@@ -63,6 +81,13 @@ export const serviceValidationConfigSchema = v.object({
|
|
|
63
81
|
export const resolvedValidationChecksSchema = v.object({
|
|
64
82
|
checks: v.array(validationCheckSchema),
|
|
65
83
|
maxAttempts: v.number(),
|
|
84
|
+
/**
|
|
85
|
+
* The pre-agent dependency install resolved for this dispatch. Carried on the SAME resolved
|
|
86
|
+
* object as the checks because it comes from the same frame-chain read — so prepopulation
|
|
87
|
+
* costs the dispatch no extra round trip — but it is threaded onto the job body SEPARATELY
|
|
88
|
+
* (every checkout-having dispatch, not only a PR-opening one).
|
|
89
|
+
*/
|
|
90
|
+
dependencyInstall: v.optional(v.string()),
|
|
66
91
|
});
|
|
67
92
|
// ---- Autodetection --------------------------------------------------------
|
|
68
93
|
/**
|
|
@@ -110,6 +135,13 @@ export const detectedValidationChecksSchema = v.object({
|
|
|
110
135
|
checks: v.array(validationCheckSchema),
|
|
111
136
|
/** Whether {@link VALIDATION_MAX_CHECKS} dropped suggestions the detectors produced. */
|
|
112
137
|
truncated: v.boolean(),
|
|
138
|
+
/**
|
|
139
|
+
* The suggested DEPENDENCY PREPOPULATION command — every detected ecosystem's install,
|
|
140
|
+
* chained with `&&`. Suggested independently of {@link checks}: an ecosystem that declares an
|
|
141
|
+
* install but nothing to verify contributes no check (an install alone verifies nothing) yet
|
|
142
|
+
* is exactly the case prepopulation exists for. Absent when nothing detected needs one.
|
|
143
|
+
*/
|
|
144
|
+
dependencyInstall: v.optional(v.string()),
|
|
113
145
|
});
|
|
114
146
|
// ---- The harness-produced report ------------------------------------------
|
|
115
147
|
/** One command's outcome in a validation attempt. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-checks.js","sourceRoot":"","sources":["../src/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,4BAA4B;AAC5B,EAAE;AACF,6EAA6E;AAC7E,gFAAgF;AAChF,iFAAiF;AACjF,kFAAkF;AAClF,kFAAkF;AAClF,iFAAiF;AACjF,oEAAoE;AACpE,EAAE;AACF,2EAA2E;AAC3E,mFAAmF;AACnF,mDAAmD;AACnD,yCAAyC;AACzC,8EAA8E;AAE9E,iFAAiF;AACjF,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAA;AAEhG;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAE/F,wEAAwE;AACxE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,0BAA0B;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