@harness-engineering/cli 1.13.1 → 1.15.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 (147) hide show
  1. package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +240 -39
  2. package/dist/agents/skills/claude-code/harness-autopilot/skill.yaml +6 -0
  3. package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +39 -0
  4. package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +44 -0
  5. package/dist/agents/skills/claude-code/harness-execution/SKILL.md +44 -0
  6. package/dist/agents/skills/claude-code/harness-planning/SKILL.md +39 -0
  7. package/dist/agents/skills/claude-code/harness-product-spec/SKILL.md +5 -5
  8. package/dist/agents/skills/claude-code/harness-release-readiness/SKILL.md +3 -3
  9. package/dist/agents/skills/claude-code/harness-verification/SKILL.md +35 -0
  10. package/dist/agents/skills/claude-code/initialize-harness-project/SKILL.md +11 -3
  11. package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +240 -39
  12. package/dist/agents/skills/gemini-cli/harness-autopilot/skill.yaml +6 -0
  13. package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +39 -0
  14. package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +44 -0
  15. package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +44 -0
  16. package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +39 -0
  17. package/dist/agents/skills/gemini-cli/harness-product-spec/SKILL.md +5 -5
  18. package/dist/agents/skills/gemini-cli/harness-release-readiness/SKILL.md +3 -3
  19. package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +35 -0
  20. package/dist/agents/skills/gemini-cli/initialize-harness-project/SKILL.md +11 -3
  21. package/dist/agents/skills/package.json +1 -0
  22. package/dist/agents/skills/vitest.config.mts +5 -0
  23. package/dist/agents-md-ZGNIDWAF.js +8 -0
  24. package/dist/{architecture-2R5Z4ZAF.js → architecture-ZLIH5533.js} +4 -4
  25. package/dist/bin/harness-mcp.js +14 -14
  26. package/dist/bin/harness.js +27 -25
  27. package/dist/{check-phase-gate-2OFZ7OWW.js → check-phase-gate-ZOXVBDCN.js} +4 -4
  28. package/dist/{chunk-ND6PNADU.js → chunk-2BKLWLY6.js} +9 -9
  29. package/dist/{chunk-65FRIL4D.js → chunk-3ZZKVN62.js} +1 -1
  30. package/dist/{chunk-C2ERUR3L.js → chunk-7MJAPE3Z.js} +165 -49
  31. package/dist/{chunk-Z77YQRQT.js → chunk-B2HKP423.js} +16 -5
  32. package/dist/{chunk-QPEH2QPG.js → chunk-DBSOCI3G.js} +53 -54
  33. package/dist/{chunk-TKJZKICB.js → chunk-EDXIVMAP.js} +7 -7
  34. package/dist/{chunk-MHBMTPW7.js → chunk-ERS5EVUZ.js} +9 -0
  35. package/dist/{chunk-JSTQ3AWB.js → chunk-FIAPHX37.js} +1 -1
  36. package/dist/{chunk-IMFVFNJE.js → chunk-FTMXDOR6.js} +1 -1
  37. package/dist/{chunk-72GHBOL2.js → chunk-GZKSBLQL.js} +1 -1
  38. package/dist/{chunk-K6XAPGML.js → chunk-H7Y5CKTM.js} +1 -1
  39. package/dist/{chunk-SSKDAOX5.js → chunk-J4RAX7YB.js} +1164 -516
  40. package/dist/{chunk-UAX4I5ZE.js → chunk-LGYBN7Y6.js} +2 -2
  41. package/dist/{chunk-QY4T6YAZ.js → chunk-N25INEIX.js} +4 -4
  42. package/dist/{chunk-4ZMOCPYO.js → chunk-ND2ENWDM.js} +1 -1
  43. package/dist/{chunk-NERR4TAO.js → chunk-NNHDDXYT.js} +1250 -765
  44. package/dist/{chunk-NKDM3FMH.js → chunk-OD3S2NHN.js} +1 -1
  45. package/dist/{chunk-NOPU4RZ4.js → chunk-OFXQSFOW.js} +3 -3
  46. package/dist/{chunk-TS3XWPW5.js → chunk-RCWZBSK5.js} +1 -1
  47. package/dist/{chunk-VUCPTQ6G.js → chunk-SD3SQOZ2.js} +1 -1
  48. package/dist/{chunk-DZS7CJKL.js → chunk-VEPAJXBW.js} +45 -47
  49. package/dist/{chunk-IM32EEDM.js → chunk-YLXFKVJE.js} +9 -9
  50. package/dist/{chunk-Q6AB7W5Z.js → chunk-YQ6KC6TE.js} +1 -1
  51. package/dist/{chunk-PQ5YK4AY.js → chunk-Z2OOPXJO.js} +2740 -1221
  52. package/dist/ci-workflow-765LSHRD.js +8 -0
  53. package/dist/{dist-2B363XUH.js → dist-ALQDD67R.js} +64 -2
  54. package/dist/{dist-HXHWB7SV.js → dist-B26DFXMP.js} +571 -478
  55. package/dist/{dist-L7LAAQAS.js → dist-DZ63LLUD.js} +1 -1
  56. package/dist/{dist-D4RYGUZE.js → dist-USY2C5JL.js} +3 -1
  57. package/dist/{docs-FZOPM4GK.js → docs-NRMQCOJ6.js} +4 -4
  58. package/dist/engine-3RB7MXPP.js +8 -0
  59. package/dist/{entropy-LVHJMFGH.js → entropy-6AGX2ZUN.js} +3 -3
  60. package/dist/{feedback-IHLVLMRD.js → feedback-MY4QZIFD.js} +1 -1
  61. package/dist/{generate-agent-definitions-64S3CLEZ.js → generate-agent-definitions-ZAE726AU.js} +4 -4
  62. package/dist/{graph-loader-GJZ4FN4Y.js → graph-loader-2M2HXDQI.js} +1 -1
  63. package/dist/index.d.ts +156 -17
  64. package/dist/index.js +24 -24
  65. package/dist/loader-UUTVMQCC.js +10 -0
  66. package/dist/{mcp-JQUI7BVZ.js → mcp-VU5FMO52.js} +14 -14
  67. package/dist/{performance-ZTVSUANN.js → performance-2D7G6NMJ.js} +3 -3
  68. package/dist/{review-pipeline-76JHKGSV.js → review-pipeline-RAQ55ISU.js} +1 -1
  69. package/dist/runtime-BCK5RRZQ.js +9 -0
  70. package/dist/{security-FWQZF2IZ.js → security-2RPQEN62.js} +1 -1
  71. package/dist/templates/axum/Cargo.toml.hbs +8 -0
  72. package/dist/templates/axum/src/main.rs +12 -0
  73. package/dist/templates/axum/template.json +16 -0
  74. package/dist/templates/django/manage.py.hbs +19 -0
  75. package/dist/templates/django/requirements.txt.hbs +1 -0
  76. package/dist/templates/django/src/settings.py.hbs +44 -0
  77. package/dist/templates/django/src/urls.py +6 -0
  78. package/dist/templates/django/src/wsgi.py.hbs +9 -0
  79. package/dist/templates/django/template.json +21 -0
  80. package/dist/templates/express/package.json.hbs +15 -0
  81. package/dist/templates/express/src/app.ts +12 -0
  82. package/dist/templates/express/src/lib/.gitkeep +0 -0
  83. package/dist/templates/express/template.json +16 -0
  84. package/dist/templates/fastapi/requirements.txt.hbs +2 -0
  85. package/dist/templates/fastapi/src/main.py +8 -0
  86. package/dist/templates/fastapi/template.json +20 -0
  87. package/dist/templates/gin/go.mod.hbs +5 -0
  88. package/dist/templates/gin/main.go +15 -0
  89. package/dist/templates/gin/template.json +19 -0
  90. package/dist/templates/go-base/.golangci.yml +16 -0
  91. package/dist/templates/go-base/AGENTS.md.hbs +35 -0
  92. package/dist/templates/go-base/go.mod.hbs +3 -0
  93. package/dist/templates/go-base/harness.config.json.hbs +17 -0
  94. package/dist/templates/go-base/main.go +7 -0
  95. package/dist/templates/go-base/template.json +14 -0
  96. package/dist/templates/java-base/AGENTS.md.hbs +35 -0
  97. package/dist/templates/java-base/checkstyle.xml +20 -0
  98. package/dist/templates/java-base/harness.config.json.hbs +16 -0
  99. package/dist/templates/java-base/pom.xml.hbs +39 -0
  100. package/dist/templates/java-base/src/main/java/App.java.hbs +5 -0
  101. package/dist/templates/java-base/template.json +13 -0
  102. package/dist/templates/nestjs/nest-cli.json +5 -0
  103. package/dist/templates/nestjs/package.json.hbs +18 -0
  104. package/dist/templates/nestjs/src/app.module.ts +8 -0
  105. package/dist/templates/nestjs/src/lib/.gitkeep +0 -0
  106. package/dist/templates/nestjs/src/main.ts +11 -0
  107. package/dist/templates/nestjs/template.json +16 -0
  108. package/dist/templates/nextjs/template.json +15 -1
  109. package/dist/templates/python-base/.python-version +1 -0
  110. package/dist/templates/python-base/AGENTS.md.hbs +32 -0
  111. package/dist/templates/python-base/harness.config.json.hbs +16 -0
  112. package/dist/templates/python-base/pyproject.toml.hbs +18 -0
  113. package/dist/templates/python-base/ruff.toml +5 -0
  114. package/dist/templates/python-base/src/__init__.py +0 -0
  115. package/dist/templates/python-base/template.json +13 -0
  116. package/dist/templates/react-vite/index.html +12 -0
  117. package/dist/templates/react-vite/package.json.hbs +18 -0
  118. package/dist/templates/react-vite/src/App.tsx +7 -0
  119. package/dist/templates/react-vite/src/lib/.gitkeep +0 -0
  120. package/dist/templates/react-vite/src/main.tsx +9 -0
  121. package/dist/templates/react-vite/template.json +19 -0
  122. package/dist/templates/react-vite/vite.config.ts +6 -0
  123. package/dist/templates/rust-base/AGENTS.md.hbs +35 -0
  124. package/dist/templates/rust-base/Cargo.toml.hbs +6 -0
  125. package/dist/templates/rust-base/clippy.toml +2 -0
  126. package/dist/templates/rust-base/harness.config.json.hbs +17 -0
  127. package/dist/templates/rust-base/src/main.rs +3 -0
  128. package/dist/templates/rust-base/template.json +14 -0
  129. package/dist/templates/spring-boot/pom.xml.hbs +50 -0
  130. package/dist/templates/spring-boot/src/main/java/Application.java.hbs +19 -0
  131. package/dist/templates/spring-boot/template.json +15 -0
  132. package/dist/templates/vue/index.html +12 -0
  133. package/dist/templates/vue/package.json.hbs +16 -0
  134. package/dist/templates/vue/src/App.vue +7 -0
  135. package/dist/templates/vue/src/lib/.gitkeep +0 -0
  136. package/dist/templates/vue/src/main.ts +4 -0
  137. package/dist/templates/vue/template.json +19 -0
  138. package/dist/templates/vue/vite.config.ts +6 -0
  139. package/dist/{validate-GCHZJIL7.js → validate-KBYQAEWE.js} +4 -4
  140. package/dist/validate-cross-check-OABMREW4.js +8 -0
  141. package/package.json +7 -5
  142. package/dist/agents-md-XU3BHE22.js +0 -8
  143. package/dist/ci-workflow-EHV65NQB.js +0 -8
  144. package/dist/engine-OL4T6NZS.js +0 -8
  145. package/dist/loader-DPYFB6R6.js +0 -10
  146. package/dist/runtime-X7U6SC7K.js +0 -9
  147. package/dist/validate-cross-check-STFHYMAZ.js +0 -8
