@harness-engineering/cli 1.25.4 → 1.25.6

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 (123) hide show
  1. package/dist/agents/skills/claude-code/enforce-architecture/SKILL.md +12 -0
  2. package/dist/agents/skills/claude-code/harness-api-design/SKILL.md +12 -0
  3. package/dist/agents/skills/claude-code/harness-architecture-advisor/SKILL.md +12 -0
  4. package/dist/agents/skills/claude-code/harness-auth/SKILL.md +12 -0
  5. package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +30 -6
  6. package/dist/agents/skills/claude-code/harness-database/SKILL.md +12 -0
  7. package/dist/agents/skills/claude-code/harness-debugging/SKILL.md +38 -6
  8. package/dist/agents/skills/claude-code/harness-deployment/SKILL.md +12 -0
  9. package/dist/agents/skills/claude-code/harness-execution/SKILL.md +30 -6
  10. package/dist/agents/skills/claude-code/harness-planning/SKILL.md +20 -9
  11. package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +59 -6
  12. package/dist/agents/skills/claude-code/harness-refactoring/SKILL.md +28 -7
  13. package/dist/agents/skills/claude-code/harness-security-scan/SKILL.md +12 -0
  14. package/dist/agents/skills/claude-code/harness-skill-authoring/SKILL.md +43 -8
  15. package/dist/agents/skills/claude-code/harness-soundness-review/SKILL.md +59 -7
  16. package/dist/agents/skills/claude-code/harness-tdd/SKILL.md +21 -0
  17. package/dist/agents/skills/claude-code/harness-verification/SKILL.md +31 -6
  18. package/dist/agents/skills/codex/enforce-architecture/SKILL.md +12 -0
  19. package/dist/agents/skills/codex/harness-api-design/SKILL.md +12 -0
  20. package/dist/agents/skills/codex/harness-architecture-advisor/SKILL.md +12 -0
  21. package/dist/agents/skills/codex/harness-auth/SKILL.md +12 -0
  22. package/dist/agents/skills/codex/harness-code-review/SKILL.md +30 -6
  23. package/dist/agents/skills/codex/harness-database/SKILL.md +12 -0
  24. package/dist/agents/skills/codex/harness-debugging/SKILL.md +38 -6
  25. package/dist/agents/skills/codex/harness-deployment/SKILL.md +12 -0
  26. package/dist/agents/skills/codex/harness-execution/SKILL.md +30 -6
  27. package/dist/agents/skills/codex/harness-planning/SKILL.md +20 -9
  28. package/dist/agents/skills/codex/harness-pre-commit-review/SKILL.md +59 -6
  29. package/dist/agents/skills/codex/harness-refactoring/SKILL.md +28 -7
  30. package/dist/agents/skills/codex/harness-security-scan/SKILL.md +12 -0
  31. package/dist/agents/skills/codex/harness-skill-authoring/SKILL.md +43 -8
  32. package/dist/agents/skills/codex/harness-soundness-review/SKILL.md +59 -7
  33. package/dist/agents/skills/codex/harness-tdd/SKILL.md +21 -0
  34. package/dist/agents/skills/codex/harness-verification/SKILL.md +31 -6
  35. package/dist/agents/skills/cursor/enforce-architecture/SKILL.md +12 -0
  36. package/dist/agents/skills/cursor/harness-api-design/SKILL.md +12 -0
  37. package/dist/agents/skills/cursor/harness-architecture-advisor/SKILL.md +12 -0
  38. package/dist/agents/skills/cursor/harness-auth/SKILL.md +12 -0
  39. package/dist/agents/skills/cursor/harness-code-review/SKILL.md +30 -6
  40. package/dist/agents/skills/cursor/harness-database/SKILL.md +12 -0
  41. package/dist/agents/skills/cursor/harness-debugging/SKILL.md +38 -6
  42. package/dist/agents/skills/cursor/harness-deployment/SKILL.md +12 -0
  43. package/dist/agents/skills/cursor/harness-execution/SKILL.md +30 -6
  44. package/dist/agents/skills/cursor/harness-planning/SKILL.md +20 -9
  45. package/dist/agents/skills/cursor/harness-pre-commit-review/SKILL.md +59 -6
  46. package/dist/agents/skills/cursor/harness-refactoring/SKILL.md +28 -7
  47. package/dist/agents/skills/cursor/harness-security-scan/SKILL.md +12 -0
  48. package/dist/agents/skills/cursor/harness-skill-authoring/SKILL.md +43 -8
  49. package/dist/agents/skills/cursor/harness-soundness-review/SKILL.md +59 -7
  50. package/dist/agents/skills/cursor/harness-tdd/SKILL.md +21 -0
  51. package/dist/agents/skills/cursor/harness-verification/SKILL.md +31 -6
  52. package/dist/agents/skills/gemini-cli/enforce-architecture/SKILL.md +12 -0
  53. package/dist/agents/skills/gemini-cli/harness-api-design/SKILL.md +12 -0
  54. package/dist/agents/skills/gemini-cli/harness-architecture-advisor/SKILL.md +12 -0
  55. package/dist/agents/skills/gemini-cli/harness-auth/SKILL.md +12 -0
  56. package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +30 -6
  57. package/dist/agents/skills/gemini-cli/harness-database/SKILL.md +12 -0
  58. package/dist/agents/skills/gemini-cli/harness-debugging/SKILL.md +38 -6
  59. package/dist/agents/skills/gemini-cli/harness-deployment/SKILL.md +12 -0
  60. package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +30 -6
  61. package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +20 -9
  62. package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +59 -6
  63. package/dist/agents/skills/gemini-cli/harness-refactoring/SKILL.md +28 -7
  64. package/dist/agents/skills/gemini-cli/harness-security-scan/SKILL.md +12 -0
  65. package/dist/agents/skills/gemini-cli/harness-skill-authoring/SKILL.md +43 -8
  66. package/dist/agents/skills/gemini-cli/harness-soundness-review/SKILL.md +59 -7
  67. package/dist/agents/skills/gemini-cli/harness-tdd/SKILL.md +21 -0
  68. package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +31 -6
  69. package/dist/{agents-md-MCUM4SIZ.js → agents-md-2PYJM2MK.js} +3 -3
  70. package/dist/{architecture-HNIO6AUX.js → architecture-VCLB7A23.js} +4 -4
  71. package/dist/{assess-project-6MV5TNY3.js → assess-project-64C6LIKN.js} +1 -1
  72. package/dist/bin/harness-mcp.js +16 -15
  73. package/dist/bin/harness.js +27 -115
  74. package/dist/business-knowledge-6RHYJOB3.js +7 -0
  75. package/dist/{check-phase-gate-VCBQHQAC.js → check-phase-gate-RT6PGEHY.js} +4 -4
  76. package/dist/{chunk-MI6MA6OP.js → chunk-42ZZLMYD.js} +169 -118
  77. package/dist/{chunk-BUYW3SA2.js → chunk-43VBX44J.js} +219 -107
  78. package/dist/{chunk-UV3BZMGT.js → chunk-4YEBV2FT.js} +2 -2
  79. package/dist/{chunk-5BQ5BOJL.js → chunk-7BAGSY5Q.js} +1 -1
  80. package/dist/{chunk-FSNPBT74.js → chunk-BUJOMC3O.js} +1 -1
  81. package/dist/{chunk-M55DGGF3.js → chunk-CBZECDCW.js} +5 -5
  82. package/dist/{chunk-XTITAVUR.js → chunk-EY6F2QXW.js} +1 -1
  83. package/dist/{chunk-6VZQJ5CX.js → chunk-FL6A72LV.js} +1 -1
  84. package/dist/{chunk-CXJTVICF.js → chunk-JQCS75DY.js} +4 -4
  85. package/dist/{chunk-WIQA4BSH.js → chunk-JUXFYB2K.js} +1 -1
  86. package/dist/{chunk-FES2YEQU.js → chunk-KJC4SE7C.js} +9 -9
  87. package/dist/{chunk-4NK7Z3BP.js → chunk-R2BI5UPK.js} +1 -1
  88. package/dist/{chunk-2KZAXESR.js → chunk-R7P2FMJT.js} +360 -183
  89. package/dist/chunk-RC5ZY3EV.js +82 -0
  90. package/dist/{chunk-K2SON7TI.js → chunk-RDQGCHKD.js} +252 -57
  91. package/dist/{chunk-EHRZMOQ2.js → chunk-RKZW3FDF.js} +1 -1
  92. package/dist/{chunk-BOQRTARD.js → chunk-SMY35HJM.js} +1 -1
  93. package/dist/{chunk-UQZBZINS.js → chunk-SZZ5UQL7.js} +6 -6
  94. package/dist/{chunk-AT74HEQM.js → chunk-U2OMWI7Z.js} +1 -1
  95. package/dist/{chunk-P7PANON5.js → chunk-VELT5VAG.js} +1 -1
  96. package/dist/{chunk-YTP2UDPV.js → chunk-WEOGCL7B.js} +3 -3
  97. package/dist/{chunk-TYV4EUAD.js → chunk-X2JJ3CPG.js} +8 -8
  98. package/dist/{chunk-GEEYCQDS.js → chunk-XLO4AXXM.js} +9 -9
  99. package/dist/{chunk-47N6R2F4.js → chunk-XMEEYMGE.js} +1 -1
  100. package/dist/{chunk-FIQL2HND.js → chunk-Y5JA4J2M.js} +2 -2
  101. package/dist/{chunk-F23H3U5U.js → chunk-ZAKUCM7O.js} +2 -2
  102. package/dist/{ci-workflow-RTM7VVTD.js → ci-workflow-SZL3KVUK.js} +3 -3
  103. package/dist/{dist-RADHOOXG.js → dist-GRW3X2ZQ.js} +3 -1
  104. package/dist/{dist-WCSJHQPK.js → dist-T3DGV5UN.js} +16 -2
  105. package/dist/{docs-UBOGGHTY.js → docs-WDLJORLK.js} +4 -4
  106. package/dist/{engine-MJJAP5CH.js → engine-2YWYRCKK.js} +3 -3
  107. package/dist/{entropy-EMSXF2PX.js → entropy-PJGTOORX.js} +3 -3
  108. package/dist/{feedback-ZLUX72HD.js → feedback-M5KCJKL2.js} +1 -1
  109. package/dist/{generate-agent-definitions-AWLPJ27C.js → generate-agent-definitions-MFDW6LZT.js} +4 -4
  110. package/dist/{graph-loader-JHQVQRUS.js → graph-loader-QMKXT454.js} +1 -1
  111. package/dist/hooks/telemetry-reporter.js +22 -1
  112. package/dist/index.d.ts +5 -5
  113. package/dist/index.js +26 -25
  114. package/dist/{loader-JVSJZSWZ.js → loader-6O52FYHE.js} +3 -3
  115. package/dist/{mcp-JZ7YB7TD.js → mcp-GGNFWKVC.js} +16 -15
  116. package/dist/{performance-7AGWJUY4.js → performance-337U5URQ.js} +4 -4
  117. package/dist/{review-pipeline-ZWVQJTJX.js → review-pipeline-DB5RD4SN.js} +3 -3
  118. package/dist/{runtime-D6YUQPP2.js → runtime-B74EN2WD.js} +3 -3
  119. package/dist/{scan-MPJ6JHUY.js → scan-DXQUHGTT.js} +1 -1
  120. package/dist/{security-JLZUAQYT.js → security-3AYN6FVU.js} +1 -1
  121. package/dist/{validate-TIIHRPMA.js → validate-35CD7VWN.js} +4 -4
  122. package/dist/{validate-cross-check-ZOWFA3DB.js → validate-cross-check-LJKXBQYH.js} +3 -3
  123. package/package.json +5 -5
