opencode-swarm 7.187.3 → 7.188.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.
Files changed (92) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/background/delegation-lifecycle.d.ts +4 -0
  4. package/dist/cli/{auto-checkpoint-521fehr3.js → auto-checkpoint-w2mjh5m3.js} +7 -7
  5. package/dist/cli/{checkpoint-czx5eken.js → checkpoint-eac282hg.js} +12 -12
  6. package/dist/cli/{coder-settlement-skfkfgt7.js → coder-settlement-40qspmep.js} +8 -8
  7. package/dist/cli/{config-doctor-t88fd5ra.js → config-doctor-p21xsvfn.js} +11 -11
  8. package/dist/cli/{core-fap9x47g.js → core-z7qs8s32.js} +1 -1
  9. package/dist/cli/{curation-policy-e1ce7ha8.js → curation-policy-v64ctcbd.js} +5 -5
  10. package/dist/cli/{curator-b7zzsv98.js → curator-csg36d2a.js} +35 -35
  11. package/dist/cli/{curator-drift-ea11apaw.js → curator-drift-z6c2ctqr.js} +5 -5
  12. package/dist/cli/{curator-llm-factory-758hynyn.js → curator-llm-factory-dtyyh77f.js} +35 -35
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-5768wb0n.js → doctor-knowledge-receipt-phase-id-gps8dpqr.js} +6 -6
  14. package/dist/cli/{evidence-summary-service-z2yj87tn.js → evidence-summary-service-txbkchx6.js} +15 -15
  15. package/dist/cli/{gate-evidence-m90ynftc.js → gate-evidence-bwyxrk3z.js} +5 -5
  16. package/dist/cli/{guardrail-explain-y2g82gqv.js → guardrail-explain-gxzdr8w4.js} +36 -36
  17. package/dist/cli/{guardrail-log-c50qd8sf.js → guardrail-log-ra5qbb4b.js} +6 -6
  18. package/dist/cli/{guardrail-reset-h7g9a90e.js → guardrail-reset-b0s11ban.js} +35 -35
  19. package/dist/cli/{hive-promoter-wpcn3wyz.js → hive-promoter-avvddtgc.js} +35 -35
  20. package/dist/cli/{index-bkcd3nwh.js → index-0v2svrev.js} +1 -1
  21. package/dist/cli/{index-by488z8m.js → index-41v699sv.js} +3 -3
  22. package/dist/cli/{index-sec8fwf1.js → index-4htcpbs4.js} +67 -48
  23. package/dist/cli/{index-h03j41jw.js → index-4m6k2r0v.js} +4 -4
  24. package/dist/cli/{index-naxtsh2e.js → index-4rjw95qw.js} +4 -4
  25. package/dist/cli/{index-4tmk29gc.js → index-5m06enb0.js} +1 -1
  26. package/dist/cli/{index-by7x4ty3.js → index-61pxv4sk.js} +35 -35
  27. package/dist/cli/{index-xpj149rz.js → index-7sbyvk99.js} +1 -1
  28. package/dist/cli/{index-japwz660.js → index-8pbtv6ea.js} +1 -1
  29. package/dist/cli/{index-w3xapqjq.js → index-9007eaeh.js} +3 -3
  30. package/dist/cli/{index-5ktekhxk.js → index-936d3ny7.js} +1 -1
  31. package/dist/cli/{index-02nzb100.js → index-9bjf0bhd.js} +2 -2
  32. package/dist/cli/{index-mh3nsv7v.js → index-a1tpp2fs.js} +2 -2
  33. package/dist/cli/{index-5x8zhfsq.js → index-aqe9x8ga.js} +3 -3
  34. package/dist/cli/{index-hrxr48p5.js → index-b9pz70d0.js} +2 -2
  35. package/dist/cli/{index-468s960k.js → index-c66ywect.js} +1 -1
  36. package/dist/cli/{index-a5pjm9zc.js → index-cb72p9w2.js} +2 -2
  37. package/dist/cli/{index-m3dcecc5.js → index-cdakr0yh.js} +37 -37
  38. package/dist/cli/{index-npkxp81s.js → index-cs6g43qy.js} +14 -9
  39. package/dist/cli/{index-7fekgghd.js → index-dxhd7dsr.js} +7 -7
  40. package/dist/cli/{index-ksvm96bz.js → index-edaj9qxn.js} +1 -1
  41. package/dist/cli/{index-zbv9t6p2.js → index-fdx38afm.js} +6 -6
  42. package/dist/cli/{index-45d3vpry.js → index-gy57hcy2.js} +1 -1
  43. package/dist/cli/{index-fk7s8btv.js → index-jd3hvnqn.js} +2 -2
  44. package/dist/cli/{index-ez4kkgcd.js → index-jn08bcaa.js} +3 -3
  45. package/dist/cli/{index-7ba0hdg4.js → index-mb1reyw3.js} +1 -1
  46. package/dist/cli/{index-h7p78r0w.js → index-mdbqm6w1.js} +4 -4
  47. package/dist/cli/{index-mdxrk3az.js → index-pswvtgdx.js} +3 -3
  48. package/dist/cli/{index-6551m2st.js → index-qgvmq92m.js} +2 -2
  49. package/dist/cli/{index-nsvm2j4x.js → index-rwabrcsg.js} +1 -1
  50. package/dist/cli/{index-w9p41945.js → index-swagbt0g.js} +1 -1
  51. package/dist/cli/{index-10h0jx4e.js → index-w4q0sw5g.js} +4 -4
  52. package/dist/cli/{index-6rdajskg.js → index-wkxhhyej.js} +138 -102
  53. package/dist/cli/{index-e3vbyy10.js → index-x73e0zkb.js} +1 -1
  54. package/dist/cli/{index-7t15ybzn.js → index-xrsfbr31.js} +3 -3
  55. package/dist/cli/{index-yk9vs9pw.js → index-z4zznftq.js} +2 -2
  56. package/dist/cli/{index-wvkbp1qr.js → index-zhnywrhs.js} +6 -6
  57. package/dist/cli/{index-zzgv4jy6.js → index-ztq5ag7q.js} +4 -4
  58. package/dist/cli/{index-v8ytrkrg.js → index-zvrfvtp3.js} +77 -11
  59. package/dist/cli/{index-q0am9gm3.js → index-zwgh0gty.js} +1 -1
  60. package/dist/cli/index.js +36 -36
  61. package/dist/cli/{knowledge-escalator-wzsxp6yg.js → knowledge-escalator-02z57h57.js} +12 -12
  62. package/dist/cli/{knowledge-events-dcchq50n.js → knowledge-events-yqfwghad.js} +10 -10
  63. package/dist/cli/{knowledge-link-zh9rzesj.js → knowledge-link-9gx2djyd.js} +4 -4
  64. package/dist/cli/{knowledge-store-p27r8wa9.js → knowledge-store-85rcyme4.js} +5 -5
  65. package/dist/cli/{knowledge-validator-rmtymth5.js → knowledge-validator-0fax9dq4.js} +7 -7
  66. package/dist/cli/{mcp-jr1rr2zd.js → mcp-rt2qxyc1.js} +1 -1
  67. package/dist/cli/{model-preflight-xzy5x4rt.js → model-preflight-yf57x1x7.js} +35 -35
  68. package/dist/cli/{pending-delegations-4k740a2c.js → pending-delegations-3emmnz2y.js} +7 -7
  69. package/dist/cli/{pr-subscriptions-515xdgjj.js → pr-subscriptions-mpwtbpdd.js} +7 -7
  70. package/dist/cli/{pr-workflow-gate-srpa0mds.js → pr-workflow-gate-0qzc2dbr.js} +35 -35
  71. package/dist/cli/{runner-tk1cmgzt.js → runner-x8sbydkw.js} +5 -5
  72. package/dist/cli/{scan-cursor-w89sck5y.js → scan-cursor-w0m9zjrr.js} +6 -6
  73. package/dist/cli/{schema-1mwgvrv7.js → schema-0w9q2h6j.js} +1 -1
  74. package/dist/cli/{scope-persistence-qen27qx7.js → scope-persistence-3mc615t3.js} +11 -11
  75. package/dist/cli/{server-rhz44ye9.js → server-h36cgr2m.js} +35 -35
  76. package/dist/cli/{skill-generator-05mxym3d.js → skill-generator-qaskynvt.js} +14 -14
  77. package/dist/cli/{snapshot-coordination-init-jjegs3v5.js → snapshot-coordination-init-j226zrvz.js} +35 -35
  78. package/dist/cli/{speckit-checkoff-3m04ks95.js → speckit-checkoff-6xa1f1qr.js} +3 -3
  79. package/dist/cli/{telemetry-vwxbsnye.js → telemetry-d0j31j5d.js} +1 -1
  80. package/dist/cli/{worktree-collision-ownership-0d73y8h0.js → worktree-collision-ownership-frtjkhms.js} +7 -7
  81. package/dist/cli/{worktree-isolation-d0vn38wb.js → worktree-isolation-c07qk28m.js} +35 -35
  82. package/dist/commands/close/align-stage.d.ts +26 -0
  83. package/dist/commands/close/context.d.ts +8 -0
  84. package/dist/commands/close/internals.d.ts +1 -1
  85. package/dist/commands/destructive-purge.d.ts +55 -27
  86. package/dist/commands/registry.d.ts +1 -1
  87. package/dist/hooks/knowledge-validator.d.ts +18 -1
  88. package/dist/index.js +20 -19
  89. package/dist/observability/catalog.d.ts +3 -3
  90. package/dist/telemetry.d.ts +15 -1
  91. package/dist/tools/repo-map.d.ts +4 -0
  92. package/package.json +1 -1
