opencode-swarm 7.111.0 → 7.112.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 (64) hide show
  1. package/.opencode/skills/swarm-pr-feedback/SKILL.md +24 -0
  2. package/dist/background/pr-event-subscribers.d.ts +28 -0
  3. package/dist/background/pr-monitor-worker.d.ts +8 -1
  4. package/dist/background/pr-subscriptions.d.ts +6 -0
  5. package/dist/cli/{config-doctor-q5e9yzn6.js → config-doctor-mmw4c50z.js} +2 -2
  6. package/dist/cli/{core-9a7nn51x.js → core-f4cbabe7.js} +2 -2
  7. package/dist/cli/{curator-drift-169wgaxn.js → curator-drift-jvs1v6em.js} +2 -2
  8. package/dist/cli/{curator-2hm297yd.js → curator-j7ty8k6t.js} +19 -19
  9. package/dist/cli/curator-llm-factory-8rnk2083.js +40 -0
  10. package/dist/cli/{dispatch-zr1xja4t.js → dispatch-wst7bypk.js} +2 -2
  11. package/dist/cli/{evidence-summary-service-8tasw2tt.js → evidence-summary-service-j6fnsfeq.js} +5 -5
  12. package/dist/cli/{gate-evidence-v6ds8rcp.js → gate-evidence-mk0ss1re.js} +3 -3
  13. package/dist/cli/guardrail-explain-2j0gw8f0.js +41 -0
  14. package/dist/cli/{guardrail-log-973nan7m.js → guardrail-log-xjgr00eq.js} +4 -4
  15. package/dist/cli/{hive-promoter-0f8xh2rn.js → hive-promoter-y179n7wx.js} +19 -19
  16. package/dist/cli/{index-1cn967sa.js → index-0dab9w37.js} +1 -1
  17. package/dist/cli/{index-r3j3458j.js → index-1rga1vvb.js} +1 -1
  18. package/dist/cli/{index-mvg66d9n.js → index-2aqs6daa.js} +3 -3
  19. package/dist/cli/{index-yw8qpf51.js → index-9fxs0rm1.js} +1 -1
  20. package/dist/cli/{index-cmjq1kg7.js → index-b83y9a7r.js} +3 -3
  21. package/dist/cli/{index-kf2h31c7.js → index-c3h3d8kh.js} +21 -21
  22. package/dist/cli/{index-0g5xsrp4.js → index-cq2hgvd2.js} +13 -5
  23. package/dist/cli/{index-yhmt3dw3.js → index-cye4g7zj.js} +3 -3
  24. package/dist/cli/{index-j2v3w1ds.js → index-d0w40jm3.js} +4 -4
  25. package/dist/cli/{index-40h0yp9e.js → index-db1fh1fv.js} +1 -1
  26. package/dist/cli/{index-dnbca696.js → index-fhmw7evd.js} +2 -2
  27. package/dist/cli/{index-vzzt3ygr.js → index-g55nzpwn.js} +1 -1
  28. package/dist/cli/{index-c483hnn4.js → index-hg0pamsa.js} +3 -3
  29. package/dist/cli/{index-7xfh4k71.js → index-j5c98bd9.js} +401 -257
  30. package/dist/cli/{index-53z1afgh.js → index-npxmfj48.js} +1 -1
  31. package/dist/cli/{index-6jng9c8t.js → index-pm992z24.js} +1 -1
  32. package/dist/cli/{index-85bacexr.js → index-q1jaeynn.js} +4 -1
  33. package/dist/cli/{index-v8pk35h7.js → index-t7efm8vz.js} +4 -4
  34. package/dist/cli/{index-5rfxzgmt.js → index-w84stmkx.js} +1 -1
  35. package/dist/cli/{index-9ptp9kky.js → index-x4bghdyv.js} +2 -2
  36. package/dist/cli/{index-xddysq89.js → index-xehrmy76.js} +1 -1
  37. package/dist/cli/index.js +19 -19
  38. package/dist/cli/{knowledge-escalator-0dkkenp2.js → knowledge-escalator-t1e2211j.js} +6 -6
  39. package/dist/cli/{knowledge-events-bckbj6ah.js → knowledge-events-2h3gvtfa.js} +4 -4
  40. package/dist/cli/{knowledge-store-dvjbdn00.js → knowledge-store-gpta9gzh.js} +4 -4
  41. package/dist/cli/{knowledge-validator-bqr936sg.js → knowledge-validator-03f0hm0p.js} +5 -5
  42. package/dist/cli/{pending-delegations-yyz3fcfn.js → pending-delegations-gc3a2hfx.js} +2 -2
  43. package/dist/cli/{pr-subscriptions-vv8byxe6.js → pr-subscriptions-p8g2rzxd.js} +3 -3
  44. package/dist/cli/{schema-s48je8zt.js → schema-2p15yrvn.js} +1 -1
  45. package/dist/cli/{scope-persistence-tgp00wtd.js → scope-persistence-5ccgtebg.js} +2 -2
  46. package/dist/cli/{skill-generator-5rsjmmfq.js → skill-generator-2tsqqaa2.js} +7 -7
  47. package/dist/commands/ci-simulate.d.ts +36 -12
  48. package/dist/commands/pr-monitor-status.d.ts +8 -0
  49. package/dist/config/bundled-skills.d.ts +1 -1
  50. package/dist/config/schema.d.ts +5 -0
  51. package/dist/full-auto/oversight.d.ts +4 -1
  52. package/dist/full-auto/state.d.ts +12 -0
  53. package/dist/git/pr.d.ts +23 -0
  54. package/dist/hooks/delegation-gate/worktree-isolation.d.ts +110 -0
  55. package/dist/hooks/delegation-gate.d.ts +17 -2
  56. package/dist/hooks/full-auto-intercept.d.ts +1 -1
  57. package/dist/index.js +211 -186
  58. package/dist/tools/placeholder-scan.d.ts +14 -1
  59. package/dist/utils/bun-compat.d.ts +6 -0
  60. package/dist/worktree/merge.d.ts +12 -0
  61. package/package.json +7 -5
  62. package/dist/cli/curator-llm-factory-19s0r5v6.js +0 -40
  63. package/dist/cli/guardrail-explain-8w9rkdjx.js +0 -41
  64. /package/dist/cli/{index-7xgqky26.js → index-h91bv3hy.js} +0 -0
