opencode-swarm 7.143.5 → 7.143.6

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 (53) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +5 -5
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +129 -0
  3. package/dist/background/pending-delegations.d.ts +42 -1
  4. package/dist/background/pr-review-trigger-contract.d.ts +17 -0
  5. package/dist/cli/{config-doctor-y8wfw196.js → config-doctor-72zp0k4x.js} +2 -2
  6. package/dist/cli/{core-zszmexgm.js → core-aj0wmbg8.js} +1 -1
  7. package/dist/cli/{curator-e2sp925h.js → curator-2gt2835v.js} +18 -18
  8. package/dist/cli/{curator-llm-factory-xsg7wesn.js → curator-llm-factory-x1vjhrnc.js} +18 -18
  9. package/dist/cli/{evidence-summary-service-pfppq7mv.js → evidence-summary-service-yjr0662r.js} +6 -6
  10. package/dist/cli/{gate-evidence-23jnh3mb.js → gate-evidence-r3c7eqpz.js} +2 -2
  11. package/dist/cli/{guardrail-explain-byzmrgg1.js → guardrail-explain-f3zysesy.js} +19 -19
  12. package/dist/cli/{guardrail-log-nr2g7hbw.js → guardrail-log-eat71fnh.js} +3 -3
  13. package/dist/cli/{hive-promoter-cw08380z.js → hive-promoter-fyb40am9.js} +18 -18
  14. package/dist/cli/{index-p844tcrm.js → index-02nm8qhk.js} +3 -3
  15. package/dist/cli/{index-47z3jbxk.js → index-0adcjpyx.js} +3 -3
  16. package/dist/cli/{index-a1p87gew.js → index-36vry26a.js} +1 -1
  17. package/dist/cli/{index-51axj9vd.js → index-5d8ydxae.js} +399 -77
  18. package/dist/cli/{index-8aabbfhv.js → index-6vmazy9f.js} +8 -5
  19. package/dist/cli/{index-x64vt6sc.js → index-72zhsqgy.js} +2 -2
  20. package/dist/cli/{index-04x9wx7d.js → index-7bs015gm.js} +1 -1
  21. package/dist/cli/{index-tmc43mkc.js → index-92bm9ys3.js} +1 -1
  22. package/dist/cli/{index-7en3eq3k.js → index-bbv64s17.js} +1 -1
  23. package/dist/cli/{index-1kr1vey5.js → index-dtf2va28.js} +20 -20
  24. package/dist/cli/{index-jqxgdvr9.js → index-fn0k0vsa.js} +1 -1
  25. package/dist/cli/{index-dg1v2gnh.js → index-gzxz0s50.js} +1 -1
  26. package/dist/cli/{index-qdarzed6.js → index-hjy4txgr.js} +1 -1
  27. package/dist/cli/{index-mnj0ter5.js → index-kc2x117y.js} +3 -3
  28. package/dist/cli/{index-y8r7z30j.js → index-nd1j9wkw.js} +1 -1
  29. package/dist/cli/{index-xmje20we.js → index-peqmw3wr.js} +2 -2
  30. package/dist/cli/{index-q2nd6q9e.js → index-s7nb33pc.js} +1 -1
  31. package/dist/cli/{index-mbczeqs3.js → index-scj2asek.js} +5 -5
  32. package/dist/cli/{index-5866smj5.js → index-w1q9yy1e.js} +3 -3
  33. package/dist/cli/{index-a4dkd7m7.js → index-whyrhjsk.js} +1 -1
  34. package/dist/cli/{index-m7v7gggs.js → index-wjk00vwk.js} +4 -4
  35. package/dist/cli/{index-at0h6cd6.js → index-z4cv77tq.js} +2 -2
  36. package/dist/cli/index.js +18 -18
  37. package/dist/cli/{knowledge-escalator-1g4p844a.js → knowledge-escalator-ejpyrby0.js} +6 -6
  38. package/dist/cli/{knowledge-events-5699zzw0.js → knowledge-events-yw2kydyy.js} +4 -4
  39. package/dist/cli/{knowledge-store-m5qjn5kd.js → knowledge-store-j6gkk62e.js} +1 -1
  40. package/dist/cli/{knowledge-validator-xxnp8ear.js → knowledge-validator-xervpe5k.js} +2 -2
  41. package/dist/cli/{pending-delegations-b3pt3w5w.js → pending-delegations-19wg9j08.js} +5 -1
  42. package/dist/cli/{scan-cursor-qvky2yem.js → scan-cursor-x7a99wmq.js} +2 -2
  43. package/dist/cli/{schema-wgb37f83.js → schema-z141arx9.js} +1 -1
  44. package/dist/cli/{scope-persistence-0wrb7ptt.js → scope-persistence-js90c1f4.js} +4 -4
  45. package/dist/cli/{skill-generator-khaw3jjw.js → skill-generator-t202jza0.js} +7 -7
  46. package/dist/cli/{worktree-collision-ownership-bfz3drxm.js → worktree-collision-ownership-42bb3gcb.js} +1 -1
  47. package/dist/cli/{worktree-isolation-bv41gn3k.js → worktree-isolation-fbfvxw9a.js} +18 -18
  48. package/dist/hooks/pr-workflow-gate.d.ts +135 -1
  49. package/dist/index.js +20 -18
  50. package/dist/tools/complete-pr-workflow.d.ts +3 -1
  51. package/dist/tools/pr-workflow-status.d.ts +2 -2
  52. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
  53. package/package.json +1 -1
