opencode-swarm 7.164.12 → 7.165.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 (114) hide show
  1. package/.opencode/skills/durable-session-state/SKILL.md +1 -1
  2. package/.opencode/skills/issue-tracer/SKILL.md +140 -286
  3. package/.opencode/skills/issue-tracer/assets/pr-template.md +13 -7
  4. package/.opencode/skills/issue-tracer/references/acceptance-checks.md +66 -0
  5. package/.opencode/skills/issue-tracer/references/critic-gate.md +53 -11
  6. package/.opencode/skills/issue-tracer/references/evidence-artifacts.md +128 -23
  7. package/.opencode/skills/issue-tracer/references/full-resolution-contract.md +69 -0
  8. package/.opencode/skills/issue-tracer/references/install.md +31 -9
  9. package/.opencode/skills/issue-tracer/references/localization-playbook.md +26 -14
  10. package/.opencode/skills/issue-tracer/references/method-provenance.md +19 -3
  11. package/.opencode/skills/issue-tracer/references/phase-0-setup.md +90 -0
  12. package/.opencode/skills/issue-tracer/references/phase-1-intake.md +43 -0
  13. package/.opencode/skills/issue-tracer/references/untrusted-content.md +13 -5
  14. package/.opencode/skills/issue-tracer/scripts/repro-check.sh +416 -0
  15. package/.opencode/skills/issue-tracer/scripts/trace-check.sh +479 -0
  16. package/.opencode/skills/issue-tracer/scripts/trace-init.sh +96 -6
  17. package/.opencode/skills/loop/SKILL.md +1 -1
  18. package/.opencode/skills/{plan → swarm-plan}/SKILL.md +1 -1
  19. package/dist/cli/{coder-settlement-yh1q5fr3.js → coder-settlement-89nt4j7g.js} +11 -11
  20. package/dist/cli/{config-doctor-bd4yzmh7.js → config-doctor-gm6f5chm.js} +3 -3
  21. package/dist/cli/{core-y0s1vmyc.js → core-91p43zwj.js} +2 -2
  22. package/dist/cli/{curation-policy-gs1qakn7.js → curation-policy-bqpmry2n.js} +5 -5
  23. package/dist/cli/{curator-brqack0j.js → curator-4bs2hmy9.js} +36 -36
  24. package/dist/cli/{curator-drift-1sg9yk2m.js → curator-drift-hbc3w5zj.js} +4 -4
  25. package/dist/cli/curator-llm-factory-fhbjwar0.js +70 -0
  26. package/dist/cli/{evidence-summary-service-nqbcvp30.js → evidence-summary-service-g1xd8egd.js} +16 -16
  27. package/dist/cli/{gate-evidence-9stdtpej.js → gate-evidence-gdmgsz7c.js} +7 -7
  28. package/dist/cli/guardrail-explain-1nfbtpgg.js +71 -0
  29. package/dist/cli/{guardrail-log-sf39x00b.js → guardrail-log-nyggdv04.js} +8 -8
  30. package/dist/cli/{guardrail-reset-9wr6a60s.js → guardrail-reset-rp9jq0gj.js} +36 -36
  31. package/dist/cli/{hive-promoter-bqtj8261.js → hive-promoter-39xb4tx2.js} +36 -36
  32. package/dist/cli/{index-cgewrpw5.js → index-0e9jh9c7.js} +4 -3
  33. package/dist/cli/{index-3fnym6ac.js → index-1v6vc90w.js} +4 -4
  34. package/dist/cli/{index-hg09xemc.js → index-2k53pfnc.js} +4 -4
  35. package/dist/cli/{index-wknpkfm8.js → index-3xyjvx24.js} +7 -7
  36. package/dist/cli/{index-03enxdaq.js → index-4gmt79q9.js} +1 -1
  37. package/dist/cli/{index-qgajv9rd.js → index-58be2gtd.js} +3 -3
  38. package/dist/cli/{index-r2p0pgst.js → index-5ebgzb5a.js} +3 -3
  39. package/dist/cli/{index-k0s8n6m5.js → index-5ythtd9t.js} +11 -11
  40. package/dist/cli/{index-hb7bh4r2.js → index-6be5caj8.js} +30 -6
  41. package/dist/cli/{index-yvqg6kn5.js → index-6m24v15v.js} +2 -2
  42. package/dist/cli/{index-sphahrmq.js → index-6rx1rdaq.js} +1 -1
  43. package/dist/cli/{index-r69gzes2.js → index-7h94rfem.js} +7 -7
  44. package/dist/cli/{index-xxfk62zd.js → index-8bdk7124.js} +2 -2
  45. package/dist/cli/{index-50j914b5.js → index-a0d4fp6r.js} +29 -7
  46. package/dist/cli/{index-8vw2pjgr.js → index-afpkqsdb.js} +6 -6
  47. package/dist/cli/{index-4mjmnysc.js → index-ajknebrc.js} +1 -1
  48. package/dist/cli/{index-qqq04n70.js → index-anxs69ad.js} +1 -1
  49. package/dist/cli/{index-888pq4xx.js → index-c4ddtrqg.js} +7 -7
  50. package/dist/cli/{index-ztm0q26v.js → index-dh5th4jn.js} +1 -1
  51. package/dist/cli/{index-c45662wc.js → index-e45htt92.js} +1 -1
  52. package/dist/cli/{index-ad9064j9.js → index-e6n7cemz.js} +4 -4
  53. package/dist/cli/{index-hvz4ad2t.js → index-f36hy1x4.js} +1 -1
  54. package/dist/cli/{index-40twgsyh.js → index-g8wdekzz.js} +2 -2
  55. package/dist/cli/{index-0byep4pe.js → index-gn6ybsc4.js} +8 -8
  56. package/dist/cli/{index-ewv8qa8q.js → index-gy0nyfbw.js} +2 -2
  57. package/dist/cli/{index-wasdrhev.js → index-hdakb4n9.js} +4 -4
  58. package/dist/cli/{index-5wc5pbzc.js → index-hwz46jj7.js} +682 -349
  59. package/dist/cli/{index-eed0gkv6.js → index-j2svfhzk.js} +2 -2
  60. package/dist/cli/{index-2bhz5k91.js → index-jre6tm3v.js} +2 -2
  61. package/dist/cli/{index-b25t91a3.js → index-k1ntjzmf.js} +2 -2
  62. package/dist/cli/{index-kxv193aq.js → index-n3pjcks8.js} +5 -5
  63. package/dist/cli/{index-ebce775n.js → index-p7hdp3rp.js} +2 -2
  64. package/dist/cli/{index-d3mpxsmy.js → index-ptsqnxwd.js} +7 -7
  65. package/dist/cli/{index-d7j3n5ra.js → index-qzvry1n1.js} +41 -39
  66. package/dist/cli/{index-m8xrbdmn.js → index-r5hj3nfe.js} +2 -2
  67. package/dist/cli/{index-x39hjdf1.js → index-tqw8w2n5.js} +1 -1
  68. package/dist/cli/{index-es64amqt.js → index-w6988bbc.js} +1 -1
  69. package/dist/cli/{index-mee9maf5.js → index-xwbn7c8m.js} +2 -2
  70. package/dist/cli/{index-4vb56w2k.js → index-y1zhpfk8.js} +4 -4
  71. package/dist/cli/{index-vw66q1rw.js → index-zycp24b9.js} +1 -1
  72. package/dist/cli/index.js +146 -67
  73. package/dist/cli/{knowledge-escalator-01vva51d.js → knowledge-escalator-eq07pcj3.js} +13 -13
  74. package/dist/cli/{knowledge-events-dpfwh1hs.js → knowledge-events-rv9q9mkm.js} +11 -11
  75. package/dist/cli/{knowledge-link-2rvp966j.js → knowledge-link-dgvbqjqg.js} +4 -4
  76. package/dist/cli/{knowledge-store-aw58ae7b.js → knowledge-store-cxcr0ttk.js} +5 -5
  77. package/dist/cli/{knowledge-validator-yhd31ryf.js → knowledge-validator-8qtd9ys0.js} +7 -7
  78. package/dist/cli/{model-preflight-288nsgpw.js → model-preflight-3s1c0zpc.js} +1 -1
  79. package/dist/cli/{pending-delegations-fjetcz8e.js → pending-delegations-dp3g8e7k.js} +11 -11
  80. package/dist/cli/{pr-subscriptions-cwwtfs8w.js → pr-subscriptions-3vx06rar.js} +11 -11
  81. package/dist/cli/{pr-workflow-gate-5xwtg1k2.js → pr-workflow-gate-bbet0apk.js} +36 -36
  82. package/dist/cli/{runner-mb51twxt.js → runner-0e3bjeev.js} +5 -5
  83. package/dist/cli/{scan-cursor-j11qwf0v.js → scan-cursor-zwm0xng7.js} +6 -6
  84. package/dist/cli/{schema-0xp3bde3.js → schema-ebfxgya0.js} +2 -2
  85. package/dist/cli/{scope-persistence-brrk806y.js → scope-persistence-6c55akfz.js} +15 -15
  86. package/dist/cli/{skill-generator-j8qzmet9.js → skill-generator-mv5jxzsh.js} +15 -15
  87. package/dist/cli/{snapshot-coordination-init-h0xmtftq.js → snapshot-coordination-init-n556wa18.js} +36 -36
  88. package/dist/cli/{telemetry-m84ap0pp.js → telemetry-a1yvjerj.js} +1 -1
  89. package/dist/cli/{worktree-collision-ownership-j9zykj18.js → worktree-collision-ownership-pp4z4z8p.js} +12 -12
  90. package/dist/cli/{worktree-isolation-jd39xz6h.js → worktree-isolation-69hz9dgg.js} +36 -36
  91. package/dist/commands/benchmark.d.ts +5 -1
  92. package/dist/commands/registry.d.ts +34 -43
  93. package/dist/commands/turbo.d.ts +1 -1
  94. package/dist/config/bundled-skills.d.ts +4 -3
  95. package/dist/config/constants.d.ts +13 -0
  96. package/dist/config/skill-mirrors.d.ts +3 -3
  97. package/dist/hooks/extractors.d.ts +9 -0
  98. package/dist/hooks/non-architect-advisory.d.ts +18 -0
  99. package/dist/hooks/repo-graph-injection.d.ts +16 -0
  100. package/dist/index.js +73 -71
  101. package/dist/services/decision-drift-analyzer.d.ts +7 -0
  102. package/dist/services/handoff-service.d.ts +10 -0
  103. package/dist/services/status-service.d.ts +27 -0
  104. package/dist/state.d.ts +8 -0
  105. package/dist/tools/repo-graph/builder.d.ts +1 -25
  106. package/dist/tools/repo-graph/cache.d.ts +5 -1
  107. package/dist/tools/repo-graph/fallback-scanner.d.ts +71 -0
  108. package/dist/tools/repo-graph/indexed-storage.d.ts +11 -0
  109. package/dist/tools/repo-graph/storage.d.ts +7 -0
  110. package/dist/utils/context-decisions.d.ts +77 -0
  111. package/dist/utils/sanitize-display.d.ts +7 -0
  112. package/package.json +3 -2
  113. package/dist/cli/curator-llm-factory-dtsjc3zf.js +0 -70
  114. package/dist/cli/guardrail-explain-3ff1z3fm.js +0 -71