@@ -233,6 +233,30 @@ branches or prior work sessions.
233
233
 
234
234
  *Reference: Caught during PR #1472 Round 1 closure.*
235
235
 
236
+ ## Batch Collection (mandatory before any fix)
237
+
238
+ Issue #1746: 8+ push cycles where 3–4 would have sufficed with batching.
239
+ The anti-pattern: iterating check-by-check, proposing a fix for one failure,
240
+ pushing, waiting for CI, then discovering the next failure. Each cycle costs
241
+ one push + one CI run.
242
+
243
+ **The fix:** Collect all failures and their logs in one batch operation before
244
+ proposing any fix.
245
+
246
+ 1. `gh pr checks --json checkName,conclusion,detailsUrl` — get every check,
247
+ its conclusion, and the URL to its run details.
248
+ 2. Filter to failing checks (`conclusion: "failure"` | `"cancelled"` | `"timed_out"`).
249
+ 3. For each failing check, extract the run ID from `detailsUrl` and run
250
+ `gh run view <run-id> --log-failed` to fetch the full log output.
251
+ 4. Build a complete failure ledger: all checks + all failure logs collected.
252
+ 5. Triage the full ledger to identify root causes.
253
+ 6. Propose fixes for all failures in **one batch** — do not iterate
254
+ check-by-check through push cycles.
255
+
256
+ **Rule:** The complete failure ledger must be collected before any
257
+ modification is proposed. Verifying the ledger is complete is a prerequisite
258
+ for the Fix Planning step.
259
+
236
260
  ## Pre-flight: Scope Discipline
237
261
 
238
262
  `declare_scope({ taskId, files })` enforces that the delegated coder agent may only modify the declared files. The enforcement requires an active `.swarm/plan.json` — calling `declare_scope` in a feedback-closure run (which does not go through `save_plan`) rejects with "No plan found."
@@ -48,7 +48,29 @@ export declare const _internals: {
48
48
  scheduleClearUnaddressed: typeof scheduleClearUnaddressed;
49
49
  clearUnaddressedDelayMs: number;
50
50
  log: typeof log;
51
+ formatAdvisory: typeof formatAdvisory;
51
52
  };
