opencode-swarm 7.172.0 → 7.172.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 (85) 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/cli/{coder-settlement-0k46xqk2.js → coder-settlement-pw4jbrez.js} +11 -11
  4. package/dist/cli/{config-doctor-x41bxjp6.js → config-doctor-ab0ckcsc.js} +2 -2
  5. package/dist/cli/{core-3spww0at.js → core-ty98bsnz.js} +3 -3
  6. package/dist/cli/{curation-policy-92qhvewe.js → curation-policy-cvjd6kz8.js} +5 -5
  7. package/dist/cli/{curator-drift-fqvxe2zw.js → curator-drift-b0pbzjxv.js} +4 -4
  8. package/dist/cli/curator-llm-factory-69vje2m7.js +72 -0
  9. package/dist/cli/{curator-eyz6gg74.js → curator-rvrhbsy2.js} +36 -36
  10. package/dist/cli/{evidence-summary-service-kf0vb1hf.js → evidence-summary-service-wmer0c5b.js} +15 -15
  11. package/dist/cli/{gate-evidence-89wvxgs9.js → gate-evidence-6d0f6ekr.js} +6 -6
  12. package/dist/cli/guardrail-explain-z06dyan0.js +73 -0
  13. package/dist/cli/{guardrail-log-kfjk62sz.js → guardrail-log-bmyxcdfk.js} +7 -7
  14. package/dist/cli/{guardrail-reset-d8m1h5sz.js → guardrail-reset-9wmbhwff.js} +36 -36
  15. package/dist/cli/{hive-promoter-0ekf5zp1.js → hive-promoter-mc8xssba.js} +36 -36
  16. package/dist/cli/{index-8wnjcav5.js → index-008sppht.js} +3 -3
  17. package/dist/cli/{index-12w05bxk.js → index-31fes86t.js} +2 -2
  18. package/dist/cli/{index-63t4m2t5.js → index-3r17j2gc.js} +133 -23
  19. package/dist/cli/{index-2rdj9mdh.js → index-66tshqdp.js} +4 -4
  20. package/dist/cli/{index-6jshhpjw.js → index-93z2fhyp.js} +2 -2
  21. package/dist/cli/{index-mj07x42s.js → index-9bg5vc22.js} +2 -2
  22. package/dist/cli/{index-k441jgzk.js → index-9p00xent.js} +1 -1
  23. package/dist/cli/{index-efkckdaw.js → index-bdqefjxg.js} +1 -1
  24. package/dist/cli/{index-1vsmh63p.js → index-br08k19k.js} +74 -74
  25. package/dist/cli/{index-5hambjmn.js → index-c5wyannc.js} +30 -18
  26. package/dist/cli/{index-0y2ygy5f.js → index-dg5znyqw.js} +7 -7
  27. package/dist/cli/{index-7q1m8rsw.js → index-edext37b.js} +7 -7
  28. package/dist/cli/{index-dpb1xs5m.js → index-gdrdtbw6.js} +2 -2
  29. package/dist/cli/{index-nqbmk4b9.js → index-h91jjw6t.js} +1 -1
  30. package/dist/cli/{index-nyrhz1h1.js → index-ha3wsy2e.js} +1 -1
  31. package/dist/cli/{index-328eg2bb.js → index-hx0pas8b.js} +3 -3
  32. package/dist/cli/{index-677gzqmd.js → index-hydccmm1.js} +1 -1
  33. package/dist/cli/{index-53ges0rk.js → index-j8warkkj.js} +7 -7
  34. package/dist/cli/{index-8k09fkqj.js → index-jc0as97z.js} +4 -4
  35. package/dist/cli/{index-br3r0y73.js → index-jmn35na4.js} +3 -3
  36. package/dist/cli/{index-1s3t3jdc.js → index-jzrx2sx2.js} +1 -1
  37. package/dist/cli/{index-6fb3y9pm.js → index-ma38q4rf.js} +1 -1
  38. package/dist/cli/{index-v6msnkz2.js → index-mq69g46a.js} +2 -2
  39. package/dist/cli/{index-s723hx7z.js → index-nzpw41w6.js} +1 -1
  40. package/dist/cli/{index-39x78qk0.js → index-pmg1k4mv.js} +8 -8
  41. package/dist/cli/{index-w1d5nsdc.js → index-q58xegd7.js} +2 -2
  42. package/dist/cli/{index-z81mxyhm.js → index-qfz31dcy.js} +5 -5
  43. package/dist/cli/{index-y8y2bjsy.js → index-re1ey51s.js} +4 -4
  44. package/dist/cli/{index-tfmb620d.js → index-rhe9zbe2.js} +36 -36
  45. package/dist/cli/{index-29j9sjbw.js → index-sakgsnxj.js} +1 -1
  46. package/dist/cli/{index-r08tgb71.js → index-tm6z0wgj.js} +2 -2
  47. package/dist/cli/{index-34jdempk.js → index-tr3tbtgw.js} +2 -2
  48. package/dist/cli/{index-zbw6h4xn.js → index-twpzfwga.js} +1 -1
  49. package/dist/cli/{index-jvg7hvjp.js → index-vqs7dxp7.js} +3 -3
  50. package/dist/cli/{index-25fa4krx.js → index-w0141tkw.js} +8 -8
  51. package/dist/cli/{index-gmw8a1qa.js → index-wf6pbrg7.js} +1 -1
  52. package/dist/cli/{index-a2kv054j.js → index-ws3ggk1h.js} +6 -6
  53. package/dist/cli/{index-xn9tm7sr.js → index-y21gyrt6.js} +38 -38
  54. package/dist/cli/{index-v2fge66b.js → index-y5x1swr8.js} +7 -7
  55. package/dist/cli/{index-dga9j6s1.js → index-yf1mvexg.js} +2 -2
  56. package/dist/cli/{index-3kqzzwvd.js → index-zcjdw8dw.js} +1 -1
  57. package/dist/cli/index.js +37 -37
  58. package/dist/cli/{knowledge-escalator-qtz01ffw.js → knowledge-escalator-k4ab3f1f.js} +12 -12
  59. package/dist/cli/{knowledge-events-8w0mvkzc.js → knowledge-events-aqy4hb15.js} +10 -10
  60. package/dist/cli/{knowledge-link-3xp7h4xn.js → knowledge-link-51m3c09s.js} +4 -4
  61. package/dist/cli/{knowledge-store-p5ps09qg.js → knowledge-store-xgkga9xj.js} +5 -5
  62. package/dist/cli/{knowledge-validator-rc63wfkp.js → knowledge-validator-vvgs8m7m.js} +7 -7
  63. package/dist/cli/{mcp-pmfg7wpk.js → mcp-qvgka4c8.js} +1 -1
  64. package/dist/cli/{pending-delegations-1sg6g7et.js → pending-delegations-1xvmbw29.js} +11 -11
  65. package/dist/cli/{pr-subscriptions-yd804apk.js → pr-subscriptions-13xqrhwx.js} +11 -11
  66. package/dist/cli/{pr-workflow-gate-pf3ssffq.js → pr-workflow-gate-6qzpckxa.js} +36 -36
  67. package/dist/cli/{runner-rry4z6j2.js → runner-k2t9n662.js} +5 -5
  68. package/dist/cli/{scan-cursor-j93ek248.js → scan-cursor-q5nycpzb.js} +6 -6
  69. package/dist/cli/{schema-hvptm5hf.js → schema-a8gskpey.js} +1 -1
  70. package/dist/cli/{scope-persistence-3tfvswtk.js → scope-persistence-q0n6y3n7.js} +14 -14
  71. package/dist/cli/{server-rbvx63t6.js → server-wmbahe8h.js} +36 -36
  72. package/dist/cli/{skill-generator-r9wc6xt1.js → skill-generator-z76whwng.js} +14 -14
  73. package/dist/cli/{snapshot-coordination-init-7w5em40w.js → snapshot-coordination-init-k2fgw463.js} +36 -36
  74. package/dist/cli/{telemetry-vw919tfm.js → telemetry-zed80n86.js} +1 -1
  75. package/dist/cli/{workspace-snapshot-x54wxr6a.js → workspace-snapshot-93dx9rbt.js} +3 -3
  76. package/dist/cli/{worktree-collision-ownership-yetwf2ch.js → worktree-collision-ownership-deyrgr70.js} +12 -12
  77. package/dist/cli/{worktree-isolation-sxfj78hv.js → worktree-isolation-9rjxaxp6.js} +36 -36
  78. package/dist/index.js +11 -11
  79. package/dist/plan/index.d.ts +1 -0
  80. package/dist/plan/ledger.d.ts +10 -0
  81. package/dist/plan/manager.d.ts +38 -2
  82. package/dist/tools/phase-complete.d.ts +1 -1
  83. package/package.json +1 -1
  84. package/dist/cli/curator-llm-factory-jnsjqq99.js +0 -72
  85. package/dist/cli/guardrail-explain-rz4kaqyp.js +0 -73
