opencode-swarm 7.160.0 → 7.160.2
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.
- package/.opencode/skills/critic-gate/SKILL.md +8 -1
- package/.opencode/skills/execute/SKILL.md +4 -3
- package/.opencode/skills/phase-wrap/SKILL.md +2 -0
- package/.opencode/skills/running-tests/SKILL.md +6 -0
- package/.opencode/skills/swarm-implement/SKILL.md +2 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +29 -29
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +21 -5
- package/dist/agents/architect.d.ts +1 -1
- package/dist/background/pending-delegations.d.ts +46 -1
- package/dist/background/pr-review-contract.d.ts +245 -2
- package/dist/build/command-resolution.d.ts +13 -0
- package/dist/build/discovery.d.ts +11 -4
- package/dist/cli/{coder-settlement-zn552sp9.js → coder-settlement-gzar5ypz.js} +9 -9
- package/dist/cli/{config-doctor-ddtdz2g0.js → config-doctor-ancn1sj7.js} +3 -3
- package/dist/cli/{core-embasn2j.js → core-bhmqtxev.js} +2 -2
- package/dist/cli/{curation-policy-agr6ga1s.js → curation-policy-47przjwg.js} +4 -4
- package/dist/cli/curator-llm-factory-6mw01jx1.js +67 -0
- package/dist/cli/{curator-dgp6dxxn.js → curator-sgmynbpm.js} +32 -32
- package/dist/cli/{dispatch-7r46tfr9.js → dispatch-q4v8x2pk.js} +1 -1
- package/dist/cli/{evidence-summary-service-sbnyann4.js → evidence-summary-service-1pcfsqhv.js} +13 -13
- package/dist/cli/{gate-evidence-5v67a1dz.js → gate-evidence-w0kjqmew.js} +5 -5
- package/dist/cli/guardrail-explain-k99eje1y.js +68 -0
- package/dist/cli/{guardrail-log-zbnbff1y.js → guardrail-log-md5gcpk7.js} +7 -7
- package/dist/cli/{guardrail-reset-3cnz54hx.js → guardrail-reset-3385eqmq.js} +32 -32
- package/dist/cli/{hive-promoter-7cr7t2kg.js → hive-promoter-r0ekyn5m.js} +32 -32
- package/dist/cli/{index-wzx6atbv.js → index-2123hwbj.js} +3 -3
- package/dist/cli/{index-nj6rmyeh.js → index-3146wmgv.js} +352 -149
- package/dist/cli/{index-5m7qjj29.js → index-3a35tt6a.js} +6 -6
- package/dist/cli/{index-q6gjwy7m.js → index-497a3hhj.js} +2 -2
- package/dist/cli/{index-7qv869f0.js → index-4d8cq6e1.js} +5 -5
- package/dist/cli/{index-w699ekk9.js → index-4dcz9fpn.js} +2 -2
- package/dist/cli/{index-zjvf7edj.js → index-5th50g17.js} +1 -1
- package/dist/cli/{index-va1edd2n.js → index-5xfx5sbw.js} +5 -5
- package/dist/cli/{index-1f4n43yz.js → index-6scakreq.js} +5 -4
- package/dist/cli/{index-962jgzdq.js → index-717pmdce.js} +1 -1
- package/dist/cli/{index-rq7k03rk.js → index-7ezv5j23.js} +1 -1
- package/dist/cli/{index-4mm22fzj.js → index-7h2armwf.js} +1 -1
- package/dist/cli/{index-gt8cxfbp.js → index-am5bz6mf.js} +2 -2
- package/dist/cli/{index-cn233hsy.js → index-awjx0wgk.js} +1 -1
- package/dist/cli/{index-h3re5c78.js → index-c9zp4xwc.js} +12 -1
- package/dist/cli/{index-p39xem8b.js → index-dh5q6z7y.js} +3 -3
- package/dist/cli/{index-xs15netk.js → index-j3ss86kf.js} +1 -1
- package/dist/cli/{index-d9s5hb0m.js → index-k0qy284k.js} +5 -5
- package/dist/cli/{index-sy5aeegg.js → index-k50kxd3w.js} +866 -37
- package/dist/cli/{index-fzkx24q5.js → index-kqzba6ex.js} +2 -2
- package/dist/cli/{index-e75bzfgd.js → index-mmr96pwr.js} +1 -1
- package/dist/cli/{index-85qjc7b2.js → index-nk498mx6.js} +1 -1
- package/dist/cli/{index-9fspg1xw.js → index-prv20xq6.js} +1 -1
- package/dist/cli/{index-ebz97mks.js → index-q8hm27yj.js} +8 -1
- package/dist/cli/{index-8bjv01t8.js → index-re338hf1.js} +4 -4
- package/dist/cli/{index-rnyt2z5r.js → index-s7w6ntw6.js} +321 -448
- package/dist/cli/{index-jmths6jj.js → index-vsy942dt.js} +34 -34
- package/dist/cli/{index-rhc8jve7.js → index-vv760pbg.js} +2 -2
- package/dist/cli/{index-3yh737hc.js → index-war2dt6a.js} +6 -6
- package/dist/cli/{index-yrar1ask.js → index-xkmzsfg5.js} +3 -3
- package/dist/cli/{index-3055dgzp.js → index-xsd7y4hp.js} +4 -4
- package/dist/cli/{index-py6bqwnb.js → index-xtwny1ae.js} +16 -2
- package/dist/cli/{index-9q6w7kke.js → index-yd6y4qr7.js} +1 -1
- package/dist/cli/{index-kkfgygvn.js → index-yp81ebrx.js} +4 -4
- package/dist/cli/{index-9k3zc2t8.js → index-zbnf26br.js} +6 -6
- package/dist/cli/{index-s7w428r3.js → index-znf683sm.js} +1 -1
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-zksm9833.js → knowledge-escalator-saekqp8t.js} +12 -12
- package/dist/cli/{knowledge-events-ayta750w.js → knowledge-events-ej8yz3yq.js} +10 -10
- package/dist/cli/{knowledge-link-7c7fjnzc.js → knowledge-link-xezm8hr3.js} +3 -3
- package/dist/cli/{knowledge-store-q5axge8b.js → knowledge-store-3jamj5n4.js} +4 -4
- package/dist/cli/{knowledge-validator-3rrbva2p.js → knowledge-validator-26w2mvqv.js} +6 -6
- package/dist/cli/{model-preflight-x9szw1v4.js → model-preflight-yqqchzjn.js} +1 -1
- package/dist/cli/{pending-delegations-kc7tzxg9.js → pending-delegations-7xak7g59.js} +5 -3
- package/dist/cli/{pr-review-reentry-authorization-vag5gh50.js → pr-review-reentry-authorization-v97q63q4.js} +34 -33
- package/dist/cli/{pr-subscriptions-wbdw9a82.js → pr-subscriptions-asjevc5p.js} +3 -3
- package/dist/cli/{runner-p9wg6z34.js → runner-wsdcy2d6.js} +4 -4
- package/dist/cli/{scan-cursor-4fjwtt1k.js → scan-cursor-1agr50f8.js} +5 -5
- package/dist/cli/{schema-d0nbzj5k.js → schema-z0ygrqgy.js} +4 -2
- package/dist/cli/{scope-persistence-bckcbc8h.js → scope-persistence-tncg38by.js} +8 -8
- package/dist/cli/{skill-generator-kebhevet.js → skill-generator-jq20a09m.js} +14 -14
- package/dist/cli/{worktree-collision-ownership-h8qswnrp.js → worktree-collision-ownership-b9cp9zvw.js} +4 -4
- package/dist/cli/{worktree-isolation-q0kbmadz.js → worktree-isolation-dzyxf8hn.js} +32 -32
- package/dist/config/constants.d.ts +8 -0
- package/dist/config/evidence-schema.d.ts +21 -0
- package/dist/config/schema.d.ts +8 -0
- package/dist/hooks/pr-workflow-gate.d.ts +25 -1
- package/dist/index.js +333 -319
- package/dist/lang/default-backend.d.ts +1 -13
- package/dist/tools/build-check.d.ts +4 -0
- package/dist/tools/dispatch-lanes.d.ts +27 -3
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/sast-baseline.d.ts +2 -0
- package/dist/tools/sast-scan.d.ts +2 -2
- package/dist/tools/submit-pr-review-result.d.ts +5 -0
- package/dist/tools/test-runner.d.ts +2 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/opencode-swarm.schema.json +4 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-7cwvmc46.js +0 -67
- package/dist/cli/guardrail-explain-2gwarnca.js +0 -68
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-717pmdce.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-6scakreq.js";
|
|
12
12
|
import {
|
|
13
13
|
observeReceiptTransition
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-mmr96pwr.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveHiveEventsPath
|
|
17
17
|
} from "./index-ae75rja9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveKnowledgeStoreDir
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-prv20xq6.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-7ezv5j23.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
26
|
} from "./index-b5adxpy6.js";
|
|
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2810
2810
|
}
|
|
2811
2811
|
let bumps = 0;
|
|
2812
2812
|
if (deltas.length > 0) {
|
|
2813
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2813
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-3jamj5n4.js");
|
|
2814
2814
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2815
2815
|
}
|
|
2816
2816
|
return {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
observeStoreHealth
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-mmr96pwr.js";
|
|
8
8
|
import {
|
|
9
9
|
withEvidenceLock
|
|
10
10
|
} from "./index-b5adxpy6.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteSwarmFileSync
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-dh5q6z7y.js";
|
|
14
14
|
import {
|
|
15
15
|
telemetry
|
|
16
16
|
} from "./index-dke4wzkn.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-3f7hqtgg.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-awjx0wgk.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
getTaskWorkflowSnapshot,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reconcileLandedMerge,
|
|
14
14
|
withTaskEvidenceTransaction,
|
|
15
15
|
writeWorkflowWalFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-4dcz9fpn.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalRootKeyFresh
|
|
19
19
|
} from "./index-ddszzne4.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-7h2armwf.js";
|
|
23
23
|
import {
|
|
24
24
|
isPathWithinDeclaredScope
|
|
25
25
|
} from "./index-556ja8an.js";
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-dzyxf8hn.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-dzyxf8hn.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-kqzba6ex.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-7ezv5j23.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
32
|
} from "./index-b5adxpy6.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-war2dt6a.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-3a35tt6a.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-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-26w2mvqv.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-z0ygrqgy.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-k0qy284k.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-c9zp4xwc.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -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.160.
|
|
24
|
+
version: "7.160.2",
|
|
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",
|
|
@@ -316,7 +316,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
316
316
|
};
|
|
317
317
|
return merged;
|
|
318
318
|
}
|
|
319
|
-
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, PluginConfigSchema;
|
|
319
|
+
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
320
320
|
var init_schema = __esm(() => {
|
|
321
321
|
init_zod();
|
|
322
322
|
init_package();
|
|
@@ -1686,6 +1686,7 @@ var init_schema = __esm(() => {
|
|
|
1686
1686
|
inject_phase_reminders: exports_external.boolean().default(true).describe("Inject phase reminder directives during execution."),
|
|
1687
1687
|
hooks: HooksConfigSchema.optional().describe("Hook subsystem toggles and settings."),
|
|
1688
1688
|
pr_review_resilience: PrReviewResilienceConfigSchema.optional().describe("PR review base-wave staged canary/fanout resilience settings."),
|
|
1689
|
+
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."),
|
|
1689
1690
|
gates: GateConfigSchema.optional().describe("Quality gate configuration (v6.9 anti-slop features)."),
|
|
1690
1691
|
context_budget: ContextBudgetConfigSchema.optional().describe("Context budget thresholds."),
|
|
1691
1692
|
pricing: PricingConfigSchema.optional().describe("Token/cost estimation fallback table. Provider-reported cost wins when present; entries only estimate from usage tokens when reports omit cost."),
|
|
@@ -1913,4 +1914,4 @@ var init_schema = __esm(() => {
|
|
|
1913
1914
|
});
|
|
1914
1915
|
});
|
|
1915
1916
|
|
|
1916
|
-
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, PluginConfigSchema, init_schema };
|
|
1917
|
+
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-war2dt6a.js";
|
|
6
6
|
import {
|
|
7
7
|
init_git_executable,
|
|
8
8
|
resolveGitExecutableAsync
|
|
9
9
|
} from "./index-9e6fdz2h.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveKnowledgeStoreDir
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-prv20xq6.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -242,6 +242,11 @@ var init_tool_metadata = __esm(() => {
|
|
|
242
242
|
description: "issue a one-use, identity-bound reviewer/test_engineer re-entry authorization for the active PR_REVIEW workflow (issue #2383)",
|
|
243
243
|
agents: ["architect"]
|
|
244
244
|
},
|
|
245
|
+
submit_pr_review_result: {
|
|
246
|
+
description: "submit one child-bound typed result for an active PR-review base or micro discovery lane",
|
|
247
|
+
agents: [],
|
|
248
|
+
prWorkflow: { modes: ["PR_REVIEW"], capability: "validate" }
|
|
249
|
+
},
|
|
245
250
|
approve_plan_critic: {
|
|
246
251
|
description: "record a MANUAL plan_critic_gate approval snapshot to unblock the ratchet-tighter critic_pre_plan execution gate when the critic already returned APPROVED but the mechanical recorder failed to persist it (issue #2012)",
|
|
247
252
|
agents: ["architect"]
|
|
@@ -950,7 +955,7 @@ function isQAAgent(name) {
|
|
|
950
955
|
function isSubagent(name) {
|
|
951
956
|
return ALL_SUBAGENT_NAMES.includes(name);
|
|
952
957
|
}
|
|
953
|
-
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
958
|
+
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
954
959
|
var init_constants = __esm(() => {
|
|
955
960
|
init_agent_names();
|
|
956
961
|
init_tool_metadata();
|
|
@@ -1124,6 +1129,12 @@ var init_constants = __esm(() => {
|
|
|
1124
1129
|
SKILL_AGENT_TOOL_MAP = {
|
|
1125
1130
|
architect: [...SKILL_TOOL_NAMES]
|
|
1126
1131
|
};
|
|
1132
|
+
PR_REVIEW_CHILD_TOOL_NAMES = [
|
|
1133
|
+
"submit_pr_review_result"
|
|
1134
|
+
];
|
|
1135
|
+
PR_REVIEW_CHILD_AGENT_TOOL_MAP = {
|
|
1136
|
+
explorer: [...PR_REVIEW_CHILD_TOOL_NAMES]
|
|
1137
|
+
};
|
|
1127
1138
|
WRITE_TOOL_NAMES = [
|
|
1128
1139
|
"write",
|
|
1129
1140
|
"edit",
|
|
@@ -42,7 +42,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:18397"],
|
|
46
46
|
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:17880-17980) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -74,7 +74,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
74
74
|
"src/summaries/manager.ts:122",
|
|
75
75
|
"src/evidence/manager.ts:288",
|
|
76
76
|
"src/evidence/manager.ts:456",
|
|
77
|
-
"src/tools/sast-baseline.ts:
|
|
77
|
+
"src/tools/sast-baseline.ts:199",
|
|
78
78
|
"src/tools/repo-graph/storage.ts:493",
|
|
79
79
|
"src/memory/reflection-service.ts:547 (pre-#2035)",
|
|
80
80
|
"src/hooks/review-receipt.ts:608",
|
|
@@ -123,7 +123,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
123
123
|
"src/tools/spec-write.ts:98",
|
|
124
124
|
"src/sdd/effective-spec.ts:1149",
|
|
125
125
|
"src/background/lane-output-store.ts:353",
|
|
126
|
-
"src/background/pending-delegations.ts:
|
|
126
|
+
"src/background/pending-delegations.ts:1091",
|
|
127
127
|
"src/background/delegation-health.ts:391",
|
|
128
128
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
129
129
|
"src/summaries/store.ts:46 (pre-#2035)"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-xkmzsfg5.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
NoteEvidenceSchema,
|
|
18
18
|
ReviewEvidenceSchema,
|
|
19
19
|
TestEvidenceSchema
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-q8hm27yj.js";
|
|
21
21
|
import {
|
|
22
22
|
DeltaSpecSchema,
|
|
23
23
|
ObligationSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-717pmdce.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-6scakreq.js";
|
|
68
68
|
import"./index-9e6fdz2h.js";
|
|
69
69
|
import"./index-4rhhvd1a.js";
|
|
70
70
|
import {
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
QA_AGENTS,
|
|
77
77
|
isQAAgent,
|
|
78
78
|
isSubagent
|
|
79
|
-
} from "./index-
|
|
79
|
+
} from "./index-c9zp4xwc.js";
|
|
80
80
|
import"./index-zjygnfay.js";
|
|
81
81
|
import"./index-bk5tah7q.js";
|
|
82
82
|
import"./index-bpmtbmy9.js";
|