opencode-swarm 7.154.3 → 7.156.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 (85) hide show
  1. package/dist/cli/{coder-settlement-7c9h07f5.js → coder-settlement-jm7024zm.js} +6 -6
  2. package/dist/cli/{config-doctor-8zjz6dej.js → config-doctor-q9v8yscr.js} +2 -2
  3. package/dist/cli/{core-dn8bn81g.js → core-ev3bn503.js} +1 -1
  4. package/dist/cli/{curation-policy-2jkbybw7.js → curation-policy-jabphe51.js} +4 -4
  5. package/dist/cli/{curator-v12rhct2.js → curator-dnjf9ser.js} +28 -28
  6. package/dist/cli/{curator-llm-factory-mxdjw6kz.js → curator-llm-factory-cnatbky1.js} +28 -28
  7. package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
  8. package/dist/cli/{evidence-summary-service-zzvvcaa9.js → evidence-summary-service-5drv65qh.js} +10 -10
  9. package/dist/cli/{gate-evidence-16jkjre9.js → gate-evidence-dcyvst7g.js} +4 -4
  10. package/dist/cli/{guardrail-explain-11fx66cx.js → guardrail-explain-z8f6qhz2.js} +29 -29
  11. package/dist/cli/{guardrail-log-ahvfn58c.js → guardrail-log-zwec6ann.js} +3 -3
  12. package/dist/cli/{guardrail-reset-zp5xe0n5.js → guardrail-reset-ga6e11r9.js} +28 -28
  13. package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
  14. package/dist/cli/{hive-promoter-k6y06jj8.js → hive-promoter-mpez5tqh.js} +28 -28
  15. package/dist/cli/{index-d7r6y724.js → index-00hyhg47.js} +3 -3
  16. package/dist/cli/{index-vntggpez.js → index-0q8kywcf.js} +1 -1
  17. package/dist/cli/{index-gbkdj7ay.js → index-164c64z8.js} +2 -2
  18. package/dist/cli/{index-9nw6z98k.js → index-17h6ewqp.js} +49 -30
  19. package/dist/cli/{index-qdnmnq65.js → index-4m3j9q9z.js} +2 -2
  20. package/dist/cli/{index-g1bh7980.js → index-5r3zrw81.js} +2 -2
  21. package/dist/cli/{index-y3kw1zpm.js → index-5w87j6j4.js} +24 -4
  22. package/dist/cli/{index-wkagbmpt.js → index-68098cfj.js} +5 -1
  23. package/dist/cli/{index-0f4b9ywa.js → index-6bqqzfbe.js} +1 -1
  24. package/dist/cli/{index-a6xjn2zt.js → index-6g6qwr8z.js} +5 -5
  25. package/dist/cli/{index-ed13peqr.js → index-85p1850w.js} +1 -1
  26. package/dist/cli/{index-s23q9v6t.js → index-98j6z038.js} +5 -5
  27. package/dist/cli/{index-6vcrkz80.js → index-9n555qz4.js} +4 -4
  28. package/dist/cli/{index-zak50rve.js → index-aqg7c1z9.js} +1 -1
  29. package/dist/cli/{index-q0prhdds.js → index-b91qwpms.js} +1 -1
  30. package/dist/cli/{index-n7nnz0jp.js → index-dfmr6pj5.js} +6 -6
  31. package/dist/cli/{index-bhjkxasn.js → index-ew6fykvv.js} +1 -1
  32. package/dist/cli/{index-4n557t8w.js → index-fd7wj6fy.js} +3 -3
  33. package/dist/cli/{index-94e20w95.js → index-fjcm6wwf.js} +1 -1
  34. package/dist/cli/{index-kck2gtxk.js → index-fpg4tzf7.js} +1 -1
  35. package/dist/cli/{index-4dt91x6e.js → index-g37454vj.js} +1 -1
  36. package/dist/cli/{index-env8fk17.js → index-gthnsbzf.js} +2 -2
  37. package/dist/cli/{index-ckp0z9d4.js → index-kxk8cnx7.js} +2 -2
  38. package/dist/cli/{index-s5p8ryar.js → index-mdypz60w.js} +1 -1
  39. package/dist/cli/{index-m0fy8jra.js → index-ppx8bnzd.js} +3945 -1045
  40. package/dist/cli/{index-7fyv62b2.js → index-q2khkey7.js} +4 -4
  41. package/dist/cli/{index-2rgm3hgq.js → index-sfdg1xg5.js} +4 -4
  42. package/dist/cli/{index-v6xkgxts.js → index-sm2t1awr.js} +2 -2
  43. package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
  44. package/dist/cli/{index-qxj63890.js → index-wn0xm2e8.js} +1 -1
  45. package/dist/cli/{index-7qky94rr.js → index-za6bb2fd.js} +1 -1
  46. package/dist/cli/{index-ymgsmjba.js → index-zdgdf0e9.js} +4 -4
  47. package/dist/cli/index.js +28 -28
  48. package/dist/cli/{knowledge-escalator-yew2fbxb.js → knowledge-escalator-cq4e6v2j.js} +9 -9
  49. package/dist/cli/{knowledge-events-zfg423hp.js → knowledge-events-sr5fqqaq.js} +7 -7
  50. package/dist/cli/{knowledge-link-ydv6shg2.js → knowledge-link-4frk38w8.js} +3 -3
  51. package/dist/cli/{knowledge-store-zcv9stzz.js → knowledge-store-2dww3dqz.js} +4 -4
  52. package/dist/cli/{knowledge-validator-q68wx2bf.js → knowledge-validator-yprsj4ye.js} +6 -6
  53. package/dist/cli/{pending-delegations-yet1rza6.js → pending-delegations-7qvag076.js} +1 -1
  54. package/dist/cli/{pr-subscriptions-mp7fyh1r.js → pr-subscriptions-00evnffe.js} +2 -2
  55. package/dist/cli/{runner-s89ja08q.js → runner-gheaxd5r.js} +5 -5
  56. package/dist/cli/{scan-cursor-38bzfhwf.js → scan-cursor-6awybk8b.js} +5 -5
  57. package/dist/cli/{schema-9hqyt4t6.js → schema-bf3smw7k.js} +5 -1
  58. package/dist/cli/{scope-persistence-dd9s9q2b.js → scope-persistence-kc42c6ph.js} +5 -5
  59. package/dist/cli/{skill-generator-b28ezazm.js → skill-generator-9k1ztt7c.js} +11 -11
  60. package/dist/cli/{worktree-collision-ownership-zw65t2p9.js → worktree-collision-ownership-ej10dhwe.js} +3 -3
  61. package/dist/cli/{worktree-isolation-0ag393t0.js → worktree-isolation-r7qqy6ca.js} +28 -28
  62. package/dist/commands/close.d.ts +2 -0
  63. package/dist/commands/command-dispatch.d.ts +2 -1
  64. package/dist/commands/harness.d.ts +14 -0
  65. package/dist/commands/index.d.ts +3 -1
  66. package/dist/commands/registry.d.ts +114 -1
  67. package/dist/config/schema.d.ts +42 -0
  68. package/dist/harness/contracts.d.ts +492 -0
  69. package/dist/harness/factory.d.ts +72 -0
  70. package/dist/harness/hash.d.ts +4 -0
  71. package/dist/harness/index.d.ts +6 -0
  72. package/dist/harness/patch.d.ts +3 -0
  73. package/dist/harness/public-api.d.ts +105 -0
  74. package/dist/harness/source-candidate.d.ts +45 -0
  75. package/dist/harness/store.d.ts +256 -0
  76. package/dist/hooks/repo-graph-injection.d.ts +40 -0
  77. package/dist/index.d.ts +2 -0
  78. package/dist/index.js +420 -378
  79. package/dist/lang/manifest-files.d.ts +25 -0
  80. package/dist/memory/reflection-service.d.ts +8 -2
  81. package/dist/memory/schema.d.ts +4 -4
  82. package/dist/security/write-authority.d.ts +2 -1
  83. package/dist/tools/repo-graph/indexed-storage.d.ts +136 -0
  84. package/dist/tools/repo-graph/query.d.ts +7 -0
  85. package/package.json +2 -1
