opencode-swarm 7.161.1 → 7.162.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 (89) hide show
  1. package/dist/background/pr-review-contract.d.ts +1 -24
  2. package/dist/cli/authorization-vstrh7ra.js +23 -0
  3. package/dist/cli/{coder-settlement-2jteb5vy.js → coder-settlement-zrda71k0.js} +9 -9
  4. package/dist/cli/{config-doctor-1yn317qf.js → config-doctor-gjw4hdvt.js} +2 -2
  5. package/dist/cli/{core-k687jrr3.js → core-q5j5a7fh.js} +1 -1
  6. package/dist/cli/{curation-policy-ej9xc0cd.js → curation-policy-nv31cr6t.js} +5 -5
  7. package/dist/cli/{curator-llm-factory-m1ke17eq.js → curator-llm-factory-8d6kqsj1.js} +33 -31
  8. package/dist/cli/{curator-q017rjfk.js → curator-njskp28b.js} +33 -31
  9. package/dist/cli/{evidence-summary-service-6jzfa547.js → evidence-summary-service-5rry81jm.js} +13 -13
  10. package/dist/cli/{gate-evidence-j6nskaka.js → gate-evidence-b6k9wng8.js} +5 -5
  11. package/dist/cli/{guardrail-explain-xw3ma90f.js → guardrail-explain-5yw549sm.js} +34 -32
  12. package/dist/cli/{guardrail-log-etmzhbge.js → guardrail-log-nrnx87ac.js} +7 -7
  13. package/dist/cli/{guardrail-reset-z9fkxksy.js → guardrail-reset-zm5an5bw.js} +33 -31
  14. package/dist/cli/{hive-promoter-dmwjya83.js → hive-promoter-zzgnfhxr.js} +33 -31
  15. package/dist/cli/{index-32avgbyq.js → index-0myjf1y2.js} +2 -2
  16. package/dist/cli/{index-dq41vsf9.js → index-1eqbnwm6.js} +1 -1
  17. package/dist/cli/{index-dh5q6z7y.js → index-3b762978.js} +7 -4
  18. package/dist/cli/{index-qd9mrd7e.js → index-3fs3p6ck.js} +5 -5
  19. package/dist/cli/{index-cbcfpgz9.js → index-3gym3fjj.js} +6 -6
  20. package/dist/cli/{index-c6zyqgpq.js → index-3nsewz46.js} +1 -1
  21. package/dist/cli/{index-nm0cpfrv.js → index-5a8nk165.js} +4 -4
  22. package/dist/cli/{index-d8st72j7.js → index-63s6t3z4.js} +1 -1
  23. package/dist/cli/{index-7d79mj06.js → index-7322jr05.js} +9 -9
  24. package/dist/cli/{index-bn78ywnb.js → index-9cvfa8p8.js} +1 -1
  25. package/dist/cli/{index-k55td019.js → index-9m1ze4z4.js} +1 -1
  26. package/dist/cli/{index-hvfsz7e3.js → index-a1bh2e4f.js} +6 -6
  27. package/dist/cli/{index-c1geyan9.js → index-bgzdwkpe.js} +1 -1
  28. package/dist/cli/{index-epjvntnm.js → index-cjjcey0h.js} +1 -1
  29. package/dist/cli/{index-29f9te70.js → index-f18bqg18.js} +5 -3
  30. package/dist/cli/{index-awjx0wgk.js → index-fckfgptr.js} +1 -1
  31. package/dist/cli/{index-88wb0z9r.js → index-gss86tj3.js} +2 -2
  32. package/dist/cli/{index-za42r41w.js → index-gwbxeh8j.js} +14 -643
  33. package/dist/cli/{index-1j532307.js → index-hq1gdz0g.js} +2 -2
  34. package/dist/cli/{index-zhdfqz89.js → index-j1gq4qm8.js} +5 -5
  35. package/dist/cli/{index-4p6x3xxy.js → index-m24pv3f4.js} +4 -4
  36. package/dist/cli/{index-jm21vbyp.js → index-m516tpxe.js} +2 -2
  37. package/dist/cli/index-mmngnxev.js +883 -0
  38. package/dist/cli/{index-134d35c1.js → index-n249fbw7.js} +9 -0
  39. package/dist/cli/{index-s33ee2w3.js → index-nbfpnb0w.js} +1 -1
  40. package/dist/cli/{index-7619tk9a.js → index-rkr19fdv.js} +1 -1
  41. package/dist/cli/{index-9kp3cp5n.js → index-ttdjphep.js} +3 -3
  42. package/dist/cli/{index-f5axf6vq.js → index-v0t8z5ab.js} +1 -1
  43. package/dist/cli/{index-rracnf2y.js → index-vcen0ne4.js} +1 -1
  44. package/dist/cli/{index-y14mwbk8.js → index-w1sfjffe.js} +2 -2
  45. package/dist/cli/index-w7ekntej.js +643 -0
  46. package/dist/cli/{index-hq57ytm5.js → index-wvfgkms6.js} +1 -1
  47. package/dist/cli/{index-e0re84cx.js → index-xsv6zv7n.js} +35 -33
  48. package/dist/cli/{index-cs9w1hfs.js → index-xtjvg1wx.js} +2691 -2781
  49. package/dist/cli/{index-k4xey4kh.js → index-y3fgbx8g.js} +1 -1
  50. package/dist/cli/{index-yhadrxka.js → index-z74stz9p.js} +4 -4
  51. package/dist/cli/index.js +33 -31
  52. package/dist/cli/{knowledge-escalator-cqyxfjfh.js → knowledge-escalator-8y3adkn0.js} +11 -11
  53. package/dist/cli/{knowledge-events-g707awjf.js → knowledge-events-mnexhwe2.js} +9 -9
  54. package/dist/cli/{knowledge-link-8knefv8x.js → knowledge-link-jr8rqr39.js} +4 -4
  55. package/dist/cli/{knowledge-store-byhv66xq.js → knowledge-store-cp42ccd1.js} +5 -5
  56. package/dist/cli/{knowledge-validator-qfkr8eje.js → knowledge-validator-hwp1t6x3.js} +7 -7
  57. package/dist/cli/{pending-delegations-n3baz9m3.js → pending-delegations-jj5vaq9q.js} +5 -4
  58. package/dist/cli/{pr-subscriptions-3zwthnan.js → pr-subscriptions-mm6kyyv0.js} +4 -4
  59. package/dist/cli/{runner-fzgkd6m1.js → runner-d402vnq3.js} +5 -5
  60. package/dist/cli/{scan-cursor-fbtgyeft.js → scan-cursor-d75dh3hv.js} +6 -6
  61. package/dist/cli/{schema-xb7d31wq.js → schema-djm1bhb8.js} +1 -1
  62. package/dist/cli/{scope-persistence-5npzdfjf.js → scope-persistence-g0yc6dfa.js} +8 -8
  63. package/dist/cli/{skill-generator-k1e7nee3.js → skill-generator-9ppgxz4j.js} +13 -13
  64. package/dist/cli/{sqlite-loader-r1kgt2pq.js → sqlite-loader-c92413n7.js} +1 -1
  65. package/dist/cli/{worktree-collision-ownership-jfam09nj.js → worktree-collision-ownership-061zmyyp.js} +6 -5
  66. package/dist/cli/{worktree-isolation-avp3yxcs.js → worktree-isolation-vk82698z.js} +33 -31
  67. package/dist/db/sqlite-loader.d.ts +1 -0
  68. package/dist/hooks/pr-workflow-gate.d.ts +20 -245
  69. package/dist/index.js +392 -378
  70. package/dist/memory/curator-decision-helpers.d.ts +1 -0
  71. package/dist/memory/index.d.ts +1 -1
  72. package/dist/memory/local-jsonl-provider.d.ts +2 -0
  73. package/dist/memory/proposal-load.d.ts +15 -0
  74. package/dist/memory/relation-constants.d.ts +3 -0
  75. package/dist/memory/relations.d.ts +8 -0
  76. package/dist/memory/schema.d.ts +8 -0
  77. package/dist/memory/sqlite-provider.d.ts +3 -0
  78. package/dist/memory/types.d.ts +21 -0
  79. package/dist/{hooks/pr-review-reentry-authorization.d.ts → pr-review/authorization.d.ts} +32 -10
  80. package/dist/{hooks/pr-review-resilience-circuit.d.ts → pr-review/circuit.d.ts} +60 -3
  81. package/dist/pr-review/completion.d.ts +373 -0
  82. package/dist/pr-review/critic-routing.d.ts +37 -0
  83. package/dist/pr-review/guardrails.d.ts +67 -0
  84. package/dist/pr-review/legacy-transcript-adapter.d.ts +276 -0
  85. package/dist/pr-review/persistence.d.ts +107 -0
  86. package/dist/pr-review/reducer.d.ts +54 -0
  87. package/dist/pr-review/types.d.ts +225 -0
  88. package/package.json +1 -1
  89. package/dist/cli/pr-review-reentry-authorization-ttctn8xv.js +0 -301