@@ -7,7 +7,7 @@ import {
7
7
  readLinkPointer,
8
8
  resolveKnowledgeStoreDir,
9
9
  resolveLinkDir
10
- } from "./index-sphahrmq.js";
10
+ } from "./index-6rx1rdaq.js";
11
11
 
12
12
  // src/knowledge/curation-policy.ts
13
13
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-p612v1mv.js";
8
8
  import {
9
9
  readCachedTextFile
10
- } from "./index-ewv8qa8q.js";
10
+ } from "./index-gy0nyfbw.js";
11
11
  import {
12
12
  warn
13
13
  } from "./index-zgwm4ryv.js";
@@ -6,13 +6,13 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-sphahrmq.js";
9
+ } from "./index-6rx1rdaq.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-2bhz5k91.js";
12
+ } from "./index-jre6tm3v.js";
13
13
  import {
14
14
  readCachedParsedFile
15
- } from "./index-ewv8qa8q.js";
15
+ } from "./index-gy0nyfbw.js";
16
16
  import {
17
17
  require_proper_lockfile
18
18
  } from "./index-7g4c7s5r.js";
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-dpfwh1hs.js");
716
+ } = await import("./knowledge-events-rv9q9mkm.js");
717
717
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
718
718
  const flagIds = new Set;