@@ -21,61 +21,61 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-m0fy8jra.js";
25
- import"./index-qdnmnq65.js";
26
- import"./index-qxj63890.js";
27
- import"./index-wkagbmpt.js";
28
- import"./index-7fyv62b2.js";
29
- import"./index-env8fk17.js";
24
+ } from "./index-ppx8bnzd.js";
25
+ import"./index-4m3j9q9z.js";
26
+ import"./index-wn0xm2e8.js";
27
+ import"./index-68098cfj.js";
28
+ import"./index-q2khkey7.js";
29
+ import"./index-gthnsbzf.js";
30
30
  import"./index-134d35c1.js";
31
31
  import"./index-nj6rmyeh.js";
32
- import"./index-y8552snf.js";
33
- import"./index-a6xjn2zt.js";
34
- import"./index-v6xkgxts.js";
32
+ import"./index-txdagbh7.js";
33
+ import"./index-6g6qwr8z.js";
34
+ import"./index-sm2t1awr.js";
35
35
  import"./index-70ha9e09.js";
36
36
  import"./index-c8s9a3zh.js";
37
37
  import"./index-9ss2m4rs.js";
38
- import"./index-94e20w95.js";
38
+ import"./index-fjcm6wwf.js";
39
39
  import"./index-zsrtt42s.js";