@@ -7,65 +7,67 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-cs9w1hfs.js";
11
- import"./index-s33ee2w3.js";
12
- import"./index-29f9te70.js";
13
- import"./index-bn78ywnb.js";
14
- import"./index-7d79mj06.js";
15
- import"./index-dq41vsf9.js";
10
+ } from "./index-xtjvg1wx.js";
11
+ import"./index-nbfpnb0w.js";
12
+ import"./index-f18bqg18.js";
13
+ import"./index-9cvfa8p8.js";
14
+ import"./index-7322jr05.js";
15
+ import"./index-1eqbnwm6.js";
16
16
  import"./index-txdagbh7.js";
17
- import"./index-134d35c1.js";
17
+ import"./index-n249fbw7.js";
18
18
  import"./index-3146wmgv.js";
19
- import"./index-yhadrxka.js";
20
- import"./index-zhdfqz89.js";
21
- import"./index-88wb0z9r.js";
19
+ import"./index-z74stz9p.js";
20
+ import"./index-j1gq4qm8.js";
21
+ import"./index-gss86tj3.js";
22
22
  import"./index-70ha9e09.js";
23
23
  import"./index-c8s9a3zh.js";
24
24
  import"./index-9ss2m4rs.js";
25
- import"./index-y14mwbk8.js";
25
+ import"./index-w1sfjffe.js";
26
26
  import"./index-zsrtt42s.js";