53
+ /**
54
+ * Expected payload shape for subscribed PR event types.
55
+ * Each event type uses a subset of these fields (see the payloads published
56
+ * by src/background/pr-monitor-worker.ts computeChanges/computeCIEvents).
57
+ */
58
+ interface PrEventPayload {
59
+ prNumber: number;
60
+ repoFullName: string;
61
+ prUrl?: string;
62
+ checkName?: string;
63
+ checkState?: string;
64
+ errorMessage?: string;
65
+ author?: string;
66
+ body?: string;
67
+ /** pr.ci.passed */
68
+ checkCount?: number;
69
+ /** pr.review.* */
70
+ reviewDecision?: string;
71
+ /** pr.merge.conflict_resolved */
72
+ mergeableState?: string;
73
+ }
52
74
  /**
53
75
  * Register subscribers on the global event bus for all gated PR event
54
76
  * types. Returns a cleanup function that unsubscribes all listeners.
@@ -72,4 +94,10 @@ declare function handlePrEvent(event: {
72
94
  * they never hold the process open. Fail-open: store errors are swallowed.
73
95
  */
74
96
  declare function scheduleClearUnaddressed(directory: string, correlationId: string): void;
97
+ /**
98
+ * Format a structured advisory message for the given PR event type.
99
+ * Returns null for unknown event types. The first token is always the
100
+ * dedup token `[pr-monitor:<type>:<repo>#<n>]`.
101
+ */
102
+ declare function formatAdvisory(type: string, payload: PrEventPayload): string | null;
75
103
  export {};
@@ -7,7 +7,7 @@
7
7
  * start/stop/dispose lifecycle and bounded, fail-open operation.
8
8
  */
9
9
  import type { PrMonitorConfig } from '../config/schema';
10
- import { getMergeState, getPRComments, getPRReviewState, getPRStatus } from '../git/pr';
10
+ import { getMergeGroupRun, getMergeState, getPRComments, getPRReviewState, getPRStatus } from '../git/pr';
11
11
  import { type AutomationEventType, getGlobalEventBus } from './event-bus';
12
12
  import { listActive, sweepStale, unsubscribe, updateSnapshot } from './pr-subscriptions';
13
13
  /** Configuration options for PrMonitorWorker construction. */
@@ -105,10 +105,16 @@ export declare class PrMonitorWorker {
105
105
  /**
106
106
  * Pure computation: compare current fetch results against the subscription
107
107
  * snapshot and return all events/mutations to apply. No side effects.
108
+ *
109
+ * @param mergeGroupRunFetchSucceeded - if false, mergeGroupRun fields are
110
+ * intentionally omitted from snapshotUpdates to preserve prior snapshot state
111
+ * on transient fetch failures.
108
112
  */
109
113
  private computeChanges;
110
114
  /**
111
115
  * Pure computation: detect CI transitions and push events into the array.
116
+ * When multiple checks fail in a single poll cycle, emits ONE batched
117
+ * pr.ci.failed event listing all failed checks (FR-005a batching).
112
118
  */
113
119
  private computeCIEvents;
114
120
  /**
@@ -145,6 +151,7 @@ export declare const _internals: {
145
151
  getPRStatus: typeof getPRStatus;
146
152
  getPRComments: typeof getPRComments;
147
153
  getMergeState: typeof getMergeState;
154
+ getMergeGroupRun: typeof getMergeGroupRun;
148
155
  getPRReviewState: typeof getPRReviewState;
149
156
  listActive: typeof listActive;
150
157
  updateSnapshot: typeof updateSnapshot;
@@ -41,6 +41,12 @@ export interface PrSubscriptionRecord {
41
41
  /** JSON stringified array of check names + conclusions. */
42
42
  lastCheckRunSet?: string;
43
43
  mergeableState?: string;
44
+ /** Merge-group run status (e.g. "queued", "in_progress", "completed"). */
45
+ mergeGroupRunStatus?: string;
46
+ /** Merge-group run conclusion (e.g. "success", "failure"). */
47
+ mergeGroupRunConclusion?: string;
48
+ /** Merge-group run HTML URL for linking to the run. */
49
+ mergeGroupRunHtmlUrl?: string;
44
50
  isWatching: boolean;
45
51
  /** Guard for cleanup sweep — subscriptions with unaddressed events are retained. */
46
52
  hasUnaddressedEvents: boolean;
@@ -12,8 +12,8 @@ import {
12
12
  shouldRunOnStartup,
13
13
  writeBackupArtifact,
14
14
  writeDoctorArtifact
15
- } from "./index-xddysq89.js";
16
- import"./index-0g5xsrp4.js";
15
+ } from "./index-xehrmy76.js";
16
+ import"./index-cq2hgvd2.js";
17
17
  import"./index-bfwt3abw.js";
