@harness-engineering/cli 1.10.0 → 1.12.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.
- package/dist/agents/skills/claude-code/enforce-architecture/SKILL.md +4 -0
- package/dist/agents/skills/claude-code/harness-parallel-agents/SKILL.md +105 -20
- package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +37 -0
- package/dist/agents/skills/gemini-cli/enforce-architecture/SKILL.md +4 -0
- package/dist/agents/skills/gemini-cli/harness-parallel-agents/SKILL.md +105 -20
- package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +37 -0
- package/dist/{agents-md-EMRFLNBC.js → agents-md-KIS2RSMG.js} +1 -1
- package/dist/{architecture-5JNN5L3M.js → architecture-AJAUDRQQ.js} +2 -2
- package/dist/bin/harness-mcp.js +14 -14
- package/dist/bin/harness.js +20 -20
- package/dist/{check-phase-gate-WOKIYGAM.js → check-phase-gate-K7QCSYRJ.js} +4 -4
- package/dist/{chunk-FPIPT36X.js → chunk-2SWJ4VO7.js} +6 -6
- package/dist/{chunk-OPXH4CQN.js → chunk-2YPZKGAG.js} +1 -1
- package/dist/{chunk-B7HFEHWP.js → chunk-3WGJMBKH.js} +10 -0
- package/dist/{chunk-ECUJQS3B.js → chunk-6N4R6FVX.js} +3 -3
- package/dist/{chunk-LXU5M77O.js → chunk-747VBPA4.js} +390 -57
- package/dist/{chunk-NX6DSZSM.js → chunk-AE2OWWDH.js} +4497 -2640
- package/dist/{chunk-PAHHT2IK.js → chunk-B5SBNH4S.js} +2833 -918
- package/dist/{chunk-F4PTVZWA.js → chunk-CTTFXXKJ.js} +7 -7
- package/dist/{chunk-PSXF277V.js → chunk-EAURF4LH.js} +1 -1
- package/dist/chunk-EBJQ6N4M.js +39 -0
- package/dist/{chunk-4PFMY3H7.js → chunk-FLOEMHDF.js} +9 -9
- package/dist/{chunk-46YA6FI3.js → chunk-GNGELAXY.js} +2 -2
- package/dist/{chunk-EOLRW32Q.js → chunk-HD4IBGLA.js} +9 -1
- package/dist/{chunk-CWZ4Y2PO.js → chunk-JLXOEO5C.js} +4 -4
- package/dist/{chunk-F3YDAJFQ.js → chunk-L2KLU56K.js} +2 -2
- package/dist/{chunk-MO4YQOMB.js → chunk-OIGVQF5V.js} +3 -3
- package/dist/{chunk-PMTFPOCT.js → chunk-TJVVU3HB.js} +1 -1
- package/dist/{chunk-MDUK2J2O.js → chunk-VRFZWGMS.js} +2 -1
- package/dist/{chunk-FX7SQHGD.js → chunk-YXOG2277.js} +2 -2
- package/dist/{chunk-7X7ZAYMY.js → chunk-ZU2UBYBY.js} +102 -5
- package/dist/{ci-workflow-ZBBUNTHQ.js → ci-workflow-NBL4OT4A.js} +1 -1
- package/dist/create-skill-WPXHSLX2.js +11 -0
- package/dist/{dist-PBTNVK6K.js → dist-IJ4J4C5G.js} +103 -1
- package/dist/{dist-I7DB5VKB.js → dist-M6BQODWC.js} +1145 -0
- package/dist/{docs-PTJGD6XI.js → docs-CPTMH3VY.js} +2 -2
- package/dist/{engine-SCMZ3G3E.js → engine-BUWPAAGD.js} +1 -1
- package/dist/{entropy-YIUBGKY7.js → entropy-Z4FYVQ7L.js} +2 -2
- package/dist/{feedback-WEVQSLAA.js → feedback-TT6WF5YX.js} +1 -1
- package/dist/{generate-agent-definitions-BU5LOJTI.js → generate-agent-definitions-J5HANRNR.js} +4 -4
- package/dist/{graph-loader-RLO3KRIX.js → graph-loader-KO4GJ5N2.js} +1 -1
- package/dist/index.d.ts +355 -12
- package/dist/index.js +33 -21
- package/dist/{loader-6S6PVGSF.js → loader-PCU5YWRH.js} +1 -1
- package/dist/mcp-YM6QLHLZ.js +34 -0
- package/dist/{performance-5TVW6SA6.js → performance-YJVXOKIB.js} +2 -2
- package/dist/{review-pipeline-4JTQAWKW.js → review-pipeline-KGMIMLIE.js} +1 -1
- package/dist/{runtime-PXIM7UV6.js → runtime-F6R27LD6.js} +1 -1
- package/dist/{security-URYTKLGK.js → security-MX5VVXBC.js} +1 -1
- package/dist/skill-executor-RG45LUO5.js +8 -0
- package/dist/templates/orchestrator/WORKFLOW.md +48 -0
- package/dist/templates/orchestrator/template.json +6 -0
- package/dist/{validate-KSDUUK2M.js → validate-EFNMSFKD.js} +2 -2
- package/dist/{validate-cross-check-WZAX357V.js → validate-cross-check-LJX65SBS.js} +1 -1
- package/package.json +10 -6
- package/dist/chunk-HIOXKZYF.js +0 -15
- package/dist/create-skill-LUWO46WF.js +0 -11
- package/dist/mcp-BNLBTCXZ.js +0 -34
- package/dist/skill-executor-KVS47DAU.js +0 -8
|
@@ -2,33 +2,58 @@ 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
37
|
ExclusionSet,
|
|
21
38
|
FailureEntrySchema,
|
|
22
39
|
FileSink,
|
|
40
|
+
ForbiddenImportCollector,
|
|
23
41
|
GateConfigSchema,
|
|
24
42
|
GateResultSchema,
|
|
25
43
|
HandoffSchema,
|
|
26
44
|
HarnessStateSchema,
|
|
27
45
|
InteractionTypeSchema,
|
|
46
|
+
LayerViolationCollector,
|
|
47
|
+
LockfilePackageSchema,
|
|
48
|
+
LockfileSchema,
|
|
49
|
+
ManifestSchema,
|
|
50
|
+
MetricResultSchema,
|
|
51
|
+
ModuleSizeCollector,
|
|
28
52
|
NoOpExecutor,
|
|
29
53
|
NoOpSink,
|
|
30
54
|
NoOpTelemetryAdapter,
|
|
31
55
|
PatternConfigSchema,
|
|
56
|
+
ProjectScanner,
|
|
32
57
|
QuestionSchema,
|
|
33
58
|
REQUIRED_SECTIONS,
|
|
34
59
|
RegressionDetector,
|
|
@@ -36,16 +61,26 @@ import {
|
|
|
36
61
|
SECURITY_DESCRIPTOR,
|
|
37
62
|
SecurityConfigSchema,
|
|
38
63
|
SecurityScanner,
|
|
64
|
+
SharableBoundaryConfigSchema,
|
|
65
|
+
SharableForbiddenImportSchema,
|
|
66
|
+
SharableLayerSchema,
|
|
67
|
+
SharableSecurityRulesSchema,
|
|
39
68
|
StreamIndexSchema,
|
|
40
69
|
StreamInfoSchema,
|
|
70
|
+
ThresholdConfigSchema,
|
|
41
71
|
TransitionSchema,
|
|
42
72
|
TypeScriptParser,
|
|
43
73
|
VERSION,
|
|
74
|
+
ViolationSchema,
|
|
75
|
+
addProvenance,
|
|
44
76
|
analyzeDiff,
|
|
45
77
|
appendFailure,
|
|
46
78
|
appendLearning,
|
|
47
79
|
applyFixes,
|
|
48
80
|
applyHotspotDowngrade,
|
|
81
|
+
archMatchers,
|
|
82
|
+
archModule,
|
|
83
|
+
architecture,
|
|
49
84
|
archiveFailures,
|
|
50
85
|
archiveStream,
|
|
51
86
|
buildDependencyGraph,
|
|
@@ -55,6 +90,7 @@ import {
|
|
|
55
90
|
checkEligibility,
|
|
56
91
|
classifyFinding,
|
|
57
92
|
configureFeedback,
|
|
93
|
+
constraintRuleId,
|
|
58
94
|
contextBudget,
|
|
59
95
|
contextFilter,
|
|
60
96
|
createBoundaryValidator,
|
|
@@ -69,6 +105,8 @@ import {
|
|
|
69
105
|
cryptoRules,
|
|
70
106
|
deduplicateCleanupFindings,
|
|
71
107
|
deduplicateFindings,
|
|
108
|
+
deepMergeConstraints,
|
|
109
|
+
defaultCollectors,
|
|
72
110
|
defineLayer,
|
|
73
111
|
deserializationRules,
|
|
74
112
|
detectChangeType,
|
|
@@ -81,9 +119,12 @@ import {
|
|
|
81
119
|
detectPatternViolations,
|
|
82
120
|
detectSizeBudgetViolations,
|
|
83
121
|
detectStack,
|
|
122
|
+
detectStaleConstraints,
|
|
84
123
|
determineAssessment,
|
|
124
|
+
diff,
|
|
85
125
|
executeWorkflow,
|
|
86
126
|
expressRules,
|
|
127
|
+
extractBundle,
|
|
87
128
|
extractMarkdownLinks,
|
|
88
129
|
extractSections,
|
|
89
130
|
fanOutReview,
|
|
@@ -114,6 +155,7 @@ import {
|
|
|
114
155
|
networkRules,
|
|
115
156
|
nodeRules,
|
|
116
157
|
parseDiff,
|
|
158
|
+
parseManifest,
|
|
117
159
|
parseRoadmap,
|
|
118
160
|
parseSecurityConfig,
|
|
119
161
|
parseSize,
|
|
@@ -121,6 +163,9 @@ import {
|
|
|
121
163
|
previewFix,
|
|
122
164
|
reactRules,
|
|
123
165
|
readCheckState,
|
|
166
|
+
readLockfile,
|
|
167
|
+
removeContributions,
|
|
168
|
+
removeProvenance,
|
|
124
169
|
requestMultiplePeerReviews,
|
|
125
170
|
requestPeerReview,
|
|
126
171
|
resetFeedbackConfig,
|
|
@@ -128,6 +173,8 @@ import {
|
|
|
128
173
|
resolveModelTier,
|
|
129
174
|
resolveRuleSeverity,
|
|
130
175
|
resolveStreamPath,
|
|
176
|
+
resolveThresholds,
|
|
177
|
+
runAll,
|
|
131
178
|
runArchitectureAgent,
|
|
132
179
|
runBugDetectionAgent,
|
|
133
180
|
runCIChecks,
|
|
@@ -147,6 +194,7 @@ import {
|
|
|
147
194
|
setActiveStream,
|
|
148
195
|
shouldRunCheck,
|
|
149
196
|
spawnBackgroundCheck,
|
|
197
|
+
syncConstraintNodes,
|
|
150
198
|
syncRoadmap,
|
|
151
199
|
touchStream,
|
|
152
200
|
trackAction,
|
|
@@ -159,8 +207,11 @@ import {
|
|
|
159
207
|
validateFindings,
|
|
160
208
|
validateKnowledgeMap,
|
|
161
209
|
validatePatternConfig,
|
|
210
|
+
violationId,
|
|
211
|
+
writeConfig,
|
|
212
|
+
writeLockfile,
|
|
162
213
|
xssRules
|
|
163
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-AE2OWWDH.js";
|
|
164
215
|
import {
|
|
165
216
|
Err,
|
|
166
217
|
Ok,
|
|
@@ -172,18 +223,35 @@ export {
|
|
|
172
223
|
AGENT_DESCRIPTORS,
|
|
173
224
|
ARCHITECTURE_DESCRIPTOR,
|
|
174
225
|
AgentActionEmitter,
|
|
226
|
+
ArchBaselineManager,
|
|
227
|
+
ArchBaselineSchema,
|
|
228
|
+
ArchConfigSchema,
|
|
229
|
+
ArchDiffResultSchema,
|
|
230
|
+
ArchMetricCategorySchema,
|
|
175
231
|
BUG_DETECTION_DESCRIPTOR,
|
|
176
232
|
BaselineManager,
|
|
177
233
|
BenchmarkRunner,
|
|
234
|
+
BlueprintGenerator,
|
|
235
|
+
BundleConstraintsSchema,
|
|
236
|
+
BundleSchema,
|
|
178
237
|
COMPLIANCE_DESCRIPTOR,
|
|
238
|
+
CategoryBaselineSchema,
|
|
239
|
+
CategoryRegressionSchema,
|
|
179
240
|
ChecklistBuilder,
|
|
241
|
+
CircularDepsCollector,
|
|
242
|
+
ComplexityCollector,
|
|
180
243
|
ConfirmationSchema,
|
|
181
244
|
ConsoleSink,
|
|
245
|
+
ConstraintRuleSchema,
|
|
246
|
+
ContentPipeline,
|
|
247
|
+
ContributionsSchema,
|
|
248
|
+
CouplingCollector,
|
|
182
249
|
CriticalPathResolver,
|
|
183
250
|
DEFAULT_PROVIDER_TIERS,
|
|
184
251
|
DEFAULT_SECURITY_CONFIG,
|
|
185
252
|
DEFAULT_STATE,
|
|
186
253
|
DEFAULT_STREAM_INDEX,
|
|
254
|
+
DepDepthCollector,
|
|
187
255
|
EmitInteractionInputSchema,
|
|
188
256
|
EntropyAnalyzer,
|
|
189
257
|
EntropyConfigSchema,
|
|
@@ -191,16 +259,24 @@ export {
|
|
|
191
259
|
ExclusionSet,
|
|
192
260
|
FailureEntrySchema,
|
|
193
261
|
FileSink,
|
|
262
|
+
ForbiddenImportCollector,
|
|
194
263
|
GateConfigSchema,
|
|
195
264
|
GateResultSchema,
|
|
196
265
|
HandoffSchema,
|
|
197
266
|
HarnessStateSchema,
|
|
198
267
|
InteractionTypeSchema,
|
|
268
|
+
LayerViolationCollector,
|
|
269
|
+
LockfilePackageSchema,
|
|
270
|
+
LockfileSchema,
|
|
271
|
+
ManifestSchema,
|
|
272
|
+
MetricResultSchema,
|
|
273
|
+
ModuleSizeCollector,
|
|
199
274
|
NoOpExecutor,
|
|
200
275
|
NoOpSink,
|
|
201
276
|
NoOpTelemetryAdapter,
|
|
202
277
|
Ok,
|
|
203
278
|
PatternConfigSchema,
|
|
279
|
+
ProjectScanner,
|
|
204
280
|
QuestionSchema,
|
|
205
281
|
REQUIRED_SECTIONS,
|
|
206
282
|
RegressionDetector,
|
|
@@ -209,16 +285,26 @@ export {
|
|
|
209
285
|
STANDARD_COGNITIVE_MODES,
|
|
210
286
|
SecurityConfigSchema,
|
|
211
287
|
SecurityScanner,
|
|
288
|
+
SharableBoundaryConfigSchema,
|
|
289
|
+
SharableForbiddenImportSchema,
|
|
290
|
+
SharableLayerSchema,
|
|
291
|
+
SharableSecurityRulesSchema,
|
|
212
292
|
StreamIndexSchema,
|
|
213
293
|
StreamInfoSchema,
|
|
294
|
+
ThresholdConfigSchema,
|
|
214
295
|
TransitionSchema,
|
|
215
296
|
TypeScriptParser,
|
|
216
297
|
VERSION,
|
|
298
|
+
ViolationSchema,
|
|
299
|
+
addProvenance,
|
|
217
300
|
analyzeDiff,
|
|
218
301
|
appendFailure,
|
|
219
302
|
appendLearning,
|
|
220
303
|
applyFixes,
|
|
221
304
|
applyHotspotDowngrade,
|
|
305
|
+
archMatchers,
|
|
306
|
+
archModule,
|
|
307
|
+
architecture,
|
|
222
308
|
archiveFailures,
|
|
223
309
|
archiveStream,
|
|
224
310
|
buildDependencyGraph,
|
|
@@ -228,6 +314,7 @@ export {
|
|
|
228
314
|
checkEligibility,
|
|
229
315
|
classifyFinding,
|
|
230
316
|
configureFeedback,
|
|
317
|
+
constraintRuleId,
|
|
231
318
|
contextBudget,
|
|
232
319
|
contextFilter,
|
|
233
320
|
createBoundaryValidator,
|
|
@@ -242,6 +329,8 @@ export {
|
|
|
242
329
|
cryptoRules,
|
|
243
330
|
deduplicateCleanupFindings,
|
|
244
331
|
deduplicateFindings,
|
|
332
|
+
deepMergeConstraints,
|
|
333
|
+
defaultCollectors,
|
|
245
334
|
defineLayer,
|
|
246
335
|
deserializationRules,
|
|
247
336
|
detectChangeType,
|
|
@@ -254,9 +343,12 @@ export {
|
|
|
254
343
|
detectPatternViolations,
|
|
255
344
|
detectSizeBudgetViolations,
|
|
256
345
|
detectStack,
|
|
346
|
+
detectStaleConstraints,
|
|
257
347
|
determineAssessment,
|
|
348
|
+
diff,
|
|
258
349
|
executeWorkflow,
|
|
259
350
|
expressRules,
|
|
351
|
+
extractBundle,
|
|
260
352
|
extractMarkdownLinks,
|
|
261
353
|
extractSections,
|
|
262
354
|
fanOutReview,
|
|
@@ -289,6 +381,7 @@ export {
|
|
|
289
381
|
networkRules,
|
|
290
382
|
nodeRules,
|
|
291
383
|
parseDiff,
|
|
384
|
+
parseManifest,
|
|
292
385
|
parseRoadmap,
|
|
293
386
|
parseSecurityConfig,
|
|
294
387
|
parseSize,
|
|
@@ -296,6 +389,9 @@ export {
|
|
|
296
389
|
previewFix,
|
|
297
390
|
reactRules,
|
|
298
391
|
readCheckState,
|
|
392
|
+
readLockfile,
|
|
393
|
+
removeContributions,
|
|
394
|
+
removeProvenance,
|
|
299
395
|
requestMultiplePeerReviews,
|
|
300
396
|
requestPeerReview,
|
|
301
397
|
resetFeedbackConfig,
|
|
@@ -303,6 +399,8 @@ export {
|
|
|
303
399
|
resolveModelTier,
|
|
304
400
|
resolveRuleSeverity,
|
|
305
401
|
resolveStreamPath,
|
|
402
|
+
resolveThresholds,
|
|
403
|
+
runAll,
|
|
306
404
|
runArchitectureAgent,
|
|
307
405
|
runBugDetectionAgent,
|
|
308
406
|
runCIChecks,
|
|
@@ -322,6 +420,7 @@ export {
|
|
|
322
420
|
setActiveStream,
|
|
323
421
|
shouldRunCheck,
|
|
324
422
|
spawnBackgroundCheck,
|
|
423
|
+
syncConstraintNodes,
|
|
325
424
|
syncRoadmap,
|
|
326
425
|
touchStream,
|
|
327
426
|
trackAction,
|
|
@@ -334,5 +433,8 @@ export {
|
|
|
334
433
|
validateFindings,
|
|
335
434
|
validateKnowledgeMap,
|
|
336
435
|
validatePatternConfig,
|
|
436
|
+
violationId,
|
|
437
|
+
writeConfig,
|
|
438
|
+
writeLockfile,
|
|
337
439
|
xssRules
|
|
338
440
|
};
|