@@ -41,6 +41,8 @@ var RESERVATION_LOCK_TASK = "background-coder-reservations";
41
41
  var ADVISORY_PREPARE_LEASE_MS = 30000;
42
42
  var INGESTION_CLAIM_LEASE_MS = 30000;
43
43
  var BACKGROUND_INGESTION_LEASE_MS = 30000;
44
+ var DEFAULT_STALE_DELEGATION_TIMEOUT_MS = 30 * 60000;
45
+ var DEFAULT_SWEEPABLE_DELEGATION_STATUSES = new Set(["pending", "running", "ingestion_error"]);
44
46
  var ResultSchema = exports_external.object({
45
47
  text: exports_external.string().optional(),
46
48
  error: exports_external.string().optional(),
@@ -1065,10 +1067,10 @@ function findOpenAsyncLaneBatches(directory) {
1065
1067
  function isTerminal(status) {
1066
1068
  return status === "completed" || status === "error" || status === "cancelled" || status === "stale" || status === "consumed";
1067
1069
  }
1068
- function sweepStaleLocked(directory, timeoutMs, now) {
1070
+ function sweepStaleLocked(directory, timeoutMs, now, statuses = DEFAULT_SWEEPABLE_DELEGATION_STATUSES) {
1069
1071
  let swept = 0;
1070
1072
  for (const record of readDelegations(directory)) {
1071
- if (record.status !== "pending" && record.status !== "running" && record.status !== "ingestion_error")
1073
+ if (!statuses.has(record.status))
1072
1074
  continue;
1073
1075
  if (now - record.updatedAt <= timeoutMs)
1074
1076
  continue;
@@ -1081,11 +1083,12 @@ function sweepStaleLocked(directory, timeoutMs, now) {
1081
1083
  }
1082
1084
  return swept;
1083
1085
  }
1084
- async function sweepStaleDelegations(directory, timeoutMs) {
1086
+ async function sweepStaleDelegations(directory, timeoutMs, options = {}) {
1085
1087
  if (!timeoutMs || timeoutMs <= 0)
1086
1088
  return 0;
1089
+ const statuses = options.statuses ?? DEFAULT_SWEEPABLE_DELEGATION_STATUSES;
1087
1090
  try {
1088
- return await withEvidenceLock(directory, BACKGROUND_DELEGATIONS_FILE, STORE_LOCK_AGENT, STORE_LOCK_TASK, async () => sweepStaleLocked(directory, timeoutMs, Date.now()));
1091
+ return await withEvidenceLock(directory, BACKGROUND_DELEGATIONS_FILE, STORE_LOCK_AGENT, STORE_LOCK_TASK, async () => sweepStaleLocked(directory, timeoutMs, Date.now(), statuses));
1089
1092
  } catch (err) {
1090
1093
  warn(`[background] sweepStaleDelegations failed: ${err instanceof Error ? err.message : String(err)}`);
1091
1094
  return 0;
@@ -1674,4 +1677,4 @@ async function releaseBackgroundCoderReservation(directory, input) {
1674
1677
  }
1675
1678
  }
1676
1679
 
1677
- export { BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, BACKGROUND_INGESTION_LEASE_MS, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation };
1680
+ export { BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, BACKGROUND_INGESTION_LEASE_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation };
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-51axj9vd.js";
15
+ } from "./index-5d8ydxae.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-y8r7z30j.js";
22
+ } from "./index-nd1j9wkw.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.143.5",
24
+ version: "7.143.6",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-m7v7gggs.js";
5
+ } from "./index-wjk00vwk.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-w7x7qxz2.js";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  autoCommitDirty,
8
8
  cleanUntrackedFiles
9
- } from "./index-q2nd6q9e.js";
9
+ } from "./index-s7nb33pc.js";
10
10
  import {
11
11
  validateSwarmPath
12
12
  } from "./index-rn0eq85g.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-x64vt6sc.js";
4
+ } from "./index-72zhsqgy.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-jqxgdvr9.js";
7
+ } from "./index-fn0k0vsa.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,44 +84,44 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-51axj9vd.js";
88
- import"./index-y8r7z30j.js";
89
- import"./index-a4dkd7m7.js";
90
- import"./index-5866smj5.js";
87
+ } from "./index-5d8ydxae.js";
88
+ import"./index-nd1j9wkw.js";
89
+ import"./index-whyrhjsk.js";
90
+ import"./index-w1q9yy1e.js";
91
91
  import"./index-134d35c1.js";