18
18
  import"./index-5e4e2hvv.js";
19
19
  import"./index-p0arc26j.js";
@@ -14,11 +14,11 @@ import {
14
14
  resolveWorktreeBaseDir,
15
15
  shortenWorktreePath,
16
16
  writeLaneProfileToDiskReal
17
- } from "./index-dnbca696.js";
17
+ } from "./index-fhmw7evd.js";
18
18
  import"./index-5e4e2hvv.js";
19
19
  import"./index-p0arc26j.js";
20
20
  import"./index-zgwm4ryv.js";
21
- import"./index-7xgqky26.js";
21
+ import"./index-h91bv3hy.js";
22
22
  import"./index-a76rekgs.js";
23
23
  export {
24
24
  writeLaneProfileToDiskReal,
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  readSwarmFileAsync,
10
10
  validateSwarmPath
11
- } from "./index-r3j3458j.js";
11
+ } from "./index-1rga1vvb.js";
12
12
  import"./index-jtqkh8jf.js";
13
13
  import"./index-5e4e2hvv.js";
14
14
  import"./index-p0arc26j.js";
@@ -17,7 +17,7 @@ import {
17
17
  warn
18
18
  } from "./index-zgwm4ryv.js";
19
19
  import"./index-293f68mj.js";
20
- import"./index-7xgqky26.js";
20
+ import"./index-h91bv3hy.js";
21
21
  import"./index-a76rekgs.js";
22
22
 
23
23
  // src/hooks/curator-drift.ts
@@ -12,39 +12,39 @@ import {
12
12
  runCuratorInit,
13
13
  runCuratorPhase,
14
14
  writeCuratorSummary
15
- } from "./index-7xfh4k71.js";
16
- import"./index-53z1afgh.js";
15
+ } from "./index-j5c98bd9.js";
16
+ import"./index-npxmfj48.js";
17
17
  import"./index-c8s9a3zh.js";
18
- import"./index-xddysq89.js";
19
- import"./index-0g5xsrp4.js";
20
- import"./index-j2v3w1ds.js";
18
+ import"./index-xehrmy76.js";
19
+ import"./index-cq2hgvd2.js";
20
+ import"./index-d0w40jm3.js";
21
21
  import"./index-scww5b77.js";
22
- import"./index-yw8qpf51.js";
23
- import"./index-85bacexr.js";
24
- import"./index-cmjq1kg7.js";
25
- import"./index-c483hnn4.js";
26
- import"./index-mvg66d9n.js";
27
- import"./index-yhmt3dw3.js";
28
- import"./index-v8pk35h7.js";
22
+ import"./index-9fxs0rm1.js";
23
+ import"./index-q1jaeynn.js";
24
+ import"./index-b83y9a7r.js";
25
+ import"./index-hg0pamsa.js";
26
+ import"./index-2aqs6daa.js";
27
+ import"./index-cye4g7zj.js";
28
+ import"./index-t7efm8vz.js";
29
29
  import"./index-bfwt3abw.js";
30
- import"./index-40h0yp9e.js";
30
+ import"./index-db1fh1fv.js";
31
31
  import"./index-jt58s751.js";
32
32
  import"./index-wvrj16f0.js";
33
33
  import"./index-q1exe2b3.js";
34
- import"./index-vzzt3ygr.js";
35
- import"./index-dnbca696.js";
36
- import"./index-r3j3458j.js";
34
+ import"./index-g55nzpwn.js";
35
+ import"./index-fhmw7evd.js";
36
+ import"./index-1rga1vvb.js";
37
37
  import"./index-jtqkh8jf.js";
38
38
  import"./index-5e4e2hvv.js";
