opencode-swarm 7.181.0 → 7.181.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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-pqrfkm9d.js → coder-settlement-ee8bmg83.js} +4 -4
- package/dist/cli/{config-doctor-bjqg57jr.js → config-doctor-mnmxzg86.js} +3 -3
- package/dist/cli/{core-3t3dzkrc.js → core-m9yymv84.js} +2 -2
- package/dist/cli/{curator-y8qr4xgh.js → curator-7nmwpcxy.js} +22 -22
- package/dist/cli/{curator-drift-gay4fx5j.js → curator-drift-q42fr0c9.js} +5 -5
- package/dist/cli/{curator-llm-factory-1wx0bd8k.js → curator-llm-factory-s1b2p162.js} +22 -22
- package/dist/cli/{evidence-summary-service-jeewwfpg.js → evidence-summary-service-m2b0mxmr.js} +9 -9
- package/dist/cli/{gate-evidence-ncnfxz7t.js → gate-evidence-4y2x85g4.js} +3 -3
- package/dist/cli/{guardrail-explain-cg9e3rr8.js → guardrail-explain-nvmf3y7j.js} +23 -23
- package/dist/cli/{guardrail-log-tjcnpwhv.js → guardrail-log-202rfw7b.js} +4 -4
- package/dist/cli/{guardrail-reset-ey81kcdq.js → guardrail-reset-7nt7z18b.js} +22 -22
- package/dist/cli/{hive-promoter-ghcynvfv.js → hive-promoter-segsykns.js} +22 -22
- package/dist/cli/{index-m31a2q35.js → index-3qhx9dx0.js} +63 -58
- package/dist/cli/{index-pb3vrqsf.js → index-4h54k8h3.js} +2 -2
- package/dist/cli/{index-06f6h0fv.js → index-908yea8v.js} +1 -1
- package/dist/cli/{index-t8hv63wy.js → index-9j5jjqks.js} +1 -1
- package/dist/cli/{index-ytxgr424.js → index-a7z6jygf.js} +2 -2
- package/dist/cli/{index-gez80bfr.js → index-b2zbak7v.js} +2 -2
- package/dist/cli/{index-0vvpe98m.js → index-basp4sxt.js} +1 -1
- package/dist/cli/{index-886rpw6w.js → index-cyyvc1cd.js} +1 -1
- package/dist/cli/{index-ge1w25n8.js → index-edb3sgxg.js} +2 -2
- package/dist/cli/{index-gm67qky7.js → index-g5wjasjn.js} +3 -3
- package/dist/cli/{index-rqm075jf.js → index-g9ax7jyf.js} +2 -2
- package/dist/cli/{index-s5ghg4kg.js → index-gqe4sm73.js} +1 -1
- package/dist/cli/{index-jzg3wrx6.js → index-gydvqmtg.js} +4 -4
- package/dist/cli/{index-jysjhvpv.js → index-hxe22tx3.js} +5 -5
- package/dist/cli/{index-t5gqdkqx.js → index-jqjdejqe.js} +2 -2
- package/dist/cli/{index-xq9gsfsc.js → index-kjstkfgh.js} +3 -3
- package/dist/cli/{index-mkpczxy7.js → index-na3br902.js} +22 -22
- package/dist/cli/{index-6aj0ej18.js → index-pee6ykkg.js} +1 -1
- package/dist/cli/{index-dn0wqvv2.js → index-q1prchye.js} +5 -5
- package/dist/cli/{index-n7syegpa.js → index-r6p6x0pb.js} +16 -7
- package/dist/cli/{index-pc3cw1xm.js → index-rw0wy2y7.js} +3 -3
- package/dist/cli/{index-1rcwsfwz.js → index-rxs0rrv1.js} +24 -24
- package/dist/cli/{index-m7havzy4.js → index-tczqm089.js} +1 -1
- package/dist/cli/{index-yet4r7kp.js → index-vs83acgx.js} +3 -3
- package/dist/cli/{index-w872yykk.js → index-y4zjbrqs.js} +4 -0
- package/dist/cli/{index-r1cnmq4j.js → index-yhx94xpr.js} +4 -4
- package/dist/cli/{index-wxjvb4vq.js → index-ztph1v9m.js} +1 -1
- package/dist/cli/index.js +23 -23
- package/dist/cli/{knowledge-escalator-jrkx2b6j.js → knowledge-escalator-r9chkas8.js} +7 -7
- package/dist/cli/{knowledge-events-bha1zpbk.js → knowledge-events-5j2n6age.js} +5 -5
- package/dist/cli/{knowledge-store-q438tkyd.js → knowledge-store-mybx9bmx.js} +1 -1
- package/dist/cli/{knowledge-validator-3nx18fst.js → knowledge-validator-v1sj9tv4.js} +2 -2
- package/dist/cli/{mcp-98693syb.js → mcp-7yx5230p.js} +1 -1
- package/dist/cli/{model-preflight-61xgqwcs.js → model-preflight-ckvv1arg.js} +1 -1
- package/dist/cli/{pending-delegations-nkpvtkz4.js → pending-delegations-amjfmc7t.js} +2 -2
- package/dist/cli/{pr-subscriptions-qrvhr6jw.js → pr-subscriptions-rctqs0gk.js} +1 -1
- package/dist/cli/{pr-workflow-gate-k44gdrqd.js → pr-workflow-gate-9he8ys4e.js} +22 -22
- package/dist/cli/{scan-cursor-qjdn8kv6.js → scan-cursor-pxqkphrh.js} +2 -2
- package/dist/cli/{schema-pyax2tq7.js → schema-n8pk3f80.js} +2 -2
- package/dist/cli/{scope-persistence-dyc17kze.js → scope-persistence-p992x2yd.js} +6 -6
- package/dist/cli/{server-bmzj5vt2.js → server-ywrd2q6z.js} +22 -22
- package/dist/cli/{skill-generator-mp29bht6.js → skill-generator-cdppktqx.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-azkzphpy.js → snapshot-coordination-init-z42ev5g9.js} +22 -22
- package/dist/cli/{speckit-checkoff-1cqfakw2.js → speckit-checkoff-6ynv46bn.js} +4 -4
- package/dist/cli/{worktree-collision-ownership-58sab2m6.js → worktree-collision-ownership-65971p3m.js} +2 -2
- package/dist/cli/{worktree-isolation-9egt1ccv.js → worktree-isolation-xf7dfc46.js} +22 -22
- package/dist/gate-evidence.d.ts +21 -0
- package/dist/index.js +31 -31
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/recover-rework-task.d.ts +5 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/workflow/rework-recovery.d.ts +38 -0
- package/dist/workflow/stage-a-repair.d.ts +42 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-rw0wy2y7.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-basp4sxt.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
51
|
import {
|
|
52
52
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
TurboConfigSchema,
|
|
73
73
|
WorktreeIsolationConfigSchema,
|
|
74
74
|
resolveAutoReviewConfig
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-g9ax7jyf.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
QA_AGENTS,
|
|
83
83
|
isQAAgent,
|
|
84
84
|
isSubagent
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-y4zjbrqs.js";
|
|
86
86
|
import"./index-bk5tah7q.js";
|
|
87
87
|
import"./index-gknz3bv1.js";
|
|
88
88
|
import"./index-zpsr8rpc.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-g5wjasjn.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-yhx94xpr.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-v1sj9tv4.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-n8pk3f80.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-gydvqmtg.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-g9ax7jyf.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-y4zjbrqs.js";
|
|
15
15
|
import {
|
|
16
16
|
getPathFlavor,
|
|
17
17
|
init_path_identity,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-r6p6x0pb.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-gc6h1fmf.js";
|
|
@@ -499,7 +499,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
499
499
|
awaitingMergeByCallID,
|
|
500
500
|
cleanupStandardWorktreeForCallId,
|
|
501
501
|
standardWorktreeByCallID
|
|
502
|
-
} = await import("./worktree-isolation-
|
|
502
|
+
} = await import("./worktree-isolation-xf7dfc46.js");
|
|
503
503
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
504
504
|
if (hasResidue)
|
|
505
505
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -631,7 +631,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
631
631
|
awaitingMergeByCallID,
|
|
632
632
|
finishStandardWorktreeDispatch,
|
|
633
633
|
standardWorktreeByCallID
|
|
634
|
-
} = await import("./worktree-isolation-
|
|
634
|
+
} = await import("./worktree-isolation-xf7dfc46.js");
|
|
635
635
|
const descriptor = wal.worktree;
|
|
636
636
|
const reconstructedDispatch = {
|
|
637
637
|
callID: descriptor.callID,
|
|
@@ -23,46 +23,46 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-3qhx9dx0.js";
|
|
27
|
+
import"./index-jqjdejqe.js";
|
|
28
28
|
import"./index-hamqvzqn.js";
|
|
29
29
|
import"./index-m65tnv4j.js";
|
|
30
30
|
import"./index-nhxykfyy.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-b2zbak7v.js";
|
|
32
|
+
import"./index-q1prchye.js";
|
|
33
33
|
import"./index-s0zgz4p1.js";
|
|
34
34
|
import"./index-txdagbh7.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-tczqm089.js";
|
|
36
36
|
import"./index-6b295cas.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-vs83acgx.js";
|
|
38
|
+
import"./index-hxe22tx3.js";
|
|
39
|
+
import"./index-cyyvc1cd.js";
|
|
40
40
|
import {
|
|
41
41
|
createExplorerAgent
|
|
42
42
|
} from "./index-rdec0y3z.js";
|
|
43
43
|
import"./index-y30y1rkg.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-zsrtt42s.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-kjstkfgh.js";
|
|
47
47
|
import"./index-bdpgfep1.js";
|
|
48
48
|
import"./index-92m05mew.js";
|
|
49
49
|
import"./index-pt7h91zc.js";
|
|
50
50
|
import"./index-q7sjgr1y.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
51
|
+
import"./index-908yea8v.js";
|
|
52
|
+
import"./index-r6p6x0pb.js";
|
|
53
|
+
import"./index-a7z6jygf.js";
|
|
54
|
+
import"./index-9j5jjqks.js";
|
|
55
|
+
import"./index-g5wjasjn.js";
|
|
56
56
|
import"./index-gc6h1fmf.js";
|
|
57
57
|
import"./index-2s7dvzff.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-gqe4sm73.js";
|
|
59
59
|
import"./index-6gcxgx84.js";
|
|
60
60
|
import"./index-rtry5xyf.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-rw0wy2y7.js";
|
|
62
62
|
import"./index-frcemc0b.js";
|
|
63
63
|
import"./index-0725jpp7.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-pee6ykkg.js";
|
|
65
|
+
import"./index-edb3sgxg.js";
|
|
66
66
|
import"./index-38cfx8g8.js";
|
|
67
67
|
import"./index-91dhg3wr.js";
|
|
68
68
|
import"./index-vmthakz0.js";
|
|
@@ -70,7 +70,7 @@ import"./index-bv4b8tpa.js";
|
|
|
70
70
|
import"./index-rdm3px0g.js";
|
|
71
71
|
import"./index-ry16d01s.js";
|
|
72
72
|
import"./index-516j9vsk.js";
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-yhx94xpr.js";
|
|
74
74
|
import"./index-vzm6zre7.js";
|
|
75
75
|
import"./index-ae75rja9.js";
|
|
76
76
|
import"./index-12ewkms0.js";
|
|
@@ -82,10 +82,10 @@ import"./index-ejhxgyvm.js";
|
|
|
82
82
|
import"./index-7g4c7s5r.js";
|
|
83
83
|
import"./index-989v83pb.js";
|
|
84
84
|
import"./index-gx2vp8gx.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-basp4sxt.js";
|
|
86
86
|
import"./index-zxdawwc7.js";
|
|
87
|
-
import"./index-
|
|
88
|
-
import"./index-
|
|
87
|
+
import"./index-g9ax7jyf.js";
|
|
88
|
+
import"./index-y4zjbrqs.js";
|
|
89
89
|
import"./index-bk5tah7q.js";
|
|
90
90
|
import"./index-gknz3bv1.js";
|
|
91
91
|
import"./index-zpsr8rpc.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./index-s0zgz4p1.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-tczqm089.js";
|
|
10
10
|
import {
|
|
11
11
|
validateWorkspaceRoot
|
|
12
12
|
} from "./index-6b295cas.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-r6p6x0pb.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
replayFromLedgerWithStatus,
|
|
59
59
|
takeSnapshotEvent,
|
|
60
60
|
takeSnapshotWithRetry
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-edb3sgxg.js";
|
|
62
62
|
import {
|
|
63
63
|
appendCoreEventSync
|
|
64
64
|
} from "./index-38cfx8g8.js";
|
|
@@ -2940,7 +2940,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2940
2940
|
if (status === "completed") {
|
|
2941
2941
|
try {
|
|
2942
2942
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2943
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2943
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-6ynv46bn.js");
|
|
2944
2944
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2945
2945
|
taskId,
|
|
2946
2946
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -2965,7 +2965,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2965
2965
|
break;
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
2968
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-p992x2yd.js");
|
|
2969
2969
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
2970
2970
|
directory,
|
|
2971
2971
|
taskId,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-a7z6jygf.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
8
|
} from "./index-gc6h1fmf.js";
|
|
@@ -1783,7 +1783,8 @@ var TaskWorkflowMetadataSchema = exports_external.object({
|
|
|
1783
1783
|
lastOutcome: exports_external.enum(TASK_WORKFLOW_OUTCOMES).default("none"),
|
|
1784
1784
|
lastTransitionId: exports_external.string().min(1).nullable().optional().default(null),
|
|
1785
1785
|
updatedAt: exports_external.string(),
|
|
1786
|
-
forcedCompletion: exports_external.boolean().optional()
|
|
1786
|
+
forcedCompletion: exports_external.boolean().optional(),
|
|
1787
|
+
supervisedRecovery: exports_external.boolean().optional()
|
|
1787
1788
|
});
|
|
1788
1789
|
var TaskEvidenceSchema = exports_external.object({
|
|
1789
1790
|
taskId: exports_external.string(),
|
|
@@ -1934,7 +1935,8 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
1934
1935
|
lastOutcome: outcome,
|
|
1935
1936
|
lastTransitionId: event.transitionId ?? current.lastTransitionId,
|
|
1936
1937
|
updatedAt: context.nowIso,
|
|
1937
|
-
...current.forcedCompletion === true ? { forcedCompletion: true } : {}
|
|
1938
|
+
...current.forcedCompletion === true ? { forcedCompletion: true } : {},
|
|
1939
|
+
...current.supervisedRecovery === true ? { supervisedRecovery: true } : {}
|
|
1938
1940
|
};
|
|
1939
1941
|
switch (event.type) {
|
|
1940
1942
|
case "dispatch_attempted":
|
|
@@ -1965,20 +1967,23 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
1965
1967
|
state: "rework_required",
|
|
1966
1968
|
retryCount: Math.min(current.retryCount + 1, 3),
|
|
1967
1969
|
retryHistory: [...current.retryHistory, outcome].slice(-3),
|
|
1968
|
-
retryEpoch: current.retryEpoch || current.generation + 1
|
|
1970
|
+
retryEpoch: current.retryEpoch || current.generation + 1,
|
|
1971
|
+
supervisedRecovery: undefined
|
|
1969
1972
|
};
|
|
1970
1973
|
}
|
|
1971
1974
|
return {
|
|
1972
1975
|
...base,
|
|
1973
1976
|
generation: current.generation + 1,
|
|
1974
|
-
state: "coder_delegated"
|
|
1977
|
+
state: "coder_delegated",
|
|
1978
|
+
supervisedRecovery: undefined
|
|
1975
1979
|
};
|
|
1976
1980
|
case "stage_a_passed":
|
|
1977
|
-
if (current.state !== "coder_delegated" && current.state !== "pre_check_passed") {
|
|
1981
|
+
if (current.state !== "coder_delegated" && current.state !== "pre_check_passed" && !(current.state === "rework_required" && event.supervisedRecovery === true)) {
|
|
1978
1982
|
throw new Error(`TASK_WORKFLOW_CODER_MUTATION_REQUIRED: cannot pass Stage A from ${current.state}`);
|
|
1979
1983
|
}
|
|
1980
1984
|
return {
|
|
1981
1985
|
...base,
|
|
1986
|
+
...event.supervisedRecovery === true ? { supervisedRecovery: true } : {},
|
|
1982
1987
|
state: "pre_check_passed"
|
|
1983
1988
|
};
|
|
1984
1989
|
case "stage_a_failed":
|
|
@@ -2034,7 +2039,11 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
2034
2039
|
state: "closed"
|
|
2035
2040
|
};
|
|
2036
2041
|
case "repair_idle": {
|
|
2037
|
-
const {
|
|
2042
|
+
const {
|
|
2043
|
+
forcedCompletion: _cleared,
|
|
2044
|
+
supervisedRecovery: _clearedMarker,
|
|
2045
|
+
...withoutForced
|
|
2046
|
+
} = base;
|
|
2038
2047
|
return {
|
|
2039
2048
|
...withoutForced,
|
|
2040
2049
|
generation: current.generation + 1,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-basp4sxt.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-g9ax7jyf.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-y4zjbrqs.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ztph1v9m.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailExplain
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-4h54k8h3.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,44 +97,44 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
} from "./index-3qhx9dx0.js";
|
|
101
|
+
import"./index-jqjdejqe.js";
|
|
102
102
|
import"./index-hamqvzqn.js";
|
|
103
103
|
import"./index-m65tnv4j.js";
|
|
104
104
|
import"./index-nhxykfyy.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
105
|
+
import"./index-b2zbak7v.js";
|
|
106
|
+
import"./index-q1prchye.js";
|
|
107
107
|
import"./index-s0zgz4p1.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-tczqm089.js";
|
|
110
110
|
import"./index-6b295cas.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-vs83acgx.js";
|
|
112
|
+
import"./index-hxe22tx3.js";
|
|
113
|
+
import"./index-cyyvc1cd.js";
|
|
114
114
|
import"./index-rdec0y3z.js";
|
|
115
115
|
import"./index-y30y1rkg.js";
|
|
116
116
|
import"./index-cjapb4hy.js";
|
|
117
117
|
import"./index-zsrtt42s.js";
|
|
118
|
-
import"./index-
|
|
118
|
+
import"./index-kjstkfgh.js";
|
|
119
119
|
import"./index-bdpgfep1.js";
|
|
120
120
|
import"./index-92m05mew.js";
|
|
121
121
|
import"./index-pt7h91zc.js";
|
|
122
122
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
123
|
+
import"./index-908yea8v.js";
|
|
124
|
+
import"./index-r6p6x0pb.js";
|
|
125
|
+
import"./index-a7z6jygf.js";
|
|
126
|
+
import"./index-9j5jjqks.js";
|
|
127
|
+
import"./index-g5wjasjn.js";
|
|
128
128
|
import"./index-gc6h1fmf.js";
|
|
129
129
|
import"./index-2s7dvzff.js";
|
|
130
|
-
import"./index-
|
|
130
|
+
import"./index-gqe4sm73.js";
|
|
131
131
|
import"./index-6gcxgx84.js";
|
|
132
132
|
import"./index-rtry5xyf.js";
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-rw0wy2y7.js";
|
|
134
134
|
import"./index-frcemc0b.js";
|
|
135
135
|
import"./index-0725jpp7.js";
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
136
|
+
import"./index-pee6ykkg.js";
|
|
137
|
+
import"./index-edb3sgxg.js";
|
|
138
138
|
import"./index-38cfx8g8.js";
|
|
139
139
|
import"./index-91dhg3wr.js";
|
|
140
140
|
import"./index-vmthakz0.js";
|
|
@@ -142,7 +142,7 @@ import"./index-bv4b8tpa.js";
|
|
|
142
142
|
import"./index-rdm3px0g.js";
|
|
143
143
|
import"./index-ry16d01s.js";
|
|
144
144
|
import"./index-516j9vsk.js";
|
|
145
|
-
import"./index-
|
|
145
|
+
import"./index-yhx94xpr.js";
|
|
146
146
|
import"./index-vzm6zre7.js";
|
|
147
147
|
import"./index-ae75rja9.js";
|
|
148
148
|
import"./index-12ewkms0.js";
|
|
@@ -154,17 +154,17 @@ import"./index-ejhxgyvm.js";
|
|
|
154
154
|
import"./index-7g4c7s5r.js";
|
|
155
155
|
import"./index-989v83pb.js";
|
|
156
156
|
import"./index-gx2vp8gx.js";
|
|
157
|
-
import"./index-
|
|
157
|
+
import"./index-basp4sxt.js";
|
|
158
158
|
import"./index-zxdawwc7.js";
|
|
159
159
|
import {
|
|
160
160
|
init_schema,
|
|
161
161
|
stripKnownSwarmPrefix
|
|
162
|
-
} from "./index-
|
|
162
|
+
} from "./index-g9ax7jyf.js";
|
|
163
163
|
import {
|
|
164
164
|
AGENT_TOOL_MAP,
|
|
165
165
|
ORCHESTRATOR_NAME,
|
|
166
166
|
init_constants
|
|
167
|
-
} from "./index-
|
|
167
|
+
} from "./index-y4zjbrqs.js";
|
|
168
168
|
import"./index-bk5tah7q.js";
|
|
169
169
|
import"./index-gknz3bv1.js";
|
|
170
170
|
import"./index-zpsr8rpc.js";
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-g5wjasjn.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gqe4sm73.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-yhx94xpr.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -261,6 +261,10 @@ var init_tool_metadata = __esm(() => {
|
|
|
261
261
|
description: "record a MANUAL critic_sounding_board gate entry to unblock the coder retry circuit-breaker gate when the sounding board returned APPROVED but the mechanical recorder missed it (issue #2703)",
|
|
262
262
|
agents: ["architect"]
|
|
263
263
|
},
|
|
264
|
+
recover_rework_task: {
|
|
265
|
+
description: "recover a task wedged at rework_required when the reviewer/test_engineer verdict did not require a code change: write a supervised stage_a_passed so those gates can be re-dispatched without re-running the coder (issue #2755)",
|
|
266
|
+
agents: ["architect"]
|
|
267
|
+
},
|
|
264
268
|
prepare_pr_workflow_checkout: {
|
|
265
269
|
description: "prepare an auditable PR workflow checkout or restore its exact original branch/HEAD and preserved stash after terminal cleanup",
|
|
266
270
|
agents: ["architect"]
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-5j2n6age.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-v1sj9tv4.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-n8pk3f80.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-gydvqmtg.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
package/dist/cli/index.js
CHANGED
|
@@ -14,44 +14,44 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-3qhx9dx0.js";
|
|
18
|
+
import"./index-jqjdejqe.js";
|
|
19
19
|
import"./index-hamqvzqn.js";
|
|
20
20
|
import"./index-m65tnv4j.js";
|
|
21
21
|
import"./index-nhxykfyy.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-b2zbak7v.js";
|
|
23
|
+
import"./index-q1prchye.js";
|
|
24
24
|
import"./index-s0zgz4p1.js";
|
|
25
25
|
import"./index-txdagbh7.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-tczqm089.js";
|
|
27
27
|
import"./index-6b295cas.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-vs83acgx.js";
|
|
29
|
+
import"./index-hxe22tx3.js";
|
|
30
|
+
import"./index-cyyvc1cd.js";
|
|
31
31
|
import"./index-rdec0y3z.js";
|
|
32
32
|
import"./index-y30y1rkg.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-kjstkfgh.js";
|
|
36
36
|
import"./index-bdpgfep1.js";
|
|
37
37
|
import"./index-92m05mew.js";
|
|
38
38
|
import"./index-pt7h91zc.js";
|
|
39
39
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
40
|
+
import"./index-908yea8v.js";
|
|
41
|
+
import"./index-r6p6x0pb.js";
|
|
42
|
+
import"./index-a7z6jygf.js";
|
|
43
|
+
import"./index-9j5jjqks.js";
|
|
44
|
+
import"./index-g5wjasjn.js";
|
|
45
45
|
import"./index-gc6h1fmf.js";
|
|
46
46
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-gqe4sm73.js";
|
|
48
48
|
import"./index-6gcxgx84.js";
|
|
49
49
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-rw0wy2y7.js";
|
|
51
51
|
import"./index-frcemc0b.js";
|
|
52
52
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-pee6ykkg.js";
|
|
54
|
+
import"./index-edb3sgxg.js";
|
|
55
55
|
import"./index-38cfx8g8.js";
|
|
56
56
|
import"./index-91dhg3wr.js";
|
|
57
57
|
import"./index-vmthakz0.js";
|
|
@@ -59,7 +59,7 @@ import"./index-bv4b8tpa.js";
|
|
|
59
59
|
import"./index-rdm3px0g.js";
|
|
60
60
|
import"./index-ry16d01s.js";
|
|
61
61
|
import"./index-516j9vsk.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-yhx94xpr.js";
|
|
63
63
|
import"./index-vzm6zre7.js";
|
|
64
64
|
import"./index-ae75rja9.js";
|
|
65
65
|
import"./index-12ewkms0.js";
|
|
@@ -71,16 +71,16 @@ import"./index-ejhxgyvm.js";
|
|
|
71
71
|
import"./index-7g4c7s5r.js";
|
|
72
72
|
import"./index-989v83pb.js";
|
|
73
73
|
import"./index-gx2vp8gx.js";
|
|
74
|
-
import"./index-
|
|
74
|
+
import"./index-basp4sxt.js";
|
|
75
75
|
import"./index-zxdawwc7.js";
|
|
76
76
|
import {
|
|
77
77
|
init_package,
|
|
78
78
|
package_default
|
|
79
|
-
} from "./index-
|
|
79
|
+
} from "./index-g9ax7jyf.js";
|
|
80
80
|
import {
|
|
81
81
|
DEFAULT_AGENT_CONFIGS,
|
|
82
82
|
init_constants
|
|
83
|
-
} from "./index-
|
|
83
|
+
} from "./index-y4zjbrqs.js";
|
|
84
84
|
import"./index-bk5tah7q.js";
|
|
85
85
|
import"./index-gknz3bv1.js";
|
|
86
86
|
import"./index-zpsr8rpc.js";
|
|
@@ -644,7 +644,7 @@ async function main() {
|
|
|
644
644
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
645
645
|
process.exit(exitCode);
|
|
646
646
|
} else if (command === "mcp") {
|
|
647
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
647
|
+
const { handleMcpCommand } = await import("./mcp-7yx5230p.js");
|
|
648
648
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
649
649
|
process.exit(exitCode);
|
|
650
650
|
} else {
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-hxe22tx3.js";
|
|
13
|
+
import"./index-g5wjasjn.js";
|
|
14
14
|
import"./index-gc6h1fmf.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-rw0wy2y7.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-0725jpp7.js";
|
|
19
19
|
import"./index-516j9vsk.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-yhx94xpr.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
23
|
import"./index-12ewkms0.js";
|
|
@@ -29,10 +29,10 @@ import"./index-ejhxgyvm.js";
|
|
|
29
29
|
import"./index-7g4c7s5r.js";
|
|
30
30
|
import"./index-989v83pb.js";
|
|
31
31
|
import"./index-gx2vp8gx.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-basp4sxt.js";
|
|
33
33
|
import"./index-zxdawwc7.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-g9ax7jyf.js";
|
|
35
|
+
import"./index-y4zjbrqs.js";
|
|
36
36
|
import"./index-bk5tah7q.js";
|
|
37
37
|
import"./index-gknz3bv1.js";
|
|
38
38
|
import"./index-zpsr8rpc.js";
|