@@ -2,31 +2,31 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-k441jgzk.js";
5
+ } from "./index-9p00xent.js";
6
6
  import {
7
7
  getProjectDb,
8
8
  projectDbExists,
9
9
  withImmediateTransaction,
10
10
  withProjectDbReadOnly
11
- } from "./index-efkckdaw.js";
11
+ } from "./index-bdqefjxg.js";
12
12
  import {
13
13
  assertProjectRoot,
14
14
  withEvidenceLock
15
- } from "./index-dga9j6s1.js";
15
+ } from "./index-yf1mvexg.js";
16
16
  import {
17
17
  emit
18
- } from "./index-br3r0y73.js";
18
+ } from "./index-jmn35na4.js";
19
19
  import {
20
20
  ExecutionProfileSchema,
21
21
  PlanSchema,
22
22
  TaskStatusSchema,
23
23
  init_loader,
24
24
  loadPluginConfig
25
- } from "./index-3kqzzwvd.js";
25
+ } from "./index-zcjdw8dw.js";
26
26
  import {
27
27
  init_package,
28
28
  package_default
29
- } from "./index-zbw6h4xn.js";
29
+ } from "./index-twpzfwga.js";
30
30
  import {
31
31
  criticalWarn,
32
32
  init_logger,
@@ -1244,7 +1244,8 @@ async function initLedger(directory, planId, initialPlanHash, initialPlan) {
1244
1244
  if (!initialPlanHash) {
1245
1245
  try {
1246
1246
  if (fs.existsSync(planJsonPath)) {
1247
- const content = fs.readFileSync(planJsonPath, "utf8");
1247
+ const initBytes = fs.readFileSync(planJsonPath);
1248
+ const content = new TextDecoder("utf-8", { fatal: true }).decode(initBytes);
1248
1249
  const plan = JSON.parse(content);
1249
1250
  planHashAfter = computePlanLedgerHash(plan);
1250
1251
  if (!embeddedPlan)
@@ -1750,11 +1751,16 @@ function reconstructPlanFromEvents(directory, events) {
1750
1751
  const relevantEvents = events.filter((e) => e.plan_id === targetPlanId);
1751
1752
  {
1752
1753
  const snapshotEvents = relevantEvents.filter((e) => e.event_type === "snapshot");
1753
- if (snapshotEvents.length > 0) {
1754
- const latestSnapshotEvent = snapshotEvents[snapshotEvents.length - 1];
1755
- const snapshotPayload = latestSnapshotEvent.payload;
1756
- let plan2 = snapshotPayload.plan;
1757
- const eventsAfterSnapshot = relevantEvents.filter((e) => e.seq > latestSnapshotEvent.seq);
1754
+ for (let i = snapshotEvents.length - 1;i >= 0; i--) {
1755
+ const candidate = snapshotEvents[i];
1756
+ const candidatePayload = candidate.payload;
1757
+ const parseResult = candidatePayload && candidatePayload.plan ? PlanSchema.safeParse(candidatePayload.plan) : null;
1758
+ if (!parseResult || !parseResult.success) {
1759
+ log(`[ledger] Skipping degraded snapshot event seq=${candidate.seq} (payload failed PlanSchema validation); falling back to older snapshot history.`);
1760
+ continue;
1761
+ }
1762
+ let plan2 = parseResult.data;
1763
+ const eventsAfterSnapshot = relevantEvents.filter((e) => e.seq > candidate.seq);
1758
1764
  for (const event of eventsAfterSnapshot) {
1759
1765
  plan2 = applyEventToPlan(plan2, event);
1760
1766
  if (plan2 === null) {
@@ -1784,7 +1790,8 @@ function reconstructPlanFromEvents(directory, events) {
1784
1790
  }
1785
1791
  let plan;
1786
1792
  try {
1787
- const content = fs.readFileSync(planJsonPath, "utf8");
1793
+ const bootstrapBytes = fs.readFileSync(planJsonPath);
1794
+ const content = new TextDecoder("utf-8", { fatal: true }).decode(bootstrapBytes);
1788
1795
  plan = JSON.parse(content);
1789
1796
  } catch {
1790
1797
  return null;
@@ -1933,12 +1940,12 @@ async function quarantineLedgerSuffix(directory, badSuffix) {
1933
1940
  }
1934
1941
  }
1935
1942
  async function loadLastApprovedPlan(directory, expectedPlanId) {
1936
- const events = await readLedgerEvents(directory);
1937
- return findLastApprovedSnapshot(events, expectedPlanId);
1943
+ const integrity = await readLedgerEventsWithIntegrity(directory);
1944
+ return findLastApprovedSnapshot(integrity.events, expectedPlanId);
1938
1945
  }
1939
1946
  async function loadLastPlanCriticApprovedSnapshot(directory, expectedPlanId) {
1940
- const events = await readLedgerEvents(directory);
1941
- return findLastApprovedSnapshot(events, expectedPlanId, (payload) => payload.approval?.source === "plan_critic_gate");
1947
+ const integrity = await readLedgerEventsWithIntegrity(directory);
1948
+ return findLastApprovedSnapshot(integrity.events, expectedPlanId, (payload) => payload.approval?.source === "plan_critic_gate");
1942
1949
  }
1943
1950
  function findLastApprovedSnapshot(events, expectedPlanId, extraFilter) {
1944
1951
  if (events.length === 0) {
@@ -1957,6 +1964,11 @@ function findLastApprovedSnapshot(events, expectedPlanId, extraFilter) {
1957
1964
  if (!payload || typeof payload !== "object" || !payload.plan) {
1958
1965
  continue;
1959
1966
  }
1967
+ const parsedPlan = PlanSchema.safeParse(payload.plan);
1968
+ if (!parsedPlan.success) {
1969
+ criticalWarn(`[ledger] Skipping schema-invalid critic_approved snapshot at seq ${event.seq}: ${parsedPlan.error.issues[0]?.message ?? "unknown schema error"}`);
1970
+ continue;
1971
+ }
1960
1972
  if (expectedPlanId !== undefined) {
1961
1973
  const payloadPlanId = derivePlanId(payload.plan);
1962
1974
  if (payloadPlanId !== expectedPlanId) {
@@ -1967,7 +1979,7 @@ function findLastApprovedSnapshot(events, expectedPlanId, extraFilter) {
1967
1979
  continue;
1968
1980
  }
1969
1981
  return {
1970
- plan: payload.plan,
1982
+ plan: parsedPlan.data,
1971
1983
  seq: event.seq,
1972
1984
  timestamp: event.timestamp,
1973
1985
  approval: payload.approval,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-6fb3y9pm.js";
4
+ } from "./index-ma38q4rf.js";
5
5
  import {
6
6
  bunWrite
7
7
  } from "./index-2s7dvzff.js";
@@ -18,21 +18,21 @@ import {
18
18
  releaseCoordinationLease,
19
19
  transitionCoordinationState,
20
20
  withCoordinationTransaction
21
- } from "./index-k441jgzk.js";
21
+ } from "./index-9p00xent.js";
22
22
  import {
23
23
  getProjectDb,
24
24
  projectDbExists
25
- } from "./index-efkckdaw.js";
25
+ } from "./index-bdqefjxg.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-dpb1xs5m.js";
28
+ } from "./index-gdrdtbw6.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-dga9j6s1.js";
32
+ } from "./index-yf1mvexg.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-br3r0y73.js";
35
+ } from "./index-jmn35na4.js";
36
36
  import {
37
37
  canonicalRootKeyFresh,
38
38
  sameProjectRoot
@@ -4641,7 +4641,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4641
4641
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4642
4642
  if (candidates.length === 0)
4643
4643
  return 0;
4644
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-0k46xqk2.js");
4644
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-pw4jbrez.js");
4645
4645
  let transferred = 0;
4646
4646
  for (const record of candidates) {
4647
4647
  try {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  computePlanStructureHash
4
- } from "./index-5hambjmn.js";
4
+ } from "./index-c5wyannc.js";
5
5
  import {
6
6
  appendCoreEventSync
7
- } from "./index-mj07x42s.js";
7
+ } from "./index-9bg5vc22.js";
8
8
  import {
9
9
  deleteCoordinationState,
10
10
  derivePlanId,
@@ -13,27 +13,27 @@ import {
13
13
  transitionCoordinationState,
14
14
  transitionCoordinationStateWithinTransaction,
15
15
  withCoordinationTransaction
16
- } from "./index-k441jgzk.js";
16
+ } from "./index-9p00xent.js";
17
17
  import {
18
18
  getProjectDb
19
- } from "./index-efkckdaw.js";
19
+ } from "./index-bdqefjxg.js";
20
20
  import {
21
21
  canonicalExistingFilesystemPath,
22
22
  legacyCanonicalExistingFilesystemPath
23
23
  } from "./index-ry16d01s.js";
24
24
  import {
25
25
  assertProjectRoot
26
- } from "./index-dga9j6s1.js";
26
+ } from "./index-yf1mvexg.js";
27
27
  import {
28
28
  require_proper_lockfile
29
29
  } from "./index-7g4c7s5r.js";
30
30
  import {
31
31
  atomicWriteSwarmFile,
32
32
  atomicWriteSwarmFileSync
33
- } from "./index-a2kv054j.js";
33
+ } from "./index-ws3ggk1h.js";
34
34
  import {
35
35
  PlanSchema
36
- } from "./index-3kqzzwvd.js";
36
+ } from "./index-zcjdw8dw.js";
37
37
  import {
38
38
  init_path_identity,
39
39
  unsafePathTextReason
@@ -3,10 +3,10 @@ import {
3
3
  pseudonymousRef,
4
4
  resolveLineageSalt,
5
5
  telemetry
6
- } from "./index-br3r0y73.js";
6
+ } from "./index-jmn35na4.js";
7
7
  import {
8
8
  atomicWriteSwarmFile
9
- } from "./index-a2kv054j.js";
9
+ } from "./index-ws3ggk1h.js";
10
10
  import {
11
11
  canonicalRootKeyFresh
12
12
  } from "./index-1xnse449.js";
@@ -5,7 +5,7 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-efkckdaw.js";
8
+ } from "./index-bdqefjxg.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-s723hx7z.js";
12
+ } from "./index-nzpw41w6.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-dpb1xs5m.js";
4
+ } from "./index-gdrdtbw6.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-br3r0y73.js";
7
+ } from "./index-jmn35na4.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-zbw6h4xn.js";
11
+ } from "./index-twpzfwga.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-ecaws78e.js";
@@ -11,7 +11,7 @@ import {
11
11
  readLinkPointer,
12
12
  resolveKnowledgeStoreDir,
13
13
  resolveLinkDir
14
- } from "./index-1s3t3jdc.js";
14
+ } from "./index-jzrx2sx2.js";
15
15
 
