@claudexor/orchestrator 3.3.7-rc.0 → 3.3.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/README.md +3 -1
- package/dist/attemptUsageCost.d.ts.map +1 -1
- package/dist/attemptUsageCost.js +15 -1
- package/dist/attemptUsageCost.js.map +1 -1
- package/dist/credential-profile-rotation.d.ts +5 -2
- package/dist/credential-profile-rotation.d.ts.map +1 -1
- package/dist/credential-profile-rotation.js +18 -11
- package/dist/credential-profile-rotation.js.map +1 -1
- package/dist/credential-profiles.d.ts +3 -0
- package/dist/credential-profiles.d.ts.map +1 -1
- package/dist/credential-profiles.js +10 -7
- package/dist/credential-profiles.js.map +1 -1
- package/dist/delegatedHome.d.ts +12 -4
- package/dist/delegatedHome.d.ts.map +1 -1
- package/dist/delegatedHome.js +5 -4
- package/dist/delegatedHome.js.map +1 -1
- package/dist/diffReview.d.ts +7 -0
- package/dist/diffReview.d.ts.map +1 -1
- package/dist/diffReview.js +1 -0
- package/dist/diffReview.js.map +1 -1
- package/dist/orchestrator.d.ts +13 -1
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +121 -122
- package/dist/orchestrator.js.map +1 -1
- package/dist/routing-failure.d.ts +35 -1
- package/dist/routing-failure.d.ts.map +1 -1
- package/dist/routing-failure.js +70 -3
- package/dist/routing-failure.js.map +1 -1
- package/dist/runFacts.d.ts.map +1 -1
- package/dist/runFacts.js +4 -13
- package/dist/runFacts.js.map +1 -1
- package/package.json +17 -17
|
@@ -1,6 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ArtifactStore } from "@claudexor/artifact-store";
|
|
2
|
+
import type { EventLog } from "@claudexor/event-log";
|
|
3
|
+
import { type RunFailureCode } from "@claudexor/schema";
|
|
4
|
+
/**
|
|
5
|
+
* Classify typed routing refusal separately from provider availability.
|
|
6
|
+
*
|
|
7
|
+
* Quota admission runs HERE, during routing, so that the account which will
|
|
8
|
+
* actually spawn is the one whose windows are checked (an opt-in default-subject
|
|
9
|
+
* rotation has to pick its ready profile before the budget router filters the
|
|
10
|
+
* exhausted default away). That placement means a typed refusal thrown by the
|
|
11
|
+
* profile preflight — `subscription_window_exhausted` and its `resetsAt` — never
|
|
12
|
+
* reaches the per-slot catch that records a candidate's `declaredFailure`, so
|
|
13
|
+
* the routing terminal is the only place left that can state it. Dropping it
|
|
14
|
+
* here would hand a scheduler `code: null` and leave it parsing prose for the
|
|
15
|
+
* one fact it needs: when to come back.
|
|
16
|
+
*/
|
|
2
17
|
export declare function routingFailureClassification(err: unknown): {
|
|
3
18
|
category: "config_error" | "harness_unavailable";
|
|
19
|
+
code: RunFailureCode | null;
|
|
20
|
+
resetsAt: string | null;
|
|
4
21
|
nextActions?: string[];
|
|
5
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* The whole routing-catch terminal, written once instead of per strategy.
|
|
25
|
+
*
|
|
26
|
+
* Every strategy's routing catch wrote the identical twenty-nine lines — the
|
|
27
|
+
* context_error note, the classified failure record, the diagnostic summary and
|
|
28
|
+
* the two lifecycle events — differing only in the mode label printed into the
|
|
29
|
+
* summary. Four copies is four places for the next routing field to be added to
|
|
30
|
+
* three of them, which is exactly how `code`/`resetsAt` reached the terminal
|
|
31
|
+
* late. The caller keeps its own `return`, because the result shape is the one
|
|
32
|
+
* thing that genuinely differs between strategies.
|
|
33
|
+
*/
|
|
34
|
+
export declare function writeRoutingFailureTerminal(store: ArtifactStore, paths: ReturnType<ArtifactStore["runPaths"]>, log: EventLog, run: {
|
|
35
|
+
runId: string;
|
|
36
|
+
modeLabel: string;
|
|
37
|
+
message: string;
|
|
38
|
+
err: unknown;
|
|
39
|
+
}): void;
|
|
6
40
|
//# sourceMappingURL=routing-failure.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-failure.d.ts","sourceRoot":"","sources":["../src/routing-failure.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routing-failure.d.ts","sourceRoot":"","sources":["../src/routing-failure.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAI1E;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,OAAO,GAAG;IAC1D,QAAQ,EAAE,cAAc,GAAG,qBAAqB,CAAC;IACjD,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAyBA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,EAC5C,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,OAAO,CAAA;CAAE,GACvE,IAAI,CA8BN"}
|
package/dist/routing-failure.js
CHANGED
|
@@ -1,12 +1,79 @@
|
|
|
1
|
+
import { join } from "node:path";
|
|
2
|
+
import { makeOutcomeFacts } from "@claudexor/schema";
|
|
1
3
|
import { harnessFailureNextActions } from "./harnessFailure.js";
|
|
2
|
-
|
|
4
|
+
import { declaredFailure, writeFailure } from "./runTerminalResults.js";
|
|
5
|
+
/**
|
|
6
|
+
* Classify typed routing refusal separately from provider availability.
|
|
7
|
+
*
|
|
8
|
+
* Quota admission runs HERE, during routing, so that the account which will
|
|
9
|
+
* actually spawn is the one whose windows are checked (an opt-in default-subject
|
|
10
|
+
* rotation has to pick its ready profile before the budget router filters the
|
|
11
|
+
* exhausted default away). That placement means a typed refusal thrown by the
|
|
12
|
+
* profile preflight — `subscription_window_exhausted` and its `resetsAt` — never
|
|
13
|
+
* reaches the per-slot catch that records a candidate's `declaredFailure`, so
|
|
14
|
+
* the routing terminal is the only place left that can state it. Dropping it
|
|
15
|
+
* here would hand a scheduler `code: null` and leave it parsing prose for the
|
|
16
|
+
* one fact it needs: when to come back.
|
|
17
|
+
*/
|
|
3
18
|
export function routingFailureClassification(err) {
|
|
4
19
|
const isPreflightRefusal = !!err &&
|
|
5
20
|
typeof err === "object" &&
|
|
6
21
|
err.code === "routing_preflight_refused";
|
|
7
22
|
if (isPreflightRefusal) {
|
|
8
|
-
|
|
23
|
+
// `routing_preflight_refused` is deliberately NOT a RunFailureCode: it is a
|
|
24
|
+
// classification marker, not a sub-code, so the terminal keeps `code: null`
|
|
25
|
+
// here exactly as it did before.
|
|
26
|
+
return {
|
|
27
|
+
category: "config_error",
|
|
28
|
+
code: null,
|
|
29
|
+
resetsAt: null,
|
|
30
|
+
nextActions: harnessFailureNextActions("config_error"),
|
|
31
|
+
};
|
|
9
32
|
}
|
|
10
|
-
|
|
33
|
+
const declared = declaredFailure(err);
|
|
34
|
+
return {
|
|
35
|
+
// A thrower that declared its own category outranks the default, and the
|
|
36
|
+
// schema validates it, so an unrelated error carrying a stray `category`
|
|
37
|
+
// property cannot smuggle in a bogus classification.
|
|
38
|
+
category: declared.category === "config_error" ? "config_error" : "harness_unavailable",
|
|
39
|
+
code: declared.code,
|
|
40
|
+
resetsAt: declared.resetsAt,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The whole routing-catch terminal, written once instead of per strategy.
|
|
45
|
+
*
|
|
46
|
+
* Every strategy's routing catch wrote the identical twenty-nine lines — the
|
|
47
|
+
* context_error note, the classified failure record, the diagnostic summary and
|
|
48
|
+
* the two lifecycle events — differing only in the mode label printed into the
|
|
49
|
+
* summary. Four copies is four places for the next routing field to be added to
|
|
50
|
+
* three of them, which is exactly how `code`/`resetsAt` reached the terminal
|
|
51
|
+
* late. The caller keeps its own `return`, because the result shape is the one
|
|
52
|
+
* thing that genuinely differs between strategies.
|
|
53
|
+
*/
|
|
54
|
+
export function writeRoutingFailureTerminal(store, paths, log, run) {
|
|
55
|
+
store.writeText(join(paths.contextDir, "context_error.md"), `# Routing Error\n\n${run.message}\n`);
|
|
56
|
+
// A routing preflight refusal is a config_error, not harness_unavailable
|
|
57
|
+
// (A-1/#22): classify identically across every strategy's routing catch.
|
|
58
|
+
const routingFailure = routingFailureClassification(run.err);
|
|
59
|
+
writeFailure(store, paths, {
|
|
60
|
+
phase: "routing",
|
|
61
|
+
category: routingFailure.category,
|
|
62
|
+
code: routingFailure.code,
|
|
63
|
+
resetsAt: routingFailure.resetsAt,
|
|
64
|
+
safeMessage: run.message,
|
|
65
|
+
runDir: paths.root,
|
|
66
|
+
...(routingFailure.nextActions ? { nextActions: routingFailure.nextActions } : {}),
|
|
67
|
+
});
|
|
68
|
+
store.writeText(join(paths.finalDir, "summary.md"), `# Run ${run.runId} (${run.modeLabel})\n\n- Lifecycle: failed\n- Phase: routing\n\n${run.message}\n`);
|
|
69
|
+
log.emit("output.ready", { kind: "summary", path: "final/summary.md", state: "diagnostic" });
|
|
70
|
+
log.emit("run.failed", {
|
|
71
|
+
lifecycle: "failed",
|
|
72
|
+
facts: makeOutcomeFacts("failed", { reason: "harness_failed" }),
|
|
73
|
+
reason: "harness_failed",
|
|
74
|
+
phase: "routing",
|
|
75
|
+
error: run.message,
|
|
76
|
+
failure_ref: "final/failure.yaml",
|
|
77
|
+
});
|
|
11
78
|
}
|
|
12
79
|
//# sourceMappingURL=routing-failure.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-failure.js","sourceRoot":"","sources":["../src/routing-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"routing-failure.js","sourceRoot":"","s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AAQ,EACb,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,QAAQ,CAAC;IAChB,6EAA6E;IAC7E,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"runFacts.d.ts","sourceRoot":"","sources":["../src/runFacts.ts"],"names":[],"mappings":"AAYA,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,QAAQ,CAAC;IAChB,6EAA6E;IAC7E,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAiHD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,mBAAmB,EACxB,eAAe,EAAE,eAAe,GAC/B,uBAAuB,CAEzB;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,mBAAmB,EACxB,cAAc,EAAE,eAAe,GAC9B,uBAAuB,CAoCzB"}
|
package/dist/runFacts.js
CHANGED
|
@@ -2,7 +2,7 @@ import { randomUUID } from "node:crypto";
|
|
|
2
2
|
import { closeSync, constants, fsyncSync, openSync, readFileSync, renameSync, unlinkSync, writeFileSync, } from "node:fs";
|
|
3
3
|
import { dirname, join } from "node:path";
|
|
4
4
|
import { RunTelemetry, SCHEMA_VERSION, requiredActionsFor, validateRunFactsInvariants, } from "@claudexor/schema";
|
|
5
|
-
import { nowIso } from "@claudexor/util";
|
|
5
|
+
import { fsyncDirectory, nowIso } from "@claudexor/util";
|
|
6
6
|
import { buildRunFacts } from "./runFactsBuilder.js";
|
|
7
7
|
import { terminalFactsFailurePresentation } from "./runFactsPresentation.js";
|
|
8
8
|
export { buildRunFacts };
|
|
@@ -29,20 +29,11 @@ function restoreSnapshot(path, prior) {
|
|
|
29
29
|
throw error;
|
|
30
30
|
}
|
|
31
31
|
if (removed)
|
|
32
|
-
|
|
32
|
+
fsyncDirectory(dirname(path));
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
35
|
replaceTextAtomically(path, prior.text);
|
|
36
36
|
}
|
|
37
|
-
function fsyncParentDirectory(parent) {
|
|
38
|
-
const parentFd = openSync(parent, constants.O_RDONLY | constants.O_DIRECTORY | constants.O_NOFOLLOW);
|
|
39
|
-
try {
|
|
40
|
-
fsyncSync(parentFd);
|
|
41
|
-
}
|
|
42
|
-
finally {
|
|
43
|
-
closeSync(parentFd);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
37
|
function replaceTextAtomically(path, text) {
|
|
47
38
|
const parent = dirname(path);
|
|
48
39
|
const tmp = join(parent, `.run-facts-restore-${randomUUID()}.tmp`);
|
|
@@ -54,7 +45,7 @@ function replaceTextAtomically(path, text) {
|
|
|
54
45
|
closeSync(fileFd);
|
|
55
46
|
fileFd = null;
|
|
56
47
|
renameSync(tmp, path);
|
|
57
|
-
|
|
48
|
+
fsyncDirectory(parent);
|
|
58
49
|
}
|
|
59
50
|
finally {
|
|
60
51
|
if (fileFd !== null)
|
|
@@ -81,7 +72,7 @@ function writeYamlAtomically(ctx, path, value) {
|
|
|
81
72
|
closeSync(fileFd);
|
|
82
73
|
}
|
|
83
74
|
renameSync(tmp, path);
|
|
84
|
-
|
|
75
|
+
fsyncDirectory(parent);
|
|
85
76
|
}
|
|
86
77
|
finally {
|
|
87
78
|
try {
|
package/dist/runFacts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runFacts.js","sourceRoot":"","sources":["../src/runFacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"runFacts.js","sourceRoot":"","sources":["../src/runFacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC;AAE7E,OAAO,EAAE,aAAa,EAAE,CAAC;AAezB,SAAS,YAAY,CAAC,IAAY;IAChC,IAAI,CAAC;QACH,OAAO,EAAE,OAAO,EAAE,IAAI,EA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AAE,cAAc,CAAC,MAAM;YAC5B,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,CAAC;SACZ;QACD,KAAK,EAAE;YACL,WAAW,EAAE,IAAI;YACjB,yBAAyB,EAAE,KAAK;SACjC;QACD,gBAAgB,EAAE,kBAAkB,CAAC,cAAc,EAAE,KAAK,CAAC;QAC3D,YAAY,EAAE,MAAM,EAAE;KACvB,CAAC,CAAC;IACH,OAAO,uBAAuB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/orchestrator",
|
|
3
|
-
"version": "3.3.7
|
|
3
|
+
"version": "3.3.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Hub that composes all subsystems and implements the three canonical intents (ask, plan, agent) with their strategy flags (ask deep-scan, plan solo/council, agent best-of-N race, attempt caps, until-clean, create, delegate).",
|
|
6
6
|
"type": "module",
|
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"ajv": "^8.20.0",
|
|
20
|
-
"@claudexor/
|
|
21
|
-
"@claudexor/
|
|
22
|
-
"@claudexor/
|
|
23
|
-
"@claudexor/
|
|
24
|
-
"@claudexor/
|
|
25
|
-
"@claudexor/
|
|
26
|
-
"@claudexor/delivery": "3.3.7
|
|
27
|
-
"@claudexor/
|
|
28
|
-
"@claudexor/
|
|
29
|
-
"@claudexor/
|
|
30
|
-
"@claudexor/schema": "3.3.7
|
|
31
|
-
"@claudexor/synthesis": "3.3.7
|
|
32
|
-
"@claudexor/util": "3.3.7
|
|
33
|
-
"@claudexor/workspace": "3.3.7
|
|
34
|
-
"@claudexor/
|
|
20
|
+
"@claudexor/budget": "3.3.7",
|
|
21
|
+
"@claudexor/arbitration": "3.3.7",
|
|
22
|
+
"@claudexor/config": "3.3.7",
|
|
23
|
+
"@claudexor/context": "3.3.7",
|
|
24
|
+
"@claudexor/core": "3.3.7",
|
|
25
|
+
"@claudexor/artifact-store": "3.3.7",
|
|
26
|
+
"@claudexor/delivery": "3.3.7",
|
|
27
|
+
"@claudexor/event-log": "3.3.7",
|
|
28
|
+
"@claudexor/gateway": "3.3.7",
|
|
29
|
+
"@claudexor/policy": "3.3.7",
|
|
30
|
+
"@claudexor/schema": "3.3.7",
|
|
31
|
+
"@claudexor/synthesis": "3.3.7",
|
|
32
|
+
"@claudexor/util": "3.3.7",
|
|
33
|
+
"@claudexor/workspace": "3.3.7",
|
|
34
|
+
"@claudexor/review": "3.3.7"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@claudexor/harness-fake": "3.3.7
|
|
37
|
+
"@claudexor/harness-fake": "3.3.7"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|