39
39
  import"./index-p0arc26j.js";
40
40
  import"./index-zgwm4ryv.js";
41
- import"./index-6jng9c8t.js";
42
- import"./index-1cn967sa.js";
41
+ import"./index-pm992z24.js";
42
+ import"./index-0dab9w37.js";
43
43
  import"./index-293f68mj.js";
44
44
  import"./index-5mkc2f9z.js";
45
45
  import"./index-vn263hqt.js";
46
46
  import"./index-vvk2g744.js";
47
- import"./index-7xgqky26.js";
47
+ import"./index-h91bv3hy.js";
48
48
  import"./index-a76rekgs.js";
49
49
  export {
50
50
  writeCuratorSummary,
@@ -0,0 +1,40 @@
1
+ // @bun
2
+ import {
3
+ createCuratorLLMDelegate
4
+ } from "./index-j5c98bd9.js";
5
+ import"./index-npxmfj48.js";
6
+ import"./index-c8s9a3zh.js";
7
+ import"./index-xehrmy76.js";
8
+ import"./index-cq2hgvd2.js";
9
+ import"./index-d0w40jm3.js";
10
+ import"./index-scww5b77.js";
11
+ import"./index-9fxs0rm1.js";
12
+ import"./index-q1jaeynn.js";
13
+ import"./index-b83y9a7r.js";
14
+ import"./index-hg0pamsa.js";
15
+ import"./index-2aqs6daa.js";
16
+ import"./index-cye4g7zj.js";
17
+ import"./index-t7efm8vz.js";
18
+ import"./index-bfwt3abw.js";
19
+ import"./index-db1fh1fv.js";
20
+ import"./index-jt58s751.js";
21
+ import"./index-wvrj16f0.js";
22
+ import"./index-q1exe2b3.js";
23
+ import"./index-g55nzpwn.js";
24
+ import"./index-fhmw7evd.js";
25
+ import"./index-1rga1vvb.js";
26
+ import"./index-jtqkh8jf.js";
27
+ import"./index-5e4e2hvv.js";
28
+ import"./index-p0arc26j.js";
29
+ import"./index-zgwm4ryv.js";
30
+ import"./index-pm992z24.js";
31
+ import"./index-0dab9w37.js";
32
+ import"./index-293f68mj.js";
33
+ import"./index-5mkc2f9z.js";
34
+ import"./index-vn263hqt.js";
35
+ import"./index-vvk2g744.js";
36
+ import"./index-h91bv3hy.js";
37
+ import"./index-a76rekgs.js";
38
+ export {
39
+ createCuratorLLMDelegate
40
+ };
@@ -11,11 +11,11 @@ import {
11
11
  defaultTestFilesFor,
12
12
  detectProjectLanguages,
13
13
  tokenizeCommand
14
- } from "./index-yw8qpf51.js";
14
+ } from "./index-9fxs0rm1.js";
15
15
  import"./index-5e4e2hvv.js";
16
16
  import"./index-p0arc26j.js";
17
17
  import"./index-zgwm4ryv.js";
18
- import"./index-7xgqky26.js";
18
+ import"./index-h91bv3hy.js";
19
19
  import"./index-a76rekgs.js";
20
20
 
21
21
  // src/lang/dispatch.ts
@@ -6,23 +6,23 @@ import {
6
6
  loadPlanJsonOnly,
7
7
  mergeDurableGateEntriesFromEvidence,
8
8
  readDurableGateEvidence
9
- } from "./index-j2v3w1ds.js";
9
+ } from "./index-d0w40jm3.js";
10
10
  import"./index-scww5b77.js";
11
11
  import"./index-q1exe2b3.js";
12
- import"./index-r3j3458j.js";
12
+ import"./index-1rga1vvb.js";
13
13
  import"./index-jtqkh8jf.js";
14
14
  import"./index-5e4e2hvv.js";
15
15
  import"./index-p0arc26j.js";
16
16
  import {
17
17
  log
18
18
  } from "./index-zgwm4ryv.js";
19
- import"./index-6jng9c8t.js";
20
- import"./index-1cn967sa.js";
19
+ import"./index-pm992z24.js";
20
+ import"./index-0dab9w37.js";
21
21
  import"./index-293f68mj.js";
