opencode-swarm 7.173.1 → 7.175.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 (112) hide show
  1. package/.opencode/skills/swarm-pr-review/references/findings-persistence-contract.md +37 -0
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/agents/critic.d.ts +44 -2
  5. package/dist/background/pending-delegations.d.ts +10 -0
  6. package/dist/background/pr-review-contract.d.ts +27 -0
  7. package/dist/background/stage-b-gates.d.ts +29 -0
  8. package/dist/background/status-artifact.d.ts +24 -1
  9. package/dist/cli/{coder-settlement-kxxmd9jt.js → coder-settlement-f2n9yp7a.js} +11 -11
  10. package/dist/cli/{config-doctor-nzcya5zr.js → config-doctor-zcyz614n.js} +2 -2
  11. package/dist/cli/{core-s9a9kmcc.js → core-jar8cmzf.js} +3 -3
  12. package/dist/cli/{curation-policy-tx4kb30e.js → curation-policy-e5p147bb.js} +5 -5
  13. package/dist/cli/{curator-jkp8558s.js → curator-3xfz7wdp.js} +36 -36
  14. package/dist/cli/{curator-drift-047n8fjw.js → curator-drift-x3tt8apf.js} +4 -4
  15. package/dist/cli/curator-llm-factory-rc7cqtx8.js +72 -0
  16. package/dist/cli/{evidence-summary-service-ek50h5b3.js → evidence-summary-service-bpe04ngj.js} +15 -15
  17. package/dist/cli/{gate-evidence-8dk50ten.js → gate-evidence-pyzzafp3.js} +6 -6
  18. package/dist/cli/guardrail-explain-ncrw7k8h.js +73 -0
  19. package/dist/cli/{guardrail-log-hq5xpm7g.js → guardrail-log-nn2t8xyd.js} +7 -7
  20. package/dist/cli/{guardrail-reset-gttz1y0h.js → guardrail-reset-3c3c7e5e.js} +36 -36
  21. package/dist/cli/{hive-promoter-44p7ng87.js → hive-promoter-xfbabpnm.js} +36 -36
  22. package/dist/cli/{index-53c0ajk4.js → index-20q20gpd.js} +1 -1
  23. package/dist/cli/{index-m51cmzxt.js → index-2dv07mw2.js} +1 -1
  24. package/dist/cli/{index-fnx0jzf7.js → index-2xwavnbg.js} +1 -1
  25. package/dist/cli/{index-62pcs7jg.js → index-4rm5saxs.js} +3 -3
  26. package/dist/cli/{index-za1kvsa0.js → index-5t71wd7j.js} +2 -2
  27. package/dist/cli/{index-dktpzjy9.js → index-6tbnev6y.js} +1 -1
  28. package/dist/cli/{index-1xfxzjq9.js → index-6yqszgky.js} +2 -2
  29. package/dist/cli/{index-pynk60z5.js → index-8bbhh3kx.js} +8 -8
  30. package/dist/cli/{index-bsnpv4xd.js → index-8tn4yx8b.js} +2 -2
  31. package/dist/cli/{index-mt8pbzda.js → index-96hz14wr.js} +12 -12
  32. package/dist/cli/{index-z35ynvj4.js → index-98r0bh1c.js} +1 -1
  33. package/dist/cli/{index-psb9rxt8.js → index-9gpe25nr.js} +5 -5
  34. package/dist/cli/{index-wf3s2t1t.js → index-ar3ve24w.js} +3005 -2328
  35. package/dist/cli/{index-dx9pz5n6.js → index-bmk77mpq.js} +7 -7
  36. package/dist/cli/{index-ndvgkxpf.js → index-c60t3sw6.js} +2 -2
  37. package/dist/cli/{index-43dmpa9w.js → index-cpgh76bk.js} +2 -2
  38. package/dist/cli/{index-evf5r7bk.js → index-czhbsgdh.js} +1 -1
  39. package/dist/cli/{index-j0vvq8se.js → index-d0wq7paf.js} +7 -7
  40. package/dist/cli/{index-cm0339fe.js → index-ddvva9fn.js} +4 -4
  41. package/dist/cli/{index-mjqjbq94.js → index-fzvh6trw.js} +11 -11
  42. package/dist/cli/{index-pjw95rxm.js → index-gtej1br8.js} +65 -10
  43. package/dist/cli/{index-c5nrcde1.js → index-hdwdapp6.js} +38 -38
  44. package/dist/cli/{index-m53v442a.js → index-hej0z0sm.js} +36 -36
  45. package/dist/cli/{index-r93ptj7j.js → index-hqmr21qx.js} +19 -1
  46. package/dist/cli/{index-18b9snn6.js → index-j1yd2gbz.js} +6 -6
  47. package/dist/cli/{index-kdyvk541.js → index-jgkva4r4.js} +2 -2
  48. package/dist/cli/{index-0dfhahxm.js → index-jj09bfnn.js} +2 -2
  49. package/dist/cli/{index-hhws1xkc.js → index-jn3m9s61.js} +1 -1
  50. package/dist/cli/{index-wr4m11x4.js → index-kj7h2yfv.js} +1 -1
  51. package/dist/cli/{index-6z404f7y.js → index-m6bsy0jb.js} +4 -4
  52. package/dist/cli/{index-90qbc4rp.js → index-mat5rawf.js} +11 -3
  53. package/dist/cli/{index-samx6zgc.js → index-n5jac8z9.js} +1 -1
  54. package/dist/cli/{index-r8g2meas.js → index-nr96hbpy.js} +5 -3
  55. package/dist/cli/{index-yeehyat1.js → index-ppb5krpy.js} +2 -2
  56. package/dist/cli/{index-jmn35na4.js → index-qz6ee73z.js} +3 -3
  57. package/dist/cli/{index-7gkdxs00.js → index-tr9jz898.js} +7 -7
  58. package/dist/cli/{index-yzwb6ja4.js → index-vqjkr1kd.js} +1 -1
  59. package/dist/cli/{index-p36b6t7w.js → index-vt9a5rbg.js} +16 -9
  60. package/dist/cli/{index-vwnd2szd.js → index-yk3es7m2.js} +22 -13
  61. package/dist/cli/{index-gwtb07gc.js → index-zpygn1tn.js} +3 -3
  62. package/dist/cli/{index-gwz9p53s.js → index-zz40vfbz.js} +2 -2
  63. package/dist/cli/index.js +37 -37
  64. package/dist/cli/{knowledge-escalator-ttp4x29h.js → knowledge-escalator-2zjpwg0q.js} +12 -12
  65. package/dist/cli/{knowledge-events-dx9mjgqb.js → knowledge-events-gp2ckzqm.js} +10 -10
  66. package/dist/cli/{knowledge-link-f7bhq7cx.js → knowledge-link-s77cyqxk.js} +4 -4
  67. package/dist/cli/{knowledge-store-6sq9rxma.js → knowledge-store-kd88k067.js} +5 -5
  68. package/dist/cli/{knowledge-validator-h49dkw2z.js → knowledge-validator-22t16mba.js} +7 -7
  69. package/dist/cli/{mcp-kd7w2572.js → mcp-1fjc89yp.js} +1 -1
  70. package/dist/cli/{pending-delegations-n4qyymj2.js → pending-delegations-k4hfqz12.js} +11 -11
  71. package/dist/cli/{pr-subscriptions-n8vkm5mv.js → pr-subscriptions-8g6w41vz.js} +11 -11
  72. package/dist/cli/{pr-workflow-gate-j67jhtzt.js → pr-workflow-gate-kb3e709n.js} +42 -36
  73. package/dist/cli/{runner-58k70bnr.js → runner-nzppg2ky.js} +5 -5
  74. package/dist/cli/{scan-cursor-sz8ncpw2.js → scan-cursor-erm49azh.js} +6 -6
  75. package/dist/cli/{schema-70c0yw8p.js → schema-kts10txe.js} +5 -1
  76. package/dist/cli/{scope-persistence-0dzyv0vt.js → scope-persistence-krnvsmsz.js} +14 -14
  77. package/dist/cli/{server-njmemwbm.js → server-9bqh036q.js} +36 -36
  78. package/dist/cli/{skill-generator-kf5yqmvk.js → skill-generator-7q75h2kr.js} +14 -14
  79. package/dist/cli/{snapshot-coordination-init-ezf5xqy2.js → snapshot-coordination-init-bw9mn21x.js} +36 -36
  80. package/dist/cli/{telemetry-zed80n86.js → telemetry-7bk8ps5p.js} +1 -1
  81. package/dist/cli/{workspace-snapshot-62be4368.js → workspace-snapshot-6aw002e8.js} +3 -3
  82. package/dist/cli/{worktree-collision-ownership-fe176vyv.js → worktree-collision-ownership-ajagwzh8.js} +12 -12
  83. package/dist/cli/{worktree-isolation-c0b1h3f1.js → worktree-isolation-rmqp04fx.js} +36 -36
  84. package/dist/commands/registry.d.ts +1 -1
  85. package/dist/config/index.d.ts +2 -2
  86. package/dist/config/schema.d.ts +22 -8
  87. package/dist/events/core-events.d.ts +2 -0
  88. package/dist/evidence/task-gate-requirements.d.ts +24 -0
  89. package/dist/gate-evidence.d.ts +12 -0
  90. package/dist/hooks/pr-workflow-gate.d.ts +28 -0
  91. package/dist/index.d.ts +8 -0
  92. package/dist/index.js +501 -488
  93. package/dist/parallel/review-router.d.ts +8 -2
  94. package/dist/pr-review/completion.d.ts +2 -1
  95. package/dist/pr-review/finding-policy.d.ts +194 -0
  96. package/dist/pr-review/types.d.ts +8 -0
  97. package/dist/review/routing-enforcement.d.ts +163 -0
  98. package/dist/session/snapshot-writer.d.ts +2 -0
  99. package/dist/state.d.ts +28 -0
  100. package/dist/tools/complete-pr-workflow.d.ts +2 -1
  101. package/dist/tools/dispatch-lanes.d.ts +29 -0
  102. package/dist/tools/tool-metadata.d.ts +16 -16
  103. package/dist/tools/update-task-status.d.ts +0 -10
  104. package/dist/tools/write-pr-review-artifact.d.ts +7 -0
  105. package/dist/workflow/coder-settlement.d.ts +7 -0
  106. package/dist/workflow/recovery-invocation.d.ts +35 -0
  107. package/dist/workflow/stage-a-repair.d.ts +17 -0
  108. package/dist/workflow/task-recovery-status.d.ts +61 -0
  109. package/opencode-swarm.schema.json +11 -0
  110. package/package.json +2 -1
  111. package/dist/cli/curator-llm-factory-dza1qtwr.js +0 -72
  112. package/dist/cli/guardrail-explain-s29vngen.js +0 -73