27
- import"./index-qd9mrd7e.js";
27
+ import"./index-3fs3p6ck.js";
28
28
  import"./index-3f7hqtgg.js";
29
- import"./index-awjx0wgk.js";
30
- import"./index-nm0cpfrv.js";
31
- import"./index-f5axf6vq.js";
29
+ import"./index-fckfgptr.js";
30
+ import"./index-5a8nk165.js";
31
+ import"./index-v0t8z5ab.js";
32
32
  import"./index-rtry5xyf.js";
33
- import"./index-32avgbyq.js";
34
- import"./index-c1geyan9.js";
35
- import"./index-za42r41w.js";
33
+ import"./index-0myjf1y2.js";
34
+ import"./index-bgzdwkpe.js";
35
+ import"./index-gwbxeh8j.js";
36
36
  import"./index-ddszzne4.js";
37
- import"./index-4p6x3xxy.js";
38
- import"./index-hq57ytm5.js";
39
- import"./index-7619tk9a.js";
37
+ import"./index-mmngnxev.js";
38
+ import"./index-w7ekntej.js";
39
+ import"./index-m24pv3f4.js";
40
+ import"./index-wvfgkms6.js";
41
+ import"./index-rkr19fdv.js";
40
42
  import"./index-556ja8an.js";
41
43
  import"./index-4fwbbad3.js";
42
44
  import"./index-b43rt5ph.js";
43
45
  import"./index-q7sjgr1y.js";
44
46
  import {
45
47
  resolveHiveKnowledgePath
46
- } from "./index-cbcfpgz9.js";
47
- import"./index-hvfsz7e3.js";
48
- import"./index-jm21vbyp.js";
48
+ } from "./index-3gym3fjj.js";
49
+ import"./index-a1bh2e4f.js";
50
+ import"./index-m516tpxe.js";
49
51
  import"./index-zg9d392c.js";
50
52
  import"./index-n832052r.js";
51
53
  import"./index-dtn0pne5.js";
52
54
  import"./index-z6xqpmqg.js";
53
55
  import"./index-r3mvsbtq.js";
54
- import"./index-epjvntnm.js";
55
- import"./index-rracnf2y.js";
56
+ import"./index-cjjcey0h.js";
57
+ import"./index-vcen0ne4.js";
56
58
  import"./index-9e6fdz2h.js";