22
22
  import"./index-5mkc2f9z.js";
23
23
  import"./index-vn263hqt.js";
24
24
  import"./index-vvk2g744.js";
25
- import"./index-7xgqky26.js";
25
+ import"./index-h91bv3hy.js";
26
26
  import"./index-a76rekgs.js";
27
27
 
28
28
  // src/services/evidence-summary-service.ts
@@ -9,13 +9,13 @@ import {
9
9
  readTaskEvidenceRaw,
10
10
  recordAgentDispatch,
11
11
  recordGateEvidence
12
- } from "./index-6jng9c8t.js";
13
- import"./index-1cn967sa.js";
12
+ } from "./index-pm992z24.js";
13
+ import"./index-0dab9w37.js";
14
14
  import"./index-293f68mj.js";
15
15
  import"./index-5mkc2f9z.js";
16
16
  import"./index-vn263hqt.js";
17
17
  import"./index-vvk2g744.js";
18
- import"./index-7xgqky26.js";
18
+ import"./index-h91bv3hy.js";
19
19
  import"./index-a76rekgs.js";
20
20
  export {
21
21
  recordGateEvidence,
@@ -0,0 +1,41 @@
1
+ // @bun
2
+ import {
3
+ handleGuardrailExplain
4
+ } from "./index-x4bghdyv.js";
5
+ import"./index-j5c98bd9.js";
6
+ import"./index-npxmfj48.js";
7
+ import"./index-c8s9a3zh.js";
8
+ import"./index-xehrmy76.js";
9
+ import"./index-cq2hgvd2.js";
10
+ import"./index-d0w40jm3.js";
11
+ import"./index-scww5b77.js";
12
+ import"./index-9fxs0rm1.js";
13
+ import"./index-q1jaeynn.js";
14
+ import"./index-b83y9a7r.js";
15
+ import"./index-hg0pamsa.js";
16
+ import"./index-2aqs6daa.js";
17
+ import"./index-cye4g7zj.js";
18
+ import"./index-t7efm8vz.js";
19
+ import"./index-bfwt3abw.js";
20
+ import"./index-db1fh1fv.js";
21
+ import"./index-jt58s751.js";
22
+ import"./index-wvrj16f0.js";
23
+ import"./index-q1exe2b3.js";
24
+ import"./index-g55nzpwn.js";
25
+ import"./index-fhmw7evd.js";
26
+ import"./index-1rga1vvb.js";
27
+ import"./index-jtqkh8jf.js";
28
+ import"./index-5e4e2hvv.js";
29
+ import"./index-p0arc26j.js";
30
+ import"./index-zgwm4ryv.js";
31
+ import"./index-pm992z24.js";
32
+ import"./index-0dab9w37.js";
33
+ import"./index-293f68mj.js";
34
+ import"./index-5mkc2f9z.js";
35
+ import"./index-vn263hqt.js";
36
+ import"./index-vvk2g744.js";
37
+ import"./index-h91bv3hy.js";
38
+ import"./index-a76rekgs.js";
39
+ export {
40
+ handleGuardrailExplain
41
+ };
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-5rfxzgmt.js";
5
- import"./index-53z1afgh.js";
6
- import"./index-0g5xsrp4.js";
4
+ } from "./index-w84stmkx.js";
5
+ import"./index-npxmfj48.js";
6
+ import"./index-cq2hgvd2.js";
7
7
  import"./index-bfwt3abw.js";
8
8
  import"./index-5e4e2hvv.js";
9
9
  import"./index-p0arc26j.js";
10
10
  import"./index-zgwm4ryv.js";
11
11
  import"./index-293f68mj.js";
12
- import"./index-7xgqky26.js";
12
+ import"./index-h91bv3hy.js";
13
13
  import"./index-a76rekgs.js";
14
14
  export {
15
15
  handleGuardrailLog
@@ -5,39 +5,39 @@ import {
5
5
  isHiveEligible,
6
6
  promoteFromSwarm,
7
7
  promoteToHive
8
- } from "./index-7xfh4k71.js";
9
- import"./index-53z1afgh.js";
8
+ } from "./index-j5c98bd9.js";
9
+ import"./index-npxmfj48.js";
10
10
  import"./index-c8s9a3zh.js";