16
16
  // src/knowledge/curation-policy.ts
17
17
  import { readFile as readFile2 } from "fs/promises";
@@ -11,16 +11,16 @@ import {
11
11
  } from "./index-ae75rja9.js";
12
12
  import {
13
13
  resolveKnowledgeStoreDir
14
- } from "./index-1s3t3jdc.js";
14
+ } from "./index-jzrx2sx2.js";
15
15
  import {
16
16
  atomicWriteFile
17
- } from "./index-dga9j6s1.js";
17
+ } from "./index-yf1mvexg.js";
18
18
  import {
19
19
  require_proper_lockfile
20
20
  } from "./index-7g4c7s5r.js";
21
21
  import {
22
22
  readCachedParsedFile
23
- } from "./index-a2kv054j.js";
23
+ } from "./index-ws3ggk1h.js";
24
24
  import {
25
25
  init_knowledge_types,
26
26
  isActiveStatus
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
739
739
  const {
740
740
  readAuthoritativeKnowledgeCounterRollups,
741
741
  effectiveRetrievalOutcomes
742
- } = await import("./knowledge-events-8w0mvkzc.js");
742
+ } = await import("./knowledge-events-aqy4hb15.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-rc63wfkp.js");
810
- const { KnowledgeConfigSchema } = await import("./schema-hvptm5hf.js");
809
+ const { quarantineEntry } = await import("./knowledge-validator-vvgs8m7m.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-a8gskpey.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-jvg7hvjp.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-vqs7dxp7.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-8wnjcav5.js";
5
+ } from "./index-008sppht.js";
6
6
  import {
7
7
  validateSwarmPath
8
- } from "./index-6fb3y9pm.js";
8
+ } from "./index-ma38q4rf.js";
9
9
  import {
10
10
  bunSpawn,
11
11
  classifySpawnFailure
@@ -15,10 +15,10 @@ import {
15
15
  atomicWriteFile,
16
16
  taskEvidencePath,
17
17
  withTaskEvidenceLock
18
- } from "./index-dga9j6s1.js";
18
+ } from "./index-yf1mvexg.js";
19
19
  import {
20
20
  telemetry
21
- } from "./index-br3r0y73.js";
21
+ } from "./index-jmn35na4.js";
22
22
  import {
23
23
  init_git_executable,
24
24
  resolveGitExecutable
@@ -722,7 +722,7 @@ var CATALOG_SOURCE = [
722
722
  category: "plan",
723
723
  severity: "notice",
724
724
  privacyClass: "operational",
725
- producer: "src/plan/manager.ts:348",
725
+ producer: "src/plan/manager.ts:358",
726
726
  consumers: NO_CONSUMERS,
727
727
  futureOwnerIssue: ISSUE_SINK,
728
728
  retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
@@ -735,7 +735,7 @@ var CATALOG_SOURCE = [
735
735
  category: "plan",
736
736
  severity: "warning",
737
737
  privacyClass: "sensitive",
738
- producer: "src/plan/manager.ts:1783",
738
+ producer: "src/plan/manager.ts:2056",
739
739
  consumers: NO_CONSUMERS,
740
740
  futureOwnerIssue: ISSUE_SINK,
741
741
  retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
@@ -748,7 +748,7 @@ var CATALOG_SOURCE = [
748
748
  category: "plan",
749
749
  severity: "error",
750
750
  privacyClass: "sensitive",
751
- producer: "src/plan/ledger.ts:1587",
751
+ producer: "src/plan/ledger.ts:1594",
752
752
  consumers: NO_CONSUMERS,
753
753
  futureOwnerIssue: ISSUE_SINK,
754
754
  retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-dga9j6s1.js";
4
+ } from "./index-yf1mvexg.js";
5
5
  import {
6
6
  canonicalRootKeyFresh
7
7
  } from "./index-1xnse449.js";
@@ -7,7 +7,7 @@ import {
7
7
  readCachedTextFile,
8
8
  wasObservedToExist,
9
9
  wasRecentlyWrittenByThisProcess
10
- } from "./index-a2kv054j.js";
10
+ } from "./index-ws3ggk1h.js";
11
11
  import {
12
12
  SwarmError
13
13
  } from "./index-c1ggtmpm.js";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-6fb3y9pm.js";
4
+ } from "./index-ma38q4rf.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-2s7dvzff.js";
8
8
  import {
9
9
  atomicWriteSwarmFile
10
- } from "./index-a2kv054j.js";
10
+ } from "./index-ws3ggk1h.js";
11
11
  import {
12
12
  canonicalRootKey,
13
13
  sameProjectRoot
@@ -11,7 +11,7 @@ import {
11
11
  assertProjectRoot,
12
12
  atomicWriteFile,
13
13
  withEvidenceLock
14
- } from "./index-dga9j6s1.js";
14
+ } from "./index-yf1mvexg.js";
15
15
  import {
16
16
  exports_external,
17
17
  init_zod
@@ -1,36 +1,36 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-6fb3y9pm.js";
4
+ } from "./index-ma38q4rf.js";
5
5
  import {
6
6
  observeReceiptTransition
7
- } from "./index-dpb1xs5m.js";
7
+ } from "./index-gdrdtbw6.js";
8
8
  import {
9
9
  resolveHiveEventsPath
10
10
  } from "./index-ae75rja9.js";