@@ -13,7 +13,7 @@ import {
13
13
  PluginConfigSchema,
14
14
  init_schema,
15
15
  resolveExternalSkillsConfig
16
- } from "./index-4tmk29gc.js";
16
+ } from "./index-5m06enb0.js";
17
17
  import {
18
18
  DangerousMergeKeyError,
19
19
  MAX_MERGE_DEPTH,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  computePlanStructureHash
4
- } from "./index-naxtsh2e.js";
4
+ } from "./index-4rjw95qw.js";
5
5
  import {
6
6
  appendCoreEventSync
7
- } from "./index-hrxr48p5.js";
7
+ } from "./index-b9pz70d0.js";
8
8
  import {
9
9
  deleteCoordinationState,
10
10
  importCoordinationOnce,
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-6rdajskg.js";
17
+ } from "./index-wkxhhyej.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-ez4kkgcd.js";
24
+ } from "./index-jn08bcaa.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-h7p78r0w.js";
8
+ } from "./index-mdbqm6w1.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-npkxp81s.js";
12
+ } from "./index-cs6g43qy.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-zbv9t6p2.js";
19
+ } from "./index-fdx38afm.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-7ba0hdg4.js";
4
+ } from "./index-mb1reyw3.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-sec8fwf1.js";
7
+ } from "./index-4htcpbs4.js";
8
8
  import {
9
9
  init_logger,
10
10
  warn
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  init_loader,
11
11
  loadPluginConfig
12
- } from "./index-5ktekhxk.js";
12
+ } from "./index-936d3ny7.js";
13
13
  import {
14
14
  init_logger,
15
15
  log,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-5ktekhxk.js";
5
+ } from "./index-936d3ny7.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-4tmk29gc.js";
8
+ } from "./index-5m06enb0.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-mh3nsv7v.js";
4
+ } from "./index-a1tpp2fs.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-japwz660.js";
7
+ } from "./index-8pbtv6ea.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  DEFAULT_CI_DEADLINE_MS,
@@ -97,77 +97,77 @@ import {
97
97
  handleWriteRetroCommand,
98
98
  normalizeSwarmCommandInput,
99
99
  resolveCommand
100
- } from "./index-6rdajskg.js";
101
- import"./index-ez4kkgcd.js";
102
- import"./index-6551m2st.js";
103
- import"./index-7t15ybzn.js";
100
+ } from "./index-wkxhhyej.js";
101
+ import"./index-jn08bcaa.js";
102
+ import"./index-qgvmq92m.js";
103
+ import"./index-xrsfbr31.js";
104
104
  import"./index-vx8a8w3b.js";
