@femtomc/mu-orchestrator 26.2.72 → 26.2.74
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/dag_runner.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import type { ForumStore } from "@femtomc/mu-forum";
|
|
|
4
4
|
import type { IssueStore } from "@femtomc/mu-issue";
|
|
5
5
|
import type { ModelOverrides } from "./model_resolution.js";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Orchestration reconcile contract for `DagRunner`.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Reconcile behavior is always on (no feature-flag fork) and must preserve
|
|
10
|
+
* the durable state transitions and emitted events defined below.
|
|
11
11
|
*/
|
|
12
12
|
export type DagRunnerReconcilePhase = "turn_start" | "unstick_retryable" | "validate_root" | "select_leaf" | "dispatch_issue" | "repair_deadlock" | "postcondition_reconcile" | "requeue_retryable" | "turn_end";
|
|
13
13
|
/** Review/refinement control loop that reconcile implementations must honor. */
|
|
@@ -15,13 +15,13 @@ export type DagRunnerReviewLoopPhase = "plan" | "execute" | "review" | "accept"
|
|
|
15
15
|
/**
|
|
16
16
|
* Enumerated invariants (kept implementation-facing so tests can assert these explicitly).
|
|
17
17
|
*/
|
|
18
|
-
export declare const DAG_RUNNER_CONTRACT_INVARIANTS: readonly ["ORCH-RECON-001: Reconcile is default-on and must not branch behind rollout flags.", "ORCH-RECON-002: At most one issue is claimed+dispatched per reconcile step for a root.", "ORCH-RECON-003: A dispatched issue must end closed; otherwise the runner force-closes with outcome=failure.", "ORCH-RECON-004: failure/needs_work outcomes may be retried only up to the per-issue attempt budget (currently 3).", "ORCH-RECON-005: Root finality check (`validate(root).is_final`) runs before dispatch each step.", "ORCH-RECON-006: Review loop semantics are plan -> execute -> review -> (accept | refine).", "ORCH-RECON-007: Refine loops are budgeted (default max_refine_rounds_per_root=3); exhaustion is terminal.", "ORCH-RECON-008:
|
|
18
|
+
export declare const DAG_RUNNER_CONTRACT_INVARIANTS: readonly ["ORCH-RECON-001: Reconcile is default-on and must not branch behind rollout flags.", "ORCH-RECON-002: At most one issue is claimed+dispatched per reconcile step for a root.", "ORCH-RECON-003: A dispatched issue must end closed; otherwise the runner force-closes with outcome=failure.", "ORCH-RECON-004: failure/needs_work outcomes may be retried only up to the per-issue attempt budget (currently 3).", "ORCH-RECON-005: Root finality check (`validate(root).is_final`) runs before dispatch each step.", "ORCH-RECON-006: Review loop semantics are plan -> execute -> review -> (accept | refine).", "ORCH-RECON-007: Refine loops are budgeted (default max_refine_rounds_per_root=3); exhaustion is terminal.", "ORCH-RECON-008: Integrations must preserve this state machine and emitted events."];
|
|
19
19
|
/** Default refine-loop budget for upcoming reviewer integration modules. */
|
|
20
20
|
export declare const DEFAULT_MAX_REFINE_ROUNDS_PER_ROOT = 3;
|
|
21
21
|
/**
|
|
22
22
|
* Reviewer semantics contract:
|
|
23
23
|
* - accept => review step closes with `success`; root can move to terminal validation
|
|
24
|
-
* - refine => review step closes with `
|
|
24
|
+
* - refine => review step closes with `needs_work` or `refine`, then orchestrator schedules follow-up work
|
|
25
25
|
*/
|
|
26
26
|
export declare const REVIEW_DECISION_TO_OUTCOME: {
|
|
27
27
|
readonly accept: "success";
|
package/dist/dag_runner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dag_runner.d.ts","sourceRoot":"","sources":["../src/dag_runner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAA8D,MAAM,mBAAmB,CAAC;AAEnH,OAAO,EAEN,KAAK,QAAQ,EAKb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,uBAAuB,CAAC;AAGjF;;;;;GAKG;A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AI,CAAC;CAC9B,CAAC;AA4CF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAIvE;AAED,qBAAa,SAAS;;gBAapB,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE;QACL,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB,cAAc,CAAC,EAAE,cAAc,CAAC;QAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;KAC3B;IAuMP;;;;;;;;;;;;;;OAcG;IACG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAW,EAAE,IAAI,GAAE,gBAAqB,GAAG,OAAO,CAAC,SAAS,CAAC;CA6VjG"}
|
package/dist/dag_runner.js
CHANGED
|
@@ -15,14 +15,14 @@ export const DAG_RUNNER_CONTRACT_INVARIANTS = [
|
|
|
15
15
|
"ORCH-RECON-005: Root finality check (`validate(root).is_final`) runs before dispatch each step.",
|
|
16
16
|
"ORCH-RECON-006: Review loop semantics are plan -> execute -> review -> (accept | refine).",
|
|
17
17
|
"ORCH-RECON-007: Refine loops are budgeted (default max_refine_rounds_per_root=3); exhaustion is terminal.",
|
|
18
|
-
"ORCH-RECON-008:
|
|
18
|
+
"ORCH-RECON-008: Integrations must preserve this state machine and emitted events.",
|
|
19
19
|
];
|
|
20
20
|
/** Default refine-loop budget for upcoming reviewer integration modules. */
|
|
21
21
|
export const DEFAULT_MAX_REFINE_ROUNDS_PER_ROOT = 3;
|
|
22
22
|
/**
|
|
23
23
|
* Reviewer semantics contract:
|
|
24
24
|
* - accept => review step closes with `success`; root can move to terminal validation
|
|
25
|
-
* - refine => review step closes with `
|
|
25
|
+
* - refine => review step closes with `needs_work` or `refine`, then orchestrator schedules follow-up work
|
|
26
26
|
*/
|
|
27
27
|
export const REVIEW_DECISION_TO_OUTCOME = {
|
|
28
28
|
accept: "success",
|
|
@@ -11,7 +11,7 @@ export type PiStreamRendererOpts = {
|
|
|
11
11
|
showThinking?: boolean;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Compact renderer for pi JSONL event streams (pi CLI `--mode json` and pi SDK AgentEvent JSON).
|
|
15
15
|
*
|
|
16
16
|
* Intended usage:
|
|
17
17
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@femtomc/mu-orchestrator",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.74",
|
|
4
4
|
"description": "Long-running execution engine for mu work plans.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mu",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dist/**"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@femtomc/mu-agent": "26.2.
|
|
25
|
-
"@femtomc/mu-core": "26.2.
|
|
26
|
-
"@femtomc/mu-forum": "26.2.
|
|
27
|
-
"@femtomc/mu-issue": "26.2.
|
|
24
|
+
"@femtomc/mu-agent": "26.2.74",
|
|
25
|
+
"@femtomc/mu-core": "26.2.74",
|
|
26
|
+
"@femtomc/mu-forum": "26.2.74",
|
|
27
|
+
"@femtomc/mu-issue": "26.2.74",
|
|
28
28
|
"@mariozechner/pi-coding-agent": "^0.53.0",
|
|
29
29
|
"@mariozechner/pi-ai": "^0.53.0"
|
|
30
30
|
}
|