57
59
  import"./index-4rhhvd1a.js";
58
- import"./index-k55td019.js";
60
+ import"./index-9m1ze4z4.js";
59
61
  import"./index-9xd073d4.js";
60
62
  import"./index-zjygnfay.js";
61
63
  import"./index-ae75rja9.js";
62
- import"./index-c6zyqgpq.js";
63
- import"./index-d8st72j7.js";
64
+ import"./index-3nsewz46.js";
65
+ import"./index-63s6t3z4.js";
64
66
  import"./index-bk5tah7q.js";
65
67
  import"./index-nqbqkx4c.js";
66
- import"./index-dh5q6z7y.js";
67
- import"./index-ed5ykebp.js";
68
+ import"./index-3b762978.js";
68
69
  import"./index-fx3em0dr.js";
70
+ import"./index-ed5ykebp.js";
69
71
  import"./index-7g4c7s5r.js";
70
72
  import"./index-bpmtbmy9.js";
71
73
  import"./index-zgwm4ryv.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-c1geyan9.js";
5
+ } from "./index-bgzdwkpe.js";
6
6
  import {
7
7
  isPathWithinDeclaredScope,
8
8
  unsafePathTextReason
@@ -26,7 +26,7 @@ import {
26
26
  atomicWriteFile,
27
27
  taskEvidencePath,
28
28
  withTaskEvidenceLock
29
- } from "./index-d8st72j7.js";
29
+ } from "./index-63s6t3z4.js";
30
30
  import {
31
31
  assertProjectRoot
32
32
  } from "./index-nqbqkx4c.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./index-txdagbh7.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-d8st72j7.js";
12
+ } from "./index-63s6t3z4.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
@@ -31,7 +31,7 @@ var SWARM_TEMP_GRAMMARS = [
31
31
  producers: [
32
32
  "src/commands/handoff.ts:48 (pre-#2035)",
33
33
  "src/commands/handoff.ts:79 (pre-#2035)",
34
- "src/memory/local-jsonl-provider.ts:1171",
34
+ "src/memory/local-jsonl-provider.ts:1288",
35
35
  "src/config/bundled-skills.ts:250"
36
36
  ]
37
37
  },
@@ -42,7 +42,9 @@ var SWARM_TEMP_GRAMMARS = [
42
42
  token: "instance",
43
43
  quarantineEligible: true,
44
44
  parsesTarget: true,
45
- producers: ["src/hooks/pr-workflow-gate.ts:18397"],
45
+ producers: [
46
+ "src/hooks/pr-workflow-gate.ts (pre-#2385; migration extracted to src/pr-review/persistence.ts)"
47
+ ],
46
48
  note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:17880-17980) is writer-specific and load-bearing"
47
49
  },
48
50
  {
@@ -91,7 +93,7 @@ var SWARM_TEMP_GRAMMARS = [
91
93
  "src/turbo/epic/state.ts:177",
92
94
  "src/turbo/epic/calibration.ts:197",
93
95
  "src/commands/archive-sqlite.ts:318",
94
- "src/memory/jsonl-migration.ts:157"
96
+ "src/memory/jsonl-migration.ts:161"
95
97
  ],
96
98
  note: "fsync-discipline / lock-scoped fd writers whose temp naming is pinned by their own durability test suites (plan-durability invariant 5, #2034 crash matrix); grammars registered here so their residue stays discoverable"
97
99
  },