@@ -50,7 +50,7 @@ async function handleAssessProject(input) {
50
50
  let validateResult = null;
51
51
  if (checksToRun.has("validate")) {
52
52
  try {
53
- const { handleValidateProject } = await import("./validate-TIIHRPMA.js");
53
+ const { handleValidateProject } = await import("./validate-35CD7VWN.js");
54
54
  const result = await handleValidateProject({ path: projectPath });
55
55
  const first = result.content[0];
56
56
  const parsed = first ? JSON.parse(first.text) : {};
@@ -75,7 +75,7 @@ async function handleAssessProject(input) {
75
75
  parallelChecks.push(
76
76
  (async () => {
77
77
  try {
78
- const { handleCheckDependencies } = await import("./architecture-HNIO6AUX.js");
78
+ const { handleCheckDependencies } = await import("./architecture-VCLB7A23.js");
79
79
  const result = await handleCheckDependencies({ path: projectPath });
80
80
  const first = result.content[0];
81
81
  const parsed = first ? JSON.parse(first.text) : {};
@@ -102,7 +102,7 @@ async function handleAssessProject(input) {
102
102
  parallelChecks.push(
103
103
  (async () => {
104
104
  try {
105
- const { handleCheckDocs } = await import("./docs-UBOGGHTY.js");
105
+ const { handleCheckDocs } = await import("./docs-WDLJORLK.js");
106
106
  const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
107
107
  const first = result.content[0];
108
108
  const parsed = first ? JSON.parse(first.text) : {};
@@ -129,7 +129,7 @@ async function handleAssessProject(input) {
129
129
  parallelChecks.push(
130
130
  (async () => {
131
131
  try {
132
- const { handleDetectEntropy } = await import("./entropy-EMSXF2PX.js");
132
+ const { handleDetectEntropy } = await import("./entropy-PJGTOORX.js");
133
133
  const result = await handleDetectEntropy({ path: projectPath, type: "all" });
134
134
  const first = result.content[0];
135
135
  const parsed = first ? JSON.parse(first.text) : {};
@@ -156,7 +156,7 @@ async function handleAssessProject(input) {
156
156
  parallelChecks.push(
157
157
  (async () => {
158
158
  try {
159
- const { handleRunSecurityScan } = await import("./security-JLZUAQYT.js");
159
+ const { handleRunSecurityScan } = await import("./security-3AYN6FVU.js");
160
160
  const result = await handleRunSecurityScan({ path: projectPath });
161
161
  const first = result.content[0];
162
162
  const parsed = first ? JSON.parse(first.text) : {};
@@ -188,7 +188,7 @@ async function handleAssessProject(input) {
188
188
  parallelChecks.push(
189
189
  (async () => {
190
190
  try {
191
- const { handleCheckPerformance } = await import("./performance-7AGWJUY4.js");
191
+ const { handleCheckPerformance } = await import("./performance-337U5URQ.js");
192
192
  const result = await handleCheckPerformance({ path: projectPath });
193
193
  if ("isError" in result && result.isError) {
194
194
  const msg = result.content[0]?.text ?? "Performance check failed";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  listPersonas,
6
6
  loadPersona
7
- } from "./chunk-P7PANON5.js";
7
+ } from "./chunk-VELT5VAG.js";
8
8
  import {
9
9
  GENERATED_HEADER_AGENT,
10
10
  VALID_PLATFORMS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-42ZZLMYD.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectConfig
3
- } from "./chunk-47N6R2F4.js";
3
+ } from "./chunk-XMEEYMGE.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-WCSJHQPK.js");
52
+ const core = await import("./dist-T3DGV5UN.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-WCSJHQPK.js");
71
+ const core = await import("./dist-T3DGV5UN.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);
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  findConfigFile,
9
9
  loadConfig
10
- } from "./chunk-WIQA4BSH.js";
10
+ } from "./chunk-JUXFYB2K.js";
11
11
  import {
12
12
  init_dist
13
- } from "./chunk-MI6MA6OP.js";
13
+ } from "./chunk-42ZZLMYD.js";
14
14
  import {
15
15
  Ok
16
16
  } from "./chunk-RL4VMEXL.js";
@@ -35,7 +35,7 @@ var checkPerformanceDefinition = {
35
35
  };
36
36
  async function handleCheckPerformance(input) {
37
37
  try {
38
- const { EntropyAnalyzer } = await import("./dist-WCSJHQPK.js");
38
+ const { EntropyAnalyzer } = await import("./dist-T3DGV5UN.js");
39
39
  const typeFilter = input.type ?? "all";
40
40
  const projectPath = sanitizePath(input.path);
41
41
  let entryPoints;
@@ -58,10 +58,10 @@ async function handleCheckPerformance(input) {
58
58
  });
59
59
  let graphOptions;
60
60
  try {
61
- const { loadGraphStore } = await import("./graph-loader-JHQVQRUS.js");
61
+ const { loadGraphStore } = await import("./graph-loader-QMKXT454.js");
62
62
  const store = await loadGraphStore(projectPath);
63
63
  if (store) {
64
- const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-RADHOOXG.js");
64
+ const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-GRW3X2ZQ.js");
65
65
  const complexityAdapter = new GraphComplexityAdapter(store);
66
66
  const couplingAdapter = new GraphCouplingAdapter(store);
67
67
  graphOptions = {
@@ -98,7 +98,7 @@ var getPerfBaselinesDefinition = {
98
98
  };
99
99
  async function handleGetPerfBaselines(input) {
100
100
  try {
101
- const { BaselineManager } = await import("./dist-WCSJHQPK.js");
101
+ const { BaselineManager } = await import("./dist-T3DGV5UN.js");
102
102
  const manager = new BaselineManager(sanitizePath(input.path));
103
103
  const baselines = manager.load();
104
104
  return resultToMcpResponse(
@@ -146,7 +146,7 @@ var updatePerfBaselinesDefinition = {
146
146
  };
147
147
  async function handleUpdatePerfBaselines(input) {
148
148
  try {
149
- const { BaselineManager } = await import("./dist-WCSJHQPK.js");
149
+ const { BaselineManager } = await import("./dist-T3DGV5UN.js");
150
150
  const manager = new BaselineManager(sanitizePath(input.path));
151
151
  manager.save(input.results, input.commitHash);
152
152
  const updated = manager.load();
@@ -176,7 +176,7 @@ var getCriticalPathsDefinition = {
176
176
  };
177
177
  async function handleGetCriticalPaths(input) {
178
178
  try {
179
- const { CriticalPathResolver } = await import("./dist-WCSJHQPK.js");
179
+ const { CriticalPathResolver } = await import("./dist-T3DGV5UN.js");
180
180
  const resolver = new CriticalPathResolver(sanitizePath(input.path));
181
181
  const result = await resolver.resolve();
182
182
  return resultToMcpResponse(Ok(result));
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  findConfigFile,
9
9
  loadConfig
10
- } from "./chunk-WIQA4BSH.js";
10
+ } from "./chunk-JUXFYB2K.js";
11
11
  import {
12
12
  init_dist
13
- } from "./chunk-MI6MA6OP.js";
13
+ } from "./chunk-42ZZLMYD.js";
14
14
  import {
15
15
  Ok
16
16
  } from "./chunk-RL4VMEXL.js";
@@ -50,18 +50,18 @@ 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-WCSJHQPK.js");
53
+ const { validateKnowledgeMap } = await import("./dist-T3DGV5UN.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-WCSJHQPK.js");
58
+ const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-T3DGV5UN.js");
59
59
  const domain2 = input.domain ?? "src";
60
- const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-JHQVQRUS.js");
60
+ const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-QMKXT454.js");
61
61
  const store2 = await loadGraphStore2(projectPath);
62
62
  let graphCoverage2;
63
63
  if (store2) {
64
- const { Assembler } = await import("./dist-RADHOOXG.js");
64
+ const { Assembler } = await import("./dist-GRW3X2ZQ.js");
65
65
  const assembler = new Assembler(store2);
66
66
  const report = assembler.checkCoverage();
67
67
  graphCoverage2 = {
@@ -94,13 +94,13 @@ async function handleCheckDocs(input) {
94
94
  }
95
95
  return resultToMcpResponse(Ok({ coverage, integrity }));
96
96
  }
97
- const { checkDocCoverage } = await import("./dist-WCSJHQPK.js");
97
+ const { checkDocCoverage } = await import("./dist-T3DGV5UN.js");
98
98
  const domain = input.domain ?? "src";
99
- const { loadGraphStore } = await import("./graph-loader-JHQVQRUS.js");
99
+ const { loadGraphStore } = await import("./graph-loader-QMKXT454.js");
100
100
  const store = await loadGraphStore(projectPath);
101
101
  let graphCoverage;
102
102
  if (store) {
103
- const { Assembler } = await import("./dist-RADHOOXG.js");
103
+ const { Assembler } = await import("./dist-GRW3X2ZQ.js");
104
104
  const assembler = new Assembler(store);
105
105
  const report = assembler.checkCoverage();
106
106
  graphCoverage = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-42ZZLMYD.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveConfig
3
- } from "./chunk-WIQA4BSH.js";
3
+ } from "./chunk-JUXFYB2K.js";
4
4
  import {
5
5
  init_dist
6
- } from "./chunk-MI6MA6OP.js";
6
+ } from "./chunk-42ZZLMYD.js";
7
7
  import {
8
8
  Ok
9
9
  } from "./chunk-RL4VMEXL.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  init_dist,
6
6
  paginate
7
- } from "./chunk-MI6MA6OP.js";
7
+ } from "./chunk-42ZZLMYD.js";
8
8
 
9
9
  // src/mcp/tools/review-pipeline.ts
10
10
  init_dist();
@@ -79,7 +79,7 @@ var runCodeReviewDefinition = {
79
79
  };
80
80
  async function handleRunCodeReview(input) {
81
81
  try {
82
- const { parseDiff, runReviewPipeline } = await import("./dist-WCSJHQPK.js");
82
+ const { parseDiff, runReviewPipeline } = await import("./dist-T3DGV5UN.js");
83
83
  const parseResult = parseDiff(input.diff);
84
84
  if (!parseResult.ok) {
85
85
  return {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generateCIWorkflow
3
- } from "./chunk-EHRZMOQ2.js";
4
- import "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-RKZW3FDF.js";
4
+ import "./chunk-42ZZLMYD.js";
5
5
  import "./chunk-RL4VMEXL.js";
6
- import "./chunk-K2SON7TI.js";
6
+ import "./chunk-RDQGCHKD.js";
7
7
  import "./chunk-KFQGP6VL.js";
8
8
  export {
9
9
  generateCIWorkflow
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  Assembler,
3
+ BusinessKnowledgeIngestor,
3
4
  CIConnector,
4
5
  CURRENT_SCHEMA_VERSION,
5
6
  CascadeSimulator,
@@ -50,11 +51,12 @@ import {
50
51
  project,
51
52
  queryTraceability,
52
53
  saveGraph
53
- } from "./chunk-K2SON7TI.js";
54
+ } from "./chunk-RDQGCHKD.js";
54
55
  import "./chunk-KFQGP6VL.js";
55
56
  init_dist();
56
57
  export {
57
58
  Assembler,
59
+ BusinessKnowledgeIngestor,
58
60
  CIConnector,
59
61
  CURRENT_SCHEMA_VERSION,
60
62
  CascadeSimulator,
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  AGENT_DESCRIPTORS,
3
+ AGREEMENT_LINE_GAP,
3
4
  ARCHITECTURE_DESCRIPTOR,
4
5
  AdjustedForecastSchema,
5
6
  AgentActionEmitter,
@@ -18,6 +19,7 @@ import {
18
19
  CACHE_TTL_MS,
19
20
  CINotifier,
20
21
  COMPLIANCE_DESCRIPTOR,
22
+ CORROBORATED_AGREEMENT,
21
23
  CategoryBaselineSchema,
22
24
  CategoryForecastSchema,
23
25
  CategoryRegressionSchema,
@@ -42,10 +44,12 @@ import {
42
44
  DEFAULT_STREAM_INDEX,
43
45
  DEFAULT_TOKEN_BUDGET,
44
46
  DESTRUCTIVE_BASH,
47
+ DOMAIN_BASELINES,
45
48
  DepDepthCollector,
46
49
  DirectionSchema,
47
50
  DirectionSchema2,
48
51
  EMPTY_SUPPLY_CHAIN,
52
+ EVIDENCE_SATURATION,
49
53
  EXTENSION_MAP,
50
54
  EmergenceConfidenceSchema,
51
55
  EmergenceResultSchema,
@@ -54,6 +58,7 @@ import {
54
58
  EntropyAnalyzer,
55
59
  EntropyConfigSchema,
56
60
  ExclusionSet,
61
+ FACTOR_WEIGHTS,
57
62
  FailureEntrySchema,
58
63
  FileSink,
59
64
  FindingLifecycleSchema,
@@ -89,6 +94,7 @@ import {
89
94
  RuleRegistry,
90
95
  SECURITY_DESCRIPTOR,
91
96
  STALENESS_WARNING_DAYS,
97
+ STANDALONE_AGREEMENT,
92
98
  STATUS_RANK,
93
99
  SecurityCategorySnapshotSchema,
94
100
  SecurityConfigSchema,
@@ -123,6 +129,7 @@ import {
123
129
  TrendResultSchema,
124
130
  TruncationStrategy,
125
131
  TypeScriptParser,
132
+ VALIDATION_SCORES,
126
133
  VALID_SCOPES,
127
134
  VERSION,
128
135
  ViolationHistoryManager,
@@ -388,7 +395,7 @@ import {
388
395
  writeSessionSummary,
389
396
  writeTaint,
390
397
  xssRules
391
- } from "./chunk-MI6MA6OP.js";
398
+ } from "./chunk-42ZZLMYD.js";
392
399
  import {
393
400
  DEFAULT_SKILL_CONTEXT_BUDGET,
394
401
  Err,
@@ -398,11 +405,12 @@ import {
398
405
  isErr,
399
406
  isOk
400
407
  } from "./chunk-RL4VMEXL.js";
401
- import "./chunk-K2SON7TI.js";
408
+ import "./chunk-RDQGCHKD.js";
402
409
  import "./chunk-KFQGP6VL.js";
403
410
  init_dist();
404
411
  export {
405
412
  AGENT_DESCRIPTORS,
413
+ AGREEMENT_LINE_GAP,
406
414
  ARCHITECTURE_DESCRIPTOR,
407
415
  AdjustedForecastSchema,
408
416
  AgentActionEmitter,
@@ -421,6 +429,7 @@ export {
421
429
  CACHE_TTL_MS,
422
430
  CINotifier,
423
431
  COMPLIANCE_DESCRIPTOR,
432
+ CORROBORATED_AGREEMENT,
424
433
  CategoryBaselineSchema,
425
434
  CategoryForecastSchema,
426
435
  CategoryRegressionSchema,
@@ -446,9 +455,11 @@ export {
446
455
  DEFAULT_STREAM_INDEX,
447
456
  DEFAULT_TOKEN_BUDGET,
448
457
  DESTRUCTIVE_BASH,
458
+ DOMAIN_BASELINES,
449
459
  DepDepthCollector,
450
460
  DirectionSchema,
451
461
  EMPTY_SUPPLY_CHAIN,
462
+ EVIDENCE_SATURATION,
452
463
  EXTENSION_MAP,
453
464
  EmergenceConfidenceSchema,
454
465
  EmergenceResultSchema,
@@ -458,6 +469,7 @@ export {
458
469
  EntropyConfigSchema,
459
470
  Err,
460
471
  ExclusionSet,
472
+ FACTOR_WEIGHTS,
461
473
  FailureEntrySchema,
462
474
  FileSink,
463
475
  FindingLifecycleSchema,
@@ -495,6 +507,7 @@ export {
495
507
  SECURITY_DESCRIPTOR,
496
508
  SESSION_SECTION_NAMES,
497
509
  STALENESS_WARNING_DAYS,
510
+ STANDALONE_AGREEMENT,
498
511
  STANDARD_COGNITIVE_MODES,
499
512
  STATUS_RANK,
500
513
  SecurityCategorySnapshotSchema,
@@ -531,6 +544,7 @@ export {
531
544
  TrendResultSchema,
532
545
  TruncationStrategy,
533
546
  TypeScriptParser,
547
+ VALIDATION_SCORES,
534
548
  VALID_SCOPES,
535
549
  VERSION,
536
550
  ViolationHistoryManager,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  checkDocsDefinition,
3
3
  handleCheckDocs
4
- } from "./chunk-GEEYCQDS.js";
4
+ } from "./chunk-XLO4AXXM.js";
5
5
  import "./chunk-EPUKTTJZ.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-WIQA4BSH.js";
8
- import "./chunk-MI6MA6OP.js";
7
+ import "./chunk-JUXFYB2K.js";
8
+ import "./chunk-42ZZLMYD.js";
9
9
  import "./chunk-RL4VMEXL.js";
10
- import "./chunk-K2SON7TI.js";
10
+ import "./chunk-RDQGCHKD.js";
11
11
  import "./chunk-3WGJMBKH.js";
12
12
  import "./chunk-KFQGP6VL.js";
13
13
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TemplateEngine
3
- } from "./chunk-FSNPBT74.js";
4
- import "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-BUJOMC3O.js";
4
+ import "./chunk-42ZZLMYD.js";
5
5
  import "./chunk-RL4VMEXL.js";
6
- import "./chunk-K2SON7TI.js";
6
+ import "./chunk-RDQGCHKD.js";
7
7
  import "./chunk-KFQGP6VL.js";
8
8
  export {
9
9
  TemplateEngine
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  detectEntropyDefinition,
3
3
  handleDetectEntropy
4
- } from "./chunk-M55DGGF3.js";
4
+ } from "./chunk-CBZECDCW.js";
5
5
  import "./chunk-EPUKTTJZ.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-MI6MA6OP.js";
7
+ import "./chunk-42ZZLMYD.js";
8
8
  import "./chunk-RL4VMEXL.js";
9
- import "./chunk-K2SON7TI.js";
9
+ import "./chunk-RDQGCHKD.js";
10
10
  import "./chunk-KFQGP6VL.js";
11
11
  export {
12
12
  detectEntropyDefinition,
@@ -5,7 +5,7 @@ import {
5
5
  handleCreateSelfReview,
6
6
  handleRequestPeerReview,
7
7
  requestPeerReviewDefinition
8
- } from "./chunk-FES2YEQU.js";
8
+ } from "./chunk-KJC4SE7C.js";
9
9
  import "./chunk-EPUKTTJZ.js";
10
10
  import "./chunk-W6Y7ZW3Y.js";
11
11
  import "./chunk-KFQGP6VL.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createGenerateAgentDefinitionsCommand,
3
3
  generateAgentDefinitions
4
- } from "./chunk-AT74HEQM.js";
4
+ } from "./chunk-U2OMWI7Z.js";
5
5
  import "./chunk-KET4QQZB.js";
6
- import "./chunk-P7PANON5.js";
6
+ import "./chunk-VELT5VAG.js";
7
7
  import "./chunk-3ISINLYT.js";
8
8
  import "./chunk-6B6UN6SG.js";
9
- import "./chunk-MI6MA6OP.js";
9
+ import "./chunk-42ZZLMYD.js";
10
10
  import "./chunk-RL4VMEXL.js";
11
- import "./chunk-K2SON7TI.js";
11
+ import "./chunk-RDQGCHKD.js";
12
12
  import "./chunk-3WGJMBKH.js";
13
13
  import "./chunk-KFQGP6VL.js";
14
14
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearGraphStoreCache,
3
3
  loadGraphStore
4
- } from "./chunk-BOQRTARD.js";
4
+ } from "./chunk-SMY35HJM.js";
5
5
  import "./chunk-KFQGP6VL.js";
6
6
  export {
7
7
  clearGraphStoreCache,
@@ -8,6 +8,7 @@
8
8
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from 'node:fs';
9
9
  import { join } from 'node:path';
10
10
  import { randomUUID } from 'node:crypto';
11
+ import { execFileSync } from 'node:child_process';
11
12
  import process from 'node:process';
12
13
 
13
14
  // PostHog project API key — public, write-only (cannot read data)
@@ -53,6 +54,26 @@ function resolveConsent(cwd) {
53
54
  if (typeof identityFile.identity.alias === 'string') identity.alias = identityFile.identity.alias;
54
55
  }
55
56
 
57
+ // Fallback: project name from harness.config.json
58
+ if (!identity.project && typeof config?.name === 'string') {
59
+ identity.project = config.name;
60
+ }
61
+
62
+ // Fallback: alias from git config user.name
63
+ if (!identity.alias) {
64
+ try {
65
+ const gitName = execFileSync('git', ['config', 'user.name'], {
66
+ cwd,
67
+ encoding: 'utf-8',
68
+ timeout: 2000,
69
+ stdio: ['pipe', 'pipe', 'pipe'],
70
+ }).trim();
71
+ if (gitName) identity.alias = gitName;
72
+ } catch {
73
+ // Git not available or no user.name set
74
+ }
75
+ }
76
+
56
77
  return { allowed: true, installId, identity };
57
78
  }
58
79
 
@@ -119,7 +140,7 @@ function collectEvents(cwd, consent) {
119
140
 
120
141
  return records.map((record) => ({
121
142
  event: 'skill_invocation',
122
- distinctId,
143
+ distinct_id: distinctId,
123
144
  timestamp: record.startedAt,
124
145
  properties: {
125
146
  installId,
package/dist/index.d.ts CHANGED
@@ -149,6 +149,11 @@ interface GenerateOptions {
149
149
  yes: boolean;
150
150
  }
151
151
 
152
+ interface SkillSource {
153
+ dir: string;
154
+ source: 'project' | 'community' | 'global';
155
+ }
156
+
152
157
  interface GenerateResult {
153
158
  platform: string;
154
159
  added: string[];
@@ -159,11 +164,6 @@ interface GenerateResult {
159
164
  }
160
165
  declare function generateSlashCommands(opts: GenerateOptions): GenerateResult[];
161
166
 
162
- interface SkillSource {
163
- dir: string;
164
- source: 'project' | 'community' | 'global';
165
- }
166
-
167
167
  interface ImpactPreviewOptions {
168
168
  detailed?: boolean;
169
169
  perFile?: boolean;
package/dist/index.js CHANGED
@@ -12,23 +12,23 @@ import {
12
12
  runSnapshotCapture,
13
13
  runUninstall,
14
14
  runUninstallConstraints
15
- } from "./chunk-2KZAXESR.js";
15
+ } from "./chunk-R7P2FMJT.js";
16
16
  import {
17
17
  generateAgentsMd
18
- } from "./chunk-5BQ5BOJL.js";
18
+ } from "./chunk-7BAGSY5Q.js";
19
19
  import {
20
20
  generateCIWorkflow
21
- } from "./chunk-EHRZMOQ2.js";
21
+ } from "./chunk-RKZW3FDF.js";
22
22
  import {
23
23
  runCrossCheck
24
- } from "./chunk-XTITAVUR.js";
24
+ } from "./chunk-EY6F2QXW.js";
25
25
  import {
26
26
  TemplateEngine
27
- } from "./chunk-FSNPBT74.js";
27
+ } from "./chunk-BUJOMC3O.js";
28
28
  import "./chunk-CQ553GZO.js";
29
29
  import {
30
30
  generateRuntime
31
- } from "./chunk-6VZQJ5CX.js";
31
+ } from "./chunk-FL6A72LV.js";
32
32
  import {
33
33
  detectTrigger,
34
34
  runPersona
@@ -43,7 +43,7 @@ import {
43
43
  OutputFormatter,
44
44
  OutputMode,
45
45
  runCheckPhaseGate
46
- } from "./chunk-FIQL2HND.js";
46
+ } from "./chunk-Y5JA4J2M.js";
47
47
  import {
48
48
  AGENT_DESCRIPTIONS,
49
49
  DEFAULT_TOOLS,
@@ -52,45 +52,46 @@ import {
52
52
  generateAgentDefinitions,
53
53
  renderClaudeCodeAgent,
54
54
  renderGeminiAgent
55
- } from "./chunk-AT74HEQM.js";
55
+ } from "./chunk-U2OMWI7Z.js";
56
56
  import "./chunk-KET4QQZB.js";
57
57
  import {
58
58
  listPersonas,
59
59
  loadPersona
60
- } from "./chunk-P7PANON5.js";
60
+ } from "./chunk-VELT5VAG.js";
61
61
  import {
62
62
  runScan
63
- } from "./chunk-4NK7Z3BP.js";
63
+ } from "./chunk-R2BI5UPK.js";
64
64
  import {
65
65
  createHarnessServer,
66
66
  generateSlashCommands,
67
67
  getToolDefinitions,
68
68
  startServer
69
- } from "./chunk-BUYW3SA2.js";
70
- import "./chunk-FES2YEQU.js";
71
- import "./chunk-UV3BZMGT.js";
72
- import "./chunk-F23H3U5U.js";
73
- import "./chunk-UQZBZINS.js";
74
- import "./chunk-YTP2UDPV.js";
75
- import "./chunk-CXJTVICF.js";
76
- import "./chunk-47N6R2F4.js";
77
- import "./chunk-GEEYCQDS.js";
78
- import "./chunk-M55DGGF3.js";
79
- import "./chunk-TYV4EUAD.js";
69
+ } from "./chunk-43VBX44J.js";
70
+ import "./chunk-SZZ5UQL7.js";
71
+ import "./chunk-RC5ZY3EV.js";
72
+ import "./chunk-KJC4SE7C.js";
73
+ import "./chunk-4YEBV2FT.js";
74
+ import "./chunk-ZAKUCM7O.js";
75
+ import "./chunk-WEOGCL7B.js";
76
+ import "./chunk-JQCS75DY.js";
77
+ import "./chunk-XMEEYMGE.js";
78
+ import "./chunk-XLO4AXXM.js";
79
+ import "./chunk-CBZECDCW.js";
80
+ import "./chunk-X2JJ3CPG.js";
80
81
  import "./chunk-EPUKTTJZ.js";
81
82
  import "./chunk-W6Y7ZW3Y.js";
82
83
  import {
83
84
  findConfigFile,
84
85
  loadConfig,
85
86
  resolveConfig
86
- } from "./chunk-WIQA4BSH.js";
87
+ } from "./chunk-JUXFYB2K.js";
87
88
  import "./chunk-3ISINLYT.js";
88
89
  import "./chunk-6B6UN6SG.js";
89
- import "./chunk-BOQRTARD.js";
90
+ import "./chunk-SMY35HJM.js";
90
91
  import "./chunk-BM3PWGXQ.js";
91
- import "./chunk-MI6MA6OP.js";
92
+ import "./chunk-42ZZLMYD.js";
92
93
  import "./chunk-RL4VMEXL.js";
93
- import "./chunk-K2SON7TI.js";
94
+ import "./chunk-RDQGCHKD.js";
94
95
  import {
95
96
  generateSkillFiles
96
97
  } from "./chunk-RRHUCDRD.js";