11
11
  import {
12
12
  resolveKnowledgeStoreDir
13
- } from "./index-1s3t3jdc.js";
13
+ } from "./index-jzrx2sx2.js";
14
14
  import {
15
15
  assertProjectRoot,
16
16
  atomicWriteFile
17
- } from "./index-dga9j6s1.js";
17
+ } from "./index-yf1mvexg.js";
18
18
  import {
19
19
  require_proper_lockfile
20
20
  } from "./index-7g4c7s5r.js";
21
21
  import {
22
22
  emit
23
- } from "./index-br3r0y73.js";
23
+ } from "./index-jmn35na4.js";
24
24
  import {
25
25
  canonicalRootKey
26
26
  } from "./index-1xnse449.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-3kqzzwvd.js";
29
+ } from "./index-zcjdw8dw.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-zbw6h4xn.js";
33
+ } from "./index-twpzfwga.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-p5ps09qg.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-xgkga9xj.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-1vsmh63p.js";
17
+ } from "./index-br08k19k.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-328eg2bb.js";
24
+ } from "./index-hx0pas8b.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-39x78qk0.js";
6
+ } from "./index-pmg1k4mv.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-53ges0rk.js";
14
+ } from "./index-j8warkkj.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-rc63wfkp.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-vvgs8m7m.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-hvptm5hf.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-jvg7hvjp.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-a8gskpey.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-vqs7dxp7.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-39x78qk0.js";
8
+ } from "./index-pmg1k4mv.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-2rdj9mdh.js";
12
+ } from "./index-66tshqdp.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-53ges0rk.js";
19
+ } from "./index-j8warkkj.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  atomicWriteFileAnyRoot,
26
26
  atomicWriteSwarmFile