92
92
  import"./index-b6e016tv.js";
93
93
  import"./index-4q9vfav6.js";
94
94
  import"./index-k92cagmt.js";
95
95
  import"./index-y8552snf.js";
96
- import"./index-tmc43mkc.js";
96
+ import"./index-92bm9ys3.js";
97
97
  import"./index-xmzmeknp.js";
98
98
  import"./index-c8s9a3zh.js";
99
99
  import"./index-9ss2m4rs.js";
100
- import"./index-7en3eq3k.js";
100
+ import"./index-bbv64s17.js";
101
101
  import"./index-74hpm6sh.js";
102
- import"./index-p844tcrm.js";
103
- import"./index-mbczeqs3.js";
104
- import"./index-at0h6cd6.js";
105
- import"./index-qdarzed6.js";
102
+ import"./index-02nm8qhk.js";
103
+ import"./index-scj2asek.js";
104
+ import"./index-z4cv77tq.js";
105
+ import"./index-hjy4txgr.js";
106
106
  import"./index-556ja8an.js";
107
107
  import"./index-gdd4jt6b.js";
108
108
  import"./index-zsrtt42s.js";
109
109
  import"./index-k3cxyk66.js";
110
- import"./index-8aabbfhv.js";
111
- import"./index-q2nd6q9e.js";
110
+ import"./index-6vmazy9f.js";
111
+ import"./index-s7nb33pc.js";
112
112
  import"./index-8fwhhayc.js";
113
113
  import"./index-q1exe2b3.js";
114
114
  import"./index-7sy3aa9m.js";
115
115
  import"./index-4905hd2m.js";