@@ -0,0 +1,8 @@
1
+ import {
2
+ generateCIWorkflow
3
+ } from "./chunk-SD3SQOZ2.js";
4
+ import "./chunk-Z2OOPXJO.js";
5
+ import "./chunk-ERS5EVUZ.js";
6
+ export {
7
+ generateCIWorkflow
8
+ };
@@ -31,6 +31,7 @@ import {
31
31
  DEFAULT_STATE,
32
32
  DEFAULT_STREAM_INDEX,
33
33
  DepDepthCollector,
34
+ EXTENSION_MAP,
34
35
  EmitInteractionInputSchema,
35
36
  EntropyAnalyzer,
36
37
  EntropyConfigSchema,
@@ -65,6 +66,7 @@ import {
65
66
  SharableForbiddenImportSchema,
66
67
  SharableLayerSchema,
67
68
  SharableSecurityRulesSchema,
69
+ SkillEventSchema,
68
70
  StreamIndexSchema,
69
71
  StreamInfoSchema,
70
72
  ThresholdConfigSchema,
@@ -73,30 +75,37 @@ import {
73
75
  VERSION,
74
76
  ViolationSchema,
75
77
  addProvenance,
78
+ agentConfigRules,
76
79
  analyzeDiff,
77
80
  analyzeLearningPatterns,
78
81
  appendFailure,
79
82
  appendLearning,
83
+ appendSessionEntry,
80
84
  applyFixes,
81
85
  applyHotspotDowngrade,
86
+ applySyncChanges,
82
87
  archMatchers,
83
88
  archModule,
84
89
  architecture,
85
90
  archiveFailures,
86
91
  archiveLearnings,
92
+ archiveSession,
87
93
  archiveStream,
88
94
  buildDependencyGraph,
89
95
  buildExclusionSet,
90
96
  buildSnapshot,
91
97
  checkDocCoverage,
92
98
  checkEligibility,
99
+ checkEvidenceCoverage,
93
100
  classifyFinding,
101
+ clearEventHashCache,
94
102
  clearFailuresCache,
95
103
  clearLearningsCache,
96
104
  configureFeedback,
97
105
  constraintRuleId,
98
106
  contextBudget,
99
107
  contextFilter,
108
+ countLearningEntries,
100
109
  createBoundaryValidator,
101
110
  createCommentedCodeFixes,
102
111
  createError,
@@ -120,27 +129,34 @@ import {
120
129
  detectCouplingViolations,
121
130
  detectDeadCode,
122
131
  detectDocDrift,
132
+ detectLanguage,
123
133
  detectPatternViolations,
124
134
  detectSizeBudgetViolations,
125
135
  detectStack,
126
136
  detectStaleConstraints,
127
137
  determineAssessment,
128
138
  diff,
139
+ emitEvent,
129
140
  executeWorkflow,
130
141
  expressRules,
131
142
  extractBundle,
143
+ extractIndexEntry,
132
144
  extractMarkdownLinks,
133
145
  extractSections,
134
146
  fanOutReview,
147
+ formatEventTimeline,
135
148
  formatFindingBlock,
136
149
  formatGitHubComment,
137
150
  formatGitHubSummary,
151
+ formatOutline,
138
152
  formatTerminalOutput,
139
153
  generateAgentsMap,
140
154
  generateSuggestions,
141
155
  getActionEmitter,
142
156
  getExitCode,
143
157
  getFeedbackConfig,
158
+ getOutline,
159
+ getParser,
144
160
  getPhaseCategories,
145
161
  getStreamForBranch,
146
162
  getUpdateNotification,
@@ -151,33 +167,42 @@ import {
151
167
  listActiveSessions,
152
168
  listStreams,
153
169
  loadBudgetedLearnings,
170
+ loadEvents,
154
171
  loadFailures,
155
172
  loadHandoff,
173
+ loadIndexEntries,
156
174
  loadRelevantLearnings,
157
175
  loadSessionSummary,
158
176
  loadState,
159
177
  loadStreamIndex,
160
178
  logAgentAction,
179
+ mcpRules,
161
180
  migrateToStreams,
162
181
  networkRules,
163
182
  nodeRules,
164
183
  parseDateFromEntry,
165
184
  parseDiff,
185
+ parseFile,
186
+ parseFrontmatter,
166
187
  parseManifest,
167
188
  parseRoadmap,
168
189
  parseSecurityConfig,
169
190
  parseSize,
170
191
  pathTraversalRules,
171
192
  previewFix,
193
+ promoteSessionLearnings,
172
194
  pruneLearnings,
173
195
  reactRules,
174
196
  readCheckState,
175
197
  readLockfile,
198
+ readSessionSection,
199
+ readSessionSections,
176
200
  removeContributions,
177
201
  removeProvenance,
178
202
  requestMultiplePeerReviews,
179
203
  requestPeerReview,
180
204
  resetFeedbackConfig,
205
+ resetParserCache,
181
206
  resolveFileToLayer,
182
207
  resolveModelTier,
183
208
  resolveRuleSeverity,
@@ -199,6 +224,7 @@ import {
199
224
  saveState,
200
225
  saveStreamIndex,
201
226
  scopeContext,
227
+ searchSymbols,
202
228
  secretRules,
203
229
  serializeRoadmap,
204
230
  setActiveStream,
@@ -206,8 +232,12 @@ import {
206
232
  spawnBackgroundCheck,
207
233
  syncConstraintNodes,
208
234
  syncRoadmap,
235
+ tagUncitedFindings,
209
236
  touchStream,
210
237
  trackAction,
238
+ unfoldRange,
239
+ unfoldSymbol,
240
+ updateSessionEntryStatus,
211
241
  updateSessionIndex,
212
242
  validateAgentsMap,
213
243
  validateBoundaries,
@@ -223,14 +253,15 @@ import {
223
253
  writeLockfile,
224
254
  writeSessionSummary,
225
255
  xssRules
226
- } from "./chunk-PQ5YK4AY.js";
256
+ } from "./chunk-Z2OOPXJO.js";
227
257
  import {
228
258
  Err,
229
259
  Ok,
260
+ SESSION_SECTION_NAMES,
230
261
  STANDARD_COGNITIVE_MODES,
231
262
  isErr,
232
263
  isOk
233
- } from "./chunk-MHBMTPW7.js";
264
+ } from "./chunk-ERS5EVUZ.js";
234
265
  export {
235
266
  AGENT_DESCRIPTORS,
236
267
  ARCHITECTURE_DESCRIPTOR,
@@ -264,6 +295,7 @@ export {
264
295
  DEFAULT_STATE,
265
296
  DEFAULT_STREAM_INDEX,
266
297
  DepDepthCollector,
298
+ EXTENSION_MAP,
267
299
  EmitInteractionInputSchema,
268
300
  EntropyAnalyzer,
269
301
  EntropyConfigSchema,
@@ -294,6 +326,7 @@ export {
294
326
  RegressionDetector,
295
327
  RuleRegistry,
296
328
  SECURITY_DESCRIPTOR,
329
+ SESSION_SECTION_NAMES,
297
330
  STANDARD_COGNITIVE_MODES,
298
331
  SecurityConfigSchema,
299
332
  SecurityScanner,
@@ -301,6 +334,7 @@ export {
301
334
  SharableForbiddenImportSchema,
302
335
  SharableLayerSchema,
303
336
  SharableSecurityRulesSchema,
337
+ SkillEventSchema,
304
338
  StreamIndexSchema,
305
339
  StreamInfoSchema,
306
340
  ThresholdConfigSchema,
@@ -309,30 +343,37 @@ export {
309
343
  VERSION,
310
344
  ViolationSchema,
311
345
  addProvenance,
346
+ agentConfigRules,
312
347
  analyzeDiff,
313
348
  analyzeLearningPatterns,
314
349
  appendFailure,
315
350
  appendLearning,
351
+ appendSessionEntry,
316
352
  applyFixes,
317
353
  applyHotspotDowngrade,
354
+ applySyncChanges,
318
355
  archMatchers,
319
356
  archModule,
320
357
  architecture,
321
358
  archiveFailures,
322
359
  archiveLearnings,
360
+ archiveSession,
323
361
  archiveStream,
324
362
  buildDependencyGraph,
325
363
  buildExclusionSet,
326
364
  buildSnapshot,
327
365
  checkDocCoverage,
328
366
  checkEligibility,
367
+ checkEvidenceCoverage,
329
368
  classifyFinding,
369
+ clearEventHashCache,
330
370
  clearFailuresCache,
331
371
  clearLearningsCache,
332
372
  configureFeedback,
333
373
  constraintRuleId,
334
374
  contextBudget,
335
375
  contextFilter,
376
+ countLearningEntries,
336
377
  createBoundaryValidator,
337
378
  createCommentedCodeFixes,
338
379
  createError,
@@ -356,27 +397,34 @@ export {
356
397
  detectCouplingViolations,
357
398
  detectDeadCode,
358
399
  detectDocDrift,
400
+ detectLanguage,
359
401
  detectPatternViolations,
360
402
  detectSizeBudgetViolations,
361
403
  detectStack,
362
404
  detectStaleConstraints,
363
405
  determineAssessment,
364
406
  diff,
407
+ emitEvent,
365
408
  executeWorkflow,
366
409
  expressRules,
367
410
  extractBundle,
411
+ extractIndexEntry,
368
412
  extractMarkdownLinks,
369
413
  extractSections,
370
414
  fanOutReview,
415
+ formatEventTimeline,
371
416
  formatFindingBlock,
372
417
  formatGitHubComment,
373
418
  formatGitHubSummary,
419
+ formatOutline,
374
420
  formatTerminalOutput,
375
421
  generateAgentsMap,
376
422
  generateSuggestions,
377
423
  getActionEmitter,
378
424
  getExitCode,
379
425
  getFeedbackConfig,
426
+ getOutline,
427
+ getParser,
380
428
  getPhaseCategories,
381
429
  getStreamForBranch,
382
430
  getUpdateNotification,
@@ -389,33 +437,42 @@ export {
389
437
  listActiveSessions,
390
438
  listStreams,
391
439
  loadBudgetedLearnings,
440
+ loadEvents,
392
441
  loadFailures,
393
442
  loadHandoff,
443
+ loadIndexEntries,
394
444
  loadRelevantLearnings,
395
445
  loadSessionSummary,
396
446
  loadState,
397
447
  loadStreamIndex,
398
448
  logAgentAction,
449
+ mcpRules,
399
450
  migrateToStreams,
400
451
  networkRules,
401
452
  nodeRules,
402
453
  parseDateFromEntry,
403
454
  parseDiff,
455
+ parseFile,
456
+ parseFrontmatter,
404
457
  parseManifest,
405
458
  parseRoadmap,
406
459
  parseSecurityConfig,
407
460
  parseSize,
408
461
  pathTraversalRules,
409
462
  previewFix,
463
+ promoteSessionLearnings,
410
464
  pruneLearnings,
411
465
  reactRules,
412
466
  readCheckState,
413
467
  readLockfile,
468
+ readSessionSection,
469
+ readSessionSections,
414
470
  removeContributions,
415
471
  removeProvenance,
416
472
  requestMultiplePeerReviews,
417
473
  requestPeerReview,
418
474
  resetFeedbackConfig,
475
+ resetParserCache,
419
476
  resolveFileToLayer,
420
477
  resolveModelTier,
421
478
  resolveRuleSeverity,
@@ -437,6 +494,7 @@ export {
437
494
  saveState,
438
495
  saveStreamIndex,
439
496
  scopeContext,
497
+ searchSymbols,
440
498
  secretRules,
441
499
  serializeRoadmap,
442
500
  setActiveStream,
@@ -444,8 +502,12 @@ export {
444
502
  spawnBackgroundCheck,
445
503
  syncConstraintNodes,
446
504
  syncRoadmap,
505
+ tagUncitedFindings,
447
506
  touchStream,
448
507
  trackAction,
508
+ unfoldRange,
509
+ unfoldSymbol,
510
+ updateSessionEntryStatus,
449
511
  updateSessionIndex,
450
512
  validateAgentsMap,
451
513
  validateBoundaries,