@harness-engineering/cli 6.0.1 → 7.0.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-md-OTKZE5HH.js → agents-md-XBJ6YOSW.js} +2 -2
- package/dist/{architecture-3VYDN7MQ.js → architecture-D7PWJDXA.js} +3 -3
- package/dist/{assess-project-27X2FSZZ.js → assess-project-ENSWO4AX.js} +1 -1
- package/dist/bin/harness-mcp.js +13 -13
- package/dist/bin/harness.js +23 -23
- package/dist/{check-phase-gate-IXLFZ6YH.js → check-phase-gate-GTYAJ2YL.js} +3 -3
- package/dist/{chunk-QHFXVVUY.js → chunk-54RE35Q7.js} +2 -2
- package/dist/{chunk-XNHKXELN.js → chunk-5VP4ZQ3F.js} +1 -1
- package/dist/{chunk-CTMHHMHQ.js → chunk-6SP665CR.js} +89 -2
- package/dist/{chunk-VRA64HYI.js → chunk-7IVIRKHD.js} +1 -1
- package/dist/{chunk-3H7JA24B.js → chunk-CAGNARCD.js} +6 -6
- package/dist/{chunk-BMNHLKBA.js → chunk-GUL75WAM.js} +2 -2
- package/dist/{chunk-IXGYIQSR.js → chunk-HQUQA5D7.js} +1 -1
- package/dist/{chunk-354MCPT3.js → chunk-I6YMJ7ZD.js} +3 -3
- package/dist/{chunk-IOJGLIEQ.js → chunk-ILKL5I4J.js} +17 -2
- package/dist/{chunk-D7QXGI6E.js → chunk-INT5MUQX.js} +1 -1
- package/dist/{chunk-6Y6M3AZA.js → chunk-N3S6JTRS.js} +2 -2
- package/dist/{chunk-VGDZAWCJ.js → chunk-N4VEUBJ5.js} +934 -377
- package/dist/{chunk-L5UKNGC5.js → chunk-NXTNLNIP.js} +2 -2
- package/dist/{chunk-EFWRZHZ7.js → chunk-P7DXQAKU.js} +82 -82
- package/dist/{chunk-MEIUXTFY.js → chunk-PQBSP5AO.js} +1 -1
- package/dist/{chunk-TM4KFUWP.js → chunk-PYDUECJ3.js} +1 -1
- package/dist/{chunk-LISEPDVT.js → chunk-QB67FMZZ.js} +4 -4
- package/dist/{chunk-WAFTJFT3.js → chunk-TNR4BUWB.js} +3 -3
- package/dist/{chunk-KPBGAB35.js → chunk-UFZ6FMFC.js} +1 -1
- package/dist/{chunk-S2ETJDQJ.js → chunk-XRPHOCKU.js} +6 -6
- package/dist/{chunk-XF6RE3JQ.js → chunk-XYP5CIEN.js} +1 -1
- package/dist/{chunk-JJLOWMGC.js → chunk-YQK3GRW7.js} +1 -1
- package/dist/{chunk-3MKQKNY3.js → chunk-ZGK3JT4S.js} +5 -5
- package/dist/{ci-workflow-Y5GBKNZP.js → ci-workflow-ZODLVH62.js} +2 -2
- package/dist/{dist-4CZLCE33.js → dist-DTXVNQAY.js} +1 -1
- package/dist/{docs-3MWDPK4S.js → docs-ZU2HJCKW.js} +3 -3
- package/dist/{engine-RJXQ5DHK.js → engine-2DAJGPFZ.js} +2 -2
- package/dist/{entropy-OX5LSM4S.js → entropy-6JK3TCWY.js} +3 -3
- package/dist/{feedback-OODAP2G2.js → feedback-GEVH6CY3.js} +1 -1
- package/dist/{generate-agent-definitions-CCREQZEA.js → generate-agent-definitions-4DULEX3H.js} +3 -3
- package/dist/index.d.ts +90 -0
- package/dist/index.js +23 -23
- package/dist/{loader-ZICOJBVX.js → loader-K3A4YKWA.js} +2 -2
- package/dist/{mcp-XX6EIBLL.js → mcp-5MEIUQLV.js} +13 -13
- package/dist/{performance-OLZVGMAY.js → performance-HUXOQW7Q.js} +3 -3
- package/dist/{review-pipeline-3QPHMWPC.js → review-pipeline-QEYZXEMW.js} +2 -2
- package/dist/{runtime-ZFFIH76Z.js → runtime-45A4EGZD.js} +2 -2
- package/dist/{security-7YW3UK2C.js → security-CLZZRKND.js} +1 -1
- package/dist/{state-events-PTWAEGJ2.js → state-events-YLQEYOLI.js} +2 -2
- package/dist/{validate-H5SB7X3Z.js → validate-35GZKAOF.js} +3 -3
- package/dist/{validate-cross-check-YYVYMSPA.js → validate-cross-check-QJGCDWRO.js} +2 -2
- package/package.json +8 -8
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ILKL5I4J.js";
|
|
11
11
|
import {
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6SP665CR.js";
|
|
14
14
|
import {
|
|
15
15
|
Ok
|
|
16
16
|
} from "./chunk-LHWBQD7F.js";
|
|
@@ -138,7 +138,7 @@ function buildSummaryResponse(report) {
|
|
|
138
138
|
}
|
|
139
139
|
async function handleDetectEntropy(input) {
|
|
140
140
|
try {
|
|
141
|
-
const { EntropyAnalyzer } = await import("./dist-
|
|
141
|
+
const { EntropyAnalyzer } = await import("./dist-DTXVNQAY.js");
|
|
142
142
|
const typeFilter = input.type ?? "all";
|
|
143
143
|
const projectPath = sanitizePath(input.path);
|
|
144
144
|
const entropy = loadEntropyConfig(projectPath);
|
|
@@ -164,7 +164,7 @@ async function handleDetectEntropy(input) {
|
|
|
164
164
|
return resultToMcpResponse(result);
|
|
165
165
|
}
|
|
166
166
|
if (!result.ok) return resultToMcpResponse(result);
|
|
167
|
-
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-
|
|
167
|
+
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-DTXVNQAY.js");
|
|
168
168
|
const report = result.value;
|
|
169
169
|
const deadCode = report.deadCode;
|
|
170
170
|
const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5VP4ZQ3F.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizePath
|
|
6
6
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
@@ -49,7 +49,7 @@ async function handleValidateProject(input) {
|
|
|
49
49
|
checks.config = "pass";
|
|
50
50
|
const config = configResult.value;
|
|
51
51
|
try {
|
|
52
|
-
const core = await import("./dist-
|
|
52
|
+
const core = await import("./dist-DTXVNQAY.js");
|
|
53
53
|
if (typeof core.validateFileStructure === "function" && Array.isArray(config.conventions)) {
|
|
54
54
|
const conventions = config.conventions;
|
|
55
55
|
const structureResult = await core.validateFileStructure(projectPath, conventions);
|
|
@@ -68,7 +68,7 @@ async function handleValidateProject(input) {
|
|
|
68
68
|
} catch {
|
|
69
69
|
}
|
|
70
70
|
try {
|
|
71
|
-
const core = await import("./dist-
|
|
71
|
+
const core = await import("./dist-DTXVNQAY.js");
|
|
72
72
|
if (typeof core.validateAgentsMap === "function") {
|
|
73
73
|
const agentsMapPath = path.join(projectPath, "AGENTS.md");
|
|
74
74
|
const agentsResult = await core.validateAgentsMap(agentsMapPath);
|
|
@@ -98,7 +98,7 @@ async function handleAssessProject(input) {
|
|
|
98
98
|
let validateResult = null;
|
|
99
99
|
if (checksToRun.has("validate")) {
|
|
100
100
|
try {
|
|
101
|
-
const { handleValidateProject } = await import("./validate-
|
|
101
|
+
const { handleValidateProject } = await import("./validate-35GZKAOF.js");
|
|
102
102
|
const result = await handleValidateProject({ path: projectPath });
|
|
103
103
|
const out = parseToolResponse(result, "validate");
|
|
104
104
|
if ("error" in out) {
|
|
@@ -127,7 +127,7 @@ async function handleAssessProject(input) {
|
|
|
127
127
|
parallelChecks.push(
|
|
128
128
|
(async () => {
|
|
129
129
|
try {
|
|
130
|
-
const { handleCheckDependencies } = await import("./architecture-
|
|
130
|
+
const { handleCheckDependencies } = await import("./architecture-D7PWJDXA.js");
|
|
131
131
|
const result = await handleCheckDependencies({ path: projectPath });
|
|
132
132
|
const out = parseToolResponse(result, "deps");
|
|
133
133
|
if ("error" in out) return out.error;
|
|
@@ -155,7 +155,7 @@ async function handleAssessProject(input) {
|
|
|
155
155
|
parallelChecks.push(
|
|
156
156
|
(async () => {
|
|
157
157
|
try {
|
|
158
|
-
const { handleCheckDocs } = await import("./docs-
|
|
158
|
+
const { handleCheckDocs } = await import("./docs-ZU2HJCKW.js");
|
|
159
159
|
const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
|
|
160
160
|
const out = parseToolResponse(result, "docs");
|
|
161
161
|
if ("error" in out) return out.error;
|
|
@@ -183,7 +183,7 @@ async function handleAssessProject(input) {
|
|
|
183
183
|
parallelChecks.push(
|
|
184
184
|
(async () => {
|
|
185
185
|
try {
|
|
186
|
-
const { handleDetectEntropy } = await import("./entropy-
|
|
186
|
+
const { handleDetectEntropy } = await import("./entropy-6JK3TCWY.js");
|
|
187
187
|
const result = await handleDetectEntropy({ path: projectPath, type: "all" });
|
|
188
188
|
const out = parseToolResponse(result, "entropy");
|
|
189
189
|
if ("error" in out) return out.error;
|
|
@@ -214,7 +214,7 @@ async function handleAssessProject(input) {
|
|
|
214
214
|
parallelChecks.push(
|
|
215
215
|
(async () => {
|
|
216
216
|
try {
|
|
217
|
-
const { handleRunSecurityScan } = await import("./security-
|
|
217
|
+
const { handleRunSecurityScan } = await import("./security-CLZZRKND.js");
|
|
218
218
|
const result = await handleRunSecurityScan({ path: projectPath });
|
|
219
219
|
const out = parseToolResponse(result, "security");
|
|
220
220
|
if ("error" in out) return out.error;
|
|
@@ -247,7 +247,7 @@ async function handleAssessProject(input) {
|
|
|
247
247
|
parallelChecks.push(
|
|
248
248
|
(async () => {
|
|
249
249
|
try {
|
|
250
|
-
const { handleCheckPerformance } = await import("./performance-
|
|
250
|
+
const { handleCheckPerformance } = await import("./performance-HUXOQW7Q.js");
|
|
251
251
|
const result = await handleCheckPerformance({ path: projectPath });
|
|
252
252
|
if ("isError" in result && result.isError) {
|
|
253
253
|
const msg = result.content[0]?.text ?? "Performance check failed";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ILKL5I4J.js";
|
|
11
11
|
import {
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6SP665CR.js";
|
|
14
14
|
import {
|
|
15
15
|
Ok
|
|
16
16
|
} from "./chunk-LHWBQD7F.js";
|
|
@@ -50,12 +50,12 @@ async function handleCheckDocs(input) {
|
|
|
50
50
|
const projectPath = sanitizePath(input.path);
|
|
51
51
|
const scope = input.scope ?? "coverage";
|
|
52
52
|
if (scope === "integrity") {
|
|
53
|
-
const { validateKnowledgeMap } = await import("./dist-
|
|
53
|
+
const { validateKnowledgeMap } = await import("./dist-DTXVNQAY.js");
|
|
54
54
|
const result2 = await validateKnowledgeMap(projectPath);
|
|
55
55
|
return resultToMcpResponse(result2);
|
|
56
56
|
}
|
|
57
57
|
if (scope === "all") {
|
|
58
|
-
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-
|
|
58
|
+
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-DTXVNQAY.js");
|
|
59
59
|
const domain2 = input.domain ?? "src";
|
|
60
60
|
const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-STFGYKZH.js");
|
|
61
61
|
const store2 = await loadGraphStore2(projectPath);
|
|
@@ -94,7 +94,7 @@ async function handleCheckDocs(input) {
|
|
|
94
94
|
}
|
|
95
95
|
return resultToMcpResponse(Ok({ coverage, integrity }));
|
|
96
96
|
}
|
|
97
|
-
const { checkDocCoverage } = await import("./dist-
|
|
97
|
+
const { checkDocCoverage } = await import("./dist-DTXVNQAY.js");
|
|
98
98
|
const domain = input.domain ?? "src";
|
|
99
99
|
const { loadGraphStore } = await import("./graph-loader-STFGYKZH.js");
|
|
100
100
|
const store = await loadGraphStore(projectPath);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkDocsDefinition,
|
|
3
3
|
handleCheckDocs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZGK3JT4S.js";
|
|
5
5
|
import "./chunk-RC3OI5NK.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ILKL5I4J.js";
|
|
8
8
|
import "./chunk-ZCZD7FHU.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectEntropyDefinition,
|
|
3
3
|
handleDetectEntropy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QB67FMZZ.js";
|
|
5
5
|
import "./chunk-RC3OI5NK.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ILKL5I4J.js";
|
|
8
8
|
import "./chunk-ZCZD7FHU.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
package/dist/{generate-agent-definitions-CCREQZEA.js → generate-agent-definitions-4DULEX3H.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGenerateAgentDefinitionsCommand,
|
|
3
3
|
generateAgentDefinitions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HQUQA5D7.js";
|
|
5
5
|
import "./chunk-KET4QQZB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-UFZ6FMFC.js";
|
|
7
7
|
import "./chunk-3ISINLYT.js";
|
|
8
8
|
import "./chunk-UTJJJDNN.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -2210,6 +2210,44 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2210
2210
|
labels?: string[] | undefined;
|
|
2211
2211
|
reverseStatusMap?: Record<string, string> | undefined;
|
|
2212
2212
|
}>>;
|
|
2213
|
+
/** Roadmap Auto-Triage gate (default-off). The read-only report consumes only `enabled`. */
|
|
2214
|
+
autoTriage: z.ZodOptional<z.ZodObject<{
|
|
2215
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
2216
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2217
|
+
/**
|
|
2218
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
2219
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
2220
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
2221
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
2222
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
2223
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
2224
|
+
*/
|
|
2225
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2226
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2227
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
2228
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2229
|
+
/**
|
|
2230
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
2231
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
2232
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
2233
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
2234
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
2235
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
2236
|
+
*/
|
|
2237
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2238
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2239
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
2240
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2241
|
+
/**
|
|
2242
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
2243
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
2244
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
2245
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
2246
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
2247
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
2248
|
+
*/
|
|
2249
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2250
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
2213
2251
|
}, "strip", z.ZodTypeAny, {
|
|
2214
2252
|
mode: "file-backed" | "file-less";
|
|
2215
2253
|
tracker?: {
|
|
@@ -2219,6 +2257,19 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2219
2257
|
labels?: string[] | undefined;
|
|
2220
2258
|
reverseStatusMap?: Record<string, string> | undefined;
|
|
2221
2259
|
} | undefined;
|
|
2260
|
+
autoTriage?: z.objectOutputType<{
|
|
2261
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
2262
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2263
|
+
/**
|
|
2264
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
2265
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
2266
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
2267
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
2268
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
2269
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
2270
|
+
*/
|
|
2271
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2272
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2222
2273
|
}, {
|
|
2223
2274
|
mode?: "file-backed" | "file-less" | undefined;
|
|
2224
2275
|
tracker?: {
|
|
@@ -2228,6 +2279,19 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2228
2279
|
labels?: string[] | undefined;
|
|
2229
2280
|
reverseStatusMap?: Record<string, string> | undefined;
|
|
2230
2281
|
} | undefined;
|
|
2282
|
+
autoTriage?: z.objectInputType<{
|
|
2283
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
2284
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2285
|
+
/**
|
|
2286
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
2287
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
2288
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
2289
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
2290
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
2291
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
2292
|
+
*/
|
|
2293
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2294
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2231
2295
|
}>>;
|
|
2232
2296
|
/** Post-ship rollback circuit-breaker settings (signal arm live, eval arm dark). */
|
|
2233
2297
|
rollback: z.ZodOptional<z.ZodObject<{
|
|
@@ -2936,6 +3000,19 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2936
3000
|
labels?: string[] | undefined;
|
|
2937
3001
|
reverseStatusMap?: Record<string, string> | undefined;
|
|
2938
3002
|
} | undefined;
|
|
3003
|
+
autoTriage?: z.objectOutputType<{
|
|
3004
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
3005
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3006
|
+
/**
|
|
3007
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
3008
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
3009
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
3010
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
3011
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
3012
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
3013
|
+
*/
|
|
3014
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3015
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2939
3016
|
} | undefined;
|
|
2940
3017
|
rollback?: {
|
|
2941
3018
|
signals: Record<string, {
|
|
@@ -3345,6 +3422,19 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
3345
3422
|
labels?: string[] | undefined;
|
|
3346
3423
|
reverseStatusMap?: Record<string, string> | undefined;
|
|
3347
3424
|
} | undefined;
|
|
3425
|
+
autoTriage?: z.objectInputType<{
|
|
3426
|
+
/** Master switch. Default false — the read-only triage report is gated off (D5/SC8). */
|
|
3427
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3428
|
+
/**
|
|
3429
|
+
* Autonomy-ratchet stage in effect (D14). v1 caps at stage 2 (auto-execute + human
|
|
3430
|
+
* verifies every PR); stages 3/4 (sampled-verify, fully-autonomous merge) are deferred
|
|
3431
|
+
* post-v1 and REJECTED here — matching the orchestrator's canonical RATCHET_STAGE schema
|
|
3432
|
+
* (packages/orchestrator/src/workflow/schema.ts, the source of truth). Default 1 (most
|
|
3433
|
+
* conservative). FOLLOW-UP 3: the two schemas must agree so a config can't validate under
|
|
3434
|
+
* the CLI yet fail the orchestrator (or vice-versa).
|
|
3435
|
+
*/
|
|
3436
|
+
ratchetStage: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3437
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3348
3438
|
} | undefined;
|
|
3349
3439
|
rollback?: {
|
|
3350
3440
|
signals?: Record<string, {
|
package/dist/index.js
CHANGED
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
runSnapshotCapture,
|
|
13
13
|
runUninstall,
|
|
14
14
|
runUninstallConstraints
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N4VEUBJ5.js";
|
|
16
16
|
import {
|
|
17
17
|
generateRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PYDUECJ3.js";
|
|
19
19
|
import {
|
|
20
20
|
generateAgentsMd
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7IVIRKHD.js";
|
|
22
22
|
import {
|
|
23
23
|
generateCIWorkflow
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-XYP5CIEN.js";
|
|
25
|
+
import "./chunk-PQBSP5AO.js";
|
|
26
26
|
import {
|
|
27
27
|
runCrossCheck
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-INT5MUQX.js";
|
|
29
29
|
import {
|
|
30
30
|
AGENT_DESCRIPTIONS,
|
|
31
31
|
DEFAULT_TOOLS,
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
generateAgentDefinitions,
|
|
35
35
|
renderClaudeCodeAgent,
|
|
36
36
|
renderGeminiAgent
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HQUQA5D7.js";
|
|
38
38
|
import "./chunk-KET4QQZB.js";
|
|
39
39
|
import {
|
|
40
40
|
runScan
|
|
41
41
|
} from "./chunk-YYFSFSB3.js";
|
|
42
42
|
import {
|
|
43
43
|
TemplateEngine
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YQK3GRW7.js";
|
|
45
45
|
import "./chunk-CQ553GZO.js";
|
|
46
46
|
import {
|
|
47
47
|
generateSkillFiles
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
listPersonas,
|
|
51
51
|
loadPersona
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-UFZ6FMFC.js";
|
|
53
53
|
import {
|
|
54
54
|
detectTrigger,
|
|
55
55
|
runPersona
|
|
@@ -64,27 +64,27 @@ import {
|
|
|
64
64
|
OutputFormatter,
|
|
65
65
|
OutputMode,
|
|
66
66
|
runCheckPhaseGate
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-N3S6JTRS.js";
|
|
68
68
|
import {
|
|
69
69
|
createHarnessServer,
|
|
70
70
|
generateSlashCommands,
|
|
71
71
|
getToolDefinitions,
|
|
72
72
|
startServer
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-P7DXQAKU.js";
|
|
74
|
+
import "./chunk-I6YMJ7ZD.js";
|
|
75
|
+
import "./chunk-NXTNLNIP.js";
|
|
76
|
+
import "./chunk-54RE35Q7.js";
|
|
77
|
+
import "./chunk-XRPHOCKU.js";
|
|
78
|
+
import "./chunk-ZGK3JT4S.js";
|
|
79
|
+
import "./chunk-QB67FMZZ.js";
|
|
80
|
+
import "./chunk-CAGNARCD.js";
|
|
81
81
|
import "./chunk-IOW3MW2K.js";
|
|
82
82
|
import "./chunk-3ISINLYT.js";
|
|
83
83
|
import "./chunk-4U5LDFCY.js";
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-TNR4BUWB.js";
|
|
85
|
+
import "./chunk-GUL75WAM.js";
|
|
86
86
|
import "./chunk-RC3OI5NK.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-5VP4ZQ3F.js";
|
|
88
88
|
import "./chunk-W6Y7ZW3Y.js";
|
|
89
89
|
import "./chunk-WBVCN35T.js";
|
|
90
90
|
import "./chunk-UTJJJDNN.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
findConfigFile,
|
|
95
95
|
loadConfig,
|
|
96
96
|
resolveConfig
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-ILKL5I4J.js";
|
|
98
98
|
import "./chunk-ZCZD7FHU.js";
|
|
99
99
|
import {
|
|
100
100
|
logger
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
ExitCode,
|
|
105
105
|
handleError
|
|
106
106
|
} from "./chunk-3WGJMBKH.js";
|
|
107
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-6SP665CR.js";
|
|
108
108
|
import "./chunk-BM3PWGXQ.js";
|
|
109
109
|
import "./chunk-NZ5AXKRA.js";
|
|
110
110
|
import "./chunk-LHWBQD7F.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listPersonas,
|
|
3
3
|
loadPersona
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UFZ6FMFC.js";
|
|
5
|
+
import "./chunk-6SP665CR.js";
|
|
6
6
|
import "./chunk-NZ5AXKRA.js";
|
|
7
7
|
import "./chunk-LHWBQD7F.js";
|
|
8
8
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
createHarnessServer,
|
|
3
3
|
getToolDefinitions,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-P7DXQAKU.js";
|
|
6
|
+
import "./chunk-I6YMJ7ZD.js";
|
|
7
|
+
import "./chunk-NXTNLNIP.js";
|
|
8
|
+
import "./chunk-54RE35Q7.js";
|
|
9
|
+
import "./chunk-XRPHOCKU.js";
|
|
10
|
+
import "./chunk-ZGK3JT4S.js";
|
|
11
|
+
import "./chunk-QB67FMZZ.js";
|
|
12
|
+
import "./chunk-CAGNARCD.js";
|
|
13
13
|
import "./chunk-IOW3MW2K.js";
|
|
14
14
|
import "./chunk-3ISINLYT.js";
|
|
15
15
|
import "./chunk-4U5LDFCY.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TNR4BUWB.js";
|
|
17
|
+
import "./chunk-GUL75WAM.js";
|
|
18
18
|
import {
|
|
19
19
|
resultToMcpResponse
|
|
20
20
|
} from "./chunk-RC3OI5NK.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveProjectConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5VP4ZQ3F.js";
|
|
24
24
|
import "./chunk-W6Y7ZW3Y.js";
|
|
25
25
|
import "./chunk-WBVCN35T.js";
|
|
26
26
|
import "./chunk-UTJJJDNN.js";
|
|
27
27
|
import "./chunk-HIK6OEUF.js";
|
|
28
28
|
import "./chunk-Y6SUQC32.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-ILKL5I4J.js";
|
|
30
30
|
import "./chunk-ZCZD7FHU.js";
|
|
31
31
|
import "./chunk-EBJQ6N4M.js";
|
|
32
32
|
import "./chunk-3WGJMBKH.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-6SP665CR.js";
|
|
34
34
|
import "./chunk-NZ5AXKRA.js";
|
|
35
35
|
import "./chunk-LHWBQD7F.js";
|
|
36
36
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
handleGetPerfBaselines,
|
|
8
8
|
handleUpdatePerfBaselines,
|
|
9
9
|
updatePerfBaselinesDefinition
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CAGNARCD.js";
|
|
11
11
|
import "./chunk-RC3OI5NK.js";
|
|
12
12
|
import "./chunk-W6Y7ZW3Y.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ILKL5I4J.js";
|
|
14
14
|
import "./chunk-ZCZD7FHU.js";
|
|
15
15
|
import "./chunk-3WGJMBKH.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6SP665CR.js";
|
|
17
17
|
import "./chunk-NZ5AXKRA.js";
|
|
18
18
|
import "./chunk-LHWBQD7F.js";
|
|
19
19
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRunCodeReview,
|
|
3
3
|
runCodeReviewDefinition
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-54RE35Q7.js";
|
|
5
5
|
import "./chunk-W6Y7ZW3Y.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-6SP665CR.js";
|
|
7
7
|
import "./chunk-NZ5AXKRA.js";
|
|
8
8
|
import "./chunk-LHWBQD7F.js";
|
|
9
9
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateRuntime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PYDUECJ3.js";
|
|
4
4
|
import "./chunk-KET4QQZB.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-6SP665CR.js";
|
|
6
6
|
import "./chunk-NZ5AXKRA.js";
|
|
7
7
|
import "./chunk-LHWBQD7F.js";
|
|
8
8
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
isEmptyHarnessState,
|
|
7
7
|
readAuditTimeline,
|
|
8
8
|
readHarnessState
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-PQBSP5AO.js";
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleValidateProject,
|
|
3
3
|
validateToolDefinition
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TNR4BUWB.js";
|
|
5
|
+
import "./chunk-5VP4ZQ3F.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-6SP665CR.js";
|
|
8
8
|
import "./chunk-NZ5AXKRA.js";
|
|
9
9
|
import "./chunk-LHWBQD7F.js";
|
|
10
10
|
import "./chunk-WZJR6SOI.js";
|