27
- } from "./index-a2kv054j.js";
27
+ } from "./index-ws3ggk1h.js";
28
28
  import {
29
29
  canonicalRootKeyFresh
30
30
  } from "./index-1xnse449.js";
@@ -22,66 +22,66 @@ import {
22
22
  resolveFallbackModel,
23
23
  resolvePrimaryAgentNames,
24
24
  stripSwarmPrefix
25
- } from "./index-1vsmh63p.js";
25
+ } from "./index-br08k19k.js";
26
26
  import"./index-hnvmj9wx.js";
27
- import"./index-nyrhz1h1.js";
28
- import"./index-328eg2bb.js";
29
- import"./index-nqbmk4b9.js";
30
- import"./index-29j9sjbw.js";
31
- import"./index-63t4m2t5.js";
32
- import"./index-s723hx7z.js";
27
+ import"./index-ha3wsy2e.js";
28
+ import"./index-hx0pas8b.js";
29
+ import"./index-h91jjw6t.js";
30
+ import"./index-sakgsnxj.js";
31
+ import"./index-3r17j2gc.js";
32
+ import"./index-nzpw41w6.js";
33
33
  import"./index-txdagbh7.js";
34
34
  import"./index-z2deqhpp.js";
35
35
  import"./index-fpbcxykc.js";