719
719
  for (const e of atFloor) {
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
780
780
  });
781
781
  }
782
782
  if (action === "quarantine" && toQuarantine.length > 0) {
783
- const { quarantineEntry } = await import("./knowledge-validator-yhd31ryf.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-0xp3bde3.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-8qtd9ys0.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-ebfxgya0.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-3fnym6ac.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-1v6vc90w.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -5,7 +5,7 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-es64amqt.js";
8
+ } from "./index-w6988bbc.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-es64amqt.js";
7
+ } from "./index-w6988bbc.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-ebce775n.js";
5
+ } from "./index-p7hdp3rp.js";
6
6
  import {
7
7
  validateSwarmPath
8
- } from "./index-qqq04n70.js";
8
+ } from "./index-anxs69ad.js";
9
9
  import {
10
10
  bunSpawn,
11
11
  classifySpawnFailure
@@ -19,10 +19,10 @@ import {
19
19
  atomicWriteFile,
20
20
  taskEvidencePath,
21
21
  withTaskEvidenceLock
22
- } from "./index-2bhz5k91.js";
22
+ } from "./index-jre6tm3v.js";
23
23
  import {
24
24
  telemetry
25
- } from "./index-r2p0pgst.js";
25
+ } from "./index-5ebgzb5a.js";
26
26
  import {
27
27
  init_git_executable,
28
28
  resolveGitExecutable
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-x39hjdf1.js";
12
+ } from "./index-tqw8w2n5.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-888pq4xx.js";
5
+ } from "./index-c4ddtrqg.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
- } from "./index-sphahrmq.js";
8
+ } from "./index-6rx1rdaq.js";
9
9
  import {
10
10
  init_git_executable,
11
11
  resolveGitExecutableAsync
@@ -1,36 +1,36 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-qqq04n70.js";
4
+ } from "./index-anxs69ad.js";
5
5
  import {
6
6
  observeReceiptTransition
7
- } from "./index-eed0gkv6.js";
7
+ } from "./index-j2svfhzk.js";
8
8
  import {
9
9
  resolveHiveEventsPath
10
10
  } from "./index-ae75rja9.js";