116
- import"./index-47z3jbxk.js";
117
- import"./index-xmje20we.js";
116
+ import"./index-0adcjpyx.js";
117
+ import"./index-peqmw3wr.js";
118
118
  import"./index-gprxjmm7.js";
119
119
  import"./index-n832052r.js";
120
- import"./index-a1p87gew.js";
120
+ import"./index-36vry26a.js";
121
121
  import {
122
122
  init_schema,
123
123
  stripKnownSwarmPrefix
124
- } from "./index-04x9wx7d.js";
124
+ } from "./index-7bs015gm.js";
125
125
  import"./index-rn0eq85g.js";
126
126
  import"./index-4rhhvd1a.js";
127
127
  import {
@@ -131,10 +131,10 @@ import {
131
131
  } from "./index-jqsfsqbx.js";
132
132
  import"./index-z6xqpmqg.js";
133
133
  import"./index-zjygnfay.js";
134
- import"./index-dg1v2gnh.js";
134
+ import"./index-gzxz0s50.js";
135
135
  import"./index-tq5s07ta.js";
136
136
  import"./index-rtry5xyf.js";
137
- import"./index-m7v7gggs.js";
137
+ import"./index-wjk00vwk.js";
138
138
  import"./index-ae75rja9.js";
139
139
  import"./index-w7x7qxz2.js";
140
140
  import"./index-erfnw81g.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-y8r7z30j.js";
5
+ } from "./index-nd1j9wkw.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-m7v7gggs.js";
12
+ } from "./index-wjk00vwk.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-w7x7qxz2.js";
@@ -4,7 +4,7 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-a1p87gew.js";
7
+ } from "./index-36vry26a.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-xmje20we.js";
5
+ } from "./index-peqmw3wr.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -42,7 +42,7 @@ import {
42
42
  loadPluginConfig,
43
43
  loadPluginConfigWithMeta,
44
44
  loadPluginConfigWithMetaAsync
45
- } from "./index-a1p87gew.js";
45
+ } from "./index-36vry26a.js";
46
46
  import {
47
47
  AUTO_REVIEW_V8_BURN_IN_DECISION,
48
48
  AgentOverrideConfigSchema,
@@ -64,7 +64,7 @@ import {
64
64
  TurboConfigSchema,
65
65
  WorktreeIsolationConfigSchema,
66
66
  resolveAutoReviewConfig
67
- } from "./index-04x9wx7d.js";
67
+ } from "./index-7bs015gm.js";
68
68
  import"./index-4rhhvd1a.js";
69
69
  import {
70
70
  ALL_AGENT_NAMES,
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  init_schema,
13
13
  stripKnownSwarmPrefix
14
- } from "./index-04x9wx7d.js";
14
+ } from "./index-7bs015gm.js";
15
15
  import {
16
16
  init_constants
17
17
  } from "./index-jqsfsqbx.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-a1p87gew.js";
5
+ } from "./index-36vry26a.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-04x9wx7d.js";
8
+ } from "./index-7bs015gm.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -86,7 +86,7 @@ var _internals = {
86
86
  symlinkSync: fs.symlinkSync
87
87
  },
88
88
  writeScopeToDisk: async (directory, taskId, files) => {
89
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-0wrb7ptt.js");
89
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-js90c1f4.js");
90
90
  return realWrite(directory, taskId, files);
91
91
  },
92
92
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-47z3jbxk.js";
6
+ } from "./index-0adcjpyx.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-m7v7gggs.js";
14
+ } from "./index-wjk00vwk.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-xxnp8ear.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-xervpe5k.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-wgb37f83.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-mnj0ter5.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-z141arx9.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-kc2x117y.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -15,7 +15,7 @@ import {
15
15
  readTaskEvidence,
16
16
  readTaskEvidenceRaw,
17
17
  sanitizeTaskId