36
- import"./index-y8y2bjsy.js";
37
- import"./index-z81mxyhm.js";
38
- import"./index-r08tgb71.js";
36
+ import"./index-re1ey51s.js";
37
+ import"./index-qfz31dcy.js";
38
+ import"./index-tm6z0wgj.js";
39
39
  import {
40
40
  createExplorerAgent
41
41
  } from "./index-fyfbpz4f.js";
42
- import"./index-v2fge66b.js";
42
+ import"./index-y5x1swr8.js";
43
43
  import"./index-0hgmsyfp.js";
44
44
  import"./index-zsrtt42s.js";
45
- import"./index-25fa4krx.js";
46
- import"./index-v6msnkz2.js";
47
- import"./index-34jdempk.js";
45
+ import"./index-w0141tkw.js";
46
+ import"./index-mq69g46a.js";
47
+ import"./index-tr3tbtgw.js";
48
48
  import"./index-pt7h91zc.js";
49
49
  import"./index-q7sjgr1y.js";
50
- import"./index-8k09fkqj.js";
51
- import"./index-8wnjcav5.js";
52
- import"./index-0y2ygy5f.js";
53
- import"./index-39x78qk0.js";
54
- import"./index-6fb3y9pm.js";
50
+ import"./index-jc0as97z.js";
51
+ import"./index-008sppht.js";
52
+ import"./index-dg5znyqw.js";
53
+ import"./index-pmg1k4mv.js";
54
+ import"./index-ma38q4rf.js";
55
55
  import"./index-2s7dvzff.js";
