@harness-engineering/cli 1.9.0 → 1.11.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 (86) hide show
  1. package/dist/agents/skills/claude-code/enforce-architecture/SKILL.md +4 -0
  2. package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +7 -2
  3. package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +10 -1
  4. package/dist/agents/skills/claude-code/harness-execution/SKILL.md +2 -2
  5. package/dist/agents/skills/claude-code/harness-parallel-agents/SKILL.md +105 -20
  6. package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +37 -0
  7. package/dist/agents/skills/gemini-cli/enforce-architecture/SKILL.md +4 -0
  8. package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +7 -2
  9. package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +10 -1
  10. package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +2 -2
  11. package/dist/agents/skills/gemini-cli/harness-parallel-agents/SKILL.md +105 -20
  12. package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +37 -0
  13. package/dist/agents-md-ZFV6RR5J.js +8 -0
  14. package/dist/architecture-EXNUMH5R.js +13 -0
  15. package/dist/bin/harness-mcp.d.ts +1 -0
  16. package/dist/bin/harness-mcp.js +28 -0
  17. package/dist/bin/harness.js +42 -8
  18. package/dist/check-phase-gate-VZFOY2PO.js +12 -0
  19. package/dist/chunk-2NCIKJES.js +470 -0
  20. package/dist/chunk-2YPZKGAG.js +62 -0
  21. package/dist/{chunk-CGSHUJES.js → chunk-2YSQOUHO.js} +4484 -2688
  22. package/dist/chunk-3WGJMBKH.js +45 -0
  23. package/dist/{chunk-ULSRSP53.js → chunk-6N4R6FVX.js} +11 -112
  24. package/dist/{chunk-6JIT7CEM.js → chunk-72GHBOL2.js} +1 -1
  25. package/dist/chunk-BM3PWGXQ.js +14 -0
  26. package/dist/chunk-C2ERUR3L.js +255 -0
  27. package/dist/chunk-EBJQ6N4M.js +39 -0
  28. package/dist/chunk-GNGELAXY.js +293 -0
  29. package/dist/chunk-GSIVNYVJ.js +187 -0
  30. package/dist/chunk-HD4IBGLA.js +80 -0
  31. package/dist/chunk-I6JZYEGT.js +4361 -0
  32. package/dist/chunk-IDZNPTYD.js +16 -0
  33. package/dist/chunk-JSTQ3AWB.js +31 -0
  34. package/dist/chunk-K6XAPGML.js +27 -0
  35. package/dist/chunk-KET4QQZB.js +8 -0
  36. package/dist/chunk-L2KLU56K.js +125 -0
  37. package/dist/chunk-MHBMTPW7.js +29 -0
  38. package/dist/chunk-NC6PXVWT.js +116 -0
  39. package/dist/chunk-NKDM3FMH.js +52 -0
  40. package/dist/chunk-PA2XHK75.js +248 -0
  41. package/dist/chunk-Q6AB7W5Z.js +135 -0
  42. package/dist/chunk-QPEH2QPG.js +347 -0
  43. package/dist/chunk-TEFCFC4H.js +15 -0
  44. package/dist/chunk-TI4TGEX6.js +85 -0
  45. package/dist/chunk-TRAPF4IX.js +185 -0
  46. package/dist/chunk-VRFZWGMS.js +68 -0
  47. package/dist/chunk-VUCPTQ6G.js +67 -0
  48. package/dist/chunk-W6Y7ZW3Y.js +13 -0
  49. package/dist/chunk-WJZDO6OY.js +103 -0
  50. package/dist/chunk-WUJTCNOU.js +122 -0
  51. package/dist/chunk-X3MN5UQJ.js +89 -0
  52. package/dist/chunk-Z75JC6I2.js +189 -0
  53. package/dist/chunk-ZOAWBDWU.js +72 -0
  54. package/dist/{chunk-RTPHUDZS.js → chunk-ZWC3MN5E.js} +1944 -2779
  55. package/dist/ci-workflow-K5RCRNYR.js +8 -0
  56. package/dist/constants-5JGUXPEK.js +6 -0
  57. package/dist/create-skill-WPXHSLX2.js +11 -0
  58. package/dist/dist-D4RYGUZE.js +14 -0
  59. package/dist/{dist-C5PYIQPF.js → dist-JVZ2MKBC.js} +108 -6
  60. package/dist/dist-L7LAAQAS.js +18 -0
  61. package/dist/{dist-I7DB5VKB.js → dist-M6BQODWC.js} +1145 -0
  62. package/dist/docs-PWCUVYWU.js +12 -0
  63. package/dist/engine-6XUP6GAK.js +8 -0
  64. package/dist/entropy-4I6JEYAC.js +12 -0
  65. package/dist/feedback-TNIW534S.js +18 -0
  66. package/dist/generate-agent-definitions-MWKEA5NU.js +15 -0
  67. package/dist/glob-helper-5OHBUQAI.js +52 -0
  68. package/dist/graph-loader-KO4GJ5N2.js +8 -0
  69. package/dist/index.d.ts +328 -12
  70. package/dist/index.js +93 -34
  71. package/dist/loader-4FIPIFII.js +10 -0
  72. package/dist/mcp-MOKLYNZL.js +34 -0
  73. package/dist/performance-BTOJCPXU.js +24 -0
  74. package/dist/review-pipeline-3YTW3463.js +9 -0
  75. package/dist/runner-VMYLHWOC.js +6 -0
  76. package/dist/runtime-GO7K2PJE.js +9 -0
  77. package/dist/security-4P2GGFF6.js +9 -0
  78. package/dist/skill-executor-RG45LUO5.js +8 -0
  79. package/dist/templates/orchestrator/WORKFLOW.md +48 -0
  80. package/dist/templates/orchestrator/template.json +6 -0
  81. package/dist/validate-JN44D2Q7.js +12 -0
  82. package/dist/validate-cross-check-DB7RIFFF.js +8 -0
  83. package/dist/version-KFFPOQAX.js +6 -0
  84. package/package.json +13 -7
  85. package/dist/create-skill-UZOHMXRU.js +0 -8
  86. package/dist/validate-cross-check-VG573VZO.js +0 -7