18
- } from "./index-7en3eq3k.js";
18
+ } from "./index-bbv64s17.js";
19
19
  import {
20
20
  LedgerStaleWriterError,
21
21
  appendLedgerEvent,
@@ -35,7 +35,7 @@ import {
35
35
  replayFromLedgerWithStatus,
36
36
  takeSnapshotEvent,
37
37
  takeSnapshotWithRetry
38
- } from "./index-qdarzed6.js";
38
+ } from "./index-hjy4txgr.js";
39
39
  import {
40
40
  getWorktreeMergeFailure
41
41
  } from "./index-zsrtt42s.js";
@@ -53,7 +53,7 @@ import {
53
53
  } from "./index-gprxjmm7.js";
54
54
  import {
55
55
  PlanSchema
56
- } from "./index-a1p87gew.js";
56
+ } from "./index-36vry26a.js";
57
57
  import {
58
58
  readSwarmFileAsync,
59
59
  validateSwarmPath
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-04x9wx7d.js";
9
+ } from "./index-7bs015gm.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
709
709
  const {
710
710
  readAuthoritativeKnowledgeCounterRollups,
711
711
  effectiveRetrievalOutcomes
712
- } = await import("./knowledge-events-5699zzw0.js");
712
+ } = await import("./knowledge-events-yw2kydyy.js");
713
713
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
714
714
  const flagIds = new Set;
715
715
  for (const e of atFloor) {
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
776
776
  });
777
777
  }
778
778
  if (action === "quarantine" && toQuarantine.length > 0) {
779
- const { quarantineEntry } = await import("./knowledge-validator-xxnp8ear.js");
780
- const { KnowledgeConfigSchema } = await import("./schema-wgb37f83.js");
779
+ const { quarantineEntry } = await import("./knowledge-validator-xervpe5k.js");
780
+ const { KnowledgeConfigSchema } = await import("./schema-z141arx9.js");
781
781
  let config;
782
782
  try {
783
- const { loadPluginConfigWithMeta } = await import("./index-mnj0ter5.js");
783
+ const { loadPluginConfigWithMeta } = await import("./index-kc2x117y.js");
784
784
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
785
785
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
786
786
  } catch {
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-qdarzed6.js";
5
+ } from "./index-hjy4txgr.js";
6
6
  import {
7
7
  unsafePathTextReason
8
8
  } from "./index-556ja8an.js";
9
9
  import {
10
10
  PlanSchema
11
- } from "./index-a1p87gew.js";
11
+ } from "./index-36vry26a.js";
12
12
  import {
13
13
  assertProjectRoot
14
14
  } from "./index-k31en0ja.js";
package/dist/cli/index.js CHANGED
@@ -7,44 +7,44 @@ import {
7
7
  getPluginConfigDir,
8
8
  getPluginLockFilePaths,
9
9
  resolveCommand
10
- } from "./index-51axj9vd.js";
11
- import"./index-y8r7z30j.js";
12
- import"./index-a4dkd7m7.js";
13
- import"./index-5866smj5.js";
10
+ } from "./index-5d8ydxae.js";
11
+ import"./index-nd1j9wkw.js";
12
+ import"./index-whyrhjsk.js";
13
+ import"./index-w1q9yy1e.js";
14
14
  import"./index-134d35c1.js";
15
15
  import"./index-b6e016tv.js";
16
16
  import"./index-4q9vfav6.js";
17
17
  import"./index-k92cagmt.js";
18
18
  import"./index-y8552snf.js";
19
- import"./index-tmc43mkc.js";
19
+ import"./index-92bm9ys3.js";
20
20
  import"./index-xmzmeknp.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
- import"./index-7en3eq3k.js";
23
+ import"./index-bbv64s17.js";
24
24
  import"./index-74hpm6sh.js";
25
- import"./index-p844tcrm.js";
26
- import"./index-mbczeqs3.js";
27
- import"./index-at0h6cd6.js";
28
- import"./index-qdarzed6.js";
25
+ import"./index-02nm8qhk.js";
26
+ import"./index-scj2asek.js";
27
+ import"./index-z4cv77tq.js";
28
+ import"./index-hjy4txgr.js";
29
29
  import"./index-556ja8an.js";