40
- import"./index-ymgsmjba.js";
41
- import"./index-vntggpez.js";
42
- import"./index-2rgm3hgq.js";
43
- import"./index-6vcrkz80.js";
44
- import"./index-zak50rve.js";
40
+ import"./index-zdgdf0e9.js";
41
+ import"./index-0q8kywcf.js";
42
+ import"./index-sfdg1xg5.js";
43
+ import"./index-9n555qz4.js";
44
+ import"./index-aqg7c1z9.js";
45
45
  import"./index-rtry5xyf.js";
46
- import"./index-g1bh7980.js";
47
- import"./index-7qky94rr.js";
48
- import"./index-kck2gtxk.js";
46
+ import"./index-5r3zrw81.js";
47
+ import"./index-za6bb2fd.js";
48
+ import"./index-fpg4tzf7.js";
49
49
  import"./index-ddszzne4.js";
50
50
  import"./index-vnn7qq8c.js";
51
- import"./index-4n557t8w.js";
52
- import"./index-s5p8ryar.js";
51
+ import"./index-fd7wj6fy.js";
52
+ import"./index-mdypz60w.js";
53
53
  import"./index-xdy28ngt.js";
54
54
  import"./index-556ja8an.js";
55
55
  import"./index-4fwbbad3.js";
56
56
  import"./index-b43rt5ph.js";
57
57
  import"./index-q7sjgr1y.js";
58
- import"./index-n7nnz0jp.js";
59
- import"./index-s23q9v6t.js";
58
+ import"./index-dfmr6pj5.js";
59
+ import"./index-98j6z038.js";
60
60
  import {
61
61
  resolveWorktreeIsolationConfig
62
- } from "./index-gbkdj7ay.js";
62
+ } from "./index-164c64z8.js";
63
63
  import"./index-gprxjmm7.js";
64
64
  import"./index-n832052r.js";
65
65
  import"./index-dtn0pne5.js";
66
66
  import"./index-z6xqpmqg.js";
67
67
  import"./index-r3mvsbtq.js";
68
- import"./index-q0prhdds.js";
69
- import"./index-y3kw1zpm.js";
68
+ import"./index-b91qwpms.js";
69
+ import"./index-5w87j6j4.js";
70
70
  import"./index-myt57pht.js";
71
71
  import"./index-zjygnfay.js";
72
72
  import"./index-9e6fdz2h.js";
73
73
  import"./index-4rhhvd1a.js";
74
74
  import"./index-ae75rja9.js";
75
- import"./index-ed13peqr.js";
76
- import"./index-bhjkxasn.js";
75
+ import"./index-85p1850w.js";
76
+ import"./index-ew6fykvv.js";
77
77
  import"./index-bk5tah7q.js";
78
- import"./index-0f4b9ywa.js";
78
+ import"./index-6bqqzfbe.js";
79
79
  import"./index-xagq35tf.js";
80
80
  import"./index-ed5ykebp.js";
81
81
  import"./index-h1g8w4v0.js";