@@ -2,31 +2,31 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-fnx0jzf7.js";
5
+ } from "./index-2xwavnbg.js";
6
6
  import {
7
7
  getProjectDb,
8
8
  projectDbExists,
9
9
  withImmediateTransaction,
10
10
  withProjectDbReadOnly
11
- } from "./index-dktpzjy9.js";
11
+ } from "./index-6tbnev6y.js";
12
12
  import {
13
13
  assertProjectRoot,
14
14
  withEvidenceLock
15
- } from "./index-kdyvk541.js";
15
+ } from "./index-jgkva4r4.js";
16
16
  import {
17
17
  emit
18
- } from "./index-jmn35na4.js";
18
+ } from "./index-qz6ee73z.js";
19
19
  import {
20
20
  ExecutionProfileSchema,
21
21
  PlanSchema,
22
22
  TaskStatusSchema,
23
23
  init_loader,
24
24
  loadPluginConfig
25
- } from "./index-53c0ajk4.js";
25
+ } from "./index-20q20gpd.js";
26
26
  import {
27
27
  init_package,
28
28
  package_default
29
- } from "./index-90qbc4rp.js";
29
+ } from "./index-mat5rawf.js";
30
30
  import {
31
31
  criticalWarn,
32
32
  init_logger,
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-7g4c7s5r.js";
5
5
  import {
6
6
  emit
7
- } from "./index-jmn35na4.js";
7
+ } from "./index-qz6ee73z.js";
8
8
  import {
9
9
  atomicWriteFileAnyRoot
10
- } from "./index-bsnpv4xd.js";
10
+ } from "./index-8tn4yx8b.js";
11
11
  import {
12
12
  init_logger,
13
13
  warn
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-evf5r7bk.js";
4
+ } from "./index-czhbsgdh.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-bsnpv4xd.js";
7
+ } from "./index-8tn4yx8b.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-z35ynvj4.js";
12
+ } from "./index-98r0bh1c.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -5,7 +5,7 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-dktpzjy9.js";
8
+ } from "./index-6tbnev6y.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-pynk60z5.js";
8
+ } from "./index-8bbhh3kx.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-cm0339fe.js";
12
+ } from "./index-ddvva9fn.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-j0vvq8se.js";
19
+ } from "./index-d0wq7paf.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-bsnpv4xd.js";
27
+ } from "./index-8tn4yx8b.js";
28
28
  import {
29
29
  canonicalRootKeyFresh
30
30
  } from "./index-1xnse449.js";
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.173.1",
24
+ version: "7.175.0",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -132,6 +132,7 @@ var init_package = __esm(() => {
132
132
  "package:smoke": "node scripts/package-smoke.mjs",
133
133
  prepare: "bun run build",
134
134
  "repro:704": "node scripts/repro-704.mjs",
135
+ "repro:2669": "node scripts/repro-2669.mjs",
135
136
  "repro:1144": "bun scripts/repro-1144.mjs",
136
137
  "repro:1873": "bun build scripts/repro-1873-entry.ts --outdir dist-build-test/repro-1873 --target node --format esm && node scripts/repro-1873.mjs",
137
138
  "repro:2487": "bun build scripts/repro-2487-parity-entry.ts --outdir dist-build-test/repro-2487 --target node --format esm && node scripts/repro-2487-parity.mjs",
@@ -324,7 +325,7 @@ function resolveExternalSkillsConfig(input) {
324
325
  };
325
326
  return merged;
326
327
  }
327
- var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
328
+ var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
328
329
  var init_schema = __esm(() => {
329
330
  init_zod();
330
331
  init_package();
@@ -1670,6 +1671,12 @@ var init_schema = __esm(() => {
1670
1671
  max_retry_attempts_after_initial: exports_external.number().int().min(0).max(2).default(2),
1671
1672
  circuit_open_duration_ms: exports_external.number().int().min(1000).max(1800000).default(60000)
1672
1673
  }).strict();
1674
+ ReviewRoutingConfigSchema = exports_external.object({
1675
+ enforce_receipts: exports_external.boolean().default(true)
1676
+ }).strict();
1677
+ DEFAULT_REVIEW_ROUTING_CONFIG = {
1678
+ enforce_receipts: true
1679
+ };
1673
1680
  LaneLivenessWatchdogConfigSchema = exports_external.object({
1674
1681
  enabled: exports_external.boolean().default(false),
1675
1682
  timeout_ms: exports_external.number().int().min(0).max(86400000).default(1800000),
@@ -1711,6 +1718,7 @@ var init_schema = __esm(() => {
1711
1718
  inject_phase_reminders: exports_external.boolean().default(true).describe("Inject phase reminder directives during execution."),
1712
1719
  hooks: HooksConfigSchema.optional().describe("Hook subsystem toggles and settings."),
1713
1720
  pr_review_resilience: PrReviewResilienceConfigSchema.optional().describe("PR review base-wave staged canary/fanout resilience settings."),
1721
+ review_routing: ReviewRoutingConfigSchema.optional().describe("Semantic review routing receipt enforcement for Stage B (default on; set enforce_receipts=false only as a one-release rollback)."),
1714
1722
  lane_liveness_watchdog: LaneLivenessWatchdogConfigSchema.optional().describe("Lane liveness watchdog: execution deadline and stall escalation for PR workflow lanes."),
1715
1723
  dispatch_protection: DispatchProtectionConfigSchema.optional().describe("Dispatch protection: action-local spawn-failure circuit breaker and token-bucket rate limiting for native task delegations."),
1716
1724
  pr_review_legacy_transcript_compatibility: exports_external.boolean().optional().describe("Deprecated migration-only opt-in for transcript-row PR-review base and micro discovery lanes."),
@@ -1943,4 +1951,4 @@ var init_schema = __esm(() => {
1943
1951
  });
1944
1952
  });
1945
1953
 
1946
- export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
1954
+ export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-62pcs7jg.js";
7
+ } from "./index-4rm5saxs.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-gwz9p53s.js";
5
+ } from "./index-zz40vfbz.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-53c0ajk4.js";
47
+ } from "./index-20q20gpd.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
50
  import {
@@ -65,12 +65,13 @@ import {
65
65
  PluginConfigSchema,
66
66
  PricingConfigSchema,
67
67
  RepoGraphConfigSchema,
68
+ ReviewRoutingConfigSchema,
68
69
  SkillPropagationConfigSchema,
69
70
  SwarmConfigSchema,
70
71
  TurboConfigSchema,
71
72
  WorktreeIsolationConfigSchema,
72
73
  resolveAutoReviewConfig
73
- } from "./index-90qbc4rp.js";
74
+ } from "./index-mat5rawf.js";
74
75
  import {
75
76
  ALL_AGENT_NAMES,
76
77
  ALL_SUBAGENT_NAMES,
@@ -113,6 +114,7 @@ export {
113
114
  SpecRequirementSchema,
114
115
  SpecDeltaSchema,
115
116
  SkillPropagationConfigSchema,
117
+ ReviewRoutingConfigSchema,
116
118
  ReviewEvidenceSchema,
117
119
  RepoGraphConfigSchema,
118
120
  QA_AGENTS,
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-wf3s2t1t.js";
17
+ } from "./index-ar3ve24w.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-62pcs7jg.js";
24
+ } from "./index-4rm5saxs.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -236,7 +236,7 @@ var CATALOG_SOURCE = [
236
236
  category: "delegation",
237
237
  severity: "info",
238
238
  privacyClass: "pseudonymous",
239
- producer: "src/index.ts:786",
239
+ producer: "src/index.ts:838",
240
240
  consumers: CONSUMER_COST_CORRECTION,
241
241
  retentionOwnerIssue: ISSUE_COST_RETENTION,
242
242
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
@@ -249,7 +249,7 @@ var CATALOG_SOURCE = [
249
249
  category: "delegation",
250
250
  severity: "info",
251
251
  privacyClass: "pseudonymous",
252
- producer: "src/index.ts:1803",
252
+ producer: "src/index.ts:1855",
253
253
  consumers: NO_CONSUMERS,
254
254
  futureOwnerIssue: ISSUE_SINK,
255
255
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -263,7 +263,7 @@ var CATALOG_SOURCE = [
263
263
  category: "delegation",
264
264
  severity: "notice",
265
265
  privacyClass: "pseudonymous",
266
- producer: "src/index.ts:1823",
266
+ producer: "src/index.ts:1875",
267
267
  consumers: CONSUMER_COST_JOIN,
268
268
  retentionOwnerIssue: ISSUE_COST_RETENTION,
269
269
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -1,30 +1,30 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-evf5r7bk.js";
4
+ } from "./index-czhbsgdh.js";
5
5
  import {
6
6
  deleteCoordinationState,
7
7
  importCoordinationOnce,
8
8
  listCoordinationStates,
9
9
  transitionCoordinationState,
10
10
  withCoordinationTransaction
11
- } from "./index-fnx0jzf7.js";
11
+ } from "./index-2xwavnbg.js";
12
12
  import {
13
13
  getProjectDb,
14
14
  projectDbExists
15
- } from "./index-dktpzjy9.js";
15
+ } from "./index-6tbnev6y.js";
16
16
  import {
17
17
  observeStoreHealth
18
- } from "./index-43dmpa9w.js";
18
+ } from "./index-cpgh76bk.js";
19
19
  import {
20
20
  withEvidenceLock
21
- } from "./index-kdyvk541.js";
21
+ } from "./index-jgkva4r4.js";
22
22
  import {
23
23
  telemetry
24
- } from "./index-jmn35na4.js";
24
+ } from "./index-qz6ee73z.js";
25
25
  import {
26
26
  atomicWriteSwarmFileSync
27
- } from "./index-bsnpv4xd.js";
27
+ } from "./index-8tn4yx8b.js";
28
28
  import {
29
29
  canonicalRootKey,
30
30
  canonicalRootKeyFresh,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-kdyvk541.js";
4
+ } from "./index-jgkva4r4.js";
5
5
  import {
6
6
  canonicalRootKeyFresh
7
7
  } from "./index-1xnse449.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  captureWorkspaceSnapshotAsync,
