wicked-crew 0.15.5 → 0.15.7
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/api/delivery-assurance.d.ts.map +1 -1
- package/dist/api/delivery-assurance.js +12 -0
- package/dist/api/delivery-assurance.js.map +1 -1
- package/dist/api/routes.d.ts +96 -6
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +47 -13
- package/dist/api/routes.js.map +1 -1
- package/dist/core/adapter.d.ts +21 -0
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +11 -0
- package/dist/core/adapter.js.map +1 -1
- package/dist/core/deliver-text.d.ts +4 -1
- package/dist/core/deliver-text.d.ts.map +1 -1
- package/dist/core/deliver-text.js +23 -5
- package/dist/core/deliver-text.js.map +1 -1
- package/dist/studio/assets/{index-Cpr4dtyT.js → index-Bhwz-oBW.js} +208 -208
- package/dist/studio/assets/{index-Chzb3FOa.css → index-CmNUtpfw.css} +1 -1
- package/dist/studio/editors/wicked-deck/editor.json +1 -1
- package/dist/studio/editors/wicked-deck/index.html +1 -1
- package/dist/studio/editors/wicked-doc/editor.json +1 -1
- package/dist/studio/editors/wicked-doc/index.html +1 -1
- package/dist/studio/editors/wicked-page/editor.json +1 -1
- package/dist/studio/editors/wicked-page/index.html +1 -1
- package/dist/studio/editors/wicked-video/editor.json +1 -1
- package/dist/studio/editors/wicked-video/index.html +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/studio/testid-inventory.json +57 -3
- package/endpoint-manifest.json +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery-assurance.d.ts","sourceRoot":"","sources":["../../src/api/delivery-assurance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EACV,oBAAoB,EAEpB,gBAAgB,EAEhB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"delivery-assurance.d.ts","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BAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,GAAG,IAAI,CAuDhG;AAED,mFAAmF;AACnF,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,EACrE,YAAY,EAAE,iBAAiB,GAAG,IAAI,GACrC,iBAAiB,CAUnB"}
|
|
@@ -145,6 +145,15 @@ export function aggregateReceipt(view, tree) {
|
|
|
145
145
|
const councils = receipts.flatMap((r) => r.councils ?? []);
|
|
146
146
|
// …and every gate a FALLBACK judge ruled on (wicked-core judge fallback, api-types 0.121.0), in order.
|
|
147
147
|
const judgeFallbacks = receipts.flatMap((r) => r.judgeFallbacks ?? []);
|
|
148
|
+
// …and every gate the operator judged — a judge-unavailable judgment, or (api-types 0.135.0) a
|
|
149
|
+
// failed floor overridden ("floor overridden by operator") — so a post-hoc delivery says so too.
|
|
150
|
+
// The run's own record of each overridden floor joins them (a later rework of that unit cuts a
|
|
151
|
+
// fresh receipt without it), once each.
|
|
152
|
+
const operatorJudges = [];
|
|
153
|
+
for (const j of [...receipts.flatMap((r) => r.operatorJudges ?? []), ...(view.session.assurance?.floorOverrides ?? [])]) {
|
|
154
|
+
if (!operatorJudges.some((o) => o.by === j.by && o.at === j.at && o.floorOverride?.resultId === j.floorOverride?.resultId))
|
|
155
|
+
operatorJudges.push(j);
|
|
156
|
+
}
|
|
148
157
|
for (const r of receipts) {
|
|
149
158
|
for (const i of r.ran)
|
|
150
159
|
if (!ran.includes(i))
|
|
@@ -156,6 +165,8 @@ export function aggregateReceipt(view, tree) {
|
|
|
156
165
|
skipped.push(s);
|
|
157
166
|
}
|
|
158
167
|
}
|
|
168
|
+
if (operatorJudges.length > 0 && !ran.includes('operator_judge'))
|
|
169
|
+
ran.push('operator_judge');
|
|
159
170
|
return {
|
|
160
171
|
mode: contract.mode,
|
|
161
172
|
required: [...contract.required],
|
|
@@ -169,6 +180,7 @@ export function aggregateReceipt(view, tree) {
|
|
|
169
180
|
...(qe !== undefined ? { qe } : {}),
|
|
170
181
|
...(councils.length > 0 ? { councils } : {}),
|
|
171
182
|
...(judgeFallbacks.length > 0 ? { judgeFallbacks } : {}),
|
|
183
|
+
...(operatorJudges.length > 0 ? { operatorJudges } : {}),
|
|
172
184
|
};
|
|
173
185
|
}
|
|
174
186
|
/** The post-hoc delivery's assurance (EX-04): never verified, both trees named. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery-assurance.js","sourceRoot":"","sources":["../../src/api/delivery-assurance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;
|
|
1
|
+
{"version":3,"file":"delivery-assurance.js","sourceRoot":"","sources":["../../src/api/delivery-assurance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAcH,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAGjE,mGAAmG;AACnG,yEAAyE;AACzE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC7E,kCAAkC;AAClC,MAAM,CAAC,MAAM,2BAA2B,GAAG,wBAAiC,CAAC;AAE7E;oGACoG;AACpG,MAAM,UAAU,oBAAoB,CAAC,IAAiB;IACpD,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;AACrC,CAAC;AAED;uFACuF;AACvF,MAAM,UAAU,YAAY,CAAC,IAAiB;IAC5C,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC;QAAE,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AC"}
|
package/dist/api/routes.d.ts
CHANGED
|
@@ -893,9 +893,11 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
893
893
|
* `extend` | `targeted` | `accept_partial` answer the gate of a repo-checks floor that did not
|
|
894
894
|
* finish (`repo_checks_timeout`) — the engine re-runs the floor on the tree as it stands with 2×
|
|
895
895
|
* bounds, the targeted test set, or the unfinished checks waived; `accept_suggestion` adopts the
|
|
896
|
-
* evaluator's discarded, pinned edit as the creator's amendment
|
|
897
|
-
*
|
|
898
|
-
|
|
896
|
+
* evaluator's discarded, pinned edit as the creator's amendment; `rejudge` (api-types 0.134.0)
|
|
897
|
+
* re-runs the judge of a `judge_unavailable` gate on the same work, the step's seat not run again.
|
|
898
|
+
* The ENGINE refuses each at any other gate (a 409 naming the gate it answers) — and `rejudge`
|
|
899
|
+
* while no judge seat is eligible ({@link GateInfo.rejudge} says beforehand). */
|
|
900
|
+
export declare const ESCALATION_ACTIONS: readonly ["extend", "targeted", "accept_partial", "accept_suggestion", "rejudge"];
|
|
899
901
|
/** (core#820) A consent gate's answer token: `consent:<choice id>` approves that row of the dry-run
|
|
900
902
|
* plan (the engine refuses an id its plan does not offer); `reject` stays the decline. */
|
|
901
903
|
export declare const CONSENT_CHOICE_ACTION: RegExp;
|
|
@@ -911,11 +913,19 @@ export declare const CONSENT_CHOICE_ACTION: RegExp;
|
|
|
911
913
|
* `amend_intent` (wicked-core#555) approves the gate AND AMENDS THE RUN'S INTENT: `amend` is
|
|
912
914
|
* what the acceptance list now says (required, non-empty), `approve: true`, and no `amendScope`
|
|
913
915
|
* — an intent amendment reaches every unit at or after the cursor, which is what makes it reach
|
|
914
|
-
* the LATER EVALUATOR. It is the only arm that can descope a run mid-flight.
|
|
915
|
-
|
|
916
|
+
* the LATER EVALUATOR. It is the only arm that can descope a run mid-flight.
|
|
917
|
+
*
|
|
918
|
+
* `operator_judgment` (api-types 0.135.0, operator ruling 2026-10-21) is "approve as your own
|
|
919
|
+
* judgment" at a FAILED REPO-CHECKS FLOOR's escalation gate: `approve: true`, the written rationale
|
|
920
|
+
* in `amend` (required, non-empty), no `amendScope` or `plan`. The engine records it on the gate
|
|
921
|
+
* receipt as an operator judgment overriding the floor ("floor overridden by operator", on the
|
|
922
|
+
* run and the delivery too) and refuses it (409, gate left open) at any other gate and while any
|
|
923
|
+
* other layer of the gate also denied. QE acceptance is never waived by it. */
|
|
924
|
+
export declare const OPERATOR_JUDGMENT_ACTION: "operator_judgment";
|
|
925
|
+
export declare const GateSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
916
926
|
approve: z.ZodBoolean;
|
|
917
927
|
amend: z.ZodOptional<z.ZodString>;
|
|
918
|
-
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["approve", "request_changes", "reject", "edit_plan", "amend_intent", "extend", "targeted", "accept_partial", "accept_suggestion"]>, z.ZodString]>>;
|
|
928
|
+
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["approve", "request_changes", "reject", "edit_plan", "amend_intent", "operator_judgment", "extend", "targeted", "accept_partial", "accept_suggestion", "rejudge"]>, z.ZodString]>>;
|
|
919
929
|
amendScope: z.ZodOptional<z.ZodEnum<["cursor", "creator"]>>;
|
|
920
930
|
/** DES-TEAMING-002 T3 — approve a `plan_approval` gate WITH AN EDIT (`GateDecision.plan`). */
|
|
921
931
|
plan: z.ZodOptional<z.ZodObject<{
|
|
@@ -1297,6 +1307,86 @@ export declare const GateSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEff
|
|
|
1297
1307
|
} | undefined;
|
|
1298
1308
|
amend?: string | undefined;
|
|
1299
1309
|
amendScope?: "creator" | "cursor" | undefined;
|
|
1310
|
+
}>, {
|
|
1311
|
+
approve: boolean;
|
|
1312
|
+
ord?: number | undefined;
|
|
1313
|
+
action?: string | undefined;
|
|
1314
|
+
plan?: {
|
|
1315
|
+
steps: z.objectOutputType<{
|
|
1316
|
+
catalog: z.ZodString;
|
|
1317
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1319
|
+
override?: {
|
|
1320
|
+
reason: string;
|
|
1321
|
+
remove: string[];
|
|
1322
|
+
} | undefined;
|
|
1323
|
+
touch?: string[] | undefined;
|
|
1324
|
+
monitors?: {
|
|
1325
|
+
asked: number;
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
amend?: string | undefined;
|
|
1329
|
+
amendScope?: "creator" | "cursor" | undefined;
|
|
1330
|
+
}, {
|
|
1331
|
+
approve: boolean;
|
|
1332
|
+
ord?: number | undefined;
|
|
1333
|
+
action?: string | undefined;
|
|
1334
|
+
plan?: {
|
|
1335
|
+
steps: z.objectInputType<{
|
|
1336
|
+
catalog: z.ZodString;
|
|
1337
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1339
|
+
override?: {
|
|
1340
|
+
reason: string;
|
|
1341
|
+
remove: string[];
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
touch?: string[] | undefined;
|
|
1344
|
+
monitors?: {
|
|
1345
|
+
asked: number;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
amend?: string | undefined;
|
|
1349
|
+
amendScope?: "creator" | "cursor" | undefined;
|
|
1350
|
+
}>, {
|
|
1351
|
+
approve: boolean;
|
|
1352
|
+
ord?: number | undefined;
|
|
1353
|
+
action?: string | undefined;
|
|
1354
|
+
plan?: {
|
|
1355
|
+
steps: z.objectOutputType<{
|
|
1356
|
+
catalog: z.ZodString;
|
|
1357
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1359
|
+
override?: {
|
|
1360
|
+
reason: string;
|
|
1361
|
+
remove: string[];
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
touch?: string[] | undefined;
|
|
1364
|
+
monitors?: {
|
|
1365
|
+
asked: number;
|
|
1366
|
+
} | undefined;
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
amend?: string | undefined;
|
|
1369
|
+
amendScope?: "creator" | "cursor" | undefined;
|
|
1370
|
+
}, {
|
|
1371
|
+
approve: boolean;
|
|
1372
|
+
ord?: number | undefined;
|
|
1373
|
+
action?: string | undefined;
|
|
1374
|
+
plan?: {
|
|
1375
|
+
steps: z.objectInputType<{
|
|
1376
|
+
catalog: z.ZodString;
|
|
1377
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1379
|
+
override?: {
|
|
1380
|
+
reason: string;
|
|
1381
|
+
remove: string[];
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
touch?: string[] | undefined;
|
|
1384
|
+
monitors?: {
|
|
1385
|
+
asked: number;
|
|
1386
|
+
} | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
amend?: string | undefined;
|
|
1389
|
+
amendScope?: "creator" | "cursor" | undefined;
|
|
1300
1390
|
}>;
|
|
1301
1391
|
/** `PUT /runs/:id/guidance` (DES-UX-002 §7.2, CREW-UX-7) — the durable pre-gate note body.
|
|
1302
1392
|
* The empty string is a legal body: it CLEARS the note. The byte cap is checked in the route
|
package/dist/api/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgC,MAAM,SAAS,CAAC;AAG7E,OAAO,EAAE,UAAU,EAAgB,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,OAAO,EAAmD,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chSchema = z.object({
|
|
|
510
510
|
* `extend` | `targeted` | `accept_partial` answer the gate of a repo-checks floor that did not
|
|
511
511
|
* finish (`repo_checks_timeout`) — the engine re-runs the floor on the tree as it stands with 2×
|
|
512
512
|
* bounds, the targeted test set, or the unfinished checks waived; `accept_suggestion` adopts the
|
|
513
|
-
* evaluator's discarded, pinned edit as the creator's amendment
|
|
514
|
-
*
|
|
515
|
-
|
|
513
|
+
* evaluator's discarded, pinned edit as the creator's amendment; `rejudge` (api-types 0.134.0)
|
|
514
|
+
* re-runs the judge of a `judge_unavailable` gate on the same work, the step's seat not run again.
|
|
515
|
+
* The ENGINE refuses each at any other gate (a 409 naming the gate it answers) — and `rejudge`
|
|
516
|
+
* while no judge seat is eligible ({@link GateInfo.rejudge} says beforehand). */
|
|
517
|
+
export const ESCALATION_ACTIONS = ['extend', 'targeted', 'accept_partial', 'accept_suggestion', 'rejudge'];
|
|
516
518
|
/** (core#820) A consent gate's answer token: `consent:<choice id>` approves that row of the dry-run
|
|
517
519
|
* plan (the engine refuses an id its plan does not offer); `reject` stays the decline. */
|
|
518
520
|
export const CONSENT_CHOICE_ACTION = /^consent:[A-Za-z0-9_-]{1,32}$/u; // core `parse_plan` caps a choice id at 32
|
|
@@ -529,13 +531,21 @@ const isEscalationAction = (a) => a !== undefined && (ESCALATION_ACTIONS.include
|
|
|
529
531
|
* `amend_intent` (wicked-core#555) approves the gate AND AMENDS THE RUN'S INTENT: `amend` is
|
|
530
532
|
* what the acceptance list now says (required, non-empty), `approve: true`, and no `amendScope`
|
|
531
533
|
* — an intent amendment reaches every unit at or after the cursor, which is what makes it reach
|
|
532
|
-
* the LATER EVALUATOR. It is the only arm that can descope a run mid-flight.
|
|
534
|
+
* the LATER EVALUATOR. It is the only arm that can descope a run mid-flight.
|
|
535
|
+
*
|
|
536
|
+
* `operator_judgment` (api-types 0.135.0, operator ruling 2026-10-21) is "approve as your own
|
|
537
|
+
* judgment" at a FAILED REPO-CHECKS FLOOR's escalation gate: `approve: true`, the written rationale
|
|
538
|
+
* in `amend` (required, non-empty), no `amendScope` or `plan`. The engine records it on the gate
|
|
539
|
+
* receipt as an operator judgment overriding the floor ("floor overridden by operator", on the
|
|
540
|
+
* run and the delivery too) and refuses it (409, gate left open) at any other gate and while any
|
|
541
|
+
* other layer of the gate also denied. QE acceptance is never waived by it. */
|
|
542
|
+
export const OPERATOR_JUDGMENT_ACTION = 'operator_judgment';
|
|
533
543
|
export const GateSchema = z.object({
|
|
534
544
|
approve: z.boolean(),
|
|
535
545
|
amend: z.string().optional(),
|
|
536
546
|
action: z
|
|
537
547
|
.union([
|
|
538
|
-
z.enum(['approve', 'request_changes', 'reject', 'edit_plan', 'amend_intent', ...ESCALATION_ACTIONS]),
|
|
548
|
+
z.enum(['approve', 'request_changes', 'reject', 'edit_plan', 'amend_intent', OPERATOR_JUDGMENT_ACTION, ...ESCALATION_ACTIONS]),
|
|
539
549
|
z.string().regex(CONSENT_CHOICE_ACTION, 'a consent choice is `consent:<choice id>`'),
|
|
540
550
|
])
|
|
541
551
|
.optional(),
|
|
@@ -546,11 +556,14 @@ export const GateSchema = z.object({
|
|
|
546
556
|
* open gate is a 409 `gate_changed`: the decision was made on a gate that is no longer open. */
|
|
547
557
|
ord: z.number().int().nonnegative().optional(),
|
|
548
558
|
}).strict().refine((b) => b.action === undefined
|
|
549
|
-
|| (b.action === 'approve' || b.action === 'edit_plan' || b.action === 'amend_intent' || isEscalationAction(b.action)) === b.approve, { message: '`action` disagrees with `approve`: request_changes and reject require approve: false; approve, edit_plan, amend_intent, extend, targeted, accept_partial, accept_suggestion and consent:<id> require approve: true', path: ['action'] }).refine(
|
|
559
|
+
|| (b.action === 'approve' || b.action === 'edit_plan' || b.action === 'amend_intent' || b.action === OPERATOR_JUDGMENT_ACTION || isEscalationAction(b.action)) === b.approve, { message: '`action` disagrees with `approve`: request_changes and reject require approve: false; approve, edit_plan, amend_intent, operator_judgment, extend, targeted, accept_partial, accept_suggestion, rejudge and consent:<id> require approve: true', path: ['action'] }).refine(
|
|
560
|
+
// (operator ruling 2026-10-21) The override's rationale IS its record: a blank one is a 400 here,
|
|
561
|
+
// before the engine is asked.
|
|
562
|
+
(b) => b.action !== OPERATOR_JUDGMENT_ACTION || (b.amend !== undefined && b.amend.trim() !== ''), { message: 'operator_judgment needs `amend`: your written rationale — why the failed floor is not the work\'s (an empty one is refused)', path: ['amend'] }).refine((b) => b.action !== OPERATOR_JUDGMENT_ACTION || (b.amendScope === undefined && b.plan === undefined), { message: 'operator_judgment takes no amendScope or plan — it answers the failed floor of the gated unit', path: ['amendScope'] }).refine(
|
|
550
563
|
// (wicked-core#555) An intent amendment IS its text: an empty one amends nothing, and the arm's
|
|
551
564
|
// scope is every unit at or after the cursor — which is what makes it reach the evaluator — so
|
|
552
565
|
// `amendScope` cannot narrow it. Both are 400s here rather than a 409 from the engine.
|
|
553
|
-
(b) => b.action !== 'amend_intent' || (b.amend !== undefined && b.amend.trim() !== ''), { message: 'amend_intent needs `amend`: what the run\'s acceptance list now says (approve without an action to proceed unamended)', path: ['amend'] }).refine((b) => b.action !== 'amend_intent' || (b.amendScope === undefined && b.plan === undefined), { message: 'amend_intent takes no amendScope or plan — an intent amendment reaches every unit at or after the cursor, which is what makes it reach the evaluator', path: ['amendScope'] }).refine((b) => !isEscalationAction(b.action) || (b.amend === undefined && b.amendScope === undefined && b.plan === undefined), { message: 'extend, targeted, accept_partial, accept_suggestion and consent:<id> take no amend, amendScope or plan — the engine re-runs the floor, adopts the pinned edit, or runs the chosen install as it stands', path: ['action'] }).refine((b) => (b.action === 'edit_plan') === (b.plan !== undefined) || (b.action === undefined && b.plan !== undefined), { message: 'an edited plan answers a plan_approval gate: `plan` needs approve: true with `action` omitted or edit_plan, and edit_plan needs `plan`', path: ['plan'] }).refine((b) => b.plan === undefined || (b.approve && b.amend === undefined && b.amendScope === undefined), { message: '`plan` is an approve WITH an edited plan: approve: true, and no amend / amendScope (the plan is the edit)', path: ['plan'] }).refine((b) => b.amendScope === undefined || b.approve, { message: '`amendScope` applies to an approve only (approve: true)', path: ['amendScope'] });
|
|
566
|
+
(b) => b.action !== 'amend_intent' || (b.amend !== undefined && b.amend.trim() !== ''), { message: 'amend_intent needs `amend`: what the run\'s acceptance list now says (approve without an action to proceed unamended)', path: ['amend'] }).refine((b) => b.action !== 'amend_intent' || (b.amendScope === undefined && b.plan === undefined), { message: 'amend_intent takes no amendScope or plan — an intent amendment reaches every unit at or after the cursor, which is what makes it reach the evaluator', path: ['amendScope'] }).refine((b) => !isEscalationAction(b.action) || (b.amend === undefined && b.amendScope === undefined && b.plan === undefined), { message: 'extend, targeted, accept_partial, accept_suggestion, rejudge and consent:<id> take no amend, amendScope or plan — the engine re-runs the floor, adopts the pinned edit, re-runs the judge, or runs the chosen install as it stands', path: ['action'] }).refine((b) => (b.action === 'edit_plan') === (b.plan !== undefined) || (b.action === undefined && b.plan !== undefined), { message: 'an edited plan answers a plan_approval gate: `plan` needs approve: true with `action` omitted or edit_plan, and edit_plan needs `plan`', path: ['plan'] }).refine((b) => b.plan === undefined || (b.approve && b.amend === undefined && b.amendScope === undefined), { message: '`plan` is an approve WITH an edited plan: approve: true, and no amend / amendScope (the plan is the edit)', path: ['plan'] }).refine((b) => b.amendScope === undefined || b.approve, { message: '`amendScope` applies to an approve only (approve: true)', path: ['amendScope'] });
|
|
554
567
|
/** `PUT /runs/:id/guidance` (DES-UX-002 §7.2, CREW-UX-7) — the durable pre-gate note body.
|
|
555
568
|
* The empty string is a legal body: it CLEARS the note. The byte cap is checked in the route
|
|
556
569
|
* (not zod's char-counting `max`) so the 400 names the actual limit. */
|
|
@@ -4449,9 +4462,26 @@ runtime = {}) {
|
|
|
4449
4462
|
app.get(`${V}/runs/:id/gate`, async (req, reply) => {
|
|
4450
4463
|
const { id } = req.params;
|
|
4451
4464
|
// wicked-core#850: the gate answer carries the gated unit's receipt — what assured the work it asks about.
|
|
4452
|
-
const
|
|
4453
|
-
|
|
4454
|
-
|
|
4465
|
+
const unitAt = async (ord) => (await adapter.sessionsDetail()).find((v) => v.session.id === id)?.units?.find((u) => u.ord === ord);
|
|
4466
|
+
// (rejudge, api-types 0.134.0) A gate whose unit no judge could rule on says whether its judge
|
|
4467
|
+
// can be re-run now, and from which seats — the engine's own selection, read each time (a seat
|
|
4468
|
+
// signed in since the pause counts). Absent on every other gate and on an addon without the read.
|
|
4469
|
+
const rejudgeAt = async (ord, gated) => {
|
|
4470
|
+
const denial = gated?.denial;
|
|
4471
|
+
if (gated?.status !== 'rejected' || denial?.source !== 'judge_unavailable')
|
|
4472
|
+
return {};
|
|
4473
|
+
if (typeof adapter.rejudgeReadiness !== 'function')
|
|
4474
|
+
return {};
|
|
4475
|
+
try {
|
|
4476
|
+
const r = await adapter.rejudgeReadiness(id);
|
|
4477
|
+
if (r === null || !r.applies || r.ord !== ord)
|
|
4478
|
+
return {};
|
|
4479
|
+
return { rejudge: { available: r.available, eligible: r.eligible, missing: r.missing } };
|
|
4480
|
+
}
|
|
4481
|
+
catch {
|
|
4482
|
+
// A failed read offers nothing; the engine still judges a `rejudge` sent anyway.
|
|
4483
|
+
return {};
|
|
4484
|
+
}
|
|
4455
4485
|
};
|
|
4456
4486
|
// The record judges the cache (crew#1083 round 7): rows that disagree on the ord are 409
|
|
4457
4487
|
// `gate_unknown` whether or not something is cached, and a cached entry is served — for its
|
|
@@ -4474,8 +4504,11 @@ runtime = {}) {
|
|
|
4474
4504
|
|| (recorded.state === 'open' && cached.ord === recorded.ord)
|
|
4475
4505
|
|| (recorded.state === 'none'
|
|
4476
4506
|
&& (await adapter.sessionsDetail()).find((v) => v.session.id === id)?.session.status === 'awaiting_human');
|
|
4477
|
-
if (servable)
|
|
4478
|
-
|
|
4507
|
+
if (servable) {
|
|
4508
|
+
// One read of the gated unit serves both its receipt and its re-judge offer.
|
|
4509
|
+
const gated = await unitAt(cached.ord);
|
|
4510
|
+
return { runId: id, ...cached, assurance: receiptOf(gated), ...(await rejudgeAt(cached.ord, gated)) };
|
|
4511
|
+
}
|
|
4479
4512
|
gateCache.forget(id);
|
|
4480
4513
|
}
|
|
4481
4514
|
// A miss is not evidence of anything on its own, so ask the run what it is doing before paying
|
|
@@ -4545,7 +4578,8 @@ runtime = {}) {
|
|
|
4545
4578
|
// genuinely lost), as does a gate whose `awaitingHuman` predates the log's retention.
|
|
4546
4579
|
return reply.code(404).send({ error: 'No open gate for this run' });
|
|
4547
4580
|
}
|
|
4548
|
-
|
|
4581
|
+
const gatedUnit = run.units?.find((u) => u.ord === open.ord);
|
|
4582
|
+
return { runId: id, ...open, assurance: receiptOf(gatedUnit), ...(await rejudgeAt(open.ord, gatedUnit)) };
|
|
4549
4583
|
});
|
|
4550
4584
|
// ── Elicitation (DES-002) ────────────────────────────────────────────────────
|
|
4551
4585
|
//
|