56
- import"./index-2rdj9mdh.js";
57
- import"./index-677gzqmd.js";
56
+ import"./index-66tshqdp.js";
57
+ import"./index-hydccmm1.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-6jshhpjw.js";
59
+ import"./index-93z2fhyp.js";
60
60
  import"./index-frcemc0b.js";
61
61
  import"./index-wrt875kh.js";
62
- import"./index-7q1m8rsw.js";
63
- import"./index-5hambjmn.js";
64
- import"./index-mj07x42s.js";
65
- import"./index-12w05bxk.js";
66
- import"./index-k441jgzk.js";
67
- import"./index-efkckdaw.js";
62
+ import"./index-edext37b.js";
63
+ import"./index-c5wyannc.js";
64
+ import"./index-9bg5vc22.js";
65
+ import"./index-31fes86t.js";
66
+ import"./index-9p00xent.js";
67
+ import"./index-bdqefjxg.js";
68
68
  import"./index-rdm3px0g.js";
69
69
  import"./index-ry16d01s.js";
70
- import"./index-dpb1xs5m.js";
71
- import"./index-53ges0rk.js";
70
+ import"./index-gdrdtbw6.js";
71
+ import"./index-j8warkkj.js";
72
72
  import"./index-vzm6zre7.js";
73
73
  import"./index-ae75rja9.js";
74
- import"./index-1s3t3jdc.js";
75
- import"./index-dga9j6s1.js";
74
+ import"./index-jzrx2sx2.js";
75
+ import"./index-yf1mvexg.js";
76
76
  import"./index-7g4c7s5r.js";
77
- import"./index-br3r0y73.js";
78
- import"./index-a2kv054j.js";
77
+ import"./index-jmn35na4.js";
78
+ import"./index-ws3ggk1h.js";
79
79
  import"./index-1xnse449.js";
80
80
  import"./index-c1ggtmpm.js";
81
- import"./index-3kqzzwvd.js";
81
+ import"./index-zcjdw8dw.js";
82
82
  import"./index-0mhftbpp.js";
83
83
  import"./index-a1w58b47.js";
84
- import"./index-zbw6h4xn.js";
84
+ import"./index-twpzfwga.js";
85
85
  import"./index-ecaws78e.js";
86
86
  import"./index-bk5tah7q.js";
87
87
  import"./index-gknz3bv1.js";