4
4
  changedFilesSinceSnapshotAsync
5
- } from "./index-ndvgkxpf.js";
5
+ } from "./index-c60t3sw6.js";
6
6
  import {
7
7
  removeWorktreeProvisioningOwner
8
- } from "./index-0dfhahxm.js";
8
+ } from "./index-jj09bfnn.js";
9
9
  import {
10
10
  SOURCE_WORKTREE_GONE_STAGE,
11
11
  ensureTaskGateRequirementsReceiptForSettledTransition,
@@ -14,16 +14,16 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-pjw95rxm.js";
17
+ } from "./index-gtej1br8.js";
18
18
  import {
19
19
  validateSwarmPath
20
- } from "./index-evf5r7bk.js";
20
+ } from "./index-czhbsgdh.js";
21
21
  import {
22
22
  appendCoreEventSync
23
- } from "./index-mt8pbzda.js";
23
+ } from "./index-96hz14wr.js";
24
24
  import {
25
25
  tryAcquireLock
26
- } from "./index-kdyvk541.js";
26
+ } from "./index-jgkva4r4.js";
27
27
  import {
28
28
  canonicalRootKeyFresh
29
29
  } from "./index-1xnse449.js";
@@ -501,7 +501,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
501
501
  awaitingMergeByCallID,
