@harness-engineering/cli 1.21.0 → 1.23.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/cleanup-dead-code/skill.yaml +3 -0
- package/dist/agents/skills/claude-code/detect-doc-drift/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/enforce-architecture/skill.yaml +13 -0
- package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +2 -2
- package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +1 -1
- package/dist/agents/skills/claude-code/harness-code-review/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/harness-codebase-cleanup/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/harness-debugging/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/harness-dependency-health/skill.yaml +9 -0
- package/dist/agents/skills/claude-code/harness-execution/SKILL.md +1 -1
- package/dist/agents/skills/claude-code/harness-hotspot-detector/skill.yaml +9 -0
- package/dist/agents/skills/claude-code/harness-integrity/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/harness-perf/skill.yaml +3 -0
- package/dist/agents/skills/claude-code/harness-refactoring/skill.yaml +9 -0
- package/dist/agents/skills/claude-code/harness-roadmap/SKILL.md +5 -5
- package/dist/agents/skills/claude-code/harness-roadmap-pilot/SKILL.md +18 -14
- package/dist/agents/skills/claude-code/harness-security-scan/skill.yaml +3 -0
- package/dist/agents/skills/claude-code/harness-soundness-review/skill.yaml +5 -0
- package/dist/agents/skills/claude-code/harness-supply-chain-audit/skill.yaml +3 -0
- package/dist/agents/skills/claude-code/harness-tdd/skill.yaml +3 -0
- package/dist/agents/skills/codex/cleanup-dead-code/skill.yaml +3 -0
- package/dist/agents/skills/codex/detect-doc-drift/skill.yaml +5 -0
- package/dist/agents/skills/codex/enforce-architecture/skill.yaml +13 -0
- package/dist/agents/skills/codex/harness-autopilot/SKILL.md +2 -2
- package/dist/agents/skills/codex/harness-brainstorming/SKILL.md +1 -1
- package/dist/agents/skills/codex/harness-code-review/skill.yaml +5 -0
- package/dist/agents/skills/codex/harness-codebase-cleanup/skill.yaml +5 -0
- package/dist/agents/skills/codex/harness-debugging/skill.yaml +5 -0
- package/dist/agents/skills/codex/harness-dependency-health/skill.yaml +9 -0
- package/dist/agents/skills/codex/harness-execution/SKILL.md +1 -1
- package/dist/agents/skills/codex/harness-hotspot-detector/skill.yaml +9 -0
- package/dist/agents/skills/codex/harness-integrity/skill.yaml +5 -0
- package/dist/agents/skills/codex/harness-perf/skill.yaml +3 -0
- package/dist/agents/skills/codex/harness-refactoring/skill.yaml +9 -0
- package/dist/agents/skills/codex/harness-roadmap/SKILL.md +5 -5
- package/dist/agents/skills/codex/harness-roadmap-pilot/SKILL.md +18 -14
- package/dist/agents/skills/codex/harness-security-scan/skill.yaml +3 -0
- package/dist/agents/skills/codex/harness-soundness-review/skill.yaml +5 -0
- package/dist/agents/skills/codex/harness-supply-chain-audit/skill.yaml +3 -0
- package/dist/agents/skills/codex/harness-tdd/skill.yaml +3 -0
- package/dist/agents/skills/cursor/cleanup-dead-code/skill.yaml +3 -0
- package/dist/agents/skills/cursor/detect-doc-drift/skill.yaml +5 -0
- package/dist/agents/skills/cursor/enforce-architecture/skill.yaml +13 -0
- package/dist/agents/skills/cursor/harness-autopilot/SKILL.md +2 -2
- package/dist/agents/skills/cursor/harness-brainstorming/SKILL.md +1 -1
- package/dist/agents/skills/cursor/harness-code-review/skill.yaml +5 -0
- package/dist/agents/skills/cursor/harness-codebase-cleanup/skill.yaml +5 -0
- package/dist/agents/skills/cursor/harness-debugging/skill.yaml +5 -0
- package/dist/agents/skills/cursor/harness-dependency-health/skill.yaml +9 -0
- package/dist/agents/skills/cursor/harness-execution/SKILL.md +1 -1
- package/dist/agents/skills/cursor/harness-hotspot-detector/skill.yaml +9 -0
- package/dist/agents/skills/cursor/harness-integrity/skill.yaml +5 -0
- package/dist/agents/skills/cursor/harness-perf/skill.yaml +3 -0
- package/dist/agents/skills/cursor/harness-refactoring/skill.yaml +9 -0
- package/dist/agents/skills/cursor/harness-roadmap/SKILL.md +5 -5
- package/dist/agents/skills/cursor/harness-roadmap-pilot/SKILL.md +18 -14
- package/dist/agents/skills/cursor/harness-security-scan/skill.yaml +3 -0
- package/dist/agents/skills/cursor/harness-soundness-review/skill.yaml +5 -0
- package/dist/agents/skills/cursor/harness-supply-chain-audit/skill.yaml +3 -0
- package/dist/agents/skills/cursor/harness-tdd/skill.yaml +3 -0
- package/dist/agents/skills/gemini-cli/cleanup-dead-code/skill.yaml +3 -0
- package/dist/agents/skills/gemini-cli/detect-doc-drift/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/enforce-architecture/skill.yaml +13 -0
- package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +2 -2
- package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +1 -1
- package/dist/agents/skills/gemini-cli/harness-code-review/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/harness-codebase-cleanup/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/harness-debugging/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/harness-dependency-health/skill.yaml +9 -0
- package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +1 -1
- package/dist/agents/skills/gemini-cli/harness-hotspot-detector/skill.yaml +9 -0
- package/dist/agents/skills/gemini-cli/harness-integrity/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/harness-perf/skill.yaml +3 -0
- package/dist/agents/skills/gemini-cli/harness-refactoring/skill.yaml +9 -0
- package/dist/agents/skills/gemini-cli/harness-roadmap/SKILL.md +5 -5
- package/dist/agents/skills/gemini-cli/harness-roadmap-pilot/SKILL.md +18 -14
- package/dist/agents/skills/gemini-cli/harness-security-scan/skill.yaml +3 -0
- package/dist/agents/skills/gemini-cli/harness-soundness-review/skill.yaml +5 -0
- package/dist/agents/skills/gemini-cli/harness-supply-chain-audit/skill.yaml +3 -0
- package/dist/agents/skills/gemini-cli/harness-tdd/skill.yaml +3 -0
- package/dist/{agents-md-TDTLYAQU.js → agents-md-GLKJSGKT.js} +2 -1
- package/dist/{architecture-NANP4XPE.js → architecture-EDSBAGR4.js} +3 -2
- package/dist/assess-project-CEDY4JU3.js +9 -0
- package/dist/bin/harness-mcp.js +15 -13
- package/dist/bin/harness.js +21 -19
- package/dist/{check-phase-gate-I4NQOCSU.js → check-phase-gate-N3DTKFCZ.js} +4 -3
- package/dist/{chunk-UEKQ5G3V.js → chunk-26AUZBV4.js} +459 -37
- package/dist/chunk-2LAEDVOC.js +293 -0
- package/dist/{chunk-M6TIO6NF.js → chunk-2PAPHA77.js} +1 -1
- package/dist/{dist-U7EAO6T2.js → chunk-5SWE24IG.js} +401 -60
- package/dist/{chunk-7G2ZUTZA.js → chunk-A4AI3H3R.js} +26 -3
- package/dist/{chunk-HUDEBSR2.js → chunk-AIBAYANF.js} +3 -3
- package/dist/{chunk-6GEYPBDU.js → chunk-AKVG4MMZ.js} +9 -9
- package/dist/{chunk-SPUK5W4W.js → chunk-ENA4O4WD.js} +2 -2
- package/dist/{chunk-SZ5TGZMI.js → chunk-GJRUIXUK.js} +17 -2
- package/dist/{chunk-YF5ROTWR.js → chunk-HT4VPPB4.js} +8 -8
- package/dist/{chunk-L6LTNZQZ.js → chunk-LIWGCYON.js} +1 -1
- package/dist/{chunk-UVJFBKCX.js → chunk-QUKH6QCJ.js} +7 -7
- package/dist/{chunk-HKUX2X7O.js → chunk-SE4YPMLH.js} +9 -1
- package/dist/{chunk-TMSGI27F.js → chunk-SM22U22L.js} +982 -386
- package/dist/{chunk-LRG3B43J.js → chunk-T5QWCVGK.js} +1 -1
- package/dist/{chunk-H6LXAH66.js → chunk-TD6MQUV2.js} +1 -1
- package/dist/{chunk-WXI5ONCU.js → chunk-TJ6NLLAY.js} +4 -4
- package/dist/{chunk-CZZXE6BL.js → chunk-TLDCCPUZ.js} +1 -1
- package/dist/{chunk-YZYBQZVL.js → chunk-XDAIFVGC.js} +1539 -587
- package/dist/{ci-workflow-Z4IUJBZL.js → ci-workflow-LE3QF4FP.js} +2 -1
- package/dist/{create-skill-NDXQSTIK.js → create-skill-U3XCFRZN.js} +2 -2
- package/dist/dist-OEXTQQZC.js +92 -0
- package/dist/{dist-KV2ICL5X.js → dist-YIKUBJLQ.js} +56 -3
- package/dist/{docs-2PCZVSGB.js → docs-F5G7NAFF.js} +4 -3
- package/dist/{engine-EOXMI5MD.js → engine-LX5RVGXN.js} +2 -1
- package/dist/{entropy-VGXXBIGX.js → entropy-A5Q2USYX.js} +3 -2
- package/dist/{feedback-VTSPL3O7.js → feedback-2EU25RIW.js} +1 -1
- package/dist/{generate-agent-definitions-QICSCGXB.js → generate-agent-definitions-HNJHO5YQ.js} +2 -1
- package/dist/{graph-loader-KMHDQYDT.js → graph-loader-XULF5QF7.js} +1 -1
- package/dist/index.d.ts +66 -10
- package/dist/index.js +27 -23
- package/dist/{loader-7S4FYAPP.js → loader-GWIEW4HM.js} +2 -1
- package/dist/{mcp-DF25USTE.js → mcp-ID3LR6JB.js} +15 -13
- package/dist/{performance-RV4DUMFI.js → performance-YAY2A6A6.js} +4 -3
- package/dist/{review-pipeline-7KQJB4SI.js → review-pipeline-YD4WI3JM.js} +1 -1
- package/dist/{runtime-XKOHGGRC.js → runtime-UJ4YO4CA.js} +2 -1
- package/dist/{security-NLWTMK3G.js → security-IBSUKMVD.js} +1 -1
- package/dist/{skill-executor-XEVDGXUM.js → skill-executor-2BZQLHYN.js} +2 -2
- package/dist/{validate-VHFE6J6O.js → validate-NHXWKMCR.js} +3 -2
- package/dist/{validate-cross-check-PFRKABCS.js → validate-cross-check-R3GV2MLM.js} +2 -1
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCreateSkillCommand,
|
|
3
3
|
generateSkillFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T5QWCVGK.js";
|
|
5
5
|
import "./chunk-EBJQ6N4M.js";
|
|
6
6
|
import "./chunk-3WGJMBKH.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SE4YPMLH.js";
|
|
8
8
|
export {
|
|
9
9
|
createCreateSkillCommand,
|
|
10
10
|
generateSkillFiles
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Assembler,
|
|
3
|
+
CIConnector,
|
|
4
|
+
CURRENT_SCHEMA_VERSION,
|
|
5
|
+
CodeIngestor,
|
|
6
|
+
ConflictPredictor,
|
|
7
|
+
ConfluenceConnector,
|
|
8
|
+
ContextQL,
|
|
9
|
+
DesignConstraintAdapter,
|
|
10
|
+
DesignIngestor,
|
|
11
|
+
EDGE_TYPES,
|
|
12
|
+
EntityExtractor,
|
|
13
|
+
EntityResolver,
|
|
14
|
+
FusionLayer,
|
|
15
|
+
GitIngestor,
|
|
16
|
+
GraphAnomalyAdapter,
|
|
17
|
+
GraphComplexityAdapter,
|
|
18
|
+
GraphConstraintAdapter,
|
|
19
|
+
GraphCouplingAdapter,
|
|
20
|
+
GraphEdgeSchema,
|
|
21
|
+
GraphEntropyAdapter,
|
|
22
|
+
GraphFeedbackAdapter,
|
|
23
|
+
GraphNodeSchema,
|
|
24
|
+
GraphStore,
|
|
25
|
+
INTENTS,
|
|
26
|
+
IntentClassifier,
|
|
27
|
+
JiraConnector,
|
|
28
|
+
KnowledgeIngestor,
|
|
29
|
+
NODE_TYPES,
|
|
30
|
+
OBSERVABILITY_TYPES,
|
|
31
|
+
RequirementIngestor,
|
|
32
|
+
ResponseFormatter,
|
|
33
|
+
SlackConnector,
|
|
34
|
+
SyncManager,
|
|
35
|
+
TaskIndependenceAnalyzer,
|
|
36
|
+
TopologicalLinker,
|
|
37
|
+
VERSION,
|
|
38
|
+
VectorStore,
|
|
39
|
+
askGraph,
|
|
40
|
+
groupNodesByImpact,
|
|
41
|
+
linkToCode,
|
|
42
|
+
loadGraph,
|
|
43
|
+
project,
|
|
44
|
+
queryTraceability,
|
|
45
|
+
saveGraph
|
|
46
|
+
} from "./chunk-5SWE24IG.js";
|
|
47
|
+
export {
|
|
48
|
+
Assembler,
|
|
49
|
+
CIConnector,
|
|
50
|
+
CURRENT_SCHEMA_VERSION,
|
|
51
|
+
CodeIngestor,
|
|
52
|
+
ConflictPredictor,
|
|
53
|
+
ConfluenceConnector,
|
|
54
|
+
ContextQL,
|
|
55
|
+
DesignConstraintAdapter,
|
|
56
|
+
DesignIngestor,
|
|
57
|
+
EDGE_TYPES,
|
|
58
|
+
EntityExtractor,
|
|
59
|
+
EntityResolver,
|
|
60
|
+
FusionLayer,
|
|
61
|
+
GitIngestor,
|
|
62
|
+
GraphAnomalyAdapter,
|
|
63
|
+
GraphComplexityAdapter,
|
|
64
|
+
GraphConstraintAdapter,
|
|
65
|
+
GraphCouplingAdapter,
|
|
66
|
+
GraphEdgeSchema,
|
|
67
|
+
GraphEntropyAdapter,
|
|
68
|
+
GraphFeedbackAdapter,
|
|
69
|
+
GraphNodeSchema,
|
|
70
|
+
GraphStore,
|
|
71
|
+
INTENTS,
|
|
72
|
+
IntentClassifier,
|
|
73
|
+
JiraConnector,
|
|
74
|
+
KnowledgeIngestor,
|
|
75
|
+
NODE_TYPES,
|
|
76
|
+
OBSERVABILITY_TYPES,
|
|
77
|
+
RequirementIngestor,
|
|
78
|
+
ResponseFormatter,
|
|
79
|
+
SlackConnector,
|
|
80
|
+
SyncManager,
|
|
81
|
+
TaskIndependenceAnalyzer,
|
|
82
|
+
TopologicalLinker,
|
|
83
|
+
VERSION,
|
|
84
|
+
VectorStore,
|
|
85
|
+
askGraph,
|
|
86
|
+
groupNodesByImpact,
|
|
87
|
+
linkToCode,
|
|
88
|
+
loadGraph,
|
|
89
|
+
project,
|
|
90
|
+
queryTraceability,
|
|
91
|
+
saveGraph
|
|
92
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_DESCRIPTORS,
|
|
3
3
|
ARCHITECTURE_DESCRIPTOR,
|
|
4
|
+
AdjustedForecastSchema,
|
|
4
5
|
AgentActionEmitter,
|
|
5
6
|
ArchBaselineManager,
|
|
6
7
|
ArchBaselineSchema,
|
|
@@ -16,23 +17,29 @@ import {
|
|
|
16
17
|
CACHE_TTL_MS,
|
|
17
18
|
COMPLIANCE_DESCRIPTOR,
|
|
18
19
|
CategoryBaselineSchema,
|
|
20
|
+
CategoryForecastSchema,
|
|
19
21
|
CategoryRegressionSchema,
|
|
22
|
+
CategorySnapshotSchema,
|
|
20
23
|
ChecklistBuilder,
|
|
21
24
|
CircularDepsCollector,
|
|
22
25
|
ComplexityCollector,
|
|
26
|
+
ConfidenceTierSchema,
|
|
23
27
|
ConfirmationSchema,
|
|
24
28
|
ConsoleSink,
|
|
25
29
|
ConstraintRuleSchema,
|
|
26
30
|
ContentPipeline,
|
|
31
|
+
ContributingFeatureSchema,
|
|
27
32
|
ContributionsSchema,
|
|
28
33
|
CouplingCollector,
|
|
29
34
|
CriticalPathResolver,
|
|
30
35
|
DEFAULT_PROVIDER_TIERS,
|
|
31
36
|
DEFAULT_SECURITY_CONFIG,
|
|
37
|
+
DEFAULT_STABILITY_THRESHOLDS,
|
|
32
38
|
DEFAULT_STATE,
|
|
33
39
|
DEFAULT_STREAM_INDEX,
|
|
34
40
|
DESTRUCTIVE_BASH,
|
|
35
41
|
DepDepthCollector,
|
|
42
|
+
DirectionSchema,
|
|
36
43
|
EXTENSION_MAP,
|
|
37
44
|
EmitInteractionInputSchema,
|
|
38
45
|
EntropyAnalyzer,
|
|
@@ -58,10 +65,15 @@ import {
|
|
|
58
65
|
NoOpSink,
|
|
59
66
|
NoOpTelemetryAdapter,
|
|
60
67
|
PatternConfigSchema,
|
|
68
|
+
PredictionEngine,
|
|
69
|
+
PredictionOptionsSchema,
|
|
70
|
+
PredictionResultSchema,
|
|
71
|
+
PredictionWarningSchema,
|
|
61
72
|
ProjectScanner,
|
|
62
73
|
QuestionSchema,
|
|
63
74
|
REQUIRED_SECTIONS,
|
|
64
75
|
RegressionDetector,
|
|
76
|
+
RegressionResultSchema,
|
|
65
77
|
RuleRegistry,
|
|
66
78
|
SECURITY_DESCRIPTOR,
|
|
67
79
|
STALENESS_WARNING_DAYS,
|
|
@@ -73,10 +85,19 @@ import {
|
|
|
73
85
|
SharableLayerSchema,
|
|
74
86
|
SharableSecurityRulesSchema,
|
|
75
87
|
SkillEventSchema,
|
|
88
|
+
SpecImpactEstimateSchema,
|
|
89
|
+
SpecImpactEstimator,
|
|
90
|
+
SpecImpactSignalsSchema,
|
|
91
|
+
StabilityForecastSchema,
|
|
76
92
|
StreamIndexSchema,
|
|
77
93
|
StreamInfoSchema,
|
|
78
94
|
ThresholdConfigSchema,
|
|
95
|
+
TimelineFileSchema,
|
|
96
|
+
TimelineManager,
|
|
97
|
+
TimelineSnapshotSchema,
|
|
79
98
|
TransitionSchema,
|
|
99
|
+
TrendLineSchema,
|
|
100
|
+
TrendResultSchema,
|
|
80
101
|
TypeScriptParser,
|
|
81
102
|
VERSION,
|
|
82
103
|
ViolationSchema,
|
|
@@ -91,6 +112,7 @@ import {
|
|
|
91
112
|
appendSessionEntry,
|
|
92
113
|
applyFixes,
|
|
93
114
|
applyHotspotDowngrade,
|
|
115
|
+
applyRecencyWeights,
|
|
94
116
|
applySyncChanges,
|
|
95
117
|
archMatchers,
|
|
96
118
|
archModule,
|
|
@@ -108,6 +130,7 @@ import {
|
|
|
108
130
|
checkEligibility,
|
|
109
131
|
checkEvidenceCoverage,
|
|
110
132
|
checkTaint,
|
|
133
|
+
classifyConfidence,
|
|
111
134
|
classifyFinding,
|
|
112
135
|
clearEventHashCache,
|
|
113
136
|
clearFailuresCache,
|
|
@@ -210,7 +233,7 @@ import {
|
|
|
210
233
|
parseDateFromEntry,
|
|
211
234
|
parseDiff,
|
|
212
235
|
parseFile,
|
|
213
|
-
|
|
236
|
+
parseFrontmatter2,
|
|
214
237
|
parseHarnessIgnore,
|
|
215
238
|
parseLiteLLMData,
|
|
216
239
|
parseManifest,
|
|
@@ -219,6 +242,7 @@ import {
|
|
|
219
242
|
parseSize,
|
|
220
243
|
pathTraversalRules,
|
|
221
244
|
previewFix,
|
|
245
|
+
projectValue,
|
|
222
246
|
promoteSessionLearnings,
|
|
223
247
|
pruneLearnings,
|
|
224
248
|
reactRules,
|
|
@@ -286,12 +310,14 @@ import {
|
|
|
286
310
|
validateKnowledgeMap,
|
|
287
311
|
validatePatternConfig,
|
|
288
312
|
violationId,
|
|
313
|
+
weeksUntilThreshold,
|
|
314
|
+
weightedLinearRegression,
|
|
289
315
|
writeConfig,
|
|
290
316
|
writeLockfile,
|
|
291
317
|
writeSessionSummary,
|
|
292
318
|
writeTaint,
|
|
293
319
|
xssRules
|
|
294
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-XDAIFVGC.js";
|
|
295
321
|
import {
|
|
296
322
|
Err,
|
|
297
323
|
Ok,
|
|
@@ -300,9 +326,11 @@ import {
|
|
|
300
326
|
isErr,
|
|
301
327
|
isOk
|
|
302
328
|
} from "./chunk-ERS5EVUZ.js";
|
|
329
|
+
import "./chunk-5SWE24IG.js";
|
|
303
330
|
export {
|
|
304
331
|
AGENT_DESCRIPTORS,
|
|
305
332
|
ARCHITECTURE_DESCRIPTOR,
|
|
333
|
+
AdjustedForecastSchema,
|
|
306
334
|
AgentActionEmitter,
|
|
307
335
|
ArchBaselineManager,
|
|
308
336
|
ArchBaselineSchema,
|
|
@@ -318,23 +346,29 @@ export {
|
|
|
318
346
|
CACHE_TTL_MS,
|
|
319
347
|
COMPLIANCE_DESCRIPTOR,
|
|
320
348
|
CategoryBaselineSchema,
|
|
349
|
+
CategoryForecastSchema,
|
|
321
350
|
CategoryRegressionSchema,
|
|
351
|
+
CategorySnapshotSchema,
|
|
322
352
|
ChecklistBuilder,
|
|
323
353
|
CircularDepsCollector,
|
|
324
354
|
ComplexityCollector,
|
|
355
|
+
ConfidenceTierSchema,
|
|
325
356
|
ConfirmationSchema,
|
|
326
357
|
ConsoleSink,
|
|
327
358
|
ConstraintRuleSchema,
|
|
328
359
|
ContentPipeline,
|
|
360
|
+
ContributingFeatureSchema,
|
|
329
361
|
ContributionsSchema,
|
|
330
362
|
CouplingCollector,
|
|
331
363
|
CriticalPathResolver,
|
|
332
364
|
DEFAULT_PROVIDER_TIERS,
|
|
333
365
|
DEFAULT_SECURITY_CONFIG,
|
|
366
|
+
DEFAULT_STABILITY_THRESHOLDS,
|
|
334
367
|
DEFAULT_STATE,
|
|
335
368
|
DEFAULT_STREAM_INDEX,
|
|
336
369
|
DESTRUCTIVE_BASH,
|
|
337
370
|
DepDepthCollector,
|
|
371
|
+
DirectionSchema,
|
|
338
372
|
EXTENSION_MAP,
|
|
339
373
|
EmitInteractionInputSchema,
|
|
340
374
|
EntropyAnalyzer,
|
|
@@ -362,6 +396,11 @@ export {
|
|
|
362
396
|
NoOpTelemetryAdapter,
|
|
363
397
|
Ok,
|
|
364
398
|
PatternConfigSchema,
|
|
399
|
+
PredictionEngine,
|
|
400
|
+
PredictionOptionsSchema,
|
|
401
|
+
RegressionResultSchema as PredictionRegressionResultSchema,
|
|
402
|
+
PredictionResultSchema,
|
|
403
|
+
PredictionWarningSchema,
|
|
365
404
|
ProjectScanner,
|
|
366
405
|
QuestionSchema,
|
|
367
406
|
REQUIRED_SECTIONS,
|
|
@@ -379,10 +418,19 @@ export {
|
|
|
379
418
|
SharableLayerSchema,
|
|
380
419
|
SharableSecurityRulesSchema,
|
|
381
420
|
SkillEventSchema,
|
|
421
|
+
SpecImpactEstimateSchema,
|
|
422
|
+
SpecImpactEstimator,
|
|
423
|
+
SpecImpactSignalsSchema,
|
|
424
|
+
StabilityForecastSchema,
|
|
382
425
|
StreamIndexSchema,
|
|
383
426
|
StreamInfoSchema,
|
|
384
427
|
ThresholdConfigSchema,
|
|
428
|
+
TimelineFileSchema,
|
|
429
|
+
TimelineManager,
|
|
430
|
+
TimelineSnapshotSchema,
|
|
385
431
|
TransitionSchema,
|
|
432
|
+
TrendLineSchema,
|
|
433
|
+
TrendResultSchema,
|
|
386
434
|
TypeScriptParser,
|
|
387
435
|
VERSION,
|
|
388
436
|
ViolationSchema,
|
|
@@ -397,6 +445,7 @@ export {
|
|
|
397
445
|
appendSessionEntry,
|
|
398
446
|
applyFixes,
|
|
399
447
|
applyHotspotDowngrade,
|
|
448
|
+
applyRecencyWeights,
|
|
400
449
|
applySyncChanges,
|
|
401
450
|
archMatchers,
|
|
402
451
|
archModule,
|
|
@@ -414,6 +463,7 @@ export {
|
|
|
414
463
|
checkEligibility,
|
|
415
464
|
checkEvidenceCoverage,
|
|
416
465
|
checkTaint,
|
|
466
|
+
classifyConfidence,
|
|
417
467
|
classifyFinding,
|
|
418
468
|
clearEventHashCache,
|
|
419
469
|
clearFailuresCache,
|
|
@@ -518,7 +568,7 @@ export {
|
|
|
518
568
|
parseDateFromEntry,
|
|
519
569
|
parseDiff,
|
|
520
570
|
parseFile,
|
|
521
|
-
parseFrontmatter,
|
|
571
|
+
parseFrontmatter2 as parseFrontmatter,
|
|
522
572
|
parseHarnessIgnore,
|
|
523
573
|
parseLiteLLMData,
|
|
524
574
|
parseManifest,
|
|
@@ -527,6 +577,7 @@ export {
|
|
|
527
577
|
parseSize,
|
|
528
578
|
pathTraversalRules,
|
|
529
579
|
previewFix,
|
|
580
|
+
projectValue,
|
|
530
581
|
promoteSessionLearnings,
|
|
531
582
|
pruneLearnings,
|
|
532
583
|
reactRules,
|
|
@@ -594,6 +645,8 @@ export {
|
|
|
594
645
|
validateKnowledgeMap,
|
|
595
646
|
validatePatternConfig,
|
|
596
647
|
violationId,
|
|
648
|
+
weeksUntilThreshold,
|
|
649
|
+
weightedLinearRegression,
|
|
597
650
|
writeConfig,
|
|
598
651
|
writeLockfile,
|
|
599
652
|
writeSessionSummary,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkDocsDefinition,
|
|
3
3
|
handleCheckDocs
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HT4VPPB4.js";
|
|
5
|
+
import "./chunk-GJRUIXUK.js";
|
|
6
6
|
import "./chunk-IDZNPTYD.js";
|
|
7
7
|
import "./chunk-W6Y7ZW3Y.js";
|
|
8
8
|
import "./chunk-3WGJMBKH.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XDAIFVGC.js";
|
|
10
10
|
import "./chunk-ERS5EVUZ.js";
|
|
11
|
+
import "./chunk-5SWE24IG.js";
|
|
11
12
|
export {
|
|
12
13
|
checkDocsDefinition,
|
|
13
14
|
handleCheckDocs
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectEntropyDefinition,
|
|
3
3
|
handleDetectEntropy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TJ6NLLAY.js";
|
|
5
5
|
import "./chunk-IDZNPTYD.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XDAIFVGC.js";
|
|
8
8
|
import "./chunk-ERS5EVUZ.js";
|
|
9
|
+
import "./chunk-5SWE24IG.js";
|
|
9
10
|
export {
|
|
10
11
|
detectEntropyDefinition,
|
|
11
12
|
handleDetectEntropy
|
package/dist/{generate-agent-definitions-QICSCGXB.js → generate-agent-definitions-HNJHO5YQ.js}
RENAMED
|
@@ -7,8 +7,9 @@ import "./chunk-KET4QQZB.js";
|
|
|
7
7
|
import "./chunk-CJDVBBPB.js";
|
|
8
8
|
import "./chunk-N5G5QMS3.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XDAIFVGC.js";
|
|
11
11
|
import "./chunk-ERS5EVUZ.js";
|
|
12
|
+
import "./chunk-5SWE24IG.js";
|
|
12
13
|
export {
|
|
13
14
|
createGenerateAgentDefinitionsCommand,
|
|
14
15
|
generateAgentDefinitions
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
2
|
import { ContextQLResult, IngestResult } from '@harness-engineering/graph';
|
|
3
|
-
import { Result, Violation, ConflictReport } from '@harness-engineering/core';
|
|
3
|
+
import { Result, Violation, TimelineSnapshot, ConflictReport } from '@harness-engineering/core';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
6
6
|
import { Result as Result$1 } from '@harness-engineering/types';
|
|
@@ -197,6 +197,15 @@ interface CheckArchResult {
|
|
|
197
197
|
}
|
|
198
198
|
declare function runCheckArch(options: CheckArchOptions): Promise<Result<CheckArchResult, CLIError>>;
|
|
199
199
|
|
|
200
|
+
interface SnapshotCaptureResult {
|
|
201
|
+
snapshot: TimelineSnapshot;
|
|
202
|
+
previous: TimelineSnapshot | undefined;
|
|
203
|
+
}
|
|
204
|
+
declare function runSnapshotCapture(options: {
|
|
205
|
+
cwd?: string;
|
|
206
|
+
configPath?: string;
|
|
207
|
+
}): Promise<SnapshotCaptureResult>;
|
|
208
|
+
|
|
200
209
|
/**
|
|
201
210
|
* Supported output modes for the CLI.
|
|
202
211
|
*/
|
|
@@ -517,12 +526,16 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
517
526
|
implPattern: z.ZodString;
|
|
518
527
|
/** Pattern for corresponding specification files */
|
|
519
528
|
specPattern: z.ZodString;
|
|
529
|
+
/** When true, validate that the spec file contains a numbered requirements section */
|
|
530
|
+
contentValidation: z.ZodDefault<z.ZodBoolean>;
|
|
520
531
|
}, "strip", z.ZodTypeAny, {
|
|
521
532
|
implPattern: string;
|
|
522
533
|
specPattern: string;
|
|
534
|
+
contentValidation: boolean;
|
|
523
535
|
}, {
|
|
524
536
|
implPattern: string;
|
|
525
537
|
specPattern: string;
|
|
538
|
+
contentValidation?: boolean | undefined;
|
|
526
539
|
}>, "many">>;
|
|
527
540
|
}, "strip", z.ZodTypeAny, {
|
|
528
541
|
enabled: boolean;
|
|
@@ -530,6 +543,7 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
530
543
|
mappings: {
|
|
531
544
|
implPattern: string;
|
|
532
545
|
specPattern: string;
|
|
546
|
+
contentValidation: boolean;
|
|
533
547
|
}[];
|
|
534
548
|
}, {
|
|
535
549
|
enabled?: boolean | undefined;
|
|
@@ -537,6 +551,7 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
537
551
|
mappings?: {
|
|
538
552
|
implPattern: string;
|
|
539
553
|
specPattern: string;
|
|
554
|
+
contentValidation?: boolean | undefined;
|
|
540
555
|
}[] | undefined;
|
|
541
556
|
}>>;
|
|
542
557
|
/** Design system consistency settings */
|
|
@@ -713,15 +728,15 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
713
728
|
thresholds: z.ZodDefault<z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>;
|
|
714
729
|
modules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>>;
|
|
715
730
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
717
|
-
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
718
731
|
enabled: boolean;
|
|
719
732
|
baselinePath: string;
|
|
733
|
+
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
734
|
+
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
720
735
|
}, {
|
|
721
|
-
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
722
|
-
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
723
736
|
enabled?: boolean | undefined;
|
|
724
737
|
baselinePath?: string | undefined;
|
|
738
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
739
|
+
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
725
740
|
}>>;
|
|
726
741
|
/** Skill loading, suggestion, and tier override settings */
|
|
727
742
|
skills: z.ZodOptional<z.ZodObject<{
|
|
@@ -740,6 +755,31 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
740
755
|
neverSuggest?: string[] | undefined;
|
|
741
756
|
tierOverrides?: Record<string, number> | undefined;
|
|
742
757
|
}>>;
|
|
758
|
+
/** Spec-to-implementation traceability check settings */
|
|
759
|
+
traceability: z.ZodOptional<z.ZodObject<{
|
|
760
|
+
/** Whether traceability checks are enabled */
|
|
761
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
762
|
+
/** Severity level when traceability coverage is below threshold */
|
|
763
|
+
severity: z.ZodDefault<z.ZodEnum<["error", "warning"]>>;
|
|
764
|
+
/** Minimum required coverage percentage (0-100) */
|
|
765
|
+
minCoverage: z.ZodDefault<z.ZodNumber>;
|
|
766
|
+
/** Glob patterns for specs to include in traceability checks */
|
|
767
|
+
includeSpecs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
768
|
+
/** Glob patterns for specs to exclude from traceability checks */
|
|
769
|
+
excludeSpecs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
771
|
+
enabled: boolean;
|
|
772
|
+
severity: "error" | "warning";
|
|
773
|
+
minCoverage: number;
|
|
774
|
+
includeSpecs: string[];
|
|
775
|
+
excludeSpecs: string[];
|
|
776
|
+
}, {
|
|
777
|
+
enabled?: boolean | undefined;
|
|
778
|
+
severity?: "error" | "warning" | undefined;
|
|
779
|
+
minCoverage?: number | undefined;
|
|
780
|
+
includeSpecs?: string[] | undefined;
|
|
781
|
+
excludeSpecs?: string[] | undefined;
|
|
782
|
+
}>>;
|
|
743
783
|
/** Roadmap sync and tracker integration settings */
|
|
744
784
|
roadmap: z.ZodOptional<z.ZodObject<{
|
|
745
785
|
/** External tracker sync settings */
|
|
@@ -857,6 +897,7 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
857
897
|
mappings: {
|
|
858
898
|
implPattern: string;
|
|
859
899
|
specPattern: string;
|
|
900
|
+
contentValidation: boolean;
|
|
860
901
|
}[];
|
|
861
902
|
} | undefined;
|
|
862
903
|
design?: {
|
|
@@ -900,10 +941,17 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
900
941
|
dismissed: string[];
|
|
901
942
|
} | undefined;
|
|
902
943
|
architecture?: {
|
|
903
|
-
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
904
|
-
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
905
944
|
enabled: boolean;
|
|
906
945
|
baselinePath: string;
|
|
946
|
+
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
947
|
+
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
948
|
+
} | undefined;
|
|
949
|
+
traceability?: {
|
|
950
|
+
enabled: boolean;
|
|
951
|
+
severity: "error" | "warning";
|
|
952
|
+
minCoverage: number;
|
|
953
|
+
includeSpecs: string[];
|
|
954
|
+
excludeSpecs: string[];
|
|
907
955
|
} | undefined;
|
|
908
956
|
roadmap?: {
|
|
909
957
|
tracker?: {
|
|
@@ -986,6 +1034,7 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
986
1034
|
mappings?: {
|
|
987
1035
|
implPattern: string;
|
|
988
1036
|
specPattern: string;
|
|
1037
|
+
contentValidation?: boolean | undefined;
|
|
989
1038
|
}[] | undefined;
|
|
990
1039
|
} | undefined;
|
|
991
1040
|
design?: {
|
|
@@ -1029,10 +1078,17 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1029
1078
|
dismissed?: string[] | undefined;
|
|
1030
1079
|
} | undefined;
|
|
1031
1080
|
architecture?: {
|
|
1032
|
-
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1033
|
-
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1034
1081
|
enabled?: boolean | undefined;
|
|
1035
1082
|
baselinePath?: string | undefined;
|
|
1083
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1084
|
+
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1085
|
+
} | undefined;
|
|
1086
|
+
traceability?: {
|
|
1087
|
+
enabled?: boolean | undefined;
|
|
1088
|
+
severity?: "error" | "warning" | undefined;
|
|
1089
|
+
minCoverage?: number | undefined;
|
|
1090
|
+
includeSpecs?: string[] | undefined;
|
|
1091
|
+
excludeSpecs?: string[] | undefined;
|
|
1036
1092
|
} | undefined;
|
|
1037
1093
|
roadmap?: {
|
|
1038
1094
|
tracker?: {
|
|
@@ -1590,4 +1646,4 @@ declare function runUninstall(skillName: string, options: UninstallOptions): Pro
|
|
|
1590
1646
|
*/
|
|
1591
1647
|
declare function createProgram(): Command;
|
|
1592
1648
|
|
|
1593
|
-
export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CheckArchResult, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, type InstallConstraintsOptions, type InstallConstraintsSuccess, type InstallResult, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, type UninstallConstraintsOptions, type UninstallConstraintsSuccess, type UninstallResult, buildPreamble, createHarnessServer, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, getToolDefinitions, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckArch, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runImpactPreview, runIngest, runInstall, runInstallConstraints, runPersona, runQuery, runScan, runUninstall, runUninstallConstraints, startServer };
|
|
1649
|
+
export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CheckArchResult, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, type InstallConstraintsOptions, type InstallConstraintsSuccess, type InstallResult, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type SnapshotCaptureResult, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, type UninstallConstraintsOptions, type UninstallConstraintsSuccess, type UninstallResult, buildPreamble, createHarnessServer, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, getToolDefinitions, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckArch, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runImpactPreview, runIngest, runInstall, runInstallConstraints, runPersona, runQuery, runScan, runSnapshotCapture, runUninstall, runUninstallConstraints, startServer };
|