@jaggerxtrm/specialists 3.5.0 → 3.6.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.
Files changed (37) hide show
  1. package/README.md +12 -1
  2. package/config/hooks/specialists-session-start.mjs +105 -0
  3. package/config/nodes/research-multi.node.json +11 -0
  4. package/config/nodes/research.node.json +27 -0
  5. package/config/presets.json +26 -0
  6. package/config/skills/specialists-creator/SKILL.md +323 -145
  7. package/config/skills/specialists-creator/scripts/scaffold-specialist.ts +228 -0
  8. package/config/skills/using-nodes/SKILL.md +333 -0
  9. package/config/skills/using-specialists/SKILL.md +843 -173
  10. package/config/specialists/debugger.specialist.json +74 -0
  11. package/config/specialists/executor.specialist.json +117 -0
  12. package/config/specialists/explorer.specialist.json +82 -0
  13. package/config/specialists/memory-processor.specialist.json +65 -0
  14. package/config/specialists/node-coordinator.specialist.json +64 -0
  15. package/config/specialists/overthinker.specialist.json +65 -0
  16. package/config/specialists/parallel-review.specialist.json +65 -0
  17. package/config/specialists/planner.specialist.json +93 -0
  18. package/config/specialists/researcher.specialist.json +65 -0
  19. package/config/specialists/reviewer.specialist.json +60 -0
  20. package/config/specialists/specialists-creator.specialist.json +68 -0
  21. package/config/specialists/sync-docs.specialist.json +80 -0
  22. package/config/specialists/test-runner.specialist.json +67 -0
  23. package/config/specialists/xt-merge.specialist.json +60 -0
  24. package/dist/index.js +13818 -2743
  25. package/package.json +6 -3
  26. package/config/specialists/debugger.specialist.yaml +0 -121
  27. package/config/specialists/executor.specialist.yaml +0 -257
  28. package/config/specialists/explorer.specialist.yaml +0 -85
  29. package/config/specialists/memory-processor.specialist.yaml +0 -154
  30. package/config/specialists/overthinker.specialist.yaml +0 -76
  31. package/config/specialists/parallel-review.specialist.yaml +0 -75
  32. package/config/specialists/planner.specialist.yaml +0 -94
  33. package/config/specialists/reviewer.specialist.yaml +0 -142
  34. package/config/specialists/specialists-creator.specialist.yaml +0 -90
  35. package/config/specialists/sync-docs.specialist.yaml +0 -68
  36. package/config/specialists/test-runner.specialist.yaml +0 -65
  37. package/config/specialists/xt-merge.specialist.yaml +0 -159
