@llm-dev-ops/agentics-cli 2.1.4 → 2.3.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.
Files changed (76) hide show
  1. package/dist/pipeline/auto-chain.d.ts +73 -0
  2. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  3. package/dist/pipeline/auto-chain.js +525 -38
  4. package/dist/pipeline/auto-chain.js.map +1 -1
  5. package/dist/pipeline/phase2/phases/prompt-generator.d.ts.map +1 -1
  6. package/dist/pipeline/phase2/phases/prompt-generator.js +53 -6
  7. package/dist/pipeline/phase2/phases/prompt-generator.js.map +1 -1
  8. package/dist/pipeline/phase2/schemas.d.ts +10 -10
  9. package/dist/pipeline/phase4/phases/http-server-generator.d.ts +12 -0
  10. package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
  11. package/dist/pipeline/phase4/phases/http-server-generator.js +92 -25
  12. package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
  13. package/dist/pipeline/phase5-build/phase5-build-coordinator.d.ts.map +1 -1
  14. package/dist/pipeline/phase5-build/phase5-build-coordinator.js +44 -0
  15. package/dist/pipeline/phase5-build/phase5-build-coordinator.js.map +1 -1
  16. package/dist/pipeline/phase5-build/phases/post-generation-validator.d.ts +75 -0
  17. package/dist/pipeline/phase5-build/phases/post-generation-validator.d.ts.map +1 -0
  18. package/dist/pipeline/phase5-build/phases/post-generation-validator.js +728 -0
  19. package/dist/pipeline/phase5-build/phases/post-generation-validator.js.map +1 -0
  20. package/dist/pipeline/phase5-build/types.d.ts +1 -1
  21. package/dist/pipeline/phase5-build/types.d.ts.map +1 -1
  22. package/dist/pipeline/types.d.ts +84 -0
  23. package/dist/pipeline/types.d.ts.map +1 -1
  24. package/dist/pipeline/types.js +43 -1
  25. package/dist/pipeline/types.js.map +1 -1
  26. package/dist/synthesis/consensus-svg.d.ts +19 -0
  27. package/dist/synthesis/consensus-svg.d.ts.map +1 -0
  28. package/dist/synthesis/consensus-svg.js +95 -0
  29. package/dist/synthesis/consensus-svg.js.map +1 -0
  30. package/dist/synthesis/consensus-tiers.d.ts +99 -0
  31. package/dist/synthesis/consensus-tiers.d.ts.map +1 -0
  32. package/dist/synthesis/consensus-tiers.js +285 -0
  33. package/dist/synthesis/consensus-tiers.js.map +1 -0
  34. package/dist/synthesis/domain-labor-classifier.d.ts +101 -0
  35. package/dist/synthesis/domain-labor-classifier.d.ts.map +1 -0
  36. package/dist/synthesis/domain-labor-classifier.js +312 -0
  37. package/dist/synthesis/domain-labor-classifier.js.map +1 -0
  38. package/dist/synthesis/domain-unit-registry.d.ts +59 -0
  39. package/dist/synthesis/domain-unit-registry.d.ts.map +1 -0
  40. package/dist/synthesis/domain-unit-registry.js +294 -0
  41. package/dist/synthesis/domain-unit-registry.js.map +1 -0
  42. package/dist/synthesis/financial-claim-extractor.d.ts +52 -0
  43. package/dist/synthesis/financial-claim-extractor.d.ts.map +1 -0
  44. package/dist/synthesis/financial-claim-extractor.js +351 -0
  45. package/dist/synthesis/financial-claim-extractor.js.map +1 -0
  46. package/dist/synthesis/financial-consistency-rules.d.ts +66 -0
  47. package/dist/synthesis/financial-consistency-rules.d.ts.map +1 -0
  48. package/dist/synthesis/financial-consistency-rules.js +432 -0
  49. package/dist/synthesis/financial-consistency-rules.js.map +1 -0
  50. package/dist/synthesis/financial-consistency-runner.d.ts +73 -0
  51. package/dist/synthesis/financial-consistency-runner.d.ts.map +1 -0
  52. package/dist/synthesis/financial-consistency-runner.js +131 -0
  53. package/dist/synthesis/financial-consistency-runner.js.map +1 -0
  54. package/dist/synthesis/forbidden-spin-phrases.d.ts +32 -0
  55. package/dist/synthesis/forbidden-spin-phrases.d.ts.map +1 -0
  56. package/dist/synthesis/forbidden-spin-phrases.js +84 -0
  57. package/dist/synthesis/forbidden-spin-phrases.js.map +1 -0
  58. package/dist/synthesis/phase-gate-thresholds.d.ts +30 -0
  59. package/dist/synthesis/phase-gate-thresholds.d.ts.map +1 -0
  60. package/dist/synthesis/phase-gate-thresholds.js +34 -0
  61. package/dist/synthesis/phase-gate-thresholds.js.map +1 -0
  62. package/dist/synthesis/prompts/index.d.ts.map +1 -1
  63. package/dist/synthesis/prompts/index.js +22 -0
  64. package/dist/synthesis/prompts/index.js.map +1 -1
  65. package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
  66. package/dist/synthesis/simulation-artifact-generator.js +89 -1
  67. package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
  68. package/dist/synthesis/simulation-renderers.d.ts +105 -2
  69. package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
  70. package/dist/synthesis/simulation-renderers.js +1056 -92
  71. package/dist/synthesis/simulation-renderers.js.map +1 -1
  72. package/dist/synthesis/unit-economics-loader.d.ts +71 -0
  73. package/dist/synthesis/unit-economics-loader.d.ts.map +1 -0
  74. package/dist/synthesis/unit-economics-loader.js +200 -0
  75. package/dist/synthesis/unit-economics-loader.js.map +1 -0
  76. package/package.json +1 -1
