@cleocode/contracts 2026.6.18 → 2026.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dispatch/operations-registry.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.js +6 -0
- package/dist/dispatch/operations-registry.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lease-ipc/__tests__/freeze.test.js +77 -12
- package/dist/lease-ipc/__tests__/freeze.test.js.map +1 -1
- package/dist/lease-ipc/index.d.ts +2 -2
- package/dist/lease-ipc/index.d.ts.map +1 -1
- package/dist/lease-ipc/index.js +1 -1
- package/dist/lease-ipc/index.js.map +1 -1
- package/dist/lease-ipc/messages.d.ts +135 -6
- package/dist/lease-ipc/messages.d.ts.map +1 -1
- package/dist/lease-ipc/messages.js +83 -3
- package/dist/lease-ipc/messages.js.map +1 -1
- package/dist/lease-ipc/version.d.ts +6 -3
- package/dist/lease-ipc/version.d.ts.map +1 -1
- package/dist/lease-ipc/version.js +6 -3
- package/dist/lease-ipc/version.js.map +1 -1
- package/dist/operations/tasks.d.ts +2 -0
- package/dist/operations/tasks.d.ts.map +1 -1
- package/dist/operations/tasks.js +1 -0
- package/dist/operations/tasks.js.map +1 -1
- package/dist/release/evidence-atoms.d.ts +15 -0
- package/dist/release/evidence-atoms.d.ts.map +1 -1
- package/dist/release/evidence-atoms.js +15 -0
- package/dist/release/evidence-atoms.js.map +1 -1
- package/dist/resource-governor.d.ts +95 -0
- package/dist/resource-governor.d.ts.map +1 -0
- package/dist/resource-governor.js +48 -0
- package/dist/resource-governor.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/__snapshots__/operations-registry.test.ts.snap +1 -1
- package/src/dispatch/operations-registry.ts +6 -0
- package/src/index.ts +25 -0
- package/src/lease-ipc/__tests__/freeze.test.ts +80 -12
- package/src/lease-ipc/index.ts +10 -0
- package/src/lease-ipc/messages.ts +103 -3
- package/src/lease-ipc/version.ts +6 -3
- package/src/operations/tasks.ts +3 -0
- package/src/release/evidence-atoms.ts +16 -0
- package/src/resource-governor.ts +123 -0
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* ```jsonc
|
|
14
14
|
* // request
|
|
15
|
-
* { "protocol_version": "1.
|
|
15
|
+
* { "protocol_version": "1.2.0", "id": "abc", "direction": "request",
|
|
16
16
|
* "request": { "kind": "lease_acquire", "scope": "project", "lane": "tasks",
|
|
17
17
|
* "holder_id": "pid-42:tasks", "priority": 0, "ttl_ms": 30000,
|
|
18
18
|
* "reentrant": true } }
|
|
19
19
|
* // response
|
|
20
|
-
* { "protocol_version": "1.
|
|
20
|
+
* { "protocol_version": "1.2.0", "id": "abc", "direction": "response",
|
|
21
21
|
* "response": { "kind": "lease_granted", "scope": "project", "lane": "tasks",
|
|
22
22
|
* "holder_id": "pid-42:tasks", "epoch": 7, "ttl_ms": 30000,
|
|
23
23
|
* "expires_at_ms": 1000030000 } }
|
|
@@ -200,6 +200,35 @@ export declare const WorkerHeartbeatRequestSchema: z.ZodObject<{
|
|
|
200
200
|
}, z.core.$strict>;
|
|
201
201
|
/** Worker-heartbeat request payload (inferred from {@link WorkerHeartbeatRequestSchema}). */
|
|
202
202
|
export type WorkerHeartbeatRequest = z.infer<typeof WorkerHeartbeatRequestSchema>;
|
|
203
|
+
/**
|
|
204
|
+
* Admit (or defer) a heavy resource-intensive operation through the central
|
|
205
|
+
* per-class concurrency arbiter (T12001 · Epic T11992). Mirrors
|
|
206
|
+
* `ResourceAdmitReq`. `[wired]`
|
|
207
|
+
*
|
|
208
|
+
* The client computes `budget` from its local memory-pressure sample; the
|
|
209
|
+
* supervisor enforces the per-class in-flight COUNT centrally across processes,
|
|
210
|
+
* so heavy ops (builds, tests, exodus) can never co-schedule past the budget.
|
|
211
|
+
*/
|
|
212
|
+
export declare const ResourceAdmitRequestSchema: z.ZodObject<{
|
|
213
|
+
kind: z.ZodLiteral<"resource_admit">;
|
|
214
|
+
class: z.ZodString;
|
|
215
|
+
holder_id: z.ZodString;
|
|
216
|
+
budget: z.ZodNumber;
|
|
217
|
+
}, z.core.$strict>;
|
|
218
|
+
/** Resource-admit request payload (inferred from {@link ResourceAdmitRequestSchema}). */
|
|
219
|
+
export type ResourceAdmitRequest = z.infer<typeof ResourceAdmitRequestSchema>;
|
|
220
|
+
/**
|
|
221
|
+
* Release a previously-admitted resource slot (T12001). Mirrors
|
|
222
|
+
* `ResourceReleaseReq`. Idempotent — releasing an unknown holder is a no-op.
|
|
223
|
+
* `[wired]`
|
|
224
|
+
*/
|
|
225
|
+
export declare const ResourceReleaseRequestSchema: z.ZodObject<{
|
|
226
|
+
kind: z.ZodLiteral<"resource_release">;
|
|
227
|
+
class: z.ZodString;
|
|
228
|
+
holder_id: z.ZodString;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
/** Resource-release request payload (inferred from {@link ResourceReleaseRequestSchema}). */
|
|
231
|
+
export type ResourceReleaseRequest = z.infer<typeof ResourceReleaseRequestSchema>;
|
|
203
232
|
/**
|
|
204
233
|
* The discriminated union of all client → arbiter lease requests. The `kind`
|
|
205
234
|
* field selects the variant, matching the serde `#[serde(tag = "kind")]`
|
|
@@ -276,6 +305,15 @@ export declare const LeaseIpcRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
276
305
|
kind: z.ZodLiteral<"worker_heartbeat">;
|
|
277
306
|
child_id: z.ZodString;
|
|
278
307
|
in_flight_llm: z.ZodBoolean;
|
|
308
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
309
|
+
kind: z.ZodLiteral<"resource_admit">;
|
|
310
|
+
class: z.ZodString;
|
|
311
|
+
holder_id: z.ZodString;
|
|
312
|
+
budget: z.ZodNumber;
|
|
313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
314
|
+
kind: z.ZodLiteral<"resource_release">;
|
|
315
|
+
class: z.ZodString;
|
|
316
|
+
holder_id: z.ZodString;
|
|
279
317
|
}, z.core.$strict>], "kind">;
|
|
280
318
|
/** Any lease IPC request (inferred from {@link LeaseIpcRequestSchema}). */
|
|
281
319
|
export type LeaseIpcRequest = z.infer<typeof LeaseIpcRequestSchema>;
|
|
@@ -433,6 +471,43 @@ export declare const HeartbeatAckResponseSchema: z.ZodObject<{
|
|
|
433
471
|
}, z.core.$strict>;
|
|
434
472
|
/** Heartbeat-ack response payload (inferred from {@link HeartbeatAckResponseSchema}). */
|
|
435
473
|
export type HeartbeatAckResponse = z.infer<typeof HeartbeatAckResponseSchema>;
|
|
474
|
+
/**
|
|
475
|
+
* The disposition of a `resource_admit` request (T12001) — `admitted` (run the
|
|
476
|
+
* heavy op now) or `deferred` (back off `retry_after_ms` and re-request; never a
|
|
477
|
+
* silent drop). Mirrors `ResourceAdmitDisposition`.
|
|
478
|
+
*/
|
|
479
|
+
export declare const ResourceAdmitDispositionSchema: z.ZodEnum<{
|
|
480
|
+
admitted: "admitted";
|
|
481
|
+
deferred: "deferred";
|
|
482
|
+
}>;
|
|
483
|
+
/** A `resource_admit` disposition (inferred from {@link ResourceAdmitDispositionSchema}). */
|
|
484
|
+
export type ResourceAdmitDisposition = z.infer<typeof ResourceAdmitDispositionSchema>;
|
|
485
|
+
/**
|
|
486
|
+
* Reply to a `resource_admit`: the heavy op was admitted or deferred (T12001).
|
|
487
|
+
* Mirrors `ResourceAdmitResult`.
|
|
488
|
+
*/
|
|
489
|
+
export declare const ResourceAdmitResultResponseSchema: z.ZodObject<{
|
|
490
|
+
kind: z.ZodLiteral<"resource_admit_result">;
|
|
491
|
+
disposition: z.ZodEnum<{
|
|
492
|
+
admitted: "admitted";
|
|
493
|
+
deferred: "deferred";
|
|
494
|
+
}>;
|
|
495
|
+
retry_after_ms: z.ZodNumber;
|
|
496
|
+
slots_remaining: z.ZodNumber;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
/** Resource-admit result payload (inferred from {@link ResourceAdmitResultResponseSchema}). */
|
|
499
|
+
export type ResourceAdmitResultResponse = z.infer<typeof ResourceAdmitResultResponseSchema>;
|
|
500
|
+
/**
|
|
501
|
+
* Reply to a `resource_release`: the slot was released (T12001). Mirrors
|
|
502
|
+
* `ResourceReleaseResult`.
|
|
503
|
+
*/
|
|
504
|
+
export declare const ResourceReleaseResultResponseSchema: z.ZodObject<{
|
|
505
|
+
kind: z.ZodLiteral<"resource_release_result">;
|
|
506
|
+
released: z.ZodBoolean;
|
|
507
|
+
slots_remaining: z.ZodNumber;
|
|
508
|
+
}, z.core.$strict>;
|
|
509
|
+
/** Resource-release result payload (inferred from {@link ResourceReleaseResultResponseSchema}). */
|
|
510
|
+
export type ResourceReleaseResultResponse = z.infer<typeof ResourceReleaseResultResponseSchema>;
|
|
436
511
|
/**
|
|
437
512
|
* An error response correlated to a request. Mirrors the v1.0
|
|
438
513
|
* `crate::ipc::ErrorResult` shape reused by the Rust `LeaseResponse::Error`
|
|
@@ -532,6 +607,18 @@ export declare const LeaseIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
532
607
|
queue_position: z.ZodNumber;
|
|
533
608
|
}, z.core.$strict>, z.ZodObject<{
|
|
534
609
|
kind: z.ZodLiteral<"heartbeat_ack">;
|
|
610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
611
|
+
kind: z.ZodLiteral<"resource_admit_result">;
|
|
612
|
+
disposition: z.ZodEnum<{
|
|
613
|
+
admitted: "admitted";
|
|
614
|
+
deferred: "deferred";
|
|
615
|
+
}>;
|
|
616
|
+
retry_after_ms: z.ZodNumber;
|
|
617
|
+
slots_remaining: z.ZodNumber;
|
|
618
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
619
|
+
kind: z.ZodLiteral<"resource_release_result">;
|
|
620
|
+
released: z.ZodBoolean;
|
|
621
|
+
slots_remaining: z.ZodNumber;
|
|
535
622
|
}, z.core.$strict>, z.ZodObject<{
|
|
536
623
|
kind: z.ZodLiteral<"error">;
|
|
537
624
|
code: z.ZodString;
|
|
@@ -620,6 +707,15 @@ export declare const LeaseIpcRequestEnvelopeSchema: z.ZodObject<{
|
|
|
620
707
|
kind: z.ZodLiteral<"worker_heartbeat">;
|
|
621
708
|
child_id: z.ZodString;
|
|
622
709
|
in_flight_llm: z.ZodBoolean;
|
|
710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
711
|
+
kind: z.ZodLiteral<"resource_admit">;
|
|
712
|
+
class: z.ZodString;
|
|
713
|
+
holder_id: z.ZodString;
|
|
714
|
+
budget: z.ZodNumber;
|
|
715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
716
|
+
kind: z.ZodLiteral<"resource_release">;
|
|
717
|
+
class: z.ZodString;
|
|
718
|
+
holder_id: z.ZodString;
|
|
623
719
|
}, z.core.$strict>], "kind">;
|
|
624
720
|
}, z.core.$strict>;
|
|
625
721
|
/** Lease request envelope (inferred from {@link LeaseIpcRequestEnvelopeSchema}). */
|
|
@@ -716,6 +812,18 @@ export declare const LeaseIpcResponseEnvelopeSchema: z.ZodObject<{
|
|
|
716
812
|
queue_position: z.ZodNumber;
|
|
717
813
|
}, z.core.$strict>, z.ZodObject<{
|
|
718
814
|
kind: z.ZodLiteral<"heartbeat_ack">;
|
|
815
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
816
|
+
kind: z.ZodLiteral<"resource_admit_result">;
|
|
817
|
+
disposition: z.ZodEnum<{
|
|
818
|
+
admitted: "admitted";
|
|
819
|
+
deferred: "deferred";
|
|
820
|
+
}>;
|
|
821
|
+
retry_after_ms: z.ZodNumber;
|
|
822
|
+
slots_remaining: z.ZodNumber;
|
|
823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
824
|
+
kind: z.ZodLiteral<"resource_release_result">;
|
|
825
|
+
released: z.ZodBoolean;
|
|
826
|
+
slots_remaining: z.ZodNumber;
|
|
719
827
|
}, z.core.$strict>, z.ZodObject<{
|
|
720
828
|
kind: z.ZodLiteral<"error">;
|
|
721
829
|
code: z.ZodString;
|
|
@@ -804,6 +912,15 @@ export declare const LeaseIpcEnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
804
912
|
kind: z.ZodLiteral<"worker_heartbeat">;
|
|
805
913
|
child_id: z.ZodString;
|
|
806
914
|
in_flight_llm: z.ZodBoolean;
|
|
915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
916
|
+
kind: z.ZodLiteral<"resource_admit">;
|
|
917
|
+
class: z.ZodString;
|
|
918
|
+
holder_id: z.ZodString;
|
|
919
|
+
budget: z.ZodNumber;
|
|
920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
921
|
+
kind: z.ZodLiteral<"resource_release">;
|
|
922
|
+
class: z.ZodString;
|
|
923
|
+
holder_id: z.ZodString;
|
|
807
924
|
}, z.core.$strict>], "kind">;
|
|
808
925
|
}, z.core.$strict>, z.ZodObject<{
|
|
809
926
|
protocol_version: z.ZodString;
|
|
@@ -891,6 +1008,18 @@ export declare const LeaseIpcEnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
891
1008
|
queue_position: z.ZodNumber;
|
|
892
1009
|
}, z.core.$strict>, z.ZodObject<{
|
|
893
1010
|
kind: z.ZodLiteral<"heartbeat_ack">;
|
|
1011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1012
|
+
kind: z.ZodLiteral<"resource_admit_result">;
|
|
1013
|
+
disposition: z.ZodEnum<{
|
|
1014
|
+
admitted: "admitted";
|
|
1015
|
+
deferred: "deferred";
|
|
1016
|
+
}>;
|
|
1017
|
+
retry_after_ms: z.ZodNumber;
|
|
1018
|
+
slots_remaining: z.ZodNumber;
|
|
1019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1020
|
+
kind: z.ZodLiteral<"resource_release_result">;
|
|
1021
|
+
released: z.ZodBoolean;
|
|
1022
|
+
slots_remaining: z.ZodNumber;
|
|
894
1023
|
}, z.core.$strict>, z.ZodObject<{
|
|
895
1024
|
kind: z.ZodLiteral<"error">;
|
|
896
1025
|
code: z.ZodString;
|
|
@@ -904,15 +1033,15 @@ export type LeaseIpcEnvelope = z.infer<typeof LeaseIpcEnvelopeSchema>;
|
|
|
904
1033
|
* test pins this tuple; any addition/removal is a contract-breaking change
|
|
905
1034
|
* requiring a coordinated dual (Rust + TS) edit.
|
|
906
1035
|
*/
|
|
907
|
-
export declare const LEASE_IPC_REQUEST_KINDS: readonly ["lease_acquire", "lease_release", "lease_renew", "rate_check", "tool_grant", "queue_admit", "worker_heartbeat"];
|
|
1036
|
+
export declare const LEASE_IPC_REQUEST_KINDS: readonly ["lease_acquire", "lease_release", "lease_renew", "rate_check", "tool_grant", "queue_admit", "worker_heartbeat", "resource_admit", "resource_release"];
|
|
908
1037
|
/**
|
|
909
|
-
* The v1.
|
|
1038
|
+
* The v1.2 response `kind` values, in declaration order. The schema-drift guard
|
|
910
1039
|
* test pins this tuple.
|
|
911
1040
|
*/
|
|
912
|
-
export declare const LEASE_IPC_RESPONSE_KINDS: readonly ["lease_granted", "lease_queued", "lease_denied", "rate_result", "tool_granted", "lease_revoked", "child_killed_unresponsive", "queue_admit_result", "heartbeat_ack", "error"];
|
|
1041
|
+
export declare const LEASE_IPC_RESPONSE_KINDS: readonly ["lease_granted", "lease_queued", "lease_denied", "rate_result", "tool_granted", "lease_revoked", "child_killed_unresponsive", "queue_admit_result", "heartbeat_ack", "resource_admit_result", "resource_release_result", "error"];
|
|
913
1042
|
/**
|
|
914
1043
|
* The complete v1.1 message kind set (requests + responses), used by the drift
|
|
915
1044
|
* guard on both the TS and Rust sides.
|
|
916
1045
|
*/
|
|
917
|
-
export declare const LEASE_IPC_MESSAGE_KINDS: readonly ["lease_acquire", "lease_release", "lease_renew", "rate_check", "tool_grant", "queue_admit", "worker_heartbeat", "lease_granted", "lease_queued", "lease_denied", "rate_result", "tool_granted", "lease_revoked", "child_killed_unresponsive", "queue_admit_result", "heartbeat_ack", "error"];
|
|
1046
|
+
export declare const LEASE_IPC_MESSAGE_KINDS: readonly ["lease_acquire", "lease_release", "lease_renew", "rate_check", "tool_grant", "queue_admit", "worker_heartbeat", "resource_admit", "resource_release", "lease_granted", "lease_queued", "lease_denied", "rate_result", "tool_granted", "lease_revoked", "child_killed_unresponsive", "queue_admit_result", "heartbeat_ack", "resource_admit_result", "resource_release_result", "error"];
|
|
918
1047
|
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/lease-ipc/messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;EAAgC,CAAC;AAE9D,iEAAiE;AACjE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;EAAqC,CAAC;AAElE,mEAAmE;AACnE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAIxD;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;kBAiB3B,CAAC;AAEZ,iFAAiF;AACjF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;kBAa3B,CAAC;AAEZ,iFAAiF;AACjF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;kBAazB,CAAC;AAEZ,6EAA6E;AAC7E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWhC,CAAC;AAEZ,sFAAsF;AACtF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGjC,CAAC;AAEH,6EAA6E;AAC7E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAItE;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,iKAU1B,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,wBAAwB,6OAa3B,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,uBAAuB,mYAG1B,CAAC"}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* ```jsonc
|
|
14
14
|
* // request
|
|
15
|
-
* { "protocol_version": "1.
|
|
15
|
+
* { "protocol_version": "1.2.0", "id": "abc", "direction": "request",
|
|
16
16
|
* "request": { "kind": "lease_acquire", "scope": "project", "lane": "tasks",
|
|
17
17
|
* "holder_id": "pid-42:tasks", "priority": 0, "ttl_ms": 30000,
|
|
18
18
|
* "reentrant": true } }
|
|
19
19
|
* // response
|
|
20
|
-
* { "protocol_version": "1.
|
|
20
|
+
* { "protocol_version": "1.2.0", "id": "abc", "direction": "response",
|
|
21
21
|
* "response": { "kind": "lease_granted", "scope": "project", "lane": "tasks",
|
|
22
22
|
* "holder_id": "pid-42:tasks", "epoch": 7, "ttl_ms": 30000,
|
|
23
23
|
* "expires_at_ms": 1000030000 } }
|
|
@@ -185,6 +185,42 @@ export const WorkerHeartbeatRequestSchema = z
|
|
|
185
185
|
in_flight_llm: z.boolean(),
|
|
186
186
|
})
|
|
187
187
|
.strict();
|
|
188
|
+
/**
|
|
189
|
+
* Admit (or defer) a heavy resource-intensive operation through the central
|
|
190
|
+
* per-class concurrency arbiter (T12001 · Epic T11992). Mirrors
|
|
191
|
+
* `ResourceAdmitReq`. `[wired]`
|
|
192
|
+
*
|
|
193
|
+
* The client computes `budget` from its local memory-pressure sample; the
|
|
194
|
+
* supervisor enforces the per-class in-flight COUNT centrally across processes,
|
|
195
|
+
* so heavy ops (builds, tests, exodus) can never co-schedule past the budget.
|
|
196
|
+
*/
|
|
197
|
+
export const ResourceAdmitRequestSchema = z
|
|
198
|
+
.object({
|
|
199
|
+
/** Tag discriminating this request variant. */
|
|
200
|
+
kind: z.literal('resource_admit'),
|
|
201
|
+
/** The resource class (e.g. `"db-heavy"`, `"full-build"`, `"test-run"`). */
|
|
202
|
+
class: z.string().min(1),
|
|
203
|
+
/** The caller holding the slot — process/worktree-unique; the release key. */
|
|
204
|
+
holder_id: z.string().min(1),
|
|
205
|
+
/** The client-computed budget: the max concurrent holders for this class. */
|
|
206
|
+
budget: z.number().int().nonnegative(),
|
|
207
|
+
})
|
|
208
|
+
.strict();
|
|
209
|
+
/**
|
|
210
|
+
* Release a previously-admitted resource slot (T12001). Mirrors
|
|
211
|
+
* `ResourceReleaseReq`. Idempotent — releasing an unknown holder is a no-op.
|
|
212
|
+
* `[wired]`
|
|
213
|
+
*/
|
|
214
|
+
export const ResourceReleaseRequestSchema = z
|
|
215
|
+
.object({
|
|
216
|
+
/** Tag discriminating this request variant. */
|
|
217
|
+
kind: z.literal('resource_release'),
|
|
218
|
+
/** The resource class the slot belongs to. */
|
|
219
|
+
class: z.string().min(1),
|
|
220
|
+
/** The holder that was admitted (matches the admit `holder_id`). */
|
|
221
|
+
holder_id: z.string().min(1),
|
|
222
|
+
})
|
|
223
|
+
.strict();
|
|
188
224
|
/**
|
|
189
225
|
* The discriminated union of all client → arbiter lease requests. The `kind`
|
|
190
226
|
* field selects the variant, matching the serde `#[serde(tag = "kind")]`
|
|
@@ -198,6 +234,8 @@ export const LeaseIpcRequestSchema = z.discriminatedUnion('kind', [
|
|
|
198
234
|
ToolGrantRequestSchema,
|
|
199
235
|
QueueAdmitRequestSchema,
|
|
200
236
|
WorkerHeartbeatRequestSchema,
|
|
237
|
+
ResourceAdmitRequestSchema,
|
|
238
|
+
ResourceReleaseRequestSchema,
|
|
201
239
|
]);
|
|
202
240
|
// ─── Responses (arbiter → client) ─────────────────────────────────────────────
|
|
203
241
|
/**
|
|
@@ -356,6 +394,42 @@ export const HeartbeatAckResponseSchema = z
|
|
|
356
394
|
kind: z.literal('heartbeat_ack'),
|
|
357
395
|
})
|
|
358
396
|
.strict();
|
|
397
|
+
/**
|
|
398
|
+
* The disposition of a `resource_admit` request (T12001) — `admitted` (run the
|
|
399
|
+
* heavy op now) or `deferred` (back off `retry_after_ms` and re-request; never a
|
|
400
|
+
* silent drop). Mirrors `ResourceAdmitDisposition`.
|
|
401
|
+
*/
|
|
402
|
+
export const ResourceAdmitDispositionSchema = z.enum(['admitted', 'deferred']);
|
|
403
|
+
/**
|
|
404
|
+
* Reply to a `resource_admit`: the heavy op was admitted or deferred (T12001).
|
|
405
|
+
* Mirrors `ResourceAdmitResult`.
|
|
406
|
+
*/
|
|
407
|
+
export const ResourceAdmitResultResponseSchema = z
|
|
408
|
+
.object({
|
|
409
|
+
/** Tag discriminating this response variant. */
|
|
410
|
+
kind: z.literal('resource_admit_result'),
|
|
411
|
+
/** Whether the heavy op was admitted or deferred. */
|
|
412
|
+
disposition: ResourceAdmitDispositionSchema,
|
|
413
|
+
/** Back-off in ms before re-requesting (0 when admitted). */
|
|
414
|
+
retry_after_ms: z.number().int().nonnegative(),
|
|
415
|
+
/** Remaining slots for the class after this decision. */
|
|
416
|
+
slots_remaining: z.number().int().nonnegative(),
|
|
417
|
+
})
|
|
418
|
+
.strict();
|
|
419
|
+
/**
|
|
420
|
+
* Reply to a `resource_release`: the slot was released (T12001). Mirrors
|
|
421
|
+
* `ResourceReleaseResult`.
|
|
422
|
+
*/
|
|
423
|
+
export const ResourceReleaseResultResponseSchema = z
|
|
424
|
+
.object({
|
|
425
|
+
/** Tag discriminating this response variant. */
|
|
426
|
+
kind: z.literal('resource_release_result'),
|
|
427
|
+
/** Whether a held slot was actually released (false = no such holder). */
|
|
428
|
+
released: z.boolean(),
|
|
429
|
+
/** Remaining in-flight holders for the class after the release. */
|
|
430
|
+
slots_remaining: z.number().int().nonnegative(),
|
|
431
|
+
})
|
|
432
|
+
.strict();
|
|
359
433
|
/**
|
|
360
434
|
* An error response correlated to a request. Mirrors the v1.0
|
|
361
435
|
* `crate::ipc::ErrorResult` shape reused by the Rust `LeaseResponse::Error`
|
|
@@ -386,6 +460,8 @@ export const LeaseIpcResponseSchema = z.discriminatedUnion('kind', [
|
|
|
386
460
|
ChildKilledUnresponsiveResponseSchema,
|
|
387
461
|
QueueAdmitResultResponseSchema,
|
|
388
462
|
HeartbeatAckResponseSchema,
|
|
463
|
+
ResourceAdmitResultResponseSchema,
|
|
464
|
+
ResourceReleaseResultResponseSchema,
|
|
389
465
|
LeaseErrorResponseSchema,
|
|
390
466
|
]);
|
|
391
467
|
// ─── Envelope ──────────────────────────────────────────────────────────────────
|
|
@@ -448,9 +524,11 @@ export const LEASE_IPC_REQUEST_KINDS = [
|
|
|
448
524
|
'tool_grant',
|
|
449
525
|
'queue_admit',
|
|
450
526
|
'worker_heartbeat',
|
|
527
|
+
'resource_admit',
|
|
528
|
+
'resource_release',
|
|
451
529
|
];
|
|
452
530
|
/**
|
|
453
|
-
* The v1.
|
|
531
|
+
* The v1.2 response `kind` values, in declaration order. The schema-drift guard
|
|
454
532
|
* test pins this tuple.
|
|
455
533
|
*/
|
|
456
534
|
export const LEASE_IPC_RESPONSE_KINDS = [
|
|
@@ -463,6 +541,8 @@ export const LEASE_IPC_RESPONSE_KINDS = [
|
|
|
463
541
|
'child_killed_unresponsive',
|
|
464
542
|
'queue_admit_result',
|
|
465
543
|
'heartbeat_ack',
|
|
544
|
+
'resource_admit_result',
|
|
545
|
+
'resource_release_result',
|
|
466
546
|
'error',
|
|
467
547
|
];
|
|
468
548
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/lease-ipc/messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iFAAiF;AAEjF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AAK9D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAKlE,iFAAiF;AAEjF;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,+CAA+C;IAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAChC,0CAA0C;IAC1C,KAAK,EAAE,gBAAgB;IACvB,uCAAuC;IACvC,IAAI,EAAE,eAAe;IACrB,oCAAoC;IACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC1C,0CAA0C;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACtC,mFAA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AM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,kBAAkB,CAAC,WAAW,EAAE;IACtE,6BAA6B;IAC7B,8BAA8B;CAC/B,CAAC,CAAC;AAKH,kFAAkF;AAElF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe;IACf,eAAe;IACf,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;CACV,CAAC;AAEX;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,eAAe;IACf,cAAc;IACd,cAAc;IACd,aAAa;IACb,cAAc;IACd,eAAe;IACf,2BAA2B;IAC3B,oBAAoB;IACpB,eAAe;IACf,uBAAuB;IACvB,yBAAyB;IACzB,OAAO;CACC,CAAC;AAEX;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,GAAG,uBAAuB;IAC1B,GAAG,wBAAwB;CACnB,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* TypeScript contract MUST agree on this value. It runs **in parallel** to the
|
|
6
6
|
* byte-frozen `supervisor-ipc` v1.0 contract: the two are distinguished on the
|
|
7
7
|
* wire purely by this version string, so a single accept loop can route
|
|
8
|
-
* `'1.0.0'` → the v1.0 union and `'1.
|
|
8
|
+
* `'1.0.0'` → the v1.0 union and `'1.2.0'` → the lease union. Bump only via a
|
|
9
9
|
* coordinated dual (Rust + TS) edit, never edit this value in place.
|
|
10
10
|
*
|
|
11
11
|
* @see {@link LEASE_IPC_MESSAGE_KINDS} for the v1.1 message set.
|
|
@@ -13,13 +13,16 @@
|
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
|
-
* The `lease-ipc` v1.
|
|
16
|
+
* The `lease-ipc` v1.2 protocol version string.
|
|
17
17
|
*
|
|
18
18
|
* Mirrors `cleo_supervisor::lease_ipc::LEASE_IPC_PROTOCOL_VERSION` on the Rust
|
|
19
19
|
* side. Both the Rust schema-drift guard (`lease_ipc::tests`) and the TS drift
|
|
20
20
|
* test (`__tests__/freeze.test.ts`) pin this exact value.
|
|
21
|
+
*
|
|
22
|
+
* v1.2 (T12001 · Epic T11992) added the `resource_admit` / `resource_release`
|
|
23
|
+
* heavy-op admission verbs; v1.1 added `queue_admit` / `worker_heartbeat`.
|
|
21
24
|
*/
|
|
22
|
-
export declare const LEASE_IPC_PROTOCOL_VERSION: "1.
|
|
25
|
+
export declare const LEASE_IPC_PROTOCOL_VERSION: "1.2.0";
|
|
23
26
|
/**
|
|
24
27
|
* Whether the given version string is the frozen `lease-ipc` v1.1 wire version.
|
|
25
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/lease-ipc/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/lease-ipc/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,EAAG,OAAgB,CAAC;AAE3D;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,GACd,OAAO,IAAI,OAAO,0BAA0B,CAE9C"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* TypeScript contract MUST agree on this value. It runs **in parallel** to the
|
|
6
6
|
* byte-frozen `supervisor-ipc` v1.0 contract: the two are distinguished on the
|
|
7
7
|
* wire purely by this version string, so a single accept loop can route
|
|
8
|
-
* `'1.0.0'` → the v1.0 union and `'1.
|
|
8
|
+
* `'1.0.0'` → the v1.0 union and `'1.2.0'` → the lease union. Bump only via a
|
|
9
9
|
* coordinated dual (Rust + TS) edit, never edit this value in place.
|
|
10
10
|
*
|
|
11
11
|
* @see {@link LEASE_IPC_MESSAGE_KINDS} for the v1.1 message set.
|
|
@@ -13,13 +13,16 @@
|
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
|
-
* The `lease-ipc` v1.
|
|
16
|
+
* The `lease-ipc` v1.2 protocol version string.
|
|
17
17
|
*
|
|
18
18
|
* Mirrors `cleo_supervisor::lease_ipc::LEASE_IPC_PROTOCOL_VERSION` on the Rust
|
|
19
19
|
* side. Both the Rust schema-drift guard (`lease_ipc::tests`) and the TS drift
|
|
20
20
|
* test (`__tests__/freeze.test.ts`) pin this exact value.
|
|
21
|
+
*
|
|
22
|
+
* v1.2 (T12001 · Epic T11992) added the `resource_admit` / `resource_release`
|
|
23
|
+
* heavy-op admission verbs; v1.1 added `queue_admit` / `worker_heartbeat`.
|
|
21
24
|
*/
|
|
22
|
-
export const LEASE_IPC_PROTOCOL_VERSION = '1.
|
|
25
|
+
export const LEASE_IPC_PROTOCOL_VERSION = '1.2.0';
|
|
23
26
|
/**
|
|
24
27
|
* Whether the given version string is the frozen `lease-ipc` v1.1 wire version.
|
|
25
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/lease-ipc/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/lease-ipc/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAgB,CAAC;AAE3D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,uBAAuB,CACrC,OAAe;IAEf,OAAO,OAAO,KAAK,0BAA0B,CAAC;AAChD,CAAC"}
|
|
@@ -1396,6 +1396,8 @@ export interface TasksUpdateQueryParams {
|
|
|
1396
1396
|
reason?: string;
|
|
1397
1397
|
/** Dependency declaration waiver for critical-priority tasks (T1856). */
|
|
1398
1398
|
dependsWaiver?: string;
|
|
1399
|
+
/** Set the blockedBy free-text reason. @task T9241 (gh#1106) */
|
|
1400
|
+
blockedBy?: string;
|
|
1399
1401
|
/** Clear the blockedBy free-text reason (set to undefined). @task T9241 */
|
|
1400
1402
|
clearBlockedBy?: boolean;
|
|
1401
1403
|
/** Set related tasks (replaces existing). @task T9327 */
|