@@ -0,0 +1,228 @@
1
+ import { readFileSync, readdirSync, writeFileSync } from "node:fs";
2
+ import { join } from "node:path";
3
+ import * as z from "zod";
4
+ import { SpecialistSchema } from "../../../../src/specialist/schema.ts";
5
+
6
+ const DEAD_FIELDS = new Set([
7
+ "preferred_profile",
8
+ "approval_mode",
9
+ "normalize_template",
10
+ "heartbeat",
11
+ ]);
12
+
13
+ interface AddedField {
14
+ path: string;
15
+ value: unknown;
16
+ }
17
+
18
+ interface ScaffoldResult {
19
+ value: unknown;
20
+ added: AddedField[];
21
+ changed: boolean;
22
+ }
23
+
24
+ function printUsage(): void {
25
+ console.error("Usage: node scripts/scaffold-specialist.ts <path-to-specialist.json>");
26
+ console.error(" or: node scripts/scaffold-specialist.ts --all");
27
+ }
28
+
29
+ function unwrapSchema(schema: z.ZodTypeAny): z.ZodTypeAny {
30
+ let current = schema;
31
+ while (
32
+ current instanceof z.ZodOptional ||
33
+ current instanceof z.ZodNullable ||
34
+ current instanceof z.ZodDefault ||
35
+ current instanceof z.ZodEffects
36
+ ) {
37
+ if (current instanceof z.ZodEffects) {
38
+ current = current.innerType();
39
+ continue;
40
+ }
41
+
42
+ if (current instanceof z.ZodDefault) {
43
+ current = current._def.innerType;
44
+ continue;
45
+ }
46
+
47
+ current = current.unwrap();
48
+ }
49
+ return current;
50
+ }
51
+
52
+ function isOptionalWithoutDefault(schema: z.ZodTypeAny): boolean {
53
+ if (schema instanceof z.ZodOptional) {
54
+ return true;
55
+ }
56
+ if (schema instanceof z.ZodNullable) {
57
+ return isOptionalWithoutDefault(schema.unwrap());
58
+ }
59
+ if (schema instanceof z.ZodEffects) {
60
+ return isOptionalWithoutDefault(schema.innerType());
61
+ }
62
+ if (schema instanceof z.ZodDefault) {
63
+ return false;
64
+ }
65
+ return false;
66
+ }
67
+
68
+ function isRecord(value: unknown): value is Record<string, unknown> {
69
+ return typeof value === "object" && value !== null && !Array.isArray(value);
70
+ }
71
+
72
+ function formatValue(value: unknown): string {
73
+ if (typeof value === "string") {
74
+ return JSON.stringify(value);
75
+ }
76
+ return JSON.stringify(value);
77
+ }
78
+
79
+ function scaffoldSchema(schema: z.ZodTypeAny, currentValue: unknown, path: string[]): ScaffoldResult {
80
+ if (schema instanceof z.ZodEffects) {
81
+ return scaffoldSchema(schema.innerType(), currentValue, path);
82
+ }
83
+
84
+ if (schema instanceof z.ZodDefault) {
85
+ const inner = schema._def.innerType;
86
+ if (currentValue === undefined) {
87
+ const defaultValue = schema._def.defaultValue();
88
+ const nested = scaffoldSchema(inner, defaultValue, path);
89
+ return {
90
+ value: nested.value,
91
+ added: [{ path: path.join("."), value: nested.value }, ...nested.added],
92
+ changed: true,
93
+ };
94
+ }
95
+ return scaffoldSchema(inner, currentValue, path);
96
+ }
97
+
98
+ if (schema instanceof z.ZodOptional) {
99
+ if (currentValue === undefined) {
100
+ return { value: currentValue, added: [], changed: false };
101
+ }
102
+ return scaffoldSchema(schema.unwrap(), currentValue, path);
103
+ }
104
+
105
+ if (schema instanceof z.ZodNullable) {
106
+ if (currentValue === null || currentValue === undefined) {
107
+ return { value: currentValue, added: [], changed: false };
108
+ }
109
+ return scaffoldSchema(schema.unwrap(), currentValue, path);
110
+ }
111
+
112
+ if (schema instanceof z.ZodArray) {
113
+ if (currentValue === undefined) {
114
+ return {
115
+ value: [],
116
+ added: [{ path: path.join("."), value: [] }],
117
+ changed: true,
118
+ };
119
+ }
120
+ return { value: currentValue, added: [], changed: false };
121
+ }
122
+
123
+ if (schema instanceof z.ZodEnum) {
124
+ return { value: currentValue, added: [], changed: false };
125
+ }
126
+
127
+ if (schema instanceof z.ZodObject) {
128
+ const source = isRecord(currentValue) ? currentValue : undefined;
129
+ const draft: Record<string, unknown> = source ? { ...source } : {};
130
+ const added: AddedField[] = [];
131
+ let changed = false;
132
+
133
+ const shape = schema.shape;
134
+ for (const [key, childSchema] of Object.entries(shape)) {
135
+ if (DEAD_FIELDS.has(key)) {
136
+ continue;
137
+ }
138
+
139
+ const childPath = [...path, key];
140
+ const childValue = source?.[key];
141
+ const childResult = scaffoldSchema(childSchema as z.ZodTypeAny, childValue, childPath);
142
+
143
+ if (!childResult.changed) {
144
+ continue;
145
+ }
146
+
147
+ draft[key] = childResult.value;
148
+ added.push(...childResult.added);
149
+ changed = true;
150
+ }
151
+
152
+ if (!source) {
153
+ if (!changed || isOptionalWithoutDefault(schema)) {
154
+ return { value: currentValue, added, changed: false };
155
+ }
156
+ return { value: draft, added, changed: true };
157
+ }
158
+
159
+ return { value: changed ? draft : currentValue, added, changed };
160
+ }
161
+
162
+ const unwrapped = unwrapSchema(schema);
163
+ if (
164
+ unwrapped instanceof z.ZodString ||
165
+ unwrapped instanceof z.ZodNumber ||
166
+ unwrapped instanceof z.ZodBoolean
167
+ ) {
168
+ return { value: currentValue, added: [], changed: false };
169
+ }
170
+
171
+ return { value: currentValue, added: [], changed: false };
172
+ }
173
+
174
+ function loadTargets(arg: string): string[] {
175
+ if (arg !== "--all") {
176
+ return [arg];
177
+ }
178
+
179
+ const specialistsDir = join(process.cwd(), "config", "specialists");
180
+ return readdirSync(specialistsDir)
181
+ .filter(file => file.endsWith(".specialist.json"))
182
+ .sort()
183
+ .map(file => join(specialistsDir, file));
184
+ }
185
+
186
+ function processFile(filePath: string): AddedField[] {
187
+ const raw = readFileSync(filePath, "utf8");
188
+ const parsed = JSON.parse(raw);
189
+
190
+ if (!isRecord(parsed)) {
191
+ throw new Error(`Expected JSON object in ${filePath}`);
192
+ }
193
+
194
+ const result = scaffoldSchema(SpecialistSchema, parsed, []);
195
+ if (!result.changed) {
196
+ return [];
197
+ }
198
+
199
+ writeFileSync(filePath, `${JSON.stringify(result.value, null, 2)}\n`, "utf8");
200
+ return result.added;
201
+ }
202
+
203
+ function run(): void {
204
+ const targetArg = process.argv[2];
205
+ if (!targetArg) {
206
+ printUsage();
207
+ process.exit(64);
208
+ }
209
+
210
+ const targets = loadTargets(targetArg);
211
+ if (targets.length === 0) {
212
+ console.log("No specialist files found.");
213
+ return;
214
+ }
215
+
216
+ for (const filePath of targets) {
217
+ const addedFields = processFile(filePath);
218
+ if (addedFields.length === 0) {
219
+ continue;
220
+ }
221
+
222
+ for (const field of addedFields) {
223
+ console.log(`${filePath}: ${field.path} = ${formatValue(field.value)}`);
224
+ }
225
+ }
226
+ }
227
+
228
+ run();
@@ -0,0 +1,333 @@
1
+ ---
2
+ name: using-nodes
3
+ description: >
4
+ Use this skill for node-coordinator behavior. The coordinator is a CLI-native
5
+ orchestrator that drives NodeSupervisor via `sp node` commands.
6
+ version: 3.2
7
+ ---
8
+
9
+ # Using Nodes
10
+
11
+ ## Purpose
12
+
13
+ This skill is the coordinator playbook for `NodeSupervisor` runs.
14
+
15
+ The coordinator is a **pure orchestrator** — it coordinates, it does not do the work itself.
16
+
17
+ Think CEO: a CEO routes work to specialists, reads their reports, and makes decisions. A CEO does not write code, read files, or produce research directly.
18
+
19
+ The coordinator is **CLI-native**:
20
+ - reason about the node objective,
21
+ - call `sp node` plus `sp ps`/`sp result` commands via bash,
22
+ - read JSON command responses,
23
+ - synthesize member evidence at phase boundaries,
24
+ - decide the next command,
25
+ - never touch the filesystem directly.
26
+
27
+ NodeSupervisor owns side effects and lifecycle transitions.
28
+
29
+ ---
30
+
31
+ ## Node ID discipline
32
+
33
+ **YOUR NODE ID is in `$SPECIALISTS_NODE_ID`** — always use this env var in commands. Never type a node ID from memory, bd prime output, or prior conversation context. The correct ID is shown at the top of your first-turn context.
34
+
35
+ ```bash
36
+ # CORRECT — always use the env var or the exact ID from your first-turn context header
37
+ sp ps --node $SPECIALISTS_NODE_ID --json
38
+
39
+ # WRONG — never hardcode a node ID you saw in memory or a previous run
40
+ sp ps --node research-XXXXXXXX --json
41
+ ```
42
+
43
+ Node refs accept any unique prefix (for operators), such as `research`, `research-5eaf`, or the full node ID.
44
+ Coordinator commands should still use `$SPECIALISTS_NODE_ID` directly.
45
+
46
+ ---
47
+
48
+ ## Hard constraints
49
+
50
+ 1. **You coordinate only — you never do the work yourself**
51
+ - If you want to read a file or explore the codebase: STOP. Spawn an explorer member and read its result via `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json`.
52
+ - If you want to write code: STOP. Spawn an executor member.
53
+ - Your only tool is `bash`. Your only bash commands are `sp node` plus `sp ps`/`sp result`.
54
+ - Do not call `read`, `ls`, `find`, `grep`, or any file inspection tool. You have none.
55
+
56
+ 2. **Use only `sp node` command surface for orchestration**
57
+ - Do not emit legacy contract JSON plans as the primary control mechanism.
58
+ - Do not call deprecated node action channels.
59
+
60
+ 3. **No nested nodes**
61
+ - Do not spawn `node-coordinator` as a member.
62
+ - Do not route work to other node configs from inside a node run.
63
+
64
+ 4. **Use JSON responses for control decisions**
65
+ - Call commands with `--json` whenever output informs next steps.
66
+ - Treat command response payloads as the coordinator’s state inputs.
67
+
68
+ 5. **Respect phase barriers**
69
+ - A phase is not complete until `sp node wait-phase ...` reports completion.
70
+ - After each completed barrier, read the participating member results before deciding the next step.
71
+
72
+ 6. **Do not steer yourself**
73
+ - `sp steer <coordinator-job-id> ...` is OPERATOR-ONLY.
74
+ - It steers the coordinator job itself, not member jobs.
75
+ - The coordinator must never steer its own coordinator job.
76
+
77
+ ---
78
+
79
+ ## Command reference
80
+
81
+ | Command | Audience | Purpose |
82
+ | --- | --- | --- |
83
+ | `sp ps --node $SPECIALISTS_NODE_ID --json` | Coordinator | Read node state, registry, and readiness. |
84
+ | `sp node spawn-member --node $SPECIALISTS_NODE_ID --member-key <key> --specialist <name> [--bead <id>] [--phase <id>] [--json]` | Coordinator | Launch a member for the current phase. |
85
+ | `sp node wait-phase --node $SPECIALISTS_NODE_ID --phase <id> --members <k1,k2,...> [--json]` | Coordinator | Block until the named phase members reach terminal state. |
86
+ | `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json` | Coordinator | Read the persisted output for a specific member after a phase barrier. |
87
+ | `sp node create-bead --node $SPECIALISTS_NODE_ID --title '...' [--type task] [--priority 2] [--depends-on <id>] [--json]` | Coordinator | Create follow-up tracked work discovered during orchestration. |
88
+ | `sp node complete --node <node-id> --strategy <pr\|manual> [--json]` | Operator-only | Force-close node lifecycle when coordinator has reached waiting and operator decides to finalize. |
89
+ | `sp node members <node-id> [--json]` | Operator | Inspect member registry and lineage. |
90
+ | `sp node memory <node-id> [--json]` | Operator | Inspect persisted node memory entries. |
91
+ | `sp node stop <node-id>` | Operator | Stop the coordinator process. |
92
+ | `sp node promote <node-id> <finding-id> --to-bead <bead-id> [--json]` | Operator | Promote a finding into a bead note. |
93
+
94
+ ---
95
+
96
+ ## Core loop
97
+
98
+ 1. **Read status**
99
+ - `sp ps --node $SPECIALISTS_NODE_ID --json`
100
+ - identify current phase, member registry, blockers, and completion readiness.
101
+
102
+ 2. **Issue orchestration commands**
103
+ - spawn members as needed,
104
+ - create follow-up beads when new tracked work emerges,
105
+ - wait on the phase barrier before advancing.
106
+
107
+ 3. **Read member evidence**
108
+ - after `wait-phase` succeeds, call `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json` for each participating member,
109
+ - synthesize the outputs into the next decision.
110
+
111
+ 4. **Re-check status**
112
+ - re-read node status after each command sequence,
113
+ - adjust the plan from actual runtime state.
114
+
115
+ 5. **Coordinator terminal behavior**
116
+ - once goals are satisfied (or terminally blocked with explicit reason),
117
+ - synthesize evidence and enter/remain in `waiting`.
118
+ - do not issue a completion command; operator decides lifecycle closure via `sp node stop` (or force-close via `sp node complete`).
119
+
120
+ ---
121
+
122
+ ## Phase planning and synthesis
123
+
124
+ ### Phase loop
125
+
126
+ Use this exact loop:
127
+
128
+ 1. `status`
129
+ 2. decide the next phase/member set
130
+ 3. launch members
131
+ 4. `wait-phase`
132
+ 5. `result --wait`
133
+ 6. synthesize evidence
134
+ 7. choose next action or enter waiting after synthesis
135
+
136
+ ### Synthesis mandate
137
+
138
+ Before declaring synthesis complete, the coordinator **MUST** read the persisted results for the members that produced the evidence.
139
+
140
+ Do not rely only on status transitions. `wait-phase` tells you the members are terminal; `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json` tells you what they actually found or changed. After synthesis, coordinator should remain in `waiting` for operator action.
141
+
142
+ ### Steering guidance
143
+
144
+ Only steer when concrete result evidence shows a gap, contradiction, or missed requirement.
145
+
146
+ Do **not** steer speculatively.
147
+ - Good: result evidence shows a reviewer found a missing acceptance criterion.
148
+ - Bad: steering a member before reading its completed output.
149
+
150
+ ---
151
+
152
+ ## Wait-phase semantics
153
+
154
+ `sp node wait-phase` is a blocking coordination barrier.
155
+
156
+ Use it when:
157
+ - all members in a phase have been dispatched,
158
+ - progression depends on member terminal outcomes,
159
+ - review/fix loops require strict stage boundaries.
160
+
161
+ Pattern:
162
+ 1. spawn phase members,
163
+ 2. call `wait-phase` with the exact member keys for that phase,
164
+ 3. read each member result with `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json`,
165
+ 4. only then move to the next phase or completion decision.
166
+
167
+ ---
168
+
169
+ ## Error handling
170
+
171
+ When a command fails:
172
+
173
+ 1. inspect the error JSON payload,
174
+ 2. classify the failure (invalid args, missing member/bead, transient runtime condition),
175
+ 3. retry with corrected arguments when recoverable,
176
+ 4. if not recoverable, create a tracking bead and leave explicit blocked guidance for operator closure.
177
+
178
+ ### Example recovery cases
179
+
180
+ - invalid `member-key` or missing `phase`: call `spawn-member` again with corrected values.
181
+ - `wait-phase` references an unknown member: refresh via `status --json`, then retry with the valid member set.
182
+ - `result` reports no `job_id` yet: the member was not launched or not persisted yet; re-check `status --json`.
183
+ - `result` reports no persisted output yet: the member finished without a stored result; inspect `members`, `feed`, or escalate with a follow-up bead.
184
+ - operator close/force-close rejected by current state: refresh status, satisfy unmet prerequisites, retry from operator context.
185
+
186
+ ---
187
+
188
+ ## Example command sequences
189
+
190
+ ### Sequence A: explore -> synthesis -> impl -> waiting
191
+
192
+ ```bash
193
+ sp ps --node $SPECIALISTS_NODE_ID --json
194
+ sp node spawn-member --node $SPECIALISTS_NODE_ID --member-key explore-1 --specialist explorer --phase explore-1 --json
195
+ sp node wait-phase --node $SPECIALISTS_NODE_ID --phase explore-1 --members explore-1 --json
196
+ sp result $SPECIALISTS_NODE_ID:explore-1 --wait --json
197
+ # Synthesize the explore findings and decide whether impl is required.
198
+ sp node spawn-member --node $SPECIALISTS_NODE_ID --member-key impl-1 --specialist executor --phase impl-1 --json
199
+ sp node wait-phase --node $SPECIALISTS_NODE_ID --phase impl-1 --members impl-1 --json
200
+ sp result $SPECIALISTS_NODE_ID:impl-1 --wait --json
201
+ # Synthesize impl evidence, then stay in waiting for operator closure.
202
+ sp ps --node $SPECIALISTS_NODE_ID --json
203
+ ```
204
+
205
+ ### Sequence B: discovered work + review synthesis + operator closure
206
+
207
+ ```bash
208
+ sp ps --node $SPECIALISTS_NODE_ID --json
209
+ sp node create-bead --node $SPECIALISTS_NODE_ID --title 'Follow-up: tighten node retry policy' --type task --priority 2 --json
210
+ sp node spawn-member --node $SPECIALISTS_NODE_ID --member-key review-1 --specialist reviewer --phase review-1 --json
211
+ sp node wait-phase --node $SPECIALISTS_NODE_ID --phase review-1 --members review-1 --json
212
+ sp result $SPECIALISTS_NODE_ID:review-1 --wait --json
213
+ # Synthesize the review evidence, then decide whether a fix phase is needed.
214
+ # If no more phases are needed, remain waiting and let operator close/stop the node.
215
+ sp ps --node $SPECIALISTS_NODE_ID --json
216
+ ```
217
+
218
+ ---
219
+
220
+ ## Practical heuristics
221
+
222
+ - Parallelize only when member scopes are disjoint.
223
+ - Prefer explicit short phases over long implicit waves.
224
+ - Re-read `status --json` before every major transition.
225
+ - Keep retries bounded; avoid infinite command loops.
226
+ - If progress stalls, surface the blocker via `create-bead` and remain waiting with explicit operator guidance.
227
+ - Treat `wait-phase` + `result --full` as a pair. One without the other is incomplete coordination.
228
+
229
+ ---
230
+
231
+ <!-- node-contract:generated:start -->
232
+ ## Generated node coordinator reference
233
+
234
+ ### Coordinator command set
235
+ - `sp node spawn-member --node $SPECIALISTS_NODE_ID --member-key <key> --specialist <name> [--bead <id>] [--phase <id>] [--json]`
236
+ - `sp node create-bead --node $SPECIALISTS_NODE_ID --title "..." [--type task] [--priority 2] [--depends-on <id>] [--json]`
237
+ - `sp node wait-phase --node $SPECIALISTS_NODE_ID --phase <id> --members <k1,k2,...> [--json]`
238
+ - `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json`
239
+ - `sp ps --node $SPECIALISTS_NODE_ID --json`
240
+
241
+ ### Operator-only closure commands
242
+ - `sp node stop <node-id>`
243
+ - `sp node complete --node <node-id> --strategy <pr|manual> [--json]`
244
+
245
+ ### Phase-boundary synthesis rule
246
+ - After `wait-phase` completes, read every participating member result with `sp result $SPECIALISTS_NODE_ID:<member-key> --wait --json`, synthesize the evidence, then decide the next phase or stay waiting for operator closure.
247
+
248
+ ### Phase kinds
249
+ - `explore`: Discovery and evidence gathering.
250
+ - `design`: Design options and decision framing.
251
+ - `impl`: Code/config implementation and edits.
252
+ - `review`: Structured quality or correctness review.
253
+ - `fix`: Apply corrections for review findings.
254
+ - `re_review`: Verification pass after fixes.
255
+ - `custom`: Project-specific phase with explicit intent.
256
+
257
+ ### Completion strategies
258
+ - `pr`
259
+ - `manual`
260
+
261
+ ### State machine
262
+ ```json
263
+ {
264
+ "states": [
265
+ "created",
266
+ "starting",
267
+ "running",
268
+ "waiting",
269
+ "degraded",
270
+ "awaiting_merge",
271
+ "fixing_after_review",
272
+ "failed",
273
+ "error",
274
+ "done",
275
+ "stopped"
276
+ ],
277
+ "transitions": {
278
+ "created": [
279
+ "starting",
280
+ "stopped"
281
+ ],
282
+ "starting": [
283
+ "running",
284
+ "error",
285
+ "stopped"
286
+ ],
287
+ "running": [
288
+ "waiting",
289
+ "degraded",
290
+ "awaiting_merge",
291
+ "done",
292
+ "error",
293
+ "stopped",
294
+ "failed"
295
+ ],
296
+ "waiting": [
297
+ "running",
298
+ "degraded",
299
+ "awaiting_merge",
300
+ "done",
301
+ "error",
302
+ "stopped",
303
+ "failed"
304
+ ],
305
+ "degraded": [
306
+ "running",
307
+ "fixing_after_review",
308
+ "failed",
309
+ "error",
310
+ "stopped"
311
+ ],
312
+ "awaiting_merge": [
313
+ "done",
314
+ "fixing_after_review",
315
+ "failed",
316
+ "error",
317
+ "stopped"
318
+ ],
319
+ "fixing_after_review": [
320
+ "awaiting_merge",
321
+ "running",
322
+ "failed",
323
+ "error",
324
+ "stopped"
325
+ ],
326
+ "failed": [],
327
+ "error": [],
328
+ "done": [],
329
+ "stopped": []
330
+ }
331
+ }
332
+ ```
333
+ <!-- node-contract:generated:end -->