@@ -307,7 +309,8 @@ var WRITER_CLASSIFICATION = Object.freeze({
307
309
  "src/hooks/issue-trace-state.ts": "registered-bespoke",
308
310
  "src/hooks/knowledge-receipt-ledger-storage.ts": "registered-bespoke",
309
311
  "src/hooks/pr-workflow-gate.ts": "registered-bespoke",
310
- "src/hooks/pr-review-reentry-authorization.ts": "registered-bespoke",
312
+ "src/pr-review/authorization.ts": "registered-bespoke",
313
+ "src/pr-review/persistence.ts": "registered-bespoke",
311
314
  "src/hooks/promotion-evidence-store.ts": "registered-bespoke",
312
315
  "src/hooks/review-receipt.ts": "registered-bespoke",
313
316
  "src/hooks/skill-usage-log.ts": "registered-bespoke",
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-3f7hqtgg.js";
6
6
  import {
7
7
  removeWorktreeProvisioningOwner
8
- } from "./index-awjx0wgk.js";
8
+ } from "./index-fckfgptr.js";
9
9
  import {
10
10
  SOURCE_WORKTREE_GONE_STAGE,
11
11
  getTaskWorkflowSnapshot,
@@ -13,13 +13,13 @@ import {
13
13
  reconcileLandedMerge,
14
14
  withTaskEvidenceTransaction,
15
15
  writeWorkflowWalFile
16
- } from "./index-32avgbyq.js";
16
+ } from "./index-0myjf1y2.js";
17
17
  import {
18
18
  canonicalRootKeyFresh
19
19
  } from "./index-ddszzne4.js";
20
20
  import {
21
21
  appendCoreEventSync
22
- } from "./index-7619tk9a.js";
22
+ } from "./index-rkr19fdv.js";
23
23
  import {
24
24
  isPathWithinDeclaredScope
25
25
  } from "./index-556ja8an.js";
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
478
478
  awaitingMergeByCallID,
479
479
  cleanupStandardWorktreeForCallId,
480
480
  standardWorktreeByCallID
481
- } = await import("./worktree-isolation-avp3yxcs.js");
481
+ } = await import("./worktree-isolation-vk82698z.js");
482
482
  standardWorktreeByCallID.delete(descriptor.callID);
483
483
  if (hasResidue)
484
484
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
602
602
  awaitingMergeByCallID,
603
603
  finishStandardWorktreeDispatch,
604
604
  standardWorktreeByCallID
605
- } = await import("./worktree-isolation-avp3yxcs.js");
605
+ } = await import("./worktree-isolation-vk82698z.js");
606
606
  const descriptor = wal.worktree;
607
607
  const reconstructedDispatch = {
608
608
  callID: descriptor.callID,
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-c6zyqgpq.js";
9
+ } from "./index-3nsewz46.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-d8st72j7.js";
12
+ } from "./index-63s6t3z4.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-g707awjf.js");
716
+ } = await import("./knowledge-events-mnexhwe2.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-qfkr8eje.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-xb7d31wq.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-hwp1t6x3.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-djm1bhb8.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-9kp3cp5n.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-ttdjphep.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-d8st72j7.js";
4
+ } from "./index-63s6t3z4.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-f5axf6vq.js";
4
+ } from "./index-v0t8z5ab.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-cbcfpgz9.js";
12
+ } from "./index-3gym3fjj.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-c6zyqgpq.js";
15
+ } from "./index-3nsewz46.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-d8st72j7.js";
18
+ } from "./index-63s6t3z4.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-nqbqkx4c.js";
5
5
  import {
6
6
  atomicWriteFileAnyRoot
7
- } from "./index-dh5q6z7y.js";
7
+ } from "./index-3b762978.js";
8
8
 
9
9
  // src/evidence/task-file.ts
10
10
  import * as path from "path";
@@ -3,10 +3,10 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-dq41vsf9.js";
6
+ } from "./index-1eqbnwm6.js";
7
7
  import {
8
8
  loadDatabaseCtor
9
- } from "./index-134d35c1.js";
9
+ } from "./index-n249fbw7.js";
10
10
  import {
11
11
  readEffectiveSpecSync
12
12
  } from "./index-9ss2m4rs.js";
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-32avgbyq.js";
26
+ } from "./index-0myjf1y2.js";
27
27
  import {
28
28
  LedgerStaleWriterError,
29
29
  appendLedgerEvent,
@@ -43,10 +43,10 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-hq57ytm5.js";
46
+ } from "./index-wvfgkms6.js";
47
47
  import {
48
48
  appendCoreEventSync
49
- } from "./index-7619tk9a.js";
49
+ } from "./index-rkr19fdv.js";
50
50
  import {
51
51
  init_executor,
52
52
  isUntrustedEnvKey,
@@ -70,7 +70,7 @@ import {
70
70
  } from "./index-r3mvsbtq.js";
71
71
  import {
72
72
  PlanSchema
73
- } from "./index-epjvntnm.js";
73
+ } from "./index-cjjcey0h.js";
74
74
  import {
75
75
  GIT_BINARY_ENV_VAR,
76
76
  describeGitResolution,
@@ -82,13 +82,13 @@ import {
82
82
  tryAcquireLock,
83
83
  withEvidenceLock
84
84
  } from "./index-nqbqkx4c.js";
85
+ import {
86
+ emit
87
+ } from "./index-fx3em0dr.js";
85
88
  import {
86
89
  invalidateCachedArtifact,
87
90
  readCachedParsedFile
88
91
  } from "./index-ed5ykebp.js";
89
- import {
90
- emit
91
- } from "./index-fx3em0dr.js";
92
92
  import {
93
93
  ZodError,
94
94
  init_zod
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-rracnf2y.js";
9
+ } from "./index-vcen0ne4.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteSwarmFile
4
- } from "./index-dh5q6z7y.js";
4
+ } from "./index-3b762978.js";
5
5
  import {
6
6
  pseudonymousRef,
7
7
  resolveLineageSalt,
@@ -4,23 +4,23 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-epjvntnm.js";
7
+ } from "./index-cjjcey0h.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-rracnf2y.js";
11
+ } from "./index-vcen0ne4.js";
12
12
  import {
13
13
  observeReceiptTransition
14
- } from "./index-k55td019.js";
14
+ } from "./index-9m1ze4z4.js";
15
15
  import {
16
16
  resolveHiveEventsPath
17
17
  } from "./index-ae75rja9.js";