105
- import"./index-e3vbyy10.js";
106
- import"./index-fk7s8btv.js";
105
+ import"./index-x73e0zkb.js";
106
+ import"./index-jd3hvnqn.js";
107
107
  import"./index-txdagbh7.js";
108
- import"./index-yk9vs9pw.js";
108
+ import"./index-z4zznftq.js";
109
109
  import"./index-rdec0y3z.js";
110
- import"./index-45d3vpry.js";
111
- import"./index-zzgv4jy6.js";
112
- import"./index-5x8zhfsq.js";
113
- import"./index-wvkbp1qr.js";
110
+ import"./index-gy57hcy2.js";
111
+ import"./index-ztq5ag7q.js";
112
+ import"./index-aqe9x8ga.js";
113
+ import"./index-zhnywrhs.js";
114
114
  import"./index-mf19yqss.js";
115
- import"./index-by488z8m.js";
115
+ import"./index-41v699sv.js";
116
116
  import"./index-cjapb4hy.js";
117
117
  import"./index-a8gvszr2.js";
118
118
  import"./index-pt7h91zc.js";
119
119
  import"./index-q7sjgr1y.js";
120
- import"./index-v8ytrkrg.js";
121
- import"./index-7fekgghd.js";
120
+ import"./index-zvrfvtp3.js";
121
+ import"./index-dxhd7dsr.js";
122
122
  import"./index-6b295cas.js";
123
123
  import"./index-9nyqt3kb.js";
124
- import"./index-w9p41945.js";
124
+ import"./index-swagbt0g.js";
125
125
  import"./index-zsrtt42s.js";
126
- import"./index-468s960k.js";
127
- import"./index-w3xapqjq.js";
128
- import"./index-ksvm96bz.js";
126
+ import"./index-c66ywect.js";
127
+ import"./index-9007eaeh.js";
128
+ import"./index-edaj9qxn.js";
129
129
  import"./index-g4fs6z4e.js";
130
- import"./index-10h0jx4e.js";
131
- import"./index-h7p78r0w.js";
132
- import"./index-h03j41jw.js";
130
+ import"./index-w4q0sw5g.js";
131
+ import"./index-mdbqm6w1.js";
132
+ import"./index-4m6k2r0v.js";
133
133
  import"./index-m9zzj4ee.js";
134
134
  import"./index-bejxkee0.js";
135
135
  import"./index-2s7dvzff.js";
136
- import"./index-npkxp81s.js";
137
- import"./index-nsvm2j4x.js";
136
+ import"./index-cs6g43qy.js";
137
+ import"./index-rwabrcsg.js";
138
138
  import"./index-rtry5xyf.js";
139
- import"./index-a5pjm9zc.js";
139
+ import"./index-cb72p9w2.js";
140
140
  import"./index-kbkk7vnh.js";
141
141
  import"./index-0725jpp7.js";
142
- import"./index-02nzb100.js";
143
- import"./index-naxtsh2e.js";
144
- import"./index-hrxr48p5.js";
142
+ import"./index-9bjf0bhd.js";
143
+ import"./index-4rjw95qw.js";
144
+ import"./index-b9pz70d0.js";
145
145
  import"./index-m1qy7f1e.js";
146
146
  import"./index-cc1vzq4m.js";
147
147
  import"./index-9hag235h.js";
148
148
  import"./index-ry16d01s.js";
149
149
  import"./index-rdm3px0g.js";
150
150
  import"./index-7pmbnjvj.js";
151
- import"./index-7ba0hdg4.js";
152
- import"./index-zbv9t6p2.js";
151
+ import"./index-mb1reyw3.js";
152
+ import"./index-fdx38afm.js";
153
153
  import"./index-vzm6zre7.js";
154
154
  import"./index-ae75rja9.js";
155
- import"./index-q0am9gm3.js";
156
- import"./index-xpj149rz.js";
157
- import"./index-bkcd3nwh.js";
155
+ import"./index-zwgh0gty.js";
156
+ import"./index-7sbyvk99.js";
157
+ import"./index-0v2svrev.js";
158
158
  import"./index-t7hmqgjy.js";