@@ -0,0 +1,8 @@
1
+ import {
2
+ generateCIWorkflow
3
+ } from "./chunk-VUCPTQ6G.js";
4
+ import "./chunk-2YSQOUHO.js";
5
+ import "./chunk-MHBMTPW7.js";
6
+ export {
7
+ generateCIWorkflow
8
+ };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ALLOWED_PERSONA_COMMANDS
3
+ } from "./chunk-TEFCFC4H.js";
4
+ export {
5
+ ALLOWED_PERSONA_COMMANDS
6
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ createCreateSkillCommand,
3
+ generateSkillFiles
4
+ } from "./chunk-6N4R6FVX.js";
5
+ import "./chunk-EBJQ6N4M.js";
6
+ import "./chunk-3WGJMBKH.js";
7
+ import "./chunk-VRFZWGMS.js";
8
+ export {
9
+ createCreateSkillCommand,
10
+ generateSkillFiles
11
+ };
@@ -0,0 +1,14 @@
1
+ import {
2
+ Err,
3
+ Ok,
4
+ STANDARD_COGNITIVE_MODES,
5
+ isErr,
6
+ isOk
7
+ } from "./chunk-MHBMTPW7.js";
8
+ export {
9
+ Err,
10
+ Ok,
11
+ STANDARD_COGNITIVE_MODES,
12
+ isErr,
13
+ isOk
14
+ };
@@ -2,53 +2,85 @@ import {
2
2
  AGENT_DESCRIPTORS,
3
3
  ARCHITECTURE_DESCRIPTOR,
4
4
  AgentActionEmitter,
5
+ ArchBaselineManager,
6
+ ArchBaselineSchema,
7
+ ArchConfigSchema,
8
+ ArchDiffResultSchema,
9
+ ArchMetricCategorySchema,
5
10
  BUG_DETECTION_DESCRIPTOR,
6
11
  BaselineManager,
7
12
  BenchmarkRunner,
13
+ BlueprintGenerator,
14
+ BundleConstraintsSchema,
15
+ BundleSchema,
8
16
  COMPLIANCE_DESCRIPTOR,
17
+ CategoryBaselineSchema,
18
+ CategoryRegressionSchema,
9
19
  ChecklistBuilder,
20
+ CircularDepsCollector,
21
+ ComplexityCollector,
10
22
  ConfirmationSchema,
11
23
  ConsoleSink,
24
+ ConstraintRuleSchema,
25
+ ContentPipeline,
26
+ ContributionsSchema,
27
+ CouplingCollector,
12
28
  CriticalPathResolver,
13
29
  DEFAULT_PROVIDER_TIERS,
14
30
  DEFAULT_SECURITY_CONFIG,
15
31
  DEFAULT_STATE,
16
32
  DEFAULT_STREAM_INDEX,
33
+ DepDepthCollector,
17
34
  EmitInteractionInputSchema,
18
35
  EntropyAnalyzer,
19
36
  EntropyConfigSchema,
20
- Err,
21
37
  ExclusionSet,
22
38
  FailureEntrySchema,
23
39
  FileSink,
40
+ ForbiddenImportCollector,
24
41
  GateConfigSchema,
25
42
  GateResultSchema,
26
43
  HandoffSchema,
27
44
  HarnessStateSchema,
28
45
  InteractionTypeSchema,
46
+ LayerViolationCollector,
47
+ LockfilePackageSchema,
48
+ LockfileSchema,
49
+ ManifestSchema,
50
+ MetricResultSchema,
51
+ ModuleSizeCollector,
29
52
  NoOpExecutor,
30
53
  NoOpSink,
31
54
  NoOpTelemetryAdapter,
32
- Ok,
33
55
  PatternConfigSchema,
56
+ ProjectScanner,
34
57
  QuestionSchema,
35
58
  REQUIRED_SECTIONS,
36
59
  RegressionDetector,
37
60
  RuleRegistry,
38
61
  SECURITY_DESCRIPTOR,
39
- STANDARD_COGNITIVE_MODES,
40
62
  SecurityConfigSchema,
41
63
  SecurityScanner,
64
+ SharableBoundaryConfigSchema,
65
+ SharableForbiddenImportSchema,
66
+ SharableLayerSchema,
67
+ SharableSecurityRulesSchema,
42
68
  StreamIndexSchema,
43
69
  StreamInfoSchema,
70
+ ThresholdConfigSchema,
44
71
  TransitionSchema,
45
72
  TypeScriptParser,
46
73
  VERSION,
74
+ ViolationSchema,
75
+ addProvenance,
47
76
  analyzeDiff,
48
77
  appendFailure,
49
78
  appendLearning,
50
79
  applyFixes,
51
80
  applyHotspotDowngrade,
81
+ archMatchers,
82
+ archModule,
83
+ architecture,
52
84
  archiveFailures,
53
85
  archiveStream,
54
86
  buildDependencyGraph,
@@ -58,6 +90,7 @@ import {
58
90
  checkEligibility,
59
91
  classifyFinding,
60
92
  configureFeedback,
93
+ constraintRuleId,
61
94
  contextBudget,
62
95
  contextFilter,
63
96
  createBoundaryValidator,
@@ -72,6 +105,8 @@ import {
72
105
  cryptoRules,
73
106
  deduplicateCleanupFindings,
74
107
  deduplicateFindings,
108
+ deepMergeConstraints,
109
+ defaultCollectors,
75
110
  defineLayer,
76
111
  deserializationRules,
77
112
  detectChangeType,
@@ -84,9 +119,12 @@ import {
84
119
  detectPatternViolations,
85
120
  detectSizeBudgetViolations,
86
121
  detectStack,
122
+ detectStaleConstraints,
87
123
  determineAssessment,
124
+ diff,
88
125
  executeWorkflow,
89
126
  expressRules,
127
+ extractBundle,
90
128
  extractMarkdownLinks,
91
129
  extractSections,
92
130
  fanOutReview,
@@ -104,8 +142,6 @@ import {
104
142
  getUpdateNotification,
105
143
  goRules,
106
144
  injectionRules,
107
- isErr,
108
- isOk,
109
145
  isSmallSuggestion,
110
146
  isUpdateCheckEnabled,
111
147
  listStreams,
@@ -119,6 +155,7 @@ import {
119
155
  networkRules,
120
156
  nodeRules,
121
157
  parseDiff,
158
+ parseManifest,
122
159
  parseRoadmap,
123
160
  parseSecurityConfig,
124
161
  parseSize,
@@ -126,6 +163,8 @@ import {
126
163
  previewFix,
127
164
  reactRules,
128
165
  readCheckState,
166
+ readLockfile,
167
+ removeProvenance,
129
168
  requestMultiplePeerReviews,
130
169
  requestPeerReview,
131
170
  resetFeedbackConfig,
@@ -133,6 +172,8 @@ import {
133
172
  resolveModelTier,
134
173
  resolveRuleSeverity,
135
174
  resolveStreamPath,
175
+ resolveThresholds,
176
+ runAll,
136
177
  runArchitectureAgent,
137
178
  runBugDetectionAgent,
138
179
  runCIChecks,
@@ -152,6 +193,7 @@ import {
152
193
  setActiveStream,
153
194
  shouldRunCheck,
154
195
  spawnBackgroundCheck,
196
+ syncConstraintNodes,
155
197
  syncRoadmap,
156
198
  touchStream,
157
199
  trackAction,
@@ -164,24 +206,51 @@ import {
164
206
  validateFindings,
165
207
  validateKnowledgeMap,
166
208
  validatePatternConfig,
209
+ violationId,
210
+ writeConfig,
211
+ writeLockfile,
167
212
  xssRules
168
- } from "./chunk-CGSHUJES.js";
213
+ } from "./chunk-2YSQOUHO.js";
214
+ import {
215
+ Err,
216
+ Ok,
217
+ STANDARD_COGNITIVE_MODES,
218
+ isErr,
219
+ isOk
220
+ } from "./chunk-MHBMTPW7.js";
169
221
  export {
170
222
  AGENT_DESCRIPTORS,
171
223
  ARCHITECTURE_DESCRIPTOR,
172
224
  AgentActionEmitter,
225
+ ArchBaselineManager,
226
+ ArchBaselineSchema,
227
+ ArchConfigSchema,
228
+ ArchDiffResultSchema,
229
+ ArchMetricCategorySchema,
173
230
  BUG_DETECTION_DESCRIPTOR,
174
231
  BaselineManager,
175
232
  BenchmarkRunner,
233
+ BlueprintGenerator,
234
+ BundleConstraintsSchema,
235
+ BundleSchema,
176
236
  COMPLIANCE_DESCRIPTOR,
237
+ CategoryBaselineSchema,
238
+ CategoryRegressionSchema,
177
239
  ChecklistBuilder,
240
+ CircularDepsCollector,
241
+ ComplexityCollector,
178
242
  ConfirmationSchema,
179
243
  ConsoleSink,
244
+ ConstraintRuleSchema,
245
+ ContentPipeline,
246
+ ContributionsSchema,
247
+ CouplingCollector,
180
248
  CriticalPathResolver,
181
249
  DEFAULT_PROVIDER_TIERS,
182
250
  DEFAULT_SECURITY_CONFIG,
183
251
  DEFAULT_STATE,
184
252
  DEFAULT_STREAM_INDEX,
253
+ DepDepthCollector,
185
254
  EmitInteractionInputSchema,
186
255
  EntropyAnalyzer,
187
256
  EntropyConfigSchema,
@@ -189,16 +258,24 @@ export {
189
258
  ExclusionSet,
190
259
  FailureEntrySchema,
191
260
  FileSink,
261
+ ForbiddenImportCollector,
192
262
  GateConfigSchema,
193
263
  GateResultSchema,
194
264
  HandoffSchema,
195
265
  HarnessStateSchema,
196
266
  InteractionTypeSchema,
267
+ LayerViolationCollector,
268
+ LockfilePackageSchema,
269
+ LockfileSchema,
270
+ ManifestSchema,
271
+ MetricResultSchema,
272
+ ModuleSizeCollector,
197
273
  NoOpExecutor,
198
274
  NoOpSink,
199
275
  NoOpTelemetryAdapter,
200
276
  Ok,
201
277
  PatternConfigSchema,
278
+ ProjectScanner,
202
279
  QuestionSchema,
203
280
  REQUIRED_SECTIONS,
204
281
  RegressionDetector,
@@ -207,16 +284,26 @@ export {
207
284
  STANDARD_COGNITIVE_MODES,
208
285
  SecurityConfigSchema,
209
286
  SecurityScanner,
287
+ SharableBoundaryConfigSchema,
288
+ SharableForbiddenImportSchema,
289
+ SharableLayerSchema,
290
+ SharableSecurityRulesSchema,
210
291
  StreamIndexSchema,
211
292
  StreamInfoSchema,
293
+ ThresholdConfigSchema,
212
294
  TransitionSchema,
213
295
  TypeScriptParser,
214
296
  VERSION,
297
+ ViolationSchema,
298
+ addProvenance,
215
299
  analyzeDiff,
216
300
  appendFailure,
217
301
  appendLearning,
218
302
  applyFixes,
219
303
  applyHotspotDowngrade,
304
+ archMatchers,
305
+ archModule,
306
+ architecture,
220
307
  archiveFailures,
221
308
  archiveStream,
222
309
  buildDependencyGraph,
@@ -226,6 +313,7 @@ export {
226
313
  checkEligibility,
227
314
  classifyFinding,
228
315
  configureFeedback,
316
+ constraintRuleId,
229
317
  contextBudget,
230
318
  contextFilter,
231
319
  createBoundaryValidator,
@@ -240,6 +328,8 @@ export {
240
328
  cryptoRules,
241
329
  deduplicateCleanupFindings,
242
330
  deduplicateFindings,
331
+ deepMergeConstraints,
332
+ defaultCollectors,
243
333
  defineLayer,
244
334
  deserializationRules,
245
335
  detectChangeType,
@@ -252,9 +342,12 @@ export {
252
342
  detectPatternViolations,
253
343
  detectSizeBudgetViolations,
254
344
  detectStack,
345
+ detectStaleConstraints,
255
346
  determineAssessment,
347
+ diff,
256
348
  executeWorkflow,
257
349
  expressRules,
350
+ extractBundle,
258
351
  extractMarkdownLinks,
259
352
  extractSections,
260
353
  fanOutReview,
@@ -287,6 +380,7 @@ export {
287
380
  networkRules,
288
381
  nodeRules,
289
382
  parseDiff,
383
+ parseManifest,
290
384
  parseRoadmap,
291
385
  parseSecurityConfig,
292
386
  parseSize,
@@ -294,6 +388,8 @@ export {
294
388
  previewFix,
295
389
  reactRules,
296
390
  readCheckState,
391
+ readLockfile,
392
+ removeProvenance,
297
393
  requestMultiplePeerReviews,
298
394
  requestPeerReview,
299
395
  resetFeedbackConfig,
@@ -301,6 +397,8 @@ export {
301
397
  resolveModelTier,
302
398
  resolveRuleSeverity,
303
399
  resolveStreamPath,
400
+ resolveThresholds,
401
+ runAll,
304
402
  runArchitectureAgent,
305
403
  runBugDetectionAgent,
306
404
  runCIChecks,
@@ -320,6 +418,7 @@ export {
320
418
  setActiveStream,
321
419
  shouldRunCheck,
322
420
  spawnBackgroundCheck,
421
+ syncConstraintNodes,
323
422
  syncRoadmap,
324
423
  touchStream,
325
424
  trackAction,
@@ -332,5 +431,8 @@ export {
332
431
  validateFindings,
333
432
  validateKnowledgeMap,
334
433
  validatePatternConfig,
434
+ violationId,
435
+ writeConfig,
436
+ writeLockfile,
335
437
  xssRules
336
438
  };
@@ -0,0 +1,18 @@
1
+ import {
2
+ LinterConfigSchema,
3
+ ParseError,
4
+ RuleConfigSchema,
5
+ TemplateError,
6
+ TemplateLoadError,
7
+ generate,
8
+ validate
9
+ } from "./chunk-QPEH2QPG.js";
10
+ export {
11
+ LinterConfigSchema,
12
+ ParseError,
13
+ RuleConfigSchema,
14
+ TemplateError,
15
+ TemplateLoadError,
16
+ generate,
17
+ validate
18
+ };