30
30
  import"./index-gdd4jt6b.js";
31
31
  import"./index-zsrtt42s.js";
32
32
  import"./index-k3cxyk66.js";
33
- import"./index-8aabbfhv.js";
34
- import"./index-q2nd6q9e.js";
33
+ import"./index-6vmazy9f.js";
34
+ import"./index-s7nb33pc.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
37
37
  import"./index-7sy3aa9m.js";
38
38
  import"./index-4905hd2m.js";
39
- import"./index-47z3jbxk.js";
40
- import"./index-xmje20we.js";
39
+ import"./index-0adcjpyx.js";
40
+ import"./index-peqmw3wr.js";
41
41
  import"./index-gprxjmm7.js";
42
42
  import"./index-n832052r.js";
43
- import"./index-a1p87gew.js";
43
+ import"./index-36vry26a.js";
44
44
  import {
45
45
  init_package,
46
46
  package_default
47
- } from "./index-04x9wx7d.js";
47
+ } from "./index-7bs015gm.js";
48
48
  import"./index-rn0eq85g.js";
49
49
  import"./index-4rhhvd1a.js";
50
50
  import {
@@ -53,10 +53,10 @@ import {
53
53
  } from "./index-jqsfsqbx.js";
54
54
  import"./index-z6xqpmqg.js";
55
55
  import"./index-zjygnfay.js";
56
- import"./index-dg1v2gnh.js";
56
+ import"./index-gzxz0s50.js";
57
57
  import"./index-tq5s07ta.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-m7v7gggs.js";
59
+ import"./index-wjk00vwk.js";
60
60
  import"./index-ae75rja9.js";
61
61
  import"./index-w7x7qxz2.js";
62
62
  import"./index-erfnw81g.js";
@@ -9,19 +9,19 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-mbczeqs3.js";
13
- import"./index-47z3jbxk.js";
14
- import"./index-xmje20we.js";
12
+ } from "./index-scj2asek.js";
13
+ import"./index-0adcjpyx.js";
14
+ import"./index-peqmw3wr.js";
15
15
  import"./index-gprxjmm7.js";
16
16
  import"./index-n832052r.js";
17
- import"./index-a1p87gew.js";
18
- import"./index-04x9wx7d.js";
17
+ import"./index-36vry26a.js";
18
+ import"./index-7bs015gm.js";
19
19
  import"./index-rn0eq85g.js";
20
20
  import"./index-4rhhvd1a.js";
21
21
  import"./index-jqsfsqbx.js";
22
22
  import"./index-z6xqpmqg.js";
23
23
  import"./index-zjygnfay.js";
24
- import"./index-m7v7gggs.js";
24
+ import"./index-wjk00vwk.js";
25
25
  import"./index-ae75rja9.js";
26
26
  import"./index-w7x7qxz2.js";
27
27
  import"./index-erfnw81g.js";
@@ -29,12 +29,12 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-47z3jbxk.js";
33
- import"./index-xmje20we.js";
32
+ } from "./index-0adcjpyx.js";
33
+ import"./index-peqmw3wr.js";
34
34
  import"./index-gprxjmm7.js";
35
35
  import"./index-n832052r.js";
36
- import"./index-a1p87gew.js";
37
- import"./index-04x9wx7d.js";
36
+ import"./index-36vry26a.js";
37
+ import"./index-7bs015gm.js";
38
38
  import"./index-rn0eq85g.js";
39
39
  import"./index-4rhhvd1a.js";
40
40
  import"./index-jqsfsqbx.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-m7v7gggs.js";
44
+ } from "./index-wjk00vwk.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-dg1v2gnh.js";
26
+ } from "./index-gzxz0s50.js";
27
27
  import"./index-tq5s07ta.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-m7v7gggs.js";