159
- import"./index-sec8fwf1.js";
159
+ import"./index-4htcpbs4.js";
160
160
  import"./index-fzpt2djt.js";
161
161
  import"./index-ejhxgyvm.js";
162
162
  import"./index-7g4c7s5r.js";
163
163
  import"./index-r6e8syr3.js";
164
164
  import"./index-gx2vp8gx.js";
165
- import"./index-5ktekhxk.js";
165
+ import"./index-936d3ny7.js";
166
166
  import"./index-zxdawwc7.js";
167
167
  import {
168
168
  init_schema,
169
169
  stripKnownSwarmPrefix
170
- } from "./index-4tmk29gc.js";
170
+ } from "./index-5m06enb0.js";
171
171
  import {
172
172
  AGENT_TOOL_MAP,
173
173
  ORCHESTRATOR_NAME,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-nsvm2j4x.js";
4
+ } from "./index-rwabrcsg.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-zbv9t6p2.js";
12
+ } from "./index-fdx38afm.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-q0am9gm3.js";
15
+ } from "./index-zwgh0gty.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-xpj149rz.js";
18
+ } from "./index-7sbyvk99.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -579,16 +579,16 @@ function auditEntryHealth(entry) {
579
579
  async function quarantineEntry(directory, entryId, reason, reportedBy, curationContext) {
580
580
  if (!directory || directory.includes("..")) {
581
581
  warn("[knowledge-validator] quarantineEntry: directory traversal attempt blocked");
582
- return;
582
+ return { status: "invalid_input" };
583
583
  }
584
584
  if (!entryId || entryId.includes("\x00") || entryId.includes(`
585
585
  `)) {
586
586
  warn("[knowledge-validator] quarantineEntry: invalid entryId rejected");
587
- return;
587
+ return { status: "invalid_input" };
588
588
  }
589
589
  const validReportedBy = ["architect", "user", "auto"];
590
590
  if (!validReportedBy.includes(reportedBy)) {
591
- return;
591
+ return { status: "invalid_input" };
592
592
  }
593
593
  const sanitizedReason = reason.slice(0, 500).replace(/[\x00-\x08\x0b-\x0c\x0e-\x1f\x7f\x0d]/g, "");
594
594
  const knowledgePath = resolveSwarmKnowledgePath(directory);
@@ -605,7 +605,7 @@ async function quarantineEntry(directory, entryId, reason, reportedBy, curationC
605
605
  const entries = await readKnowledge(knowledgePath);
606
606
  const entry = entries.find((e) => e.id === entryId);
607
607
  if (!entry) {
608
- return;
608
+ return { status: "not_found" };
609
609
  }
610
610
  if (curationContext) {
611
611
  const refreshedContext = {
@@ -615,7 +615,11 @@ async function quarantineEntry(directory, entryId, reason, reportedBy, curationC
615
615
  const decision = await authorizeCuration(curationContext.input, refreshedContext);
616
616
  if (!decision.authorized) {
617
617
  warn(`[knowledge-validator] quarantineEntry blocked by cohort-safety policy ` + `(basis: ${decision.basis}): ${decision.detail}`);
618
- return;
618
+ return {
619
+ status: "denied",
620
+ basis: decision.basis,
621
+ detail: decision.detail
622
+ };
619
623
  }
620
624
  }
621
625
  const remaining = entries.filter((e) => e.id !== entryId);
@@ -650,6 +654,7 @@ async function quarantineEntry(directory, entryId, reason, reportedBy, curationC
650
654
  };
651
655
  await appendFile(rejectedPath, `${JSON.stringify(rejectedRecord)}
652
656
  `, "utf-8");
657
+ return { status: "quarantined" };
653
658
  } finally {
654
659
  if (release) {
655
660
  await release();
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-6b295cas.js";
5
5
  import {
6
6
  readEffectiveSpecSync
7
- } from "./index-w9p41945.js";
7
+ } from "./index-swagbt0g.js";
8
8
  import {
9
9
  getWorktreeMergeFailure
10
10
  } from "./index-zsrtt42s.js";
@@ -47,10 +47,10 @@ import {
47
47
  replayFromLedgerWithStatus,
48
48
  takeSnapshotEvent,
49
49
  takeSnapshotWithRetry
50
- } from "./index-naxtsh2e.js";
50
+ } from "./index-4rjw95qw.js";
51
51
  import {
52
52
  appendCoreEventSync
53
- } from "./index-hrxr48p5.js";
53
+ } from "./index-b9pz70d0.js";
54
54
  import {
55
55
  getCoordinationState,
56
56
  importCoordinationOnce,
@@ -72,7 +72,7 @@ import {
72
72
  } from "./index-t7hmqgjy.js";
73
73
  import {
74
74
  emit
75
- } from "./index-sec8fwf1.js";
75
+ } from "./index-4htcpbs4.js";
76
76
  import {
77
77
  canonicalRootKeyFresh
78
78
  } from "./index-fzpt2djt.js";
@@ -2997,7 +2997,7 @@ ${markdown}`;
2997
2997
  }
2998
2998
  }
2999
2999
  async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
3000
- const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-521fehr3.js");
3000
+ const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-w2mjh5m3.js");
3001
3001
  return maybeSaveAutoCheckpoint(directory, plan);
3002
3002
  }
3003
3003
  async function updateTaskStatus(directory, taskId, status, options) {
@@ -3073,7 +3073,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
3073
3073
  if (status === "completed") {
3074
3074
  try {
3075
3075
  const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
3076
- const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-3m04ks95.js");
3076
+ const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-6xa1f1qr.js");
3077
3077
  await maybePropagateSpeckitCheckoff(directory, {
3078
3078
  taskId,
3079
3079
  frRefs: completedTask?.fr_refs ?? [],
@@ -3098,7 +3098,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
3098
3098
  break;
3099
3099
  }
3100
3100
  }
3101
- const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-qen27qx7.js");
3101
+ const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-3mc615t3.js");
3102
3102
  const canonicalScope = readDeclaredScopeFilesFromBindings({
3103
3103
  directory,
3104
3104
  taskId,
@@ -242,7 +242,7 @@ var _internals2 = {
242
242
  symlinkSync: fs2.symlinkSync
243
243
  },
244
244
  writeScopeToDisk: async (directory, taskId, files) => {
245
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-qen27qx7.js");
245
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-3mc615t3.js");
246
246
  return realWrite(directory, taskId, files);
247
247
  },
248
248
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -11,10 +11,10 @@ import {
11
11
  } from "./index-ae75rja9.js";
12
12
  import {
13
13
  resolveKnowledgeStoreDir
14
- } from "./index-q0am9gm3.js";
14
+ } from "./index-zwgh0gty.js";
15
15
  import {
16
16
  atomicWriteFile
17
- } from "./index-xpj149rz.js";
17
+ } from "./index-7sbyvk99.js";
18
18
  import {
19
19
  require_proper_lockfile
20
20
  } from "./index-7g4c7s5r.js";
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
739
739
  const {
740
740
  readAuthoritativeKnowledgeCounterRollups,
741
741
  effectiveRetrievalOutcomes
742
- } = await import("./knowledge-events-dcchq50n.js");
742
+ } = await import("./knowledge-events-yqfwghad.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-rmtymth5.js");
810
- const { KnowledgeConfigSchema } = await import("./schema-1mwgvrv7.js");
809
+ const { quarantineEntry } = await import("./knowledge-validator-0fax9dq4.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-0w9q2h6j.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-mdxrk3az.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-pswvtgdx.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  readEffectiveSpecSync
4
- } from "./index-w9p41945.js";
4
+ } from "./index-swagbt0g.js";
5
5
  import {
6
6
  readSwarmFileAsync
7
7
  } from "./index-bejxkee0.js";
@@ -9,10 +9,10 @@ import {
9
9
  } from "./index-txdagbh7.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-xpj149rz.js";
12
+ } from "./index-7sbyvk99.js";
13
13
  import {
14
14
  withEvidenceLock
15
- } from "./index-bkcd3nwh.js";
15
+ } from "./index-0v2svrev.js";
16
16
  import {
17
17
  assertProjectRoot
18
18
  } from "./index-t7hmqgjy.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-7ba0hdg4.js";
4
+ } from "./index-mb1reyw3.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-sec8fwf1.js";
7
+ } from "./index-4htcpbs4.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-4tmk29gc.js";
11
+ } from "./index-5m06enb0.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-bstjg81q.js";
@@ -3,7 +3,7 @@ import {
3
3
  pseudonymousRef,
4
4
  resolveLineageSalt,
5
5
  telemetry
6
- } from "./index-sec8fwf1.js";
6
+ } from "./index-4htcpbs4.js";
7
7
  import {
8
8
  canonicalRootKeyFresh
9
9
  } from "./index-fzpt2djt.js";
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  queryHistoricalOutcomes
4
- } from "./index-h03j41jw.js";
4
+ } from "./index-4m6k2r0v.js";
5
5
  import {
6
6
  resolveHiveEventsPath
7
7
  } from "./index-ae75rja9.js";
8
8
  import {
9
9
  resolveKnowledgeStoreDir
10
- } from "./index-q0am9gm3.js";
10
+ } from "./index-zwgh0gty.js";
11
11
  import {
12
12
  atomicWriteFile
13
- } from "./index-xpj149rz.js";
13
+ } from "./index-7sbyvk99.js";
14
14
  import {
15
15
  canonicalRootKey
16
16
  } from "./index-fzpt2djt.js";
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
708
708
  }
709
709
  let bumps = 0;
710
710
  if (deltas.length > 0) {
711
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-p27r8wa9.js");
711
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-85rcyme4.js");
712
712
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
713
713
  }
714
714
  return {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-a5pjm9zc.js";
5
+ } from "./index-cb72p9w2.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-5ktekhxk.js";
49
+ } from "./index-936d3ny7.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-4tmk29gc.js";
75
+ } from "./index-5m06enb0.js";
76
76
  import {
77
77
  ALL_AGENT_NAMES,
78
78
  ALL_SUBAGENT_NAMES,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  loadPlanJsonOnly
4
- } from "./index-7fekgghd.js";
4
+ } from "./index-dxhd7dsr.js";
5
5
  import {
6
6
  isCanonicalPathWithinRoot
7
7
  } from "./index-6b295cas.js";
@@ -15,7 +15,7 @@ import {
15
15
  PluginConfigSchema,
16
16
  init_schema,
17
17
  stripKnownSwarmPrefix
18
- } from "./index-4tmk29gc.js";
18
+ } from "./index-5m06enb0.js";
19
19
  import {
20
20
  ALL_AGENT_NAMES,
21
21
  TOOL_NAME_SET,
@@ -11,7 +11,7 @@ import {
11
11
  readLinkPointer,
12
12
  resolveKnowledgeStoreDir,
13
13
  resolveLinkDir
14
- } from "./index-q0am9gm3.js";
14
+ } from "./index-zwgh0gty.js";
15
15
 
16
16
  // src/knowledge/curation-policy.ts
17
17
  import { readFile as readFile2 } from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  writeSpeckitCheckoffLedger
4
- } from "./index-468s960k.js";
4
+ } from "./index-c66ywect.js";
5
5
  import {
6
6
  validateSpecContent
7
7
  } from "./index-0725jpp7.js";
@@ -25,14 +25,14 @@ import {
25
25
  } from "./index-9hag235h.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-7ba0hdg4.js";
28
+ } from "./index-mb1reyw3.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-bkcd3nwh.js";
32
+ } from "./index-0v2svrev.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-sec8fwf1.js";
35
+ } from "./index-4htcpbs4.js";
36
36
  import {
37
37
  canonicalRootKeyFresh,
38
38
  sameProjectRoot
@@ -4735,7 +4735,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4735
4735
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4736
4736
  if (candidates.length === 0)
4737
4737
  return 0;
4738
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-skfkfgt7.js");
4738
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-40qspmep.js");
4739
4739
  let transferred = 0;
4740
4740
  for (const record of candidates) {
4741
4741
  try {