11
11
  import {
12
12
  resolveKnowledgeStoreDir
13
- } from "./index-sphahrmq.js";
13
+ } from "./index-6rx1rdaq.js";
14
14
  import {
15
15
  canonicalRootKey
16
16
  } from "./index-7qefgq4j.js";
17
17
  import {
18
18
  assertProjectRoot,
19
19
  atomicWriteFile
20
- } from "./index-2bhz5k91.js";
20
+ } from "./index-jre6tm3v.js";
21
21
  import {
22
22
  emit
23
- } from "./index-r2p0pgst.js";
23
+ } from "./index-5ebgzb5a.js";
24
24
  import {
25
25
  require_proper_lockfile
26
26
  } from "./index-7g4c7s5r.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-vw66q1rw.js";
29
+ } from "./index-zycp24b9.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-cgewrpw5.js";
33
+ } from "./index-0e9jh9c7.js";
34
34
  import {
35
35
  init_logger,
36
36
  warn
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2813
2813
  }
2814
2814
  let bumps = 0;
2815
2815
  if (deltas.length > 0) {
2816
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-aw58ae7b.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-cxcr0ttk.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -177,7 +177,7 @@ var SWARM_TEMP_GRAMMARS = [
177
177
  "src/commands/handoff.ts (pre-#2035; site=handoff.md; migrated-to=src/commands/handoff.ts:handleHandoffCommand)",
178
178
  "src/commands/handoff.ts (pre-#2035; site=handoff-prompt.md; migrated-to=src/commands/handoff.ts:handleHandoffCommand)",
179
179
  "src/memory/local-jsonl-provider.ts:1288",
180
- "src/config/bundled-skills.ts:251"
180
+ "src/config/bundled-skills.ts:259"
181
181
  ]
182
182
  },
183
183
  {
@@ -222,7 +222,7 @@ var SWARM_TEMP_GRAMMARS = [
222
222
  "src/evidence/manager.ts:288",
223
223
  "src/evidence/manager.ts:456",
224
224
  "src/tools/sast-baseline.ts:199",
225
- "src/tools/repo-graph/storage.ts:494",
225
+ "src/tools/repo-graph/storage.ts:524",
226
226
  "src/memory/reflection-service.ts (pre-#2035; migrated-to=src/memory/reflection-service.ts:atomicWrite)",
227
227
  "src/hooks/review-receipt.ts:608",
228
228
  "src/hooks/review-receipt.ts:674",
@@ -10,17 +10,17 @@ import {
10
10
  } from "./index-556ja8an.js";
11
11
  import {
12
12
  observeStoreHealth
13
- } from "./index-eed0gkv6.js";
13
+ } from "./index-j2svfhzk.js";
14
14
  import {
15
15
  telemetry
16
- } from "./index-r2p0pgst.js";
16
+ } from "./index-5ebgzb5a.js";
17
17
  import {
18
18
  init_schema,
19
19
  stripKnownSwarmPrefix
20
- } from "./index-cgewrpw5.js";
20
+ } from "./index-0e9jh9c7.js";
21
21
  import {
22
22
  init_constants
23
- } from "./index-50j914b5.js";
23
+ } from "./index-a0d4fp6r.js";
24
24
  import {
25
25
  init_logger,
26
26
  warn