18
18
  import {
19
19
  resolveKnowledgeStoreDir
20
- } from "./index-c6zyqgpq.js";
20
+ } from "./index-3nsewz46.js";
21
21
  import {
22
22
  atomicWriteFile
23
- } from "./index-d8st72j7.js";
23
+ } from "./index-63s6t3z4.js";
24
24
  import {
25
25
  assertProjectRoot
26
26
  } from "./index-nqbqkx4c.js";
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2810
2810
  }
2811
2811
  let bumps = 0;
2812
2812
  if (deltas.length > 0) {
2813
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-byhv66xq.js");
2813
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-cp42ccd1.js");
2814
2814
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2815
2815
  }
2816
2816
  return {
@@ -92,7 +92,7 @@ var _internals = {
92
92
  symlinkSync: fs.symlinkSync
93
93
  },
94
94
  writeScopeToDisk: async (directory, taskId, files) => {
95
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-5npzdfjf.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-g0yc6dfa.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-rracnf2y.js";
9
+ } from "./index-vcen0ne4.js";
10
10
  import {
11
11
  GIT_BINARY_ENV_VAR,
12
12
  init_git_executable
@@ -11,10 +11,10 @@ import {
11
11
  import {
12
12
  init_schema,
13
13
  stripKnownSwarmPrefix
14
- } from "./index-rracnf2y.js";
14
+ } from "./index-vcen0ne4.js";
15
15
  import {
16
16
  observeStoreHealth
17
- } from "./index-k55td019.js";
17
+ } from "./index-9m1ze4z4.js";
18
18
  import {
19
19
  init_constants
20
20
  } from "./index-9xd073d4.js";
@@ -2639,6 +2639,9 @@ function checkFileAuthority(agentName, filePath, cwd, authorityConfig, options =
2639
2639
  });
2640
2640
  }
2641
2641
 
2642
+ // src/hooks/guardrails/helpers.ts
2643
+ init_constants();
2644
+
2642
2645
  // src/hooks/normalize-tool-name.ts
2643
2646
  var NAMESPACE_PREFIX_PATTERN = /^[^:]+[:.]/;
2644
2647
  function normalizeToolName(toolName) {
@@ -2651,7 +2654,6 @@ function normalizeToolNameLowerCase(toolName) {
2651
2654
  }
2652
2655
 
2653
2656
  // src/hooks/guardrails/helpers.ts
2654
- init_constants();
2655
2657
  function isInDeclaredScope(filePath, scopeEntries, cwd) {
2656
2658
  return isPathWithinDeclaredScope(filePath, scopeEntries, cwd);
2657
2659
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-dh5q6z7y.js";
7
+ } from "./index-3b762978.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-cbcfpgz9.js";
5
+ } from "./index-3gym3fjj.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
9
9
  } from "./index-9e6fdz2h.js";
10
10
  import {
11
11
  resolveKnowledgeStoreDir
12
- } from "./index-c6zyqgpq.js";
12
+ } from "./index-3nsewz46.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus