@harness-engineering/cli 1.25.4 → 1.25.5

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 (115) 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-COWXFHR5.js} +2 -2
  70. package/dist/{architecture-HNIO6AUX.js → architecture-EYPG4ZMC.js} +3 -3
  71. package/dist/{assess-project-6MV5TNY3.js → assess-project-JQPEVJIA.js} +1 -1
  72. package/dist/bin/harness-mcp.js +13 -13
  73. package/dist/bin/harness.js +23 -112
  74. package/dist/{check-phase-gate-VCBQHQAC.js → check-phase-gate-AJRMDGYW.js} +3 -3
  75. package/dist/{chunk-6VZQJ5CX.js → chunk-24ZGGCIW.js} +1 -1
  76. package/dist/{chunk-GEEYCQDS.js → chunk-2OIPQMU5.js} +5 -5
  77. package/dist/{chunk-2KZAXESR.js → chunk-2OM5TA56.js} +205 -55
  78. package/dist/{chunk-FES2YEQU.js → chunk-2TFT7XRX.js} +3 -3
  79. package/dist/{chunk-AT74HEQM.js → chunk-2X336Q7J.js} +1 -1
  80. package/dist/{chunk-BUYW3SA2.js → chunk-2X42NMPD.js} +68 -68
  81. package/dist/{chunk-WIQA4BSH.js → chunk-5R2LFUU3.js} +1 -1
  82. package/dist/{chunk-FIQL2HND.js → chunk-BVRWLK5U.js} +2 -2
  83. package/dist/{chunk-F23H3U5U.js → chunk-HWLHJSJQ.js} +2 -2
  84. package/dist/{chunk-CXJTVICF.js → chunk-JD4FGVHH.js} +2 -2
  85. package/dist/{chunk-FSNPBT74.js → chunk-KDHZAL4B.js} +1 -1
  86. package/dist/{chunk-MI6MA6OP.js → chunk-KHMKAC6E.js} +71 -32
  87. package/dist/{chunk-UQZBZINS.js → chunk-KVK3KAFQ.js} +6 -6
  88. package/dist/{chunk-P7PANON5.js → chunk-KWQTMJ3B.js} +1 -1
  89. package/dist/{chunk-XTITAVUR.js → chunk-KXUCIAM4.js} +1 -1
  90. package/dist/{chunk-TYV4EUAD.js → chunk-PVRKHUTA.js} +6 -6
  91. package/dist/{chunk-YTP2UDPV.js → chunk-Q6ZEUMOF.js} +3 -3
  92. package/dist/{chunk-UV3BZMGT.js → chunk-UB6NZNJJ.js} +2 -2
  93. package/dist/{chunk-47N6R2F4.js → chunk-UI6NWJJK.js} +1 -1
  94. package/dist/{chunk-EHRZMOQ2.js → chunk-WN6YIQ66.js} +1 -1
  95. package/dist/{chunk-M55DGGF3.js → chunk-YFIALHGI.js} +3 -3
  96. package/dist/{chunk-5BQ5BOJL.js → chunk-ZYYVDA5K.js} +1 -1
  97. package/dist/{ci-workflow-RTM7VVTD.js → ci-workflow-35KBJC2U.js} +2 -2
  98. package/dist/{dist-WCSJHQPK.js → dist-UMONICND.js} +15 -1
  99. package/dist/{docs-UBOGGHTY.js → docs-T5J2AJH6.js} +3 -3
  100. package/dist/{engine-MJJAP5CH.js → engine-KWHV2LUX.js} +2 -2
  101. package/dist/{entropy-EMSXF2PX.js → entropy-GEBHWBPR.js} +2 -2
  102. package/dist/{feedback-ZLUX72HD.js → feedback-I4QPE3RI.js} +1 -1
  103. package/dist/{generate-agent-definitions-AWLPJ27C.js → generate-agent-definitions-3XNR77ET.js} +3 -3
  104. package/dist/hooks/telemetry-reporter.js +22 -1
  105. package/dist/index.d.ts +5 -5
  106. package/dist/index.js +22 -22
  107. package/dist/{loader-JVSJZSWZ.js → loader-MN2CZXPG.js} +2 -2
  108. package/dist/{mcp-JZ7YB7TD.js → mcp-XSU77BZY.js} +13 -13
  109. package/dist/{performance-7AGWJUY4.js → performance-7I5MCEFP.js} +3 -3
  110. package/dist/{review-pipeline-ZWVQJTJX.js → review-pipeline-PWPKJXSN.js} +2 -2
  111. package/dist/{runtime-D6YUQPP2.js → runtime-ZYEFJSGS.js} +2 -2
  112. package/dist/{security-JLZUAQYT.js → security-OVTGS7DL.js} +1 -1
  113. package/dist/{validate-TIIHRPMA.js → validate-ACIP5BUO.js} +3 -3
  114. package/dist/{validate-cross-check-ZOWFA3DB.js → validate-cross-check-OWITNCHN.js} +2 -2
  115. package/package.json +5 -5
@@ -2780,6 +2780,7 @@ var init_chunk_QLTIBLN5 = __esm({
2780
2780
  var dist_exports = {};
2781
2781
  __export(dist_exports, {
2782
2782
  AGENT_DESCRIPTORS: () => AGENT_DESCRIPTORS,
2783
+ AGREEMENT_LINE_GAP: () => AGREEMENT_LINE_GAP,
2783
2784
  ARCHITECTURE_DESCRIPTOR: () => ARCHITECTURE_DESCRIPTOR,
2784
2785
  AdjustedForecastSchema: () => AdjustedForecastSchema,
2785
2786
  AgentActionEmitter: () => AgentActionEmitter,
@@ -2798,6 +2799,7 @@ __export(dist_exports, {
2798
2799
  CACHE_TTL_MS: () => CACHE_TTL_MS,
2799
2800
  CINotifier: () => CINotifier,
2800
2801
  COMPLIANCE_DESCRIPTOR: () => COMPLIANCE_DESCRIPTOR,
2802
+ CORROBORATED_AGREEMENT: () => CORROBORATED_AGREEMENT,
2801
2803
  CategoryBaselineSchema: () => CategoryBaselineSchema,
2802
2804
  CategoryForecastSchema: () => CategoryForecastSchema,
2803
2805
  CategoryRegressionSchema: () => CategoryRegressionSchema,
@@ -2823,9 +2825,11 @@ __export(dist_exports, {
2823
2825
  DEFAULT_STREAM_INDEX: () => DEFAULT_STREAM_INDEX,
2824
2826
  DEFAULT_TOKEN_BUDGET: () => DEFAULT_TOKEN_BUDGET,
2825
2827
  DESTRUCTIVE_BASH: () => DESTRUCTIVE_BASH,
2828
+ DOMAIN_BASELINES: () => DOMAIN_BASELINES,
2826
2829
  DepDepthCollector: () => DepDepthCollector,
2827
2830
  DirectionSchema: () => DirectionSchema,
2828
2831
  EMPTY_SUPPLY_CHAIN: () => EMPTY_SUPPLY_CHAIN,
2832
+ EVIDENCE_SATURATION: () => EVIDENCE_SATURATION,
2829
2833
  EXTENSION_MAP: () => EXTENSION_MAP,
2830
2834
  EmergenceConfidenceSchema: () => EmergenceConfidenceSchema,
2831
2835
  EmergenceResultSchema: () => EmergenceResultSchema,
@@ -2835,6 +2839,7 @@ __export(dist_exports, {
2835
2839
  EntropyConfigSchema: () => EntropyConfigSchema,
2836
2840
  Err: () => Err,
2837
2841
  ExclusionSet: () => ExclusionSet,
2842
+ FACTOR_WEIGHTS: () => FACTOR_WEIGHTS,
2838
2843
  FailureEntrySchema: () => FailureEntrySchema,
2839
2844
  FileSink: () => FileSink,
2840
2845
  FindingLifecycleSchema: () => FindingLifecycleSchema,
@@ -2872,6 +2877,7 @@ __export(dist_exports, {
2872
2877
  SECURITY_DESCRIPTOR: () => SECURITY_DESCRIPTOR,
2873
2878
  SESSION_SECTION_NAMES: () => SESSION_SECTION_NAMES,
2874
2879
  STALENESS_WARNING_DAYS: () => STALENESS_WARNING_DAYS,
2880
+ STANDALONE_AGREEMENT: () => STANDALONE_AGREEMENT,
2875
2881
  STANDARD_COGNITIVE_MODES: () => STANDARD_COGNITIVE_MODES,
2876
2882
  STATUS_RANK: () => STATUS_RANK,
2877
2883
  SecurityCategorySnapshotSchema: () => SecurityCategorySnapshotSchema,
@@ -2908,6 +2914,7 @@ __export(dist_exports, {
2908
2914
  TrendResultSchema: () => TrendResultSchema,
2909
2915
  TruncationStrategy: () => TruncationStrategy,
2910
2916
  TypeScriptParser: () => TypeScriptParser,
2917
+ VALIDATION_SCORES: () => VALIDATION_SCORES,
2911
2918
  VALID_SCOPES: () => VALID_SCOPES,
2912
2919
  VERSION: () => VERSION,
2913
2920
  ViolationHistoryManager: () => ViolationHistoryManager,
@@ -3320,6 +3327,7 @@ import * as fs35 from "fs";
3320
3327
  import * as path34 from "path";
3321
3328
  import * as fs37 from "fs";
3322
3329
  import * as path36 from "path";
3330
+ import { execFileSync as execFileSync2 } from "child_process";
3323
3331
  import * as fs36 from "fs";
3324
3332
  import * as path35 from "path";
3325
3333
  import * as crypto4 from "crypto";
@@ -12004,14 +12012,15 @@ function findCorroboratedIds(findings) {
12004
12012
  }
12005
12013
  return corroborated;
12006
12014
  }
12007
- function computeTrustScores(findings) {
12015
+ function computeTrustScores(findings, options) {
12008
12016
  if (findings.length === 0) return [];
12009
12017
  const corroboratedIds = findCorroboratedIds(findings);
12018
+ const domainAccuracy = options?.domainAccuracy;
12010
12019
  return findings.map((finding) => {
12011
12020
  const validationFactor = VALIDATION_SCORES[finding.validatedBy];
12012
12021
  const evidenceFactor = Math.min(1, finding.evidence.length / EVIDENCE_SATURATION);
12013
12022
  const agreementFactor = corroboratedIds.has(finding.id) ? CORROBORATED_AGREEMENT : STANDALONE_AGREEMENT;
12014
- const historicalFactor = DOMAIN_BASELINES[finding.domain];
12023
+ const historicalFactor = domainAccuracy?.[finding.domain] ?? DOMAIN_BASELINES[finding.domain];
12015
12024
  const raw = FACTOR_WEIGHTS.validation * validationFactor + FACTOR_WEIGHTS.evidence * evidenceFactor + FACTOR_WEIGHTS.agreement * agreementFactor + FACTOR_WEIGHTS.historical * historicalFactor;
12016
12025
  const trustScore = Math.round(raw * 100);
12017
12026
  return { ...finding, trustScore };
@@ -12255,7 +12264,8 @@ async function runReviewPipeline(options) {
12255
12264
  checkDepsOutput,
12256
12265
  config = {},
12257
12266
  commitHistory,
12258
- sessionSlug
12267
+ sessionSlug,
12268
+ domainAccuracy
12259
12269
  } = options;
12260
12270
  if (flags.ci && prMetadata) {
12261
12271
  const eligibility = checkEligibility(prMetadata, true);
@@ -12375,7 +12385,10 @@ async function runReviewPipeline(options) {
12375
12385
  projectRoot,
12376
12386
  fileContents
12377
12387
  });
12378
- const scoredFindings = computeTrustScores(validatedFindings);
12388
+ const scoredFindings = computeTrustScores(
12389
+ validatedFindings,
12390
+ domainAccuracy ? { domainAccuracy } : void 0
12391
+ );
12379
12392
  let evidenceCoverage;
12380
12393
  if (sessionSlug) {
12381
12394
  try {
@@ -13850,22 +13863,41 @@ function getOrCreateInstallId(projectRoot) {
13850
13863
  return id;
13851
13864
  }
13852
13865
  function readIdentity(projectRoot) {
13866
+ const identity = {};
13853
13867
  const filePath = path36.join(projectRoot, ".harness", "telemetry.json");
13854
13868
  try {
13855
13869
  const raw = fs37.readFileSync(filePath, "utf-8");
13856
13870
  const parsed = JSON.parse(raw);
13857
13871
  if (parsed && typeof parsed === "object" && parsed.identity) {
13858
13872
  const { project, team, alias } = parsed.identity;
13859
- const identity = {};
13860
13873
  if (typeof project === "string") identity.project = project;
13861
13874
  if (typeof team === "string") identity.team = team;
13862
13875
  if (typeof alias === "string") identity.alias = alias;
13863
- return identity;
13864
13876
  }
13865
- return {};
13866
13877
  } catch {
13867
- return {};
13868
13878
  }
13879
+ if (!identity.project) {
13880
+ try {
13881
+ const configPath = path36.join(projectRoot, "harness.config.json");
13882
+ const raw = fs37.readFileSync(configPath, "utf-8");
13883
+ const config = JSON.parse(raw);
13884
+ if (typeof config?.name === "string") identity.project = config.name;
13885
+ } catch {
13886
+ }
13887
+ }
13888
+ if (!identity.alias) {
13889
+ try {
13890
+ const gitName = execFileSync2("git", ["config", "user.name"], {
13891
+ cwd: projectRoot,
13892
+ encoding: "utf-8",
13893
+ timeout: 2e3,
13894
+ stdio: ["pipe", "pipe", "pipe"]
13895
+ }).trim();
13896
+ if (gitName) identity.alias = gitName;
13897
+ } catch {
13898
+ }
13899
+ }
13900
+ return identity;
13869
13901
  }
13870
13902
  function resolveConsent(projectRoot, config) {
13871
13903
  if (process.env.DO_NOT_TRACK === "1") return { allowed: false };
@@ -13887,7 +13919,7 @@ function collectEvents(projectRoot, consent) {
13887
13919
  return records.map(
13888
13920
  (record) => ({
13889
13921
  event: "skill_invocation",
13890
- distinctId,
13922
+ distinct_id: distinctId,
13891
13923
  timestamp: record.startedAt,
13892
13924
  properties: {
13893
13925
  installId,
@@ -13928,7 +13960,7 @@ async function send(events, apiKey) {
13928
13960
  }
13929
13961
  }
13930
13962
  }
13931
- var VALID_TYPES, CONVENTIONAL_PATTERN, DEFAULT_AGNIX_TIMEOUT_MS, HARNESS_AGNIX_DISABLE, HARNESS_AGNIX_BIN, CLAUDE_MD_WARN_BYTES, CLAUDE_MD_ERROR_BYTES, CONTEXT_FILES, MIN_DESCRIPTION_LENGTH, SETTINGS_PATHS, KNOWN_HOOK_EVENTS, MCP_SETTINGS_FILES, REQUIRED_SECTIONS, SETTINGS_FILES, KNOWN_AGNIX_TOOLS, DEFAULT_SECTIONS, DEFAULT_RATIOS, NODE_TYPE_TO_CATEGORY, SECTION_LEVEL_MAP, DEFAULT_LEVEL, DEFAULT_BUDGET, DEFAULT_LOADER_CONFIG, LEVEL_FRACTIONS, PHASE_PRIORITIES, ManifestSchema, BundleConstraintsSchema, BundleSchema, ContributionsSchema, LockfilePackageSchema, LockfileSchema, SharableLayerSchema, SharableForbiddenImportSchema, SharableBoundaryConfigSchema, SharableSecurityRulesSchema, VALID_SCOPES, LINE_PATTERN, START_PATTERN, END_PATTERN, CODE_BLOCK_LANGUAGES, DEFAULT_DRIFT_CONFIG, FILE_TYPES, EXPORT_TYPES, CONVENTION_DESCRIPTIONS, RULE_CHECKERS, EntropyAnalyzer, readFile42, writeFile32, unlink22, mkdir22, copyFile2, DEFAULT_FIX_CONFIG, EXPORT_TYPE_KEYWORD, ALWAYS_UNSAFE_TYPES, idCounter, DEAD_CODE_FIX_ACTIONS, MustExportRuleSchema, MustExportDefaultRuleSchema, NoExportRuleSchema, MustImportRuleSchema, NoImportRuleSchema, NamingRuleSchema, MaxExportsRuleSchema, MaxLinesRuleSchema, RequireJSDocRuleSchema, RuleSchema, ConfigPatternSchema, PatternConfigSchema, DriftConfigSchema, DeadCodeConfigSchema, EntropyConfigSchema, BaselineManager, BenchmarkRunner, RegressionDetector, SKIP_DIRS, SOURCE_EXTENSIONS, FUNCTION_DECL_RE, CONST_DECL_RE, CriticalPathResolver, NoOpTelemetryAdapter, NoOpExecutor, ConsoleSink, feedbackConfig, ChecklistBuilder, AgentActionEmitter, globalEmitter, FileSink, NoOpSink, CategorySnapshotSchema, TimelineSnapshotSchema, TimelineFileSchema, TrendLineSchema, TrendResultSchema, DEFAULT_STABILITY_THRESHOLDS, ALL_CATEGORIES, TimelineManager, ConfidenceTierSchema, RegressionResultSchema, DirectionSchema, CategoryForecastSchema, SpecImpactSignalsSchema, SpecImpactEstimateSchema, ContributingFeatureSchema, AdjustedForecastSchema, PredictionWarningSchema, StabilityForecastSchema, PredictionResultSchema, PredictionOptionsSchema, VALID_STATUSES, EM_DASH, VALID_PRIORITIES, ALL_CATEGORIES2, DIRECTION_THRESHOLD, PredictionEngine, DEFAULT_COEFFICIENTS, SpecImpactEstimator, EMPTY_HISTORY, ViolationHistoryManager, NORMALIZERS, MAX_SAMPLES, DEFAULT_WINDOW_WEEKS, DEFAULT_MIN_OCCURRENCES, FailureEntrySchema, HandoffSchema, GateCheckSchema, GateResultSchema, GateConfigSchema, HarnessStateSchema, DEFAULT_STATE, StreamInfoSchema, StreamIndexSchema, DEFAULT_STREAM_INDEX, HARNESS_DIR, STATE_FILE, LEARNINGS_FILE, FAILURES_FILE, HANDOFF_FILE, GATE_CONFIG_FILE, INDEX_FILE, SESSIONS_DIR, SESSION_INDEX_FILE, SUMMARY_FILE, SESSION_STATE_FILE, ARCHIVE_DIR, CONTENT_HASHES_FILE, EVENTS_FILE, STREAMS_DIR, STREAM_NAME_REGEX, branchCache, BRANCH_CACHE_TTL_MS, STATE_FILES, MAX_CACHE_ENTRIES, learningsCacheMap, WEIGHTS, PROMOTABLE_OUTCOMES, failuresCacheMap, FAILURE_LINE_REGEX, SAFE_GATE_COMMAND, SkillEventSchema, knownHashesCache, EVENT_FORMATTERS, RuleRegistry, DEFAULT_SECURITY_CONFIG, RuleOverrideSchema, SecurityConfigSchema, secretRules, injectionRules, xssRules, cryptoRules, pathTraversalRules, networkRules, deserializationRules, agentConfigRules, mcpRules, insecureDefaultsRules, sharpEdgesRules, nodeRules, expressRules, reactRules, goRules, SecurityScanner, hiddenUnicodePatterns, reRolingPatterns, permissionEscalationPatterns, encodedPayloadPatterns, indirectInjectionPatterns, contextManipulationPatterns, socialEngineeringPatterns, suspiciousPatterns, ALL_PATTERNS, DESTRUCTIVE_BASH, TAINT_DURATION_MS, DEFAULT_SESSION_ID, SecurityCategorySnapshotSchema, SupplyChainSnapshotSchema, SecurityTimelineSnapshotSchema, FindingLifecycleSchema, SecurityTimelineFileSchema, DirectionSchema2, SecurityTrendLineSchema, TrendAttributionSchema, SecurityTrendResultSchema, TimeToFixStatsSchema, TimeToFixResultSchema, EMPTY_SUPPLY_CHAIN, SecurityTimelineManager, ALL_CHECKS, STATUS_ICONS, CINotifier, ExclusionSet, PREFIX_PATTERNS, TEST_FILE_PATTERN, MD_FILE_PATTERN, ALL_DOMAINS, SECURITY_PATTERNS, SEVERITY_RANK, SEVERITY_ORDER, SEVERITY_LABELS, VALIDATED_BY_RANK, COMPLIANCE_DESCRIPTOR, EXPORT_RE, BUG_DETECTION_DESCRIPTOR, SECURITY_DESCRIPTOR, EVAL_PATTERN, SECRET_PATTERNS, SQL_CONCAT_PATTERN, SHELL_EXEC_PATTERN, ARCHITECTURE_DESCRIPTOR, LARGE_FILE_THRESHOLD, VIOLATION_FILE_RE, LEARNINGS_DESCRIPTOR, RELEVANCE_THRESHOLD, AGENT_DESCRIPTORS, AGENT_RUNNERS, DOWNGRADE_MAP, DEFAULT_PROVIDER_TIERS, SMALL_SUGGESTION_LINE_LIMIT, FILE_LINE_RANGE_PATTERN, FILE_LINE_PATTERN, FILE_ONLY_PATTERN, VALIDATION_SCORES, DOMAIN_BASELINES, FACTOR_WEIGHTS, EVIDENCE_SATURATION, CORROBORATED_AGREEMENT, STANDALONE_AGREEMENT, AGREEMENT_LINE_GAP, SECURITY_SENSITIVE_PATH, MIGRATION_PATH, TEST_PATH, CONFIG_PATH, STAGE_DOMAINS, EM_DASH2, STATUS_RANK, RETRY_DEFAULTS, GitHubIssuesSyncAdapter, syncMutex, PRIORITY_RANK, POSITION_WEIGHT, DEPENDENTS_WEIGHT, AFFINITY_WEIGHT, InteractionTypeSchema, QuestionSchema, ConfirmationSchema, TransitionSchema, EmitInteractionInputSchema, ProjectScanner, SHELL_TEMPLATE, STYLES, SCRIPTS, MockLLMService, llmService, ContentPipeline, BlueprintGenerator, TOKENS_PER_MILLION, fallback_default, LITELLM_PRICING_URL, CACHE_TTL_MS, STALENESS_WARNING_DAYS, MICRODOLLARS_PER_DOLLAR, TOKENS_PER_MILLION2, StructuralStrategy, DEFAULT_TOKEN_BUDGET, CHARS_PER_TOKEN, TRUNCATION_MARKER, TruncationStrategy, CompactionPipeline, STABILITY_LOOKUP, TIER_ORDER, AnthropicCacheAdapter, TIER_ORDER2, OpenAICacheAdapter, TIER_ORDER3, CACHED_CONTENT_MARKER, GeminiCacheAdapter, VERSION, POSTHOG_BATCH_URL, MAX_ATTEMPTS, TIMEOUT_MS;
13963
+ var VALID_TYPES, CONVENTIONAL_PATTERN, DEFAULT_AGNIX_TIMEOUT_MS, HARNESS_AGNIX_DISABLE, HARNESS_AGNIX_BIN, CLAUDE_MD_WARN_BYTES, CLAUDE_MD_ERROR_BYTES, CONTEXT_FILES, MIN_DESCRIPTION_LENGTH, SETTINGS_PATHS, KNOWN_HOOK_EVENTS, MCP_SETTINGS_FILES, REQUIRED_SECTIONS, SETTINGS_FILES, KNOWN_AGNIX_TOOLS, DEFAULT_SECTIONS, DEFAULT_RATIOS, NODE_TYPE_TO_CATEGORY, SECTION_LEVEL_MAP, DEFAULT_LEVEL, DEFAULT_BUDGET, DEFAULT_LOADER_CONFIG, LEVEL_FRACTIONS, PHASE_PRIORITIES, ManifestSchema, BundleConstraintsSchema, BundleSchema, ContributionsSchema, LockfilePackageSchema, LockfileSchema, SharableLayerSchema, SharableForbiddenImportSchema, SharableBoundaryConfigSchema, SharableSecurityRulesSchema, VALID_SCOPES, LINE_PATTERN, START_PATTERN, END_PATTERN, CODE_BLOCK_LANGUAGES, DEFAULT_DRIFT_CONFIG, FILE_TYPES, EXPORT_TYPES, CONVENTION_DESCRIPTIONS, RULE_CHECKERS, EntropyAnalyzer, readFile42, writeFile32, unlink22, mkdir22, copyFile2, DEFAULT_FIX_CONFIG, EXPORT_TYPE_KEYWORD, ALWAYS_UNSAFE_TYPES, idCounter, DEAD_CODE_FIX_ACTIONS, MustExportRuleSchema, MustExportDefaultRuleSchema, NoExportRuleSchema, MustImportRuleSchema, NoImportRuleSchema, NamingRuleSchema, MaxExportsRuleSchema, MaxLinesRuleSchema, RequireJSDocRuleSchema, RuleSchema, ConfigPatternSchema, PatternConfigSchema, DriftConfigSchema, DeadCodeConfigSchema, EntropyConfigSchema, BaselineManager, BenchmarkRunner, RegressionDetector, SKIP_DIRS, SOURCE_EXTENSIONS, FUNCTION_DECL_RE, CONST_DECL_RE, CriticalPathResolver, NoOpTelemetryAdapter, NoOpExecutor, ConsoleSink, feedbackConfig, ChecklistBuilder, AgentActionEmitter, globalEmitter, FileSink, NoOpSink, CategorySnapshotSchema, TimelineSnapshotSchema, TimelineFileSchema, TrendLineSchema, TrendResultSchema, DEFAULT_STABILITY_THRESHOLDS, ALL_CATEGORIES, TimelineManager, ConfidenceTierSchema, RegressionResultSchema, DirectionSchema, CategoryForecastSchema, SpecImpactSignalsSchema, SpecImpactEstimateSchema, ContributingFeatureSchema, AdjustedForecastSchema, PredictionWarningSchema, StabilityForecastSchema, PredictionResultSchema, PredictionOptionsSchema, VALID_STATUSES, EM_DASH, VALID_PRIORITIES, ALL_CATEGORIES2, DIRECTION_THRESHOLD, PredictionEngine, DEFAULT_COEFFICIENTS, SpecImpactEstimator, EMPTY_HISTORY, ViolationHistoryManager, NORMALIZERS, MAX_SAMPLES, DEFAULT_WINDOW_WEEKS, DEFAULT_MIN_OCCURRENCES, FailureEntrySchema, HandoffSchema, GateCheckSchema, GateResultSchema, GateConfigSchema, HarnessStateSchema, DEFAULT_STATE, StreamInfoSchema, StreamIndexSchema, DEFAULT_STREAM_INDEX, HARNESS_DIR, STATE_FILE, LEARNINGS_FILE, FAILURES_FILE, HANDOFF_FILE, GATE_CONFIG_FILE, INDEX_FILE, SESSIONS_DIR, SESSION_INDEX_FILE, SUMMARY_FILE, SESSION_STATE_FILE, ARCHIVE_DIR, CONTENT_HASHES_FILE, EVENTS_FILE, STREAMS_DIR, STREAM_NAME_REGEX, branchCache, BRANCH_CACHE_TTL_MS, STATE_FILES, MAX_CACHE_ENTRIES, learningsCacheMap, WEIGHTS, PROMOTABLE_OUTCOMES, failuresCacheMap, FAILURE_LINE_REGEX, SAFE_GATE_COMMAND, SkillEventSchema, knownHashesCache, EVENT_FORMATTERS, RuleRegistry, DEFAULT_SECURITY_CONFIG, RuleOverrideSchema, SecurityConfigSchema, secretRules, injectionRules, xssRules, cryptoRules, pathTraversalRules, networkRules, deserializationRules, agentConfigRules, mcpRules, insecureDefaultsRules, sharpEdgesRules, nodeRules, expressRules, reactRules, goRules, SecurityScanner, hiddenUnicodePatterns, reRolingPatterns, permissionEscalationPatterns, encodedPayloadPatterns, indirectInjectionPatterns, contextManipulationPatterns, socialEngineeringPatterns, suspiciousPatterns, ALL_PATTERNS, DESTRUCTIVE_BASH, TAINT_DURATION_MS, DEFAULT_SESSION_ID, SecurityCategorySnapshotSchema, SupplyChainSnapshotSchema, SecurityTimelineSnapshotSchema, FindingLifecycleSchema, SecurityTimelineFileSchema, DirectionSchema2, SecurityTrendLineSchema, TrendAttributionSchema, SecurityTrendResultSchema, TimeToFixStatsSchema, TimeToFixResultSchema, EMPTY_SUPPLY_CHAIN, SecurityTimelineManager, ALL_CHECKS, STATUS_ICONS, CINotifier, ExclusionSet, PREFIX_PATTERNS, TEST_FILE_PATTERN, MD_FILE_PATTERN, ALL_DOMAINS, SECURITY_PATTERNS, SEVERITY_RANK, SEVERITY_ORDER, SEVERITY_LABELS, VALIDATED_BY_RANK, VALIDATION_SCORES, DOMAIN_BASELINES, FACTOR_WEIGHTS, EVIDENCE_SATURATION, CORROBORATED_AGREEMENT, STANDALONE_AGREEMENT, AGREEMENT_LINE_GAP, COMPLIANCE_DESCRIPTOR, EXPORT_RE, BUG_DETECTION_DESCRIPTOR, SECURITY_DESCRIPTOR, EVAL_PATTERN, SECRET_PATTERNS, SQL_CONCAT_PATTERN, SHELL_EXEC_PATTERN, ARCHITECTURE_DESCRIPTOR, LARGE_FILE_THRESHOLD, VIOLATION_FILE_RE, LEARNINGS_DESCRIPTOR, RELEVANCE_THRESHOLD, AGENT_DESCRIPTORS, AGENT_RUNNERS, DOWNGRADE_MAP, DEFAULT_PROVIDER_TIERS, SMALL_SUGGESTION_LINE_LIMIT, FILE_LINE_RANGE_PATTERN, FILE_LINE_PATTERN, FILE_ONLY_PATTERN, SECURITY_SENSITIVE_PATH, MIGRATION_PATH, TEST_PATH, CONFIG_PATH, STAGE_DOMAINS, EM_DASH2, STATUS_RANK, RETRY_DEFAULTS, GitHubIssuesSyncAdapter, syncMutex, PRIORITY_RANK, POSITION_WEIGHT, DEPENDENTS_WEIGHT, AFFINITY_WEIGHT, InteractionTypeSchema, QuestionSchema, ConfirmationSchema, TransitionSchema, EmitInteractionInputSchema, ProjectScanner, SHELL_TEMPLATE, STYLES, SCRIPTS, MockLLMService, llmService, ContentPipeline, BlueprintGenerator, TOKENS_PER_MILLION, fallback_default, LITELLM_PRICING_URL, CACHE_TTL_MS, STALENESS_WARNING_DAYS, MICRODOLLARS_PER_DOLLAR, TOKENS_PER_MILLION2, StructuralStrategy, DEFAULT_TOKEN_BUDGET, CHARS_PER_TOKEN, TRUNCATION_MARKER, TruncationStrategy, CompactionPipeline, STABILITY_LOOKUP, TIER_ORDER, AnthropicCacheAdapter, TIER_ORDER2, OpenAICacheAdapter, TIER_ORDER3, CACHED_CONTENT_MARKER, GeminiCacheAdapter, VERSION, POSTHOG_BATCH_URL, MAX_ATTEMPTS, TIMEOUT_MS;
13932
13964
  var init_dist3 = __esm({
13933
13965
  "../core/dist/index.mjs"() {
13934
13966
  init_chunk_QLTIBLN5();
@@ -18020,6 +18052,28 @@ var init_dist3 = __esm({
18020
18052
  heuristic: 1,
18021
18053
  graph: 2
18022
18054
  };
18055
+ VALIDATION_SCORES = {
18056
+ mechanical: 1,
18057
+ graph: 0.8,
18058
+ heuristic: 0.5
18059
+ };
18060
+ DOMAIN_BASELINES = {
18061
+ security: 0.7,
18062
+ bug: 0.6,
18063
+ architecture: 0.65,
18064
+ compliance: 0.75,
18065
+ learnings: 0.5
18066
+ };
18067
+ FACTOR_WEIGHTS = {
18068
+ validation: 0.35,
18069
+ evidence: 0.3,
18070
+ agreement: 0.15,
18071
+ historical: 0.2
18072
+ };
18073
+ EVIDENCE_SATURATION = 3;
18074
+ CORROBORATED_AGREEMENT = 1;
18075
+ STANDALONE_AGREEMENT = 0.5;
18076
+ AGREEMENT_LINE_GAP = 3;
18023
18077
  COMPLIANCE_DESCRIPTOR = {
18024
18078
  domain: "compliance",
18025
18079
  tier: "standard",
@@ -18133,28 +18187,6 @@ var init_dist3 = __esm({
18133
18187
  FILE_LINE_RANGE_PATTERN = /^([\w./@-]+\.\w+):(\d+)-(\d+)/;
18134
18188
  FILE_LINE_PATTERN = /^([\w./@-]+\.\w+):(\d+)/;
18135
18189
  FILE_ONLY_PATTERN = /^([\w./@-]+\.\w+)\s/;
18136
- VALIDATION_SCORES = {
18137
- mechanical: 1,
18138
- graph: 0.8,
18139
- heuristic: 0.5
18140
- };
18141
- DOMAIN_BASELINES = {
18142
- security: 0.7,
18143
- bug: 0.6,
18144
- architecture: 0.65,
18145
- compliance: 0.75,
18146
- learnings: 0.5
18147
- };
18148
- FACTOR_WEIGHTS = {
18149
- validation: 0.35,
18150
- evidence: 0.3,
18151
- agreement: 0.15,
18152
- historical: 0.2
18153
- };
18154
- EVIDENCE_SATURATION = 3;
18155
- CORROBORATED_AGREEMENT = 1;
18156
- STANDALONE_AGREEMENT = 0.5;
18157
- AGREEMENT_LINE_GAP = 3;
18158
18190
  SECURITY_SENSITIVE_PATH = /(auth|crypto|secret|token|password|session|permission)/i;
18159
18191
  MIGRATION_PATH = /(migration|schema|db\/|database\/)/i;
18160
18192
  TEST_PATH = /\.(test|spec)\.(ts|tsx|js|jsx|mts|cts)$/;
@@ -19235,6 +19267,13 @@ export {
19235
19267
  buildExclusionSet,
19236
19268
  detectChangeType,
19237
19269
  scopeContext,
19270
+ VALIDATION_SCORES,
19271
+ DOMAIN_BASELINES,
19272
+ FACTOR_WEIGHTS,
19273
+ EVIDENCE_SATURATION,
19274
+ CORROBORATED_AGREEMENT,
19275
+ STANDALONE_AGREEMENT,
19276
+ AGREEMENT_LINE_GAP,
19238
19277
  COMPLIANCE_DESCRIPTOR,
19239
19278
  runComplianceAgent,
19240
19279
  BUG_DETECTION_DESCRIPTOR,
@@ -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-ACIP5BUO.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-EYPG4ZMC.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-T5J2AJH6.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-GEBHWBPR.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-OVTGS7DL.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-7I5MCEFP.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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KHMKAC6E.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KHMKAC6E.js";
4
4
  import {
5
5
  Ok
6
6
  } from "./chunk-RL4VMEXL.js";
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  findConfigFile,
9
9
  loadConfig
10
- } from "./chunk-WIQA4BSH.js";
10
+ } from "./chunk-5R2LFUU3.js";
11
11
  import {
12
12
  init_dist
13
- } from "./chunk-MI6MA6OP.js";
13
+ } from "./chunk-KHMKAC6E.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-UMONICND.js");
39
39
  const typeFilter = input.type ?? "all";
40
40
  const projectPath = sanitizePath(input.path);
41
41
  let entryPoints;
@@ -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-UMONICND.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-UMONICND.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-UMONICND.js");
180
180
  const resolver = new CriticalPathResolver(sanitizePath(input.path));
181
181
  const result = await resolver.resolve();
182
182
  return resultToMcpResponse(Ok(result));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectConfig
3
- } from "./chunk-47N6R2F4.js";
3
+ } from "./chunk-UI6NWJJK.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-UMONICND.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-UMONICND.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);
@@ -27,7 +27,7 @@ var runSecurityScanDefinition = {
27
27
  };
28
28
  async function handleRunSecurityScan(input) {
29
29
  try {
30
- const core = await import("./dist-WCSJHQPK.js");
30
+ const core = await import("./dist-UMONICND.js");
31
31
  const projectRoot = sanitizePath(input.path);
32
32
  let configData = {};
33
33
  try {
@@ -114,7 +114,7 @@ var getSecurityTrendsDefinition = {
114
114
  };
115
115
  async function handleGetSecurityTrends(input) {
116
116
  try {
117
- const core = await import("./dist-WCSJHQPK.js");
117
+ const core = await import("./dist-UMONICND.js");
118
118
  const projectRoot = sanitizePath(input.path);
119
119
  const manager = new core.SecurityTimelineManager(projectRoot);
120
120
  const trendOptions = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KHMKAC6E.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KHMKAC6E.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-W6Y7ZW3Y.js";
7
7
  import {
8
8
  init_dist
9
- } from "./chunk-MI6MA6OP.js";
9
+ } from "./chunk-KHMKAC6E.js";
10
10
  import {
11
11
  Ok
12
12
  } from "./chunk-RL4VMEXL.js";
@@ -127,7 +127,7 @@ function buildSummaryResponse(report) {
127
127
  }
128
128
  async function handleDetectEntropy(input) {
129
129
  try {
130
- const { EntropyAnalyzer } = await import("./dist-WCSJHQPK.js");
130
+ const { EntropyAnalyzer } = await import("./dist-UMONICND.js");
131
131
  const typeFilter = input.type ?? "all";
132
132
  const analyzer = new EntropyAnalyzer({
133
133
  rootDir: sanitizePath(input.path),
@@ -146,7 +146,7 @@ async function handleDetectEntropy(input) {
146
146
  return resultToMcpResponse(result);
147
147
  }
148
148
  if (!result.ok) return resultToMcpResponse(result);
149
- const { createFixes, applyFixes, generateSuggestions } = await import("./dist-WCSJHQPK.js");
149
+ const { createFixes, applyFixes, generateSuggestions } = await import("./dist-UMONICND.js");
150
150
  const report = result.value;
151
151
  const deadCode = report.deadCode;
152
152
  const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KHMKAC6E.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generateCIWorkflow
3
- } from "./chunk-EHRZMOQ2.js";
4
- import "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-WN6YIQ66.js";
4
+ import "./chunk-KHMKAC6E.js";
5
5
  import "./chunk-RL4VMEXL.js";
6
6
  import "./chunk-K2SON7TI.js";
7
7
  import "./chunk-KFQGP6VL.js";
@@ -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-KHMKAC6E.js";
392
399
  import {
393
400
  DEFAULT_SKILL_CONTEXT_BUDGET,
394
401
  Err,
@@ -403,6 +410,7 @@ 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,11 +1,11 @@
1
1
  import {
2
2
  checkDocsDefinition,
3
3
  handleCheckDocs
4
- } from "./chunk-GEEYCQDS.js";
4
+ } from "./chunk-2OIPQMU5.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-5R2LFUU3.js";
8
+ import "./chunk-KHMKAC6E.js";
9
9
  import "./chunk-RL4VMEXL.js";
10
10
  import "./chunk-K2SON7TI.js";
11
11
  import "./chunk-3WGJMBKH.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TemplateEngine
3
- } from "./chunk-FSNPBT74.js";
4
- import "./chunk-MI6MA6OP.js";
3
+ } from "./chunk-KDHZAL4B.js";
4
+ import "./chunk-KHMKAC6E.js";
5
5
  import "./chunk-RL4VMEXL.js";
6
6
  import "./chunk-K2SON7TI.js";
7
7
  import "./chunk-KFQGP6VL.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  detectEntropyDefinition,
3
3
  handleDetectEntropy
4
- } from "./chunk-M55DGGF3.js";
4
+ } from "./chunk-YFIALHGI.js";
5
5
  import "./chunk-EPUKTTJZ.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
- import "./chunk-MI6MA6OP.js";
7
+ import "./chunk-KHMKAC6E.js";
8
8
  import "./chunk-RL4VMEXL.js";
9
9
  import "./chunk-K2SON7TI.js";
10
10
  import "./chunk-KFQGP6VL.js";
@@ -5,7 +5,7 @@ import {
5
5
  handleCreateSelfReview,
6
6
  handleRequestPeerReview,
7
7
  requestPeerReviewDefinition
8
- } from "./chunk-FES2YEQU.js";
8
+ } from "./chunk-2TFT7XRX.js";
9
9
  import "./chunk-EPUKTTJZ.js";
10
10
  import "./chunk-W6Y7ZW3Y.js";
11
11
  import "./chunk-KFQGP6VL.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createGenerateAgentDefinitionsCommand,
3
3
  generateAgentDefinitions
4
- } from "./chunk-AT74HEQM.js";
4
+ } from "./chunk-2X336Q7J.js";
5
5
  import "./chunk-KET4QQZB.js";
6
- import "./chunk-P7PANON5.js";
6
+ import "./chunk-KWQTMJ3B.js";
7
7
  import "./chunk-3ISINLYT.js";
8
8
  import "./chunk-6B6UN6SG.js";
9
- import "./chunk-MI6MA6OP.js";
9
+ import "./chunk-KHMKAC6E.js";
10
10
  import "./chunk-RL4VMEXL.js";
11
11
  import "./chunk-K2SON7TI.js";
12
12
  import "./chunk-3WGJMBKH.js";