11
- import"./index-xddysq89.js";
12
- import"./index-0g5xsrp4.js";
13
- import"./index-j2v3w1ds.js";
11
+ import"./index-xehrmy76.js";
12
+ import"./index-cq2hgvd2.js";
13
+ import"./index-d0w40jm3.js";
14
14
  import"./index-scww5b77.js";
15
- import"./index-yw8qpf51.js";
16
- import"./index-85bacexr.js";
17
- import"./index-cmjq1kg7.js";
18
- import"./index-c483hnn4.js";
19
- import"./index-mvg66d9n.js";
20
- import"./index-yhmt3dw3.js";
21
- import"./index-v8pk35h7.js";
15
+ import"./index-9fxs0rm1.js";
16
+ import"./index-q1jaeynn.js";
17
+ import"./index-b83y9a7r.js";
18
+ import"./index-hg0pamsa.js";
19
+ import"./index-2aqs6daa.js";
20
+ import"./index-cye4g7zj.js";
21
+ import"./index-t7efm8vz.js";
22
22
  import"./index-bfwt3abw.js";
23
- import"./index-40h0yp9e.js";
23
+ import"./index-db1fh1fv.js";
24
24
  import"./index-jt58s751.js";
25
25
  import"./index-wvrj16f0.js";
26
26
  import"./index-q1exe2b3.js";
27
- import"./index-vzzt3ygr.js";
28
- import"./index-dnbca696.js";
29
- import"./index-r3j3458j.js";
27
+ import"./index-g55nzpwn.js";
28
+ import"./index-fhmw7evd.js";
29
+ import"./index-1rga1vvb.js";
30
30
  import"./index-jtqkh8jf.js";
31
31
  import"./index-5e4e2hvv.js";
32
32
  import"./index-p0arc26j.js";
33
33
  import"./index-zgwm4ryv.js";
34
- import"./index-6jng9c8t.js";
35
- import"./index-1cn967sa.js";
34
+ import"./index-pm992z24.js";
35
+ import"./index-0dab9w37.js";
36
36
  import"./index-293f68mj.js";
37
37
  import"./index-5mkc2f9z.js";
38
38
  import"./index-vn263hqt.js";
39
39
  import"./index-vvk2g744.js";
40
- import"./index-7xgqky26.js";
40
+ import"./index-h91bv3hy.js";
41
41
  import"./index-a76rekgs.js";
42
42
  export {
43
43
  promoteToHive,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-5mkc2f9z.js";
5
5
  import {
6
6
  bunWrite
7
- } from "./index-7xgqky26.js";
7
+ } from "./index-h91bv3hy.js";
8
8
 
9
9
  // src/evidence/task-file.ts
10
10
  import { renameSync, unlinkSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-zgwm4ryv.js";
11
11
  import {
12
12
  bunFile
13
- } from "./index-7xgqky26.js";
13
+ } from "./index-h91bv3hy.js";
14
14
 
15
15
  // src/hooks/utils.ts
16
16
  import * as fs from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  countEntryViolationsInWindow,
5
5
  readKnowledgeEvents,
6
6
  recordKnowledgeEvent
7
- } from "./index-yhmt3dw3.js";
7
+ } from "./index-cye4g7zj.js";
8
8
  import {
9
9
  jaccardBigram,
10
10
  readKnowledge,
@@ -12,7 +12,7 @@ import {
12
12
  resolveSwarmKnowledgePath,
13
13
  transactKnowledge,
14
14
  wordBigrams
15
- } from "./index-v8pk35h7.js";
15
+ } from "./index-t7efm8vz.js";
16
16
  import {
17
17
  isActiveStatus
18
18
  } from "./index-bfwt3abw.js";
@@ -188,7 +188,7 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
188
188
  alreadyInactive: true
189
189
  };
190
190
  }
191
- const { quarantineEntry } = await import("./knowledge-validator-bqr936sg.js");
191
+ const { quarantineEntry } = await import("./knowledge-validator-03f0hm0p.js");
192
192
  await quarantineEntry(directory, entryId, `repeat_contradiction: ${count} contradicted events in ${windowDays}d`, "auto");
193
193
  return { quarantined: true, entryId, contradictionsInWindow: count };
