opencode-swarm 7.197.3 → 7.198.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.
- package/.opencode/skills/swarm-pr-review/SKILL.md +10 -11
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +4 -2
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +5 -2
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +57 -42
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/critic.d.ts +1 -1
- package/dist/cli/{auto-checkpoint-e6t09fc1.js → auto-checkpoint-26ds5st2.js} +8 -8
- package/dist/cli/{capability-probe-rty1315z.js → capability-probe-dwqn2609.js} +1 -1
- package/dist/cli/{checkpoint-5j752d1a.js → checkpoint-5e7hxsr9.js} +16 -16
- package/dist/cli/{coder-settlement-8t3yznbq.js → coder-settlement-temmr2pk.js} +12 -12
- package/dist/cli/{config-doctor-8pdsjzsw.js → config-doctor-raqmkf8g.js} +15 -15
- package/dist/cli/{core-1dty31az.js → core-f5pxzgmz.js} +3 -3
- package/dist/cli/{curation-policy-5hm6328s.js → curation-policy-m8ng2vm5.js} +6 -6
- package/dist/cli/{curator-9gwwtyjt.js → curator-5d6aaffq.js} +43 -43
- package/dist/cli/{curator-drift-7htrxbht.js → curator-drift-sw8bst80.js} +8 -8
- package/dist/cli/curator-llm-factory-20scw8ny.js +82 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-y2v12h2y.js → doctor-knowledge-receipt-phase-id-6dvt55rx.js} +8 -8
- package/dist/cli/{evidence-summary-service-gthqb26q.js → evidence-summary-service-jj18ewdg.js} +19 -19
- package/dist/cli/{gate-evidence-xv1228n3.js → gate-evidence-rg41defg.js} +7 -7
- package/dist/cli/guardrail-explain-7ssdemv6.js +83 -0
- package/dist/cli/{guardrail-log-6f55sa60.js → guardrail-log-6xscgfvv.js} +7 -7
- package/dist/cli/{guardrail-reset-j9bk61er.js → guardrail-reset-1hkaxa2j.js} +43 -43
- package/dist/cli/{hive-promoter-6y24tdbf.js → hive-promoter-r06x96bw.js} +43 -43
- package/dist/cli/{index-2fwsd357.js → index-1s678rvg.js} +11 -11
- package/dist/cli/{index-pwgb4ysh.js → index-2z095p01.js} +4 -4
- package/dist/cli/{index-pd98xk00.js → index-4rgmr1v6.js} +45 -45
- package/dist/cli/{index-7rtq2t5n.js → index-4s3770gs.js} +3 -3
- package/dist/cli/{index-fws15qp0.js → index-6f0f4f29.js} +4 -4
- package/dist/cli/{index-c5xvm318.js → index-76mg98ac.js} +1 -1
- package/dist/cli/{index-tf3y0x41.js → index-7rnw65rv.js} +3 -3
- package/dist/cli/{index-dfrcc46h.js → index-84r9rydf.js} +2 -2
- package/dist/cli/{index-xmbtwtgw.js → index-89j5h1j9.js} +1 -1
- package/dist/cli/{index-bzfn85kq.js → index-8mrentmw.js} +8 -5
- package/dist/cli/{index-j8bgrxc8.js → index-8v6tps7r.js} +5 -5
- package/dist/cli/{index-z250fgd9.js → index-9t65hk8b.js} +2 -2
- package/dist/cli/{index-a4jwt70q.js → index-b3c63rv1.js} +72 -8
- package/dist/cli/{index-7m5cf6nb.js → index-by8tygxp.js} +7 -7
- package/dist/cli/{index-9exby7at.js → index-c23zrf6q.js} +5 -5
- package/dist/cli/{index-p0ha6zyg.js → index-c7tfbr1f.js} +4 -4
- package/dist/cli/{index-mpc3z3ky.js → index-cvvambjz.js} +3 -3
- package/dist/cli/{index-hy2fqapm.js → index-d31b2zvf.js} +1 -1
- package/dist/cli/{index-2jd8sark.js → index-d7vjc89k.js} +2 -2
- package/dist/cli/{index-6183at3v.js → index-e4hj8r57.js} +2 -2
- package/dist/cli/{index-1pek46cc.js → index-eabp3432.js} +177 -123
- package/dist/cli/{index-4b64v1kx.js → index-eqz96aes.js} +8 -3
- package/dist/cli/{index-yg2qwadj.js → index-ga0wqrrt.js} +2 -2
- package/dist/cli/{index-t7egd710.js → index-h67khmza.js} +1 -1
- package/dist/cli/{index-c602bgyp.js → index-j433hcvy.js} +5 -5
- package/dist/cli/{index-6dz5venm.js → index-je5bcka1.js} +3 -3
- package/dist/cli/{index-f87r78zb.js → index-jsstyk9q.js} +5 -5
- package/dist/cli/{index-z75fz6x3.js → index-m16yf21g.js} +4 -4
- package/dist/cli/{index-4gmxdkcd.js → index-mjmsq8t7.js} +2 -2
- package/dist/cli/{index-s67cbrd1.js → index-msns3h2f.js} +7 -7
- package/dist/cli/{index-aynf8fgp.js → index-nk6x7683.js} +13 -3
- package/dist/cli/{index-yf2z4j7s.js → index-p4xmq6aa.js} +1 -1
- package/dist/cli/{index-04xgdmps.js → index-q4mm1bt9.js} +17 -10
- package/dist/cli/{index-ypkfhqbc.js → index-qg6qn99c.js} +7 -7
- package/dist/cli/{index-crz772sx.js → index-rqxwv4q5.js} +1 -1
- package/dist/cli/{index-ax7n55cd.js → index-sdw5yhpt.js} +6 -6
- package/dist/cli/{index-mqk09xcm.js → index-sr8xjwzb.js} +6 -6
- package/dist/cli/{index-necqa5bj.js → index-t7qgt5yk.js} +2 -2
- package/dist/cli/{index-gc0aeth5.js → index-tdpfecs3.js} +2 -2
- package/dist/cli/{index-841jrejq.js → index-tzr2ne1t.js} +3 -3
- package/dist/cli/{index-ghckhk16.js → index-v30zmakk.js} +2 -2
- package/dist/cli/{index-svmhj9x2.js → index-vn7aqfwf.js} +43 -43
- package/dist/cli/{index-app2rmxv.js → index-wrn4khfb.js} +1 -1
- package/dist/cli/{index-yed14yth.js → index-x2htr95w.js} +53 -11
- package/dist/cli/{index-kphy4we7.js → index-xez06sc1.js} +1 -1
- package/dist/cli/{index-rpa47vzb.js → index-xp812shj.js} +2 -2
- package/dist/cli/{index-j8t1g5qd.js → index-xt4q610f.js} +1 -1
- package/dist/cli/{index-ry5g9s8d.js → index-yk1vnpzx.js} +1 -1
- package/dist/cli/index.js +44 -44
- package/dist/cli/{knowledge-escalator-xvkfez9d.js → knowledge-escalator-zhf9tdty.js} +14 -14
- package/dist/cli/{knowledge-events-t4enxfp7.js → knowledge-events-e7qvrkd6.js} +12 -12
- package/dist/cli/{knowledge-link-8bn2b7vr.js → knowledge-link-5qt3pe5v.js} +5 -5
- package/dist/cli/{knowledge-store-tdqx1z7e.js → knowledge-store-qjb8z6jp.js} +6 -6
- package/dist/cli/{knowledge-validator-3n52kff9.js → knowledge-validator-ahs75wc4.js} +8 -8
- package/dist/cli/{mcp-yqfahteb.js → mcp-g8r6nyw8.js} +1 -1
- package/dist/cli/{model-preflight-s3s7t38g.js → model-preflight-1z56pgg3.js} +43 -43
- package/dist/cli/{pending-delegations-j89ak26j.js → pending-delegations-8y45faem.js} +12 -12
- package/dist/cli/{pr-subscriptions-r5q1035f.js → pr-subscriptions-b0ty3vn8.js} +12 -12
- package/dist/cli/{pr-workflow-gate-dahpc06k.js → pr-workflow-gate-pf0f47jn.js} +45 -43
- package/dist/cli/{runner-rt2smh14.js → runner-rwya5yhg.js} +6 -6
- package/dist/cli/{scan-cursor-yjk3czah.js → scan-cursor-1xmy9d70.js} +7 -7
- package/dist/cli/{schema-1bs31fpf.js → schema-vdnqek4x.js} +5 -1
- package/dist/cli/{scope-persistence-0mpbc1ht.js → scope-persistence-vpge2pc2.js} +15 -15
- package/dist/cli/{server-8swemw8w.js → server-3rat1sk6.js} +43 -43
- package/dist/cli/{skill-generator-mx125j7w.js → skill-generator-0gwpqkd5.js} +16 -16
- package/dist/cli/{snapshot-coordination-init-sayvd15t.js → snapshot-coordination-init-a0dyeaqa.js} +43 -43
- package/dist/cli/{speckit-checkoff-76j7h7qt.js → speckit-checkoff-s9gvmcry.js} +4 -4
- package/dist/cli/{telemetry-vapc5q4p.js → telemetry-t3425cht.js} +1 -1
- package/dist/cli/{workspace-snapshot-e3kw9kpg.js → workspace-snapshot-bst64vey.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-8f8c9bcr.js → worktree-collision-ownership-kp0tcg7f.js} +13 -13
- package/dist/cli/{worktree-isolation-kgfk5aj8.js → worktree-isolation-v2wf2ka9.js} +43 -43
- package/dist/config/loader.d.ts +31 -1
- package/dist/config/schema.d.ts +17 -0
- package/dist/hooks/guardrails/tool-before.d.ts +5 -2
- package/dist/hooks/pr-workflow-gate.d.ts +9 -0
- package/dist/index.js +54 -42
- package/dist/pr-review/legacy-transcript-adapter.d.ts +18 -0
- package/dist/sandbox/capability-probe.d.ts +1 -1
- package/dist/sdd/effective-spec.d.ts +48 -5
- package/dist/tools/dispatch-lanes.d.ts +18 -0
- package/opencode-swarm.schema.json +14 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-ew2h0zed.js +0 -82
- package/dist/cli/guardrail-explain-h41yf31c.js +0 -83
|
@@ -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.
|
|
24
|
+
version: "7.198.1",
|
|
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",
|
|
@@ -412,7 +412,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
412
412
|
};
|
|
413
413
|
return merged;
|
|
414
414
|
}
|
|
415
|
-
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, CONSERVATIVE_PRESET_BASE, 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, ForgeConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, RETIRED_EPIC_MODE_KEYS, RETIRED_EPIC_KEYS, RETIRED_EPIC_KEY_REPLACEMENTS, stripRetiredEpicModeKeys, stripRetiredEpicKeys, EpicConfigSchema, LegacyTurboEpicConfigSchema, 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, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
415
|
+
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, CONSERVATIVE_PRESET_BASE, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, SDD_SOURCES, SddConfigSchema, 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, ForgeConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, RETIRED_EPIC_MODE_KEYS, RETIRED_EPIC_KEYS, RETIRED_EPIC_KEY_REPLACEMENTS, stripRetiredEpicModeKeys, stripRetiredEpicKeys, EpicConfigSchema, LegacyTurboEpicConfigSchema, 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, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
416
416
|
var init_schema = __esm(() => {
|
|
417
417
|
init_zod();
|
|
418
418
|
init_package();
|
|
@@ -699,6 +699,10 @@ var init_schema = __esm(() => {
|
|
|
699
699
|
GitConfigSchema = exports_external.object({
|
|
700
700
|
binary: exports_external.string().optional()
|
|
701
701
|
});
|
|
702
|
+
SDD_SOURCES = ["openspec", "speckit", "swarm"];
|
|
703
|
+
SddConfigSchema = exports_external.object({
|
|
704
|
+
source: exports_external.enum(SDD_SOURCES).optional()
|
|
705
|
+
});
|
|
702
706
|
UIReviewConfigSchema = exports_external.object({
|
|
703
707
|
enabled: exports_external.boolean().default(false),
|
|
704
708
|
trigger_paths: exports_external.array(exports_external.string()).default([
|
|
@@ -1890,6 +1894,7 @@ var init_schema = __esm(() => {
|
|
|
1890
1894
|
speckit_checkoff: exports_external.object({
|
|
1891
1895
|
enabled: exports_external.boolean().default(false).describe("Check off mapped Spec-Kit tasks in the source tasks.md when Swarm completes a plan task (issue #2501). Off by default \u2014 write-back to user-owned files is opt-in.")
|
|
1892
1896
|
}).optional().describe("Spec-Kit tasks.md check-off round trip (issue #2501) \u2014 opt-in, never on by default."),
|
|
1897
|
+
sdd: SddConfigSchema.optional().describe("Spec-driven-development (SDD) provider selection. `sdd.source` (openspec | speckit | swarm) disambiguates a repo that has both openspec/ and .specify/ without passing --source. The SWARM_SDD_SOURCE environment variable overrides it; --source overrides both."),
|
|
1893
1898
|
git: GitConfigSchema.optional().describe("Git executable resolution override (issue #2236 hardening)."),
|
|
1894
1899
|
ui_review: UIReviewConfigSchema.optional().describe("UI/UX review (designer agent) settings."),
|
|
1895
1900
|
compaction_advisory: CompactionAdvisoryConfigSchema.optional().describe("Compaction advisory settings."),
|
|
@@ -2103,4 +2108,4 @@ var init_schema = __esm(() => {
|
|
|
2103
2108
|
});
|
|
2104
2109
|
});
|
|
2105
2110
|
|
|
2106
|
-
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, isUsableConfiguredWindow, isUsableContextWindow, resolveContextWindow, 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, CONSERVATIVE_PRESET_BASE, 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, ForgeConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, RETIRED_EPIC_MODE_KEYS, RETIRED_EPIC_KEYS, RETIRED_EPIC_KEY_REPLACEMENTS, retiredEpicKeyReplacement, findRetiredEpicConfigKeys, EpicConfigSchema, LegacyTurboEpicConfigSchema, 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, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
2111
|
+
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, isUsableConfiguredWindow, isUsableContextWindow, resolveContextWindow, 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, CONSERVATIVE_PRESET_BASE, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, SDD_SOURCES, SddConfigSchema, 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, ForgeConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, RETIRED_EPIC_MODE_KEYS, RETIRED_EPIC_KEYS, RETIRED_EPIC_KEY_REPLACEMENTS, retiredEpicKeyReplacement, findRetiredEpicConfigKeys, EpicConfigSchema, LegacyTurboEpicConfigSchema, 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, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-by8tygxp.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-yk1vnpzx.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-t7qgt5yk.js";
|
|
7
7
|
import {
|
|
8
8
|
TASK_WORKFLOW_SCHEMA_MARKER,
|
|
9
9
|
deriveApplicableGateSet,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-c7tfbr1f.js";
|
|
16
16
|
import {
|
|
17
17
|
readSwarmFileAsync,
|
|
18
18
|
validateSwarmPath
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-xez06sc1.js";
|
|
20
20
|
import {
|
|
21
21
|
bunWrite
|
|
22
22
|
} from "./index-2s7dvzff.js";
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
} from "./index-g22dps7x.js";
|
|
28
28
|
import {
|
|
29
29
|
withEvidenceLock
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-89j5h1j9.js";
|
|
31
31
|
import {
|
|
32
32
|
assertProjectRoot
|
|
33
33
|
} from "./index-t7hmqgjy.js";
|
|
34
34
|
import {
|
|
35
35
|
invalidateCachedArtifact
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-p4xmq6aa.js";
|
|
37
37
|
import {
|
|
38
38
|
ZodError,
|
|
39
39
|
init_zod
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xez06sc1.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./index-fzpt2djt.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteSwarmFileSync
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-p4xmq6aa.js";
|
|
14
14
|
import {
|
|
15
15
|
advisoryWarn,
|
|
16
16
|
init_git_executable,
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-vpge2pc2.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
projectDbExists,
|
|
5
5
|
withImmediateTransaction,
|
|
6
6
|
withProjectDbReadOnly
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-wrn4khfb.js";
|
|
8
8
|
import {
|
|
9
9
|
derivePlanId,
|
|
10
10
|
derivePlanIdentityHash
|
|
11
11
|
} from "./index-7pmbnjvj.js";
|
|
12
12
|
import {
|
|
13
13
|
withEvidenceLock
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-89j5h1j9.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-t7hmqgjy.js";
|
|
18
18
|
import {
|
|
19
19
|
emit
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-4s3770gs.js";
|
|
21
21
|
import {
|
|
22
22
|
ExecutionProfileSchema,
|
|
23
23
|
PlanSchema,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_loader,
|
|
29
29
|
loadPluginConfig
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-x2htr95w.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-eqz96aes.js";
|
|
35
35
|
import {
|
|
36
36
|
criticalWarn,
|
|
37
37
|
init_logger,
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6f0f4f29.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2z095p01.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-by8tygxp.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
atomicWriteFileAnyRoot,
|
|
29
29
|
atomicWriteSwarmFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-p4xmq6aa.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
withEvidenceLock
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-89j5h1j9.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-p4xmq6aa.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-v30zmakk.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-84r9rydf.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-c7tfbr1f.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-xez06sc1.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-e4hj8r57.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKeyFresh
|
|
26
26
|
} from "./index-fzpt2djt.js";
|
|
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
512
512
|
awaitingMergeByCallID,
|
|
513
513
|
cleanupStandardWorktreeForCallId,
|
|
514
514
|
standardWorktreeByCallID
|
|
515
|
-
} = await import("./worktree-isolation-
|
|
515
|
+
} = await import("./worktree-isolation-v2wf2ka9.js");
|
|
516
516
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
517
517
|
if (hasResidue)
|
|
518
518
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
648
648
|
awaitingMergeByCallID,
|
|
649
649
|
finishStandardWorktreeDispatch,
|
|
650
650
|
standardWorktreeByCallID
|
|
651
|
-
} = await import("./worktree-isolation-
|
|
651
|
+
} = await import("./worktree-isolation-v2wf2ka9.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPlanJsonOnly
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1s678rvg.js";
|
|
5
5
|
import {
|
|
6
6
|
isCanonicalPathWithinRoot
|
|
7
7
|
} from "./index-6b295cas.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
legacyEpicIssuePath,
|
|
15
15
|
migrateLegacyEpicConfig,
|
|
16
16
|
resolveEpicConfig
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-x2htr95w.js";
|
|
18
18
|
import {
|
|
19
19
|
FALLBACK_MODELS_MAX,
|
|
20
20
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
init_schema,
|
|
25
25
|
retiredEpicKeyReplacement,
|
|
26
26
|
stripKnownSwarmPrefix
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-eqz96aes.js";
|
|
28
28
|
import {
|
|
29
29
|
ALL_AGENT_NAMES,
|
|
30
30
|
TOOL_NAME_SET,
|
|
@@ -325,6 +325,12 @@ var CONFIG_CONSUMERS = {
|
|
|
325
325
|
"src/services/config-doctor.ts:validateConfigKey"
|
|
326
326
|
]
|
|
327
327
|
},
|
|
328
|
+
sdd: {
|
|
329
|
+
consumers: [
|
|
330
|
+
"src/config/loader.ts:readSddSourceSetting",
|
|
331
|
+
"src/services/config-doctor.ts:validateConfigKey"
|
|
332
|
+
]
|
|
333
|
+
},
|
|
328
334
|
git: { consumers: ["src/config/loader.ts:exposedGitBinary"] },
|
|
329
335
|
ui_review: {
|
|
330
336
|
consumers: [
|
|
@@ -2043,6 +2049,10 @@ function validateConfigKey(path2, value) {
|
|
|
2043
2049
|
emitObjectTypeMismatch("speckit_checkoff", value, findings);
|
|
2044
2050
|
break;
|
|
2045
2051
|
}
|
|
2052
|
+
case "sdd": {
|
|
2053
|
+
emitObjectTypeMismatch("sdd", value, findings);
|
|
2054
|
+
break;
|
|
2055
|
+
}
|
|
2046
2056
|
case "review_routing": {
|
|
2047
2057
|
emitObjectTypeMismatch("review_routing", value, findings);
|
|
2048
2058
|
if (isPlainObject(value)) {
|
|
@@ -283,7 +283,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
283
283
|
"src/services/skill-consolidation.ts (pre-#2035; migrated-to=src/services/skill-consolidation.ts:atomicWrite)",
|
|
284
284
|
"src/services/skill-generator.ts (pre-#2035; migrated-to=src/services/skill-generator.ts:atomicWrite)",
|
|
285
285
|
"src/tools/spec-write.ts:98",
|
|
286
|
-
"src/sdd/effective-spec.ts:
|
|
286
|
+
"src/sdd/effective-spec.ts:1509",
|
|
287
287
|
"src/background/lane-output-store.ts:353",
|
|
288
288
|
"src/background/pending-delegations.ts:1520",
|
|
289
289
|
"src/background/delegation-health.ts:391",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xez06sc1.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-
|
|
21
|
+
} from "./index-rqxwv4q5.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-wrn4khfb.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-tdpfecs3.js";
|
|
29
29
|
import {
|
|
30
30
|
EvidenceLockTimeoutError,
|
|
31
31
|
withEvidenceLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-89j5h1j9.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-4s3770gs.js";
|
|
36
36
|
import {
|
|
37
37
|
canonicalRootKeyFresh,
|
|
38
38
|
sameProjectRoot
|
|
@@ -943,6 +943,13 @@ var PrReviewReviewerVerdictFieldsSchema = exports_external.tuple([
|
|
|
943
943
|
message: "DISPROVED reviewer severity must be NONE"
|
|
944
944
|
});
|
|
945
945
|
}
|
|
946
|
+
if (fields[2] === "CONFIRMED" && fields[4] === "NONE") {
|
|
947
|
+
ctx.addIssue({
|
|
948
|
+
code: "custom",
|
|
949
|
+
path: [4],
|
|
950
|
+
message: "CONFIRMED reviewer severity must not be NONE"
|
|
951
|
+
});
|
|
952
|
+
}
|
|
946
953
|
});
|
|
947
954
|
var PrReviewCriticVerdictFieldsSchema = exports_external.tuple([
|
|
948
955
|
exports_external.literal("[CRITIC]"),
|
|
@@ -968,11 +975,11 @@ var PrReviewCriticVerdictFieldsSchema = exports_external.tuple([
|
|
|
968
975
|
message: "DISPROVED critic severity must be NONE"
|
|
969
976
|
});
|
|
970
977
|
}
|
|
971
|
-
if (status === "UPHELD" &&
|
|
978
|
+
if (status === "UPHELD" && severity === "NONE") {
|
|
972
979
|
ctx.addIssue({
|
|
973
980
|
code: "custom",
|
|
974
981
|
path: [3],
|
|
975
|
-
message: "UPHELD critic severity must be
|
|
982
|
+
message: "UPHELD critic severity must not be NONE"
|
|
976
983
|
});
|
|
977
984
|
}
|
|
978
985
|
if (status === "DOWNGRADED" && severity === "CRITICAL") {
|
|
@@ -4737,7 +4744,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4737
4744
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4738
4745
|
if (candidates.length === 0)
|
|
4739
4746
|
return 0;
|
|
4740
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4747
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-temmr2pk.js");
|
|
4741
4748
|
let transferred = 0;
|
|
4742
4749
|
for (const record of candidates) {
|
|
4743
4750
|
try {
|
|
@@ -5094,4 +5101,4 @@ async function maintainBackgroundDelegations(directory, options = {}) {
|
|
|
5094
5101
|
return emitObservation("ok");
|
|
5095
5102
|
}
|
|
5096
5103
|
|
|
5097
|
-
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, decodePrReviewWorkflowBinding, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, DELEGATION_READ_RETRY_DELAY_MS, readDelegationsDetailed, readDelegations, scanDelegationsForRecovery, findByCorrelationIdDetailed, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, buildTypedDelegationTerminal, recordedPrReviewResultReceipt, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchIdDetailed, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, registerStaleSweepObserver, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|
|
5104
|
+
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, decodePrReviewWorkflowBinding, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, PR_REVIEW_VERDICT_ROW_DESCRIPTORS, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, DELEGATION_READ_RETRY_DELAY_MS, readDelegationsDetailed, readDelegations, scanDelegationsForRecovery, findByCorrelationIdDetailed, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, buildTypedDelegationTerminal, recordedPrReviewResultReceipt, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchIdDetailed, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, registerStaleSweepObserver, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xez06sc1.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
8
8
|
listCoordinationStates,
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
withCoordinationTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-rqxwv4q5.js";
|
|
12
12
|
import {
|
|
13
13
|
getProjectDb,
|
|
14
14
|
projectDbExists
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-wrn4khfb.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-tdpfecs3.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-89j5h1j9.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-4s3770gs.js";
|
|
25
25
|
import {
|
|
26
26
|
canonicalRootKey,
|
|
27
27
|
canonicalRootKeyFresh,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./index-fzpt2djt.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFileSync
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-p4xmq6aa.js";
|
|
33
33
|
import {
|
|
34
34
|
exports_external,
|
|
35
35
|
init_zod
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ensureTaskCheckpointReceipt,
|
|
5
5
|
loadPlan,
|
|
6
6
|
updateTaskCheckpointReceipt
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1s678rvg.js";
|
|
8
8
|
import {
|
|
9
9
|
tool
|
|
10
10
|
} from "./index-9nyqt3kb.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
} from "./index-g4fs6z4e.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-xez06sc1.js";
|
|
21
21
|
import {
|
|
22
22
|
readLedgerEvents
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-jsstyk9q.js";
|
|
24
24
|
import {
|
|
25
25
|
appendCoreEventSync
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-e4hj8r57.js";
|
|
27
27
|
import {
|
|
28
28
|
derivePlanId,
|
|
29
29
|
derivePlanIdentityHash
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./index-ejhxgyvm.js";
|
|
39
39
|
import {
|
|
40
40
|
atomicWriteSwarmFileSync
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-p4xmq6aa.js";
|
|
42
42
|
import {
|
|
43
43
|
loadPluginConfigWithMeta
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-x2htr95w.js";
|
|
45
45
|
import {
|
|
46
46
|
init_git_executable,
|
|
47
47
|
resolveGitExecutable
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6f0f4f29.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8v6tps7r.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-by8tygxp.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-ahs75wc4.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-vdnqek4x.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-cvvambjz.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-mjmsq8t7.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-89j5h1j9.js";
|
|
16
16
|
import {
|
|
17
17
|
assertProjectRoot
|
|
18
18
|
} from "./index-t7hmqgjy.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
pseudonymousRef,
|
|
4
4
|
resolveLineageSalt,
|
|
5
5
|
telemetry
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-4s3770gs.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalRootKeyFresh
|
|
9
9
|
} from "./index-fzpt2djt.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteSwarmFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-p4xmq6aa.js";
|
|
13
13
|
|
|
14
14
|
// src/health/learning-health.ts
|
|
15
15
|
import { promises as fs } from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
readEffectiveSpecSync
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-b3c63rv1.js";
|
|
5
5
|
import {
|
|
6
6
|
readSwarmFileAsync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-xez06sc1.js";
|
|
8
8
|
import {
|
|
9
9
|
DURABILITY_CLASSES,
|
|
10
10
|
DbWriteError,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
classifyDbWriteError,
|
|
14
14
|
getProjectDb,
|
|
15
15
|
projectDbExists
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-wrn4khfb.js";
|
|
17
17
|
import {
|
|
18
18
|
_internals,
|
|
19
19
|
canonicalRootKeyFresh
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xez06sc1.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./index-fzpt2djt.js";
|
|
12
12
|
import {
|
|
13
13
|
atomicWriteSwarmFile
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-p4xmq6aa.js";
|
|
15
15
|
import {
|
|
16
16
|
init_git_executable,
|
|
17
17
|
resolveGitExecutable
|