@@ -8,6 +8,7 @@ import { runCuratorPostMortem } from '../hooks/curator-postmortem';
8
8
  import { checkHivePromotions } from '../hooks/hive-promoter';
9
9
  import { curateAndStoreSwarm } from '../hooks/knowledge-curator';
10
10
  import { reconcilePhaseClose } from '../hooks/knowledge-receipt-ledger.js';
11
+ import { closeRepoMemory } from '../tools/repo-graph/indexed-storage';
11
12
  /** Narrow seam for receipt/plan ordering tests. */
12
13
  export declare const closeReceiptLifecycleInternals: {
13
14
  recordPhaseCloseIntent: (directory: string, phase: string, sessionId?: string, taskId?: string) => Promise<import("../hooks/knowledge-receipt-ledger.js").ReceiptLedgerResult<{
@@ -274,6 +275,7 @@ declare function acquireFinalizeLock(directory: string): Promise<{
274
275
  */
275
276
  declare function detectFullAuto(directory: string, sessionID: string): boolean;
276
277
  export declare const _internals: {
278
+ closeRepoMemory: typeof closeRepoMemory;
277
279
  ACTIVE_STATE_DIRS_TO_CLEAN: string[];
278
280
  countSessionKnowledgeEntries: typeof countSessionKnowledgeEntries;
279
281
  CLOSE_SKILL_REVIEW_TIMEOUT_MS: number;
@@ -1,5 +1,5 @@
1
1
  import type { AgentDefinition } from '../agents/index.js';
2
- import type { AutoReviewConfig } from '../config/schema.js';
2
+ import type { AutoReviewConfig, PluginConfig } from '../config/schema.js';
3
3
  import type { EvaluationModelDispatcher } from '../evaluation/model-dispatcher.js';
4
4
  import type { ReviewModelDispatcher } from '../review/contracts.js';
5
5
  import type { ReviewAgentModelRegistry } from '../review/runtime.js';
@@ -29,6 +29,7 @@ export declare function executeSwarmCommand(args: {
29
29
  sessionID: string;
30
30
  tokens: string[];
31
31
  packageRoot?: string;
32
+ config?: PluginConfig;
32
33
  buildHelpText?: () => string;
33
34
  policy?: SwarmCommandPolicy;
34
35
  evaluationModelDispatcher?: EvaluationModelDispatcher;
@@ -0,0 +1,14 @@
1
+ import type { AgentDefinition } from '../agents/index.js';
2
+ import { type PluginConfig } from '../config/schema.js';
3
+ type HarnessCommandOptions = {
4
+ config?: PluginConfig;
5
+ };
6
+ export declare function handleBlueprintValidateCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
7
+ export declare function handleBlueprintCurrentCommand(directory: string, agents: Record<string, AgentDefinition>, options?: HarnessCommandOptions): Promise<string>;
8
+ export declare function handleBlueprintHistoryCommand(directory: string, args?: string[], options?: HarnessCommandOptions): Promise<string>;
9
+ export declare function handleBlueprintDiffCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
10
+ export declare function handleBlueprintExportCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
11
+ export declare function handleHarnessCandidateValidateCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
12
+ export declare function handleHarnessCandidateShowCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
13
+ export declare function handleHarnessCandidateDiffCommand(directory: string, args: string[], options?: HarnessCommandOptions): Promise<string>;
14
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { AgentDefinition } from '../agents/index.js';
2
- import type { AutoReviewConfig } from '../config/schema.js';
2
+ import type { AutoReviewConfig, PluginConfig } from '../config/schema.js';
3
3
  import type { EvaluationModelDispatcher } from '../evaluation/model-dispatcher.js';
4
4
  import type { ReviewModelDispatcher } from '../review/contracts.js';
5
5
  import type { ReviewAgentModelRegistry } from '../review/runtime.js';
@@ -38,6 +38,7 @@ export { handleGateStatsCommand } from './gate-stats';
38
38
  export { handleGuardrailExplain } from './guardrail-explain';
39
39
  export { handleGuardrailLog } from './guardrail-log';
40
40
  export { handleHandoffCommand } from './handoff';
41
+ export { handleBlueprintCurrentCommand, handleBlueprintDiffCommand, handleBlueprintExportCommand, handleBlueprintHistoryCommand, handleBlueprintValidateCommand, handleHarnessCandidateDiffCommand, handleHarnessCandidateShowCommand, handleHarnessCandidateValidateCommand, } from './harness';
41
42
  export { handleHistoryCommand } from './history';
42
43
  export { handleKnowledgeListCommand, handleKnowledgeMigrateCommand, handleKnowledgeQuarantineCommand, handleKnowledgeRestoreCommand, handleKnowledgeRetryHardeningCommand, handleKnowledgeUnactionableCommand, } from './knowledge';
43
44
  export { handleLearningCommand } from './learning';
@@ -72,6 +73,7 @@ export declare function buildHelpText(): string;
72
73
  */
73
74
  export declare function createSwarmCommandHandler(directory: string, agents: Record<string, AgentDefinition>, options?: {
74
75
  getActiveAgentName?: (sessionID: string) => string | undefined;
76
+ config?: PluginConfig;
75
77
  packageRoot?: string;
76
78
  registeredAgents?: Record<string, {
77
79
  tools?: Record<string, boolean>;
@@ -1,5 +1,5 @@
1
1
  import type { AgentDefinition } from '../agents/index.js';
2
- import type { AutoReviewConfig } from '../config/schema.js';
2
+ import type { AutoReviewConfig, PluginConfig } from '../config/schema.js';
3
3
  import type { EvaluationModelDispatcher } from '../evaluation/model-dispatcher.js';
4
4
  import type { ReviewModelDispatcher } from '../review/contracts.js';
5
5
  import type { ReviewAgentModelRegistry } from '../review/runtime.js';
@@ -14,6 +14,7 @@ export type CommandContext = {
14
14
  args: string[];
15
15
  sessionID: string;
16
16
  agents: Record<string, AgentDefinition>;
17
+ config?: PluginConfig;
17
18
  packageRoot?: string;
18
19
  /**
19
20
  * Dispatch path identifier. Issue #890: forensic audit trail for
@@ -73,6 +74,118 @@ export type CommandEntry = {
73
74
  toolNoArgs?: boolean;
74
75
  };
75
76
  export declare const COMMAND_REGISTRY: {
77
+ readonly 'blueprint validate': {
78
+ readonly handler: (ctx: CommandContext) => Promise<string>;
79
+ readonly description: "Validate a declarative harness blueprint or atomic blueprint patch";
80
+ readonly args: "<project-relative-json>";
81
+ readonly category: "utility";
82
+ readonly toolPolicy: "none";
83
+ };
84
+ readonly 'blueprint current': {
85
+ readonly handler: (ctx: CommandContext) => Promise<string>;
86
+ readonly description: "Show the ledger-derived current harness blueprint projection";
87
+ readonly args: "";
88
+ readonly category: "utility";
89
+ readonly toolPolicy: "none";
90
+ };
91
+ readonly 'blueprint history': {
92
+ readonly handler: (ctx: CommandContext) => Promise<string>;
93
+ readonly description: "Show bounded hash-verified harness version history";
94
+ readonly args: "[--limit <1..100>]";
95
+ readonly category: "utility";
96
+ readonly toolPolicy: "none";
97
+ };
98
+ readonly 'blueprint diff': {
99
+ readonly handler: (ctx: CommandContext) => Promise<string>;
100
+ readonly description: "Compare two stored harness blueprint versions";
101
+ readonly args: "<from-version> <to-version>";
102
+ readonly category: "utility";
103
+ readonly toolPolicy: "none";
104
+ };
105
+ readonly 'blueprint export': {
106
+ readonly handler: (ctx: CommandContext) => Promise<string>;
107
+ readonly description: "Export a canonical stored harness blueprint";
108
+ readonly args: "[version]";
109
+ readonly category: "utility";
110
+ readonly toolPolicy: "none";
111
+ };
112
+ readonly 'harness candidate validate': {
113
+ readonly handler: (ctx: CommandContext) => Promise<string>;
114
+ readonly description: "Validate an inert harness candidate manifest";
115
+ readonly args: "<project-relative-json>";
116
+ readonly category: "utility";
117
+ readonly toolPolicy: "none";
118
+ };
119
+ readonly 'harness candidate show': {
120
+ readonly handler: (ctx: CommandContext) => Promise<string>;
121
+ readonly description: "Show bounded harness candidate metadata without raw patch content";
122
+ readonly args: "<candidate-id>";
123
+ readonly category: "utility";
124
+ readonly toolPolicy: "none";
125
+ };
126
+ readonly 'harness candidate diff': {
127
+ readonly handler: (ctx: CommandContext) => Promise<string>;
128
+ readonly description: "Show candidate file and blueprint-change metadata without raw patch content";
129
+ readonly args: "<candidate-id>";
130
+ readonly category: "utility";
131
+ readonly toolPolicy: "none";
132
+ };
133
+ readonly 'blueprint-validate': {
134
+ readonly handler: (ctx: CommandContext) => Promise<string>;
135
+ readonly description: "TUI shortcut alias for blueprint validate";
136
+ readonly category: "utility";
137
+ readonly aliasOf: "blueprint validate";
138
+ readonly deprecated: true;
139
+ };
140
+ readonly 'blueprint-current': {
141
+ readonly handler: (ctx: CommandContext) => Promise<string>;
142
+ readonly description: "TUI shortcut alias for blueprint current";
143
+ readonly category: "utility";
144
+ readonly aliasOf: "blueprint current";
145
+ readonly deprecated: true;
146
+ };
147
+ readonly 'blueprint-history': {
148
+ readonly handler: (ctx: CommandContext) => Promise<string>;
149
+ readonly description: "TUI shortcut alias for blueprint history";
150
+ readonly category: "utility";
151
+ readonly aliasOf: "blueprint history";
152
+ readonly deprecated: true;
153
+ };
154
+ readonly 'blueprint-diff': {
155
+ readonly handler: (ctx: CommandContext) => Promise<string>;
156
+ readonly description: "TUI shortcut alias for blueprint diff";
157
+ readonly category: "utility";
158
+ readonly aliasOf: "blueprint diff";
159
+ readonly deprecated: true;
160
+ };
161
+ readonly 'blueprint-export': {
162
+ readonly handler: (ctx: CommandContext) => Promise<string>;
163
+ readonly description: "TUI shortcut alias for blueprint export";
164
+ readonly category: "utility";
165
+ readonly aliasOf: "blueprint export";
166
+ readonly deprecated: true;
167
+ };
168
+ readonly 'harness-candidate-validate': {
169
+ readonly handler: (ctx: CommandContext) => Promise<string>;
170
+ readonly description: "TUI shortcut alias for harness candidate validate";
171
+ readonly category: "utility";
172
+ readonly aliasOf: "harness candidate validate";
173
+ readonly deprecated: true;
174
+ };
175
+ readonly 'harness-candidate-show': {
176
+ readonly handler: (ctx: CommandContext) => Promise<string>;
177
+ readonly description: "TUI shortcut alias for harness candidate show";
178
+ readonly category: "utility";
179
+ readonly aliasOf: "harness candidate show";
180
+ readonly deprecated: true;
181
+ };
182
+ readonly 'harness-candidate-diff': {
183
+ readonly handler: (ctx: CommandContext) => Promise<string>;
184
+ readonly description: "TUI shortcut alias for harness candidate diff";
185
+ readonly category: "utility";
186
+ readonly aliasOf: "harness candidate diff";
187
+ readonly deprecated: true;
188
+ };
76
189
  readonly 'acknowledge-spec-drift': {
77
190
  readonly handler: (ctx: CommandContext) => Promise<string>;
78
191
  readonly description: "Acknowledge that the spec has drifted from the plan and suppress further warnings";
@@ -630,6 +630,10 @@ export declare const RepoGraphConfigSchema: z.ZodObject<{
630
630
  walk_budget_ms: z.ZodDefault<z.ZodNumber>;
631
631
  max_files: z.ZodDefault<z.ZodNumber>;
632
632
  exclude_dirs: z.ZodDefault<z.ZodArray<z.ZodString>>;
633
+ storage: z.ZodDefault<z.ZodEnum<{
634
+ json: "json";
635
+ indexed: "indexed";
636
+ }>>;
633
637
  }, z.core.$strip>;
634
638
  export type RepoGraphConfig = z.infer<typeof RepoGraphConfigSchema>;
635
639
  export declare const CheckpointConfigSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
@@ -999,6 +1003,27 @@ export declare const SkillPropagationConfigSchema: z.ZodObject<{
999
1003
  audiences: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>>;
1000
1004
  }, z.core.$strip>;
1001
1005
  export type SkillPropagationConfig = z.infer<typeof SkillPropagationConfigSchema>;
1006
+ /**
1007
+ * Declarative HarnessOpt mutation policy (issue #1825).
1008
+ *
1009
+ * This block is consumed only by explicit harness API/command calls. It does
1010
+ * not enable activation, optimization, init-time scans, or candidate execution.
1011
+ */
1012
+ export declare const HarnessEvolutionConfigSchema: z.ZodObject<{
1013
+ source_allowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
1014
+ extra_protected_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
1015
+ max_patch_bytes: z.ZodDefault<z.ZodNumber>;
1016
+ max_files: z.ZodDefault<z.ZodNumber>;
1017
+ max_file_bytes: z.ZodDefault<z.ZodNumber>;
1018
+ max_total_bytes: z.ZodDefault<z.ZodNumber>;
1019
+ max_changed_lines: z.ZodDefault<z.ZodNumber>;
1020
+ max_versions: z.ZodDefault<z.ZodNumber>;
1021
+ max_inactive_candidates: z.ZodDefault<z.ZodNumber>;
1022
+ max_replay_records: z.ZodDefault<z.ZodNumber>;
1023
+ max_output_bytes: z.ZodDefault<z.ZodNumber>;
1024
+ }, z.core.$strict>;
1025
+ export type HarnessEvolutionConfig = z.infer<typeof HarnessEvolutionConfigSchema>;
1026
+ export declare const DEFAULT_HARNESS_EVOLUTION_CONFIG: HarnessEvolutionConfig;
1002
1027
  export declare const SkillImproverConfigSchema: z.ZodObject<{
1003
1028
  enabled: z.ZodDefault<z.ZodBoolean>;
1004
1029
  model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2089,6 +2114,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
2089
2114
  walk_budget_ms: z.ZodDefault<z.ZodNumber>;
2090
2115
  max_files: z.ZodDefault<z.ZodNumber>;
2091
2116
  exclude_dirs: z.ZodDefault<z.ZodArray<z.ZodString>>;
2117
+ storage: z.ZodDefault<z.ZodEnum<{
2118
+ json: "json";
2119
+ indexed: "indexed";
2120
+ }>>;
2092
2121
  }, z.core.$strip>>;
2093
2122
  evidence: z.ZodOptional<z.ZodObject<{
2094
2123
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -2508,6 +2537,19 @@ export declare const PluginConfigSchema: z.ZodObject<{
2508
2537
  }>>;
2509
2538
  allow_deterministic_fallback: z.ZodDefault<z.ZodBoolean>;
2510
2539
  }, z.core.$strip>>;
2540
+ harness_evolution: z.ZodOptional<z.ZodObject<{
2541
+ source_allowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
2542
+ extra_protected_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
2543
+ max_patch_bytes: z.ZodDefault<z.ZodNumber>;
2544
+ max_files: z.ZodDefault<z.ZodNumber>;
2545
+ max_file_bytes: z.ZodDefault<z.ZodNumber>;
2546
+ max_total_bytes: z.ZodDefault<z.ZodNumber>;
2547
+ max_changed_lines: z.ZodDefault<z.ZodNumber>;
2548
+ max_versions: z.ZodDefault<z.ZodNumber>;
2549
+ max_inactive_candidates: z.ZodDefault<z.ZodNumber>;
2550
+ max_replay_records: z.ZodDefault<z.ZodNumber>;
2551
+ max_output_bytes: z.ZodDefault<z.ZodNumber>;
2552
+ }, z.core.$strict>>;
2511
2553
  spec_writer: z.ZodOptional<z.ZodObject<{
2512
2554
  enabled: z.ZodDefault<z.ZodBoolean>;
2513
2555
  model: z.ZodDefault<z.ZodNullable<z.ZodString>>;