194
194
  } catch {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-zgwm4ryv.js";
8
8
  import {
9
9
  bunSpawnSync
10
- } from "./index-7xgqky26.js";
10
+ } from "./index-h91bv3hy.js";
11
11
  import {
12
12
  __export
13
13
  } from "./index-a76rekgs.js";
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-c483hnn4.js";
5
+ } from "./index-hg0pamsa.js";
6
6
  import {
7
7
  effectiveRetrievalOutcomes,
8
8
  readKnowledgeCounterRollups
9
- } from "./index-yhmt3dw3.js";
9
+ } from "./index-cye4g7zj.js";
10
10
  import {
11
11
  computeOutcomeSignal,
12
12
  readKnowledge,
13
13
  resolveHiveKnowledgePath,
14
14
  resolveSwarmKnowledgePath,
15
15
  transactKnowledge
16
- } from "./index-v8pk35h7.js";
16
+ } from "./index-t7efm8vz.js";
17
17
  import {
18
18
  isActiveStatus
19
19
  } from "./index-bfwt3abw.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-9ptp9kky.js";
4
+ } from "./index-x4bghdyv.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-5rfxzgmt.js";
7
+ } from "./index-w84stmkx.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -81,43 +81,43 @@ import {
81
81
  handleWriteRetroCommand,
82
82
  normalizeSwarmCommandInput,
83
83
  resolveCommand
84
- } from "./index-7xfh4k71.js";
85
- import"./index-53z1afgh.js";
84
+ } from "./index-j5c98bd9.js";
85
+ import"./index-npxmfj48.js";
86
86
  import"./index-c8s9a3zh.js";
87
- import"./index-xddysq89.js";
87
+ import"./index-xehrmy76.js";
88
88
  import {
89
89
  AGENT_TOOL_MAP,
90
90
  ORCHESTRATOR_NAME,
91
91
  stripKnownSwarmPrefix
92
- } from "./index-0g5xsrp4.js";
93
- import"./index-j2v3w1ds.js";
92
+ } from "./index-cq2hgvd2.js";
93
+ import"./index-d0w40jm3.js";
94
94
  import"./index-scww5b77.js";
95
- import"./index-yw8qpf51.js";
96
- import"./index-85bacexr.js";
97
- import"./index-cmjq1kg7.js";
98
- import"./index-c483hnn4.js";
99
- import"./index-mvg66d9n.js";
100
- import"./index-yhmt3dw3.js";
101
- import"./index-v8pk35h7.js";
95
+ import"./index-9fxs0rm1.js";
96
+ import"./index-q1jaeynn.js";
97
+ import"./index-b83y9a7r.js";
98
+ import"./index-hg0pamsa.js";
99
+ import"./index-2aqs6daa.js";
100
+ import"./index-cye4g7zj.js";
101
+ import"./index-t7efm8vz.js";
102
102
  import"./index-bfwt3abw.js";
103
- import"./index-40h0yp9e.js";
103
+ import"./index-db1fh1fv.js";
104
104
  import"./index-jt58s751.js";
105
105
  import"./index-wvrj16f0.js";
106
106
  import"./index-q1exe2b3.js";
107
- import"./index-vzzt3ygr.js";
108
- import"./index-dnbca696.js";
109
- import"./index-r3j3458j.js";
107
+ import"./index-g55nzpwn.js";
108
+ import"./index-fhmw7evd.js";
109
+ import"./index-1rga1vvb.js";
110
110
  import"./index-jtqkh8jf.js";
111
111
  import"./index-5e4e2hvv.js";
112
112
  import"./index-p0arc26j.js";
113
113
  import"./index-zgwm4ryv.js";
114
- import"./index-6jng9c8t.js";
115
- import"./index-1cn967sa.js";
114
+ import"./index-pm992z24.js";
115
+ import"./index-0dab9w37.js";
116
116
  import"./index-293f68mj.js";
117
117
  import"./index-5mkc2f9z.js";
118
118
  import"./index-vn263hqt.js";
119
119
  import"./index-vvk2g744.js";
120
- import"./index-7xgqky26.js";
120
+ import"./index-h91bv3hy.js";
121
121
  import"./index-a76rekgs.js";
122
122
  // src/commands/command-names.ts
123
123
  var COMMAND_NAMES = Object.freeze(Object.keys(COMMAND_REGISTRY));