502
502
  cleanupStandardWorktreeForCallId,
503
503
  standardWorktreeByCallID
504
- } = await import("./worktree-isolation-c0b1h3f1.js");
504
+ } = await import("./worktree-isolation-rmqp04fx.js");
505
505
  standardWorktreeByCallID.delete(descriptor.callID);
506
506
  if (hasResidue)
507
507
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -633,7 +633,7 @@ async function recoverCoderSettlement(directory, taskId) {
633
633
  awaitingMergeByCallID,
634
634
  finishStandardWorktreeDispatch,
635
635
  standardWorktreeByCallID
636
- } = await import("./worktree-isolation-c0b1h3f1.js");
636
+ } = await import("./worktree-isolation-rmqp04fx.js");
637
637
  const descriptor = wal.worktree;
638
638
  const reconstructedDispatch = {
639
639
  callID: descriptor.callID,
@@ -782,6 +782,7 @@ async function listCoderSettlementWalStates(directory) {
782
782
  recordedAt: wal.recordedAt,
783
783
  accepted: wal.accepted === true ? true : undefined,
784
784
  declaredFiles: wal.context?.declaredFiles ?? null,
785
+ expectedGeneration: wal.expectedGeneration,
785
786
  ownedInProcess: liveDispatches.has(dispatchKey(directory, taskId, wal.transitionId)),
786
787
  ownedByLiveForeignPid: wal.processId !== process.pid && isProcessAlive(wal.processId)
787
788
  });