@@ -0,0 +1,71 @@
1
+ /**
2
+ * ADR-PIPELINE-066: Unit Economics Loader
3
+ *
4
+ * Reads `.agentics/runs/<run-id>/unit-economics.json` (or a caller-supplied
5
+ * directory) and returns a Zod-validated UnitEconomics record. Falls back to
6
+ * null when the file is absent or invalid — callers decide whether to use the
7
+ * heuristic fallback or throw.
8
+ */
9
+ import { type UnitEconomics } from '../pipeline/types.js';
10
+ export interface LoadUnitEconomicsResult {
11
+ readonly manifest: UnitEconomics | null;
12
+ /** Absolute path inspected, even when the file was missing. Useful for logs. */
13
+ readonly inspectedPath: string | null;
14
+ readonly reason: 'loaded' | 'missing' | 'invalid-json' | 'schema-rejected';
15
+ readonly error?: string;
16
+ }
17
+ /**
18
+ * Load the unit-economics manifest for a run.
19
+ *
20
+ * Search order:
21
+ * 1. `<runDir>/unit-economics.json`
22
+ * 2. `<runDir>/artifacts/unit-economics.json`
23
+ *
24
+ * Returns {manifest: null} for any missing/invalid case. This function never
25
+ * throws — the 3-tier precedence in renderFinancialAnalysis relies on a
26
+ * permissive contract.
27
+ */
28
+ export declare function loadUnitEconomics(runDir: string | null | undefined): LoadUnitEconomicsResult;
29
+ export interface UnitEconomicsFinancialModel {
30
+ readonly budget: string;
31
+ readonly roi: string;
32
+ readonly npv: string;
33
+ readonly payback: string;
34
+ readonly revenue: string;
35
+ readonly costSavings: string;
36
+ readonly methodology: string;
37
+ /** Scope ratio used for extrapolation (enterprise / measured). */
38
+ readonly scopeRatio: number;
39
+ }
40
+ /**
41
+ * Derive the FinancialData fields the executive renderer needs from a
42
+ * unit-economics manifest. Uses the manifest's own numbers — no heuristic
43
+ * substitution.
44
+ */
45
+ export declare function buildFinancialModelFromUnitEconomics(manifest: UnitEconomics): UnitEconomicsFinancialModel;
46
+ export declare class UnitEconomicsConsistencyError extends Error {
47
+ readonly code: string;
48
+ constructor(message: string, code?: string);
49
+ }
50
+ export interface ConsistencyCheckResult {
51
+ readonly passed: boolean;
52
+ readonly violations: string[];
53
+ }
54
+ /**
55
+ * Verify that numbers derived from the manifest still match the manifest
56
+ * within tolerance. Used right before we emit a document so drift between
57
+ * the manifest and the printed prose is caught.
58
+ */
59
+ export declare function verifyManifestConsistency(manifest: UnitEconomics, printed: {
60
+ measuredSavingsUsd?: number;
61
+ enterpriseSavingsUsd?: number;
62
+ }, tolerancePct?: number): ConsistencyCheckResult;
63
+ /**
64
+ * Entrypoint used by the renderer: run the check, then either throw (strict
65
+ * mode) or return the violations for a soft warning.
66
+ */
67
+ export declare function enforceManifestConsistency(manifest: UnitEconomics, printed: {
68
+ measuredSavingsUsd?: number;
69
+ enterpriseSavingsUsd?: number;
70
+ }): ConsistencyCheckResult;
71
+ //# sourceMappingURL=unit-economics-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unit-economics-loader.d.ts","sourceRoot":"","sources":["../../src/synthesis/unit-economics-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,sB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,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,EACD,YAAY,SAAI,GACf,sBAAsB,CAyCxB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE;IAAE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAAC,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAAE,GACtE,sBAAsB,CAMxB"}
@@ -0,0 +1,200 @@
1
+ /**
2
+ * ADR-PIPELINE-066: Unit Economics Loader
3
+ *
4
+ * Reads `.agentics/runs/<run-id>/unit-economics.json` (or a caller-supplied
5
+ * directory) and returns a Zod-validated UnitEconomics record. Falls back to
6
+ * null when the file is absent or invalid — callers decide whether to use the
7
+ * heuristic fallback or throw.
8
+ */
9
+ import * as fs from 'node:fs';
10
+ import * as path from 'node:path';
11
+ import { UnitEconomicsSchema, } from '../pipeline/types.js';
12
+ import { getSectorEntry } from './domain-unit-registry.js';
13
+ const MANIFEST_NAME = 'unit-economics.json';
14
+ /**
15
+ * Load the unit-economics manifest for a run.
16
+ *
17
+ * Search order:
18
+ * 1. `<runDir>/unit-economics.json`
19
+ * 2. `<runDir>/artifacts/unit-economics.json`
20
+ *
21
+ * Returns {manifest: null} for any missing/invalid case. This function never
22
+ * throws — the 3-tier precedence in renderFinancialAnalysis relies on a
23
+ * permissive contract.
24
+ */
25
+ export function loadUnitEconomics(runDir) {
26
+ if (!runDir) {
27
+ return { manifest: null, inspectedPath: null, reason: 'missing' };
28
+ }
29
+ const candidates = [
30
+ path.join(runDir, MANIFEST_NAME),
31
+ path.join(runDir, 'artifacts', MANIFEST_NAME),
32
+ ];
33
+ let inspectedPath = null;
34
+ for (const candidate of candidates) {
35
+ inspectedPath = candidate;
36
+ if (!fs.existsSync(candidate))
37
+ continue;
38
+ let raw;
39
+ try {
40
+ raw = fs.readFileSync(candidate, 'utf-8');
41
+ }
42
+ catch (err) {
43
+ return {
44
+ manifest: null,
45
+ inspectedPath: candidate,
46
+ reason: 'invalid-json',
47
+ error: err instanceof Error ? err.message : String(err),
48
+ };
49
+ }
50
+ let parsed;
51
+ try {
52
+ parsed = JSON.parse(raw);
53
+ }
54
+ catch (err) {
55
+ return {
56
+ manifest: null,
57
+ inspectedPath: candidate,
58
+ reason: 'invalid-json',
59
+ error: err instanceof Error ? err.message : String(err),
60
+ };
61
+ }
62
+ const result = UnitEconomicsSchema.safeParse(parsed);
63
+ if (!result.success) {
64
+ return {
65
+ manifest: null,
66
+ inspectedPath: candidate,
67
+ reason: 'schema-rejected',
68
+ error: result.error.issues.map(i => `${i.path.join('.')}: ${i.message}`).join('; '),
69
+ };
70
+ }
71
+ return { manifest: result.data, inspectedPath: candidate, reason: 'loaded' };
72
+ }
73
+ return { manifest: null, inspectedPath, reason: 'missing' };
74
+ }
75
+ function formatMoney(n) {
76
+ if (!Number.isFinite(n) || n <= 0)
77
+ return '$0';
78
+ if (n >= 1_000_000)
79
+ return `$${(n / 1_000_000).toFixed(1)}M`;
80
+ if (n >= 1_000)
81
+ return `$${(n / 1_000).toFixed(0)}K`;
82
+ return `$${Math.round(n)}`;
83
+ }
84
+ function computeScopeRatio(manifest) {
85
+ const entry = getSectorEntry(manifest.sector);
86
+ const keys = entry?.scopeKeys ?? ['units', 'rooms', 'sqft', 'vehicles', 'beds', 'agents', 'properties'];
87
+ for (const key of keys) {
88
+ const measured = manifest.measured_scope[key];
89
+ const enterprise = manifest.enterprise_scope[key];
90
+ if (typeof measured === 'number' && typeof enterprise === 'number' && measured > 0) {
91
+ return enterprise / measured;
92
+ }
93
+ }
94
+ // Fall back to the saved ratio implied by the two savings numbers.
95
+ if (manifest.annual_measured_savings_usd > 0) {
96
+ return manifest.annual_extrapolated_savings_usd / manifest.annual_measured_savings_usd;
97
+ }
98
+ return 1;
99
+ }
100
+ /**
101
+ * Derive the FinancialData fields the executive renderer needs from a
102
+ * unit-economics manifest. Uses the manifest's own numbers — no heuristic
103
+ * substitution.
104
+ */
105
+ export function buildFinancialModelFromUnitEconomics(manifest) {
106
+ const measured = manifest.annual_measured_savings_usd;
107
+ const enterprise = manifest.annual_extrapolated_savings_usd;
108
+ const ratio = computeScopeRatio(manifest);
109
+ const entry = getSectorEntry(manifest.sector);
110
+ const unitLabel = manifest.domain_unit.label;
111
+ const formula = entry?.savingsFormula ?? `${unitLabel} × unit economics`;
112
+ // Implementation cost rule-of-thumb: 40% of year-1 enterprise savings, floor $500K.
113
+ const implCost = Math.max(500_000, Math.round(enterprise * 0.4));
114
+ const roiPct = enterprise > 0 ? Math.round((enterprise / implCost) * 100) : 0;
115
+ const paybackMonths = enterprise > 0
116
+ ? Math.max(3, Math.min(36, Math.round((implCost / enterprise) * 12)))
117
+ : 24;
118
+ const npv5yr = Math.round(enterprise * 3.5 - implCost);
119
+ const methodology = `Bottom-up unit economics (${formula}); measured pilot $${formatMoney(measured)}/yr scales ${ratio.toFixed(1)}× to enterprise $${formatMoney(enterprise)}/yr via ${manifest.extrapolation_method}.`;
120
+ return {
121
+ budget: `${formatMoney(implCost)} – ${formatMoney(implCost * 1.4)} (${methodology})`,
122
+ roi: `${roiPct}% projected (${formatMoney(enterprise)} annual savings ÷ ${formatMoney(implCost)} investment)`,
123
+ npv: `${formatMoney(npv5yr)} 5-year NPV (10% discount rate, ${formatMoney(enterprise)}/yr enterprise savings)`,
124
+ payback: `${paybackMonths} months (break-even when cumulative savings exceed investment)`,
125
+ revenue: `${formatMoney(enterprise)} annual enterprise savings — ${formatMoney(measured)} measured on pilot scope, extrapolated via ${manifest.extrapolation_method}`,
126
+ costSavings: `Pilot (${describeScope(manifest.measured_scope)}): ${formatMoney(measured)}/yr · Enterprise (${describeScope(manifest.enterprise_scope)}): ${formatMoney(enterprise)}/yr`,
127
+ methodology,
128
+ scopeRatio: ratio,
129
+ };
130
+ }
131
+ function describeScope(scope) {
132
+ const parts = [];
133
+ const record = scope;
134
+ for (const key of ['properties', 'rooms', 'sqft', 'vehicles', 'beds', 'agents', 'units']) {
135
+ const v = record[key];
136
+ if (typeof v === 'number' && v > 0)
137
+ parts.push(`${v.toLocaleString()} ${key}`);
138
+ }
139
+ if (parts.length === 0)
140
+ return 'pilot scope';
141
+ return parts.join(', ');
142
+ }
143
+ // ============================================================================
144
+ // Scope-ratio consistency check — ADR-PIPELINE-066 §5
145
+ // ============================================================================
146
+ export class UnitEconomicsConsistencyError extends Error {
147
+ code;
148
+ constructor(message, code = 'ECLI-SYN-066') {
149
+ super(`${code}: ${message}`);
150
+ this.code = code;
151
+ this.name = 'UnitEconomicsConsistencyError';
152
+ }
153
+ }
154
+ /**
155
+ * Verify that numbers derived from the manifest still match the manifest
156
+ * within tolerance. Used right before we emit a document so drift between
157
+ * the manifest and the printed prose is caught.
158
+ */
159
+ export function verifyManifestConsistency(manifest, printed, tolerancePct = 1) {
160
+ const violations = [];
161
+ const tol = tolerancePct / 100;
162
+ if (typeof printed.measuredSavingsUsd === 'number') {
163
+ const delta = Math.abs(printed.measuredSavingsUsd - manifest.annual_measured_savings_usd);
164
+ const max = Math.max(1, manifest.annual_measured_savings_usd * tol);
165
+ if (delta > max) {
166
+ violations.push(`printed measured savings $${printed.measuredSavingsUsd.toLocaleString()} differs from manifest $${manifest.annual_measured_savings_usd.toLocaleString()} by more than ±${tolerancePct}%`);
167
+ }
168
+ }
169
+ if (typeof printed.enterpriseSavingsUsd === 'number') {
170
+ const delta = Math.abs(printed.enterpriseSavingsUsd - manifest.annual_extrapolated_savings_usd);
171
+ const max = Math.max(1, manifest.annual_extrapolated_savings_usd * tol);
172
+ if (delta > max) {
173
+ violations.push(`printed enterprise savings $${printed.enterpriseSavingsUsd.toLocaleString()} differs from manifest $${manifest.annual_extrapolated_savings_usd.toLocaleString()} by more than ±${tolerancePct}%`);
174
+ }
175
+ }
176
+ if (typeof printed.measuredSavingsUsd === 'number' &&
177
+ typeof printed.enterpriseSavingsUsd === 'number' &&
178
+ printed.measuredSavingsUsd > 0) {
179
+ const ratio = printed.enterpriseSavingsUsd / printed.measuredSavingsUsd;
180
+ const manifestRatio = computeScopeRatio(manifest);
181
+ const ratioDelta = Math.abs(ratio - manifestRatio);
182
+ const ratioMax = Math.max(0.01, manifestRatio * 0.05);
183
+ if (ratioDelta > ratioMax) {
184
+ violations.push(`pilot→enterprise ratio ${ratio.toFixed(2)}× differs from manifest scope ratio ${manifestRatio.toFixed(2)}× by more than ±5%`);
185
+ }
186
+ }
187
+ return { passed: violations.length === 0, violations };
188
+ }
189
+ /**
190
+ * Entrypoint used by the renderer: run the check, then either throw (strict
191
+ * mode) or return the violations for a soft warning.
192
+ */
193
+ export function enforceManifestConsistency(manifest, printed) {
194
+ const result = verifyManifestConsistency(manifest, printed);
195
+ if (!result.passed && process.env['AGENTICS_STRICT_UNIT_ECONOMICS'] === 'true') {
196
+ throw new UnitEconomicsConsistencyError(result.violations.join('; '));
197
+ }
198
+ return result;
199
+ }
200
+ //# sourceMappingURL=unit-economics-loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unit-economics-loader.js","sourceRoot":"","sources":["../../src/synthesis/unit-economics-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,mBAAmB,GAEpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAe,MAAM,2BAA2B,CAAC;AAExE,MAAM,aAAa,GAAG,qBAAqB,CAAC;AAU5C;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAiC;IACjE,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACpE,CAAC;IAED,MAAM,UAAU,GAAG;QACjB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC;QAChC,IAAI,CAAC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AQ,EAAE,CAAC;YAC1B,UAAU,CAAC,IAAI,CACb,0BAA0B,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,uCAAuC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAC9H,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;AACzD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,0BAA0B,CACxC,QAAuB,EACvB,OAAuE;IAEvE,MAAM,MAAM,GAAG,yBAAyB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5D,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,KAAK,MAAM,EAAE,CAAC;QAC/E,MAAM,IAAI,6BAA6B,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llm-dev-ops/agentics-cli",
3
- "version": "2.1.4",
3
+ "version": "2.3.0",
4
4
  "description": "Agentics CLI - Pure orchestration layer for agentics platform services",
5
5
  "type": "module",
6
6
  "main": "./dist/cli/index.js",