29
+ import"./index-wjk00vwk.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-w7x7qxz2.js";
32
32
  import"./index-erfnw81g.js";
@@ -4,6 +4,8 @@ import {
4
4
  BACKGROUND_DELEGATIONS_FILE,
5
5
  BACKGROUND_DELEGATION_FALLBACK_DIR,
6
6
  BACKGROUND_INGESTION_LEASE_MS,
7
+ DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
8
+ DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
7
9
  MAX_BACKGROUND_ADVISORY_CHARS,
8
10
  MAX_BACKGROUND_OBSERVED_FILES,
9
11
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
@@ -41,7 +43,7 @@ import {
41
43
  sweepStaleDelegations,
42
44
  updateCoderSettlement,
43
45
  writeDelegationFallback
44
- } from "./index-8aabbfhv.js";
46
+ } from "./index-6vmazy9f.js";
45
47
  import"./index-rn0eq85g.js";
46
48
  import"./index-z6xqpmqg.js";
47
49
  import"./index-zjygnfay.js";
@@ -91,6 +93,8 @@ export {
91
93
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
92
94
  MAX_BACKGROUND_OBSERVED_FILES,
93
95
  MAX_BACKGROUND_ADVISORY_CHARS,
96
+ DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
97
+ DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
94
98
  BACKGROUND_INGESTION_LEASE_MS,
95
99
  BACKGROUND_DELEGATION_FALLBACK_DIR,
96
100
  BACKGROUND_DELEGATIONS_FILE,
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-tmc43mkc.js";
8
- import"./index-m7v7gggs.js";
7
+ } from "./index-92bm9ys3.js";
8
+ import"./index-wjk00vwk.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-w7x7qxz2.js";
11
11
  import"./index-erfnw81g.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-04x9wx7d.js";
99
+ } from "./index-7bs015gm.js";
100
100
  import"./index-jqsfsqbx.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -23,11 +23,11 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-at0h6cd6.js";
27
- import"./index-qdarzed6.js";
26
+ } from "./index-z4cv77tq.js";
27
+ import"./index-hjy4txgr.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-a1p87gew.js";
30
- import"./index-04x9wx7d.js";
29
+ import"./index-36vry26a.js";
30
+ import"./index-7bs015gm.js";
31
31
  import"./index-4rhhvd1a.js";
32
32
  import"./index-jqsfsqbx.js";
33
33
  import"./index-zjygnfay.js";
@@ -33,22 +33,22 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-p844tcrm.js";
37
- import"./index-47z3jbxk.js";
38
- import"./index-xmje20we.js";
36
+ } from "./index-02nm8qhk.js";
37
+ import"./index-0adcjpyx.js";
38
+ import"./index-peqmw3wr.js";
39
39
  import"./index-gprxjmm7.js";
40
40
  import"./index-n832052r.js";
41
- import"./index-a1p87gew.js";
42
- import"./index-04x9wx7d.js";
41
+ import"./index-36vry26a.js";
42
+ import"./index-7bs015gm.js";
43
43
  import"./index-rn0eq85g.js";
44
44
  import"./index-4rhhvd1a.js";
45
45
  import"./index-jqsfsqbx.js";
46
46
  import"./index-z6xqpmqg.js";
47
47
  import"./index-zjygnfay.js";
48
- import"./index-dg1v2gnh.js";
48
+ import"./index-gzxz0s50.js";
49
49
  import"./index-tq5s07ta.js";
50
50
  import"./index-rtry5xyf.js";
51
- import"./index-m7v7gggs.js";
51
+ import"./index-wjk00vwk.js";
52
52
  import"./index-ae75rja9.js";
53
53
  import"./index-w7x7qxz2.js";
54
54
  import"./index-erfnw81g.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-8aabbfhv.js";
13
+ } from "./index-6vmazy9f.js";
14
14
  import"./index-rn0eq85g.js";
15
15
  import"./index-z6xqpmqg.js";
16
16
  import"./index-zjygnfay.js";