@@ -877,7 +878,13 @@ async function recoverStaleCoderSettlements(directory, options) {
877
878
  taskId: entry.taskId,
878
879
  transitionId: entry.transitionId ?? "",
879
880
  actor: "swarm-recovery"
880
- }, { forced, accepted: recovered.accepted });
881
+ }, {
882
+ forced,
883
+ accepted: recovered.accepted,
884
+ previousTransitionId: entry.transitionId ?? "",
885
+ previousState: entry.state,
886
+ ...typeof entry.expectedGeneration === "number" ? { expectedGeneration: entry.expectedGeneration } : {}
887
+ });
881
888
  results.push({
882
889
  taskId: entry.taskId,
883
890
  outcome: "recovered",
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-evf5r7bk.js";
4
+ } from "./index-czhbsgdh.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-fnx0jzf7.js";
21
+ } from "./index-2xwavnbg.js";
22
22
  import {
23
23
  getProjectDb,
24
24
  projectDbExists
25
- } from "./index-dktpzjy9.js";
25
+ } from "./index-6tbnev6y.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-43dmpa9w.js";
28
+ } from "./index-cpgh76bk.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-kdyvk541.js";
32
+ } from "./index-jgkva4r4.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-jmn35na4.js";
35
+ } from "./index-qz6ee73z.js";
36
36
  import {
37
37
  canonicalRootKeyFresh,
38
38
  sameProjectRoot
@@ -763,7 +763,10 @@ var PrReviewResultReceiptSchema = exports_external.object({
763
763
  childSessionId: PrReviewResultChildSessionSchema,
764
764
  generation: exports_external.number().int().positive().max(1e6),
765
765
  semanticEnvelopeDigest: PrReviewResultDigestSchema,
766
- envelope: PrReviewLaneResultEnvelopeSchema
766
+ envelope: PrReviewLaneResultEnvelopeSchema,
767
+ submittedBy: exports_external.literal("workflow_parent").optional(),
768
+ submittedByParentSessionId: exports_external.string().trim().min(1).max(256).optional(),
769
+ laneTerminalStateAtSubmission: exports_external.string().trim().min(1).max(64).optional()
767
770
  }).strict().superRefine((value, ctx) => {
768
771
  assertUniqueStrings(value.ownedWorkflowLanes, ctx, ["ownedWorkflowLanes"], "ownedWorkflowLanes");
769
772
  if (!value.ownedWorkflowLanes.includes(value.workflowLane)) {
@@ -829,6 +832,9 @@ var PrReviewFindingSchema = exports_external.object({
829
832
  next_action: exports_external.enum(PR_REVIEW_FINDING_ACTIONS),
830
833
  severity: exports_external.enum(PR_REVIEW_SEVERITIES).optional(),
831
834
  category: exports_external.string().trim().min(1).max(128).optional(),
835
+ confidence: exports_external.enum(["LOW", "MEDIUM", "HIGH"]).optional(),
836
+ provenance: exports_external.array(exports_external.string().trim().min(1).max(256)).max(16).optional(),
837
+ critic_status: exports_external.enum(["UPHELD", "DOWNGRADED", "DISPROVED", "NEEDS_MORE_EVIDENCE"]).optional(),
832
838
  risk_impact: exports_external.enum(PR_REVIEW_RISK_IMPACTS).optional(),
833
839
  risk_tags: exports_external.array(exports_external.enum(PR_REVIEW_RISK_TAGS)).max(PR_REVIEW_RISK_TAGS.length).optional()
834
840
  }).strict().superRefine((value, ctx) => {
@@ -2928,11 +2934,14 @@ async function publishPrReviewResultReceipt(directory, input) {
2928
2934
  return;
2929
2935
  }
2930
2936
  if (current.status !== "pending" && current.status !== "running") {
2931
- outcome = {
2932
- status: "terminal",
2933
- reason: `delegation is already ${current.status}`
2934
- };
2935
- return;
2937
+ const livenessTerminalForParentRepair = input.parentRepair === true && (current.status === "cancelled" || current.status === "stale" || current.status === "error") && (current.terminalResult?.result.workflowLaneFailureClass === "liveness" || current.result?.workflowLaneFailureClass === "liveness");
2938
+ if (!livenessTerminalForParentRepair) {
2939
+ outcome = {
2940
+ status: "terminal",
2941
+ reason: `delegation is already ${current.status}`
2942
+ };
2943
+ return;
2944
+ }
2936
2945
  }
2937
2946
  const owned = current.ownedWorkflowLanes?.length ? current.ownedWorkflowLanes : current.workflowLane ? [current.workflowLane] : [];
2938
2947
  const sameOwned = owned.length === parsed.data.ownedWorkflowLanes.length && owned.every((lane) => parsed.data.ownedWorkflowLanes.includes(lane));
@@ -4651,7 +4660,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4651
4660
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4652
4661
  if (candidates.length === 0)
4653
4662
  return 0;
4654
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-kxxmd9jt.js");
4663
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-f2n9yp7a.js");
4655
4664
  let transferred = 0;
4656
4665
  for (const record of candidates) {
4657
4666
  try {
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-evf5r7bk.js";
4
+ } from "./index-czhbsgdh.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-2s7dvzff.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-bsnpv4xd.js";
10
+ } from "./index-8tn4yx8b.js";
11
11
  import {
12
12
  canonicalRootKeyFresh
13
13
  } from "./index-1xnse449.js";
@@ -244,7 +244,7 @@ var _internals2 = {
244
244
  symlinkSync: fs2.symlinkSync
245
245
  },
246
246
  writeScopeToDisk: async (directory, taskId, files) => {
247
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-0dzyv0vt.js");
247
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-krnvsmsz.js");
248
248
  return realWrite(directory, taskId, files);
249
249
  },
250
250
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-53c0ajk4.js";
5
+ } from "./index-20q20gpd.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-90qbc4rp.js";
8
+ } from "./index-mat5rawf.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
package/dist/cli/index.js CHANGED
@@ -14,67 +14,67 @@ import {
14
14
  readCachePackageVersion,
15
15
  resolveCommand,
16
16
  safeRealpathSync
17
- } from "./index-wf3s2t1t.js";
17
+ } from "./index-ar3ve24w.js";
18
18
  import"./index-hnvmj9wx.js";
19
- import"./index-hhws1xkc.js";
20
- import"./index-62pcs7jg.js";
21
- import"./index-wr4m11x4.js";
22
- import"./index-r93ptj7j.js";
23
- import"./index-mjqjbq94.js";
24
- import"./index-z35ynvj4.js";
19
+ import"./index-jn3m9s61.js";
20
+ import"./index-4rm5saxs.js";
21
+ import"./index-kj7h2yfv.js";
22
+ import"./index-hqmr21qx.js";
23
+ import"./index-fzvh6trw.js";
24
+ import"./index-98r0bh1c.js";
25
25
  import"./index-txdagbh7.js";
26
26
  import"./index-z2deqhpp.js";
27
27
  import"./index-fpbcxykc.js";
28
- import"./index-6z404f7y.js";
29
- import"./index-psb9rxt8.js";
30
- import"./index-1xfxzjq9.js";
28
+ import"./index-m6bsy0jb.js";
29
+ import"./index-9gpe25nr.js";
30
+ import"./index-6yqszgky.js";
31
31
  import"./index-fyfbpz4f.js";
32
- import"./index-7gkdxs00.js";
32
+ import"./index-tr9jz898.js";
33
33
  import"./index-0hgmsyfp.js";
34
34
  import"./index-zsrtt42s.js";
35
- import"./index-p36b6t7w.js";
36
- import"./index-ndvgkxpf.js";
37
- import"./index-0dfhahxm.js";
35
+ import"./index-vt9a5rbg.js";
36
+ import"./index-c60t3sw6.js";
37
+ import"./index-jj09bfnn.js";
38
38
  import"./index-pt7h91zc.js";
39
39
  import"./index-q7sjgr1y.js";
40
- import"./index-pjw95rxm.js";
41
- import"./index-gwtb07gc.js";
42
- import"./index-vwnd2szd.js";
43
- import"./index-pynk60z5.js";
44
- import"./index-evf5r7bk.js";
40
+ import"./index-gtej1br8.js";
41
+ import"./index-zpygn1tn.js";
42
+ import"./index-yk3es7m2.js";
43
+ import"./index-8bbhh3kx.js";
44
+ import"./index-czhbsgdh.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-cm0339fe.js";
47
- import"./index-m51cmzxt.js";
46
+ import"./index-ddvva9fn.js";
47
+ import"./index-2dv07mw2.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-gwz9p53s.js";
49
+ import"./index-zz40vfbz.js";
50
50
  import"./index-frcemc0b.js";
51
51
  import"./index-wrt875kh.js";
52
- import"./index-dx9pz5n6.js";
53
- import"./index-18b9snn6.js";
54
- import"./index-mt8pbzda.js";
55
- import"./index-za1kvsa0.js";
56
- import"./index-fnx0jzf7.js";
57
- import"./index-dktpzjy9.js";
52
+ import"./index-bmk77mpq.js";
53
+ import"./index-j1yd2gbz.js";
54
+ import"./index-96hz14wr.js";
55
+ import"./index-5t71wd7j.js";
56
+ import"./index-2xwavnbg.js";
57
+ import"./index-6tbnev6y.js";
58
58
  import"./index-rdm3px0g.js";
59
59
  import"./index-ry16d01s.js";
60
- import"./index-43dmpa9w.js";
61
- import"./index-j0vvq8se.js";
60
+ import"./index-cpgh76bk.js";
61
+ import"./index-d0wq7paf.js";
62
62
  import"./index-vzm6zre7.js";
63
63
  import"./index-ae75rja9.js";
64
- import"./index-yzwb6ja4.js";
65
- import"./index-kdyvk541.js";
64
+ import"./index-vqjkr1kd.js";
65
+ import"./index-jgkva4r4.js";
66
66
  import"./index-7g4c7s5r.js";
67
- import"./index-jmn35na4.js";
68
- import"./index-bsnpv4xd.js";
67
+ import"./index-qz6ee73z.js";
68
+ import"./index-8tn4yx8b.js";
69
69
  import"./index-1xnse449.js";
70
70
  import"./index-c1ggtmpm.js";
71
- import"./index-53c0ajk4.js";
71
+ import"./index-20q20gpd.js";
72
72
  import"./index-0mhftbpp.js";
73
73
  import"./index-a1w58b47.js";
74
74
  import {
75
75
  init_package,
76
76
  package_default
77
- } from "./index-90qbc4rp.js";
77
+ } from "./index-mat5rawf.js";
78
78
  import {
79
79
  DEFAULT_AGENT_CONFIGS,
80
80
  init_constants
@@ -642,7 +642,7 @@ async function main() {
642
642
  const exitCode = await run(["ci", ...args.slice(1)]);
643
643
  process.exit(exitCode);
644
644
  } else if (command === "mcp") {
645
- const { handleMcpCommand } = await import("./mcp-kd7w2572.js");
645
+ const { handleMcpCommand } = await import("./mcp-1fjc89yp.js");
646
646
  const exitCode = await handleMcpCommand(args.slice(1));
647
647
  process.exit(exitCode);
648
648
  } else {