@llm-dev-ops/agentics-cli 2.7.5 → 2.7.7

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.
@@ -1728,18 +1728,23 @@ export function renderExecutiveSummary(query, simulationResult, platformResults)
1728
1728
  if (fin.hasData) {
1729
1729
  lines.push('## Financial Impact', '');
1730
1730
  lines.push('| Metric | Value |', '|--------|-------|');
1731
+ // ADR-PIPELINE-096 D3 — pass `fin.sources?.X` to fcvTag so the rendered
1732
+ // cell carries `src=domain/agent` (canonical) or omits the attribute
1733
+ // (fell through to heuristic). FCR-012 detects the missing-src case
1734
+ // when canonical agents WERE successful, distinguishing legitimate
1735
+ // heuristic fallback from skipped attribution.
1731
1736
  if (fin.budget)
1732
- lines.push(`| Total Investment | ${fcvTag('investment', 'full-program', 'executive-summary')} ${fin.budget} |`);
1737
+ lines.push(`| Total Investment | ${fcvTag('investment', 'full-program', 'executive-summary', fin.sources?.budget)} ${fin.budget} |`);
1733
1738
  if (fin.roi)
1734
- lines.push(`| Expected ROI | ${fcvTag('roi', 'full-program', 'executive-summary')} ${fin.roi} |`);
1739
+ lines.push(`| Expected ROI | ${fcvTag('roi', 'full-program', 'executive-summary', fin.sources?.roi)} ${fin.roi} |`);
1735
1740
  if (fin.npv)
1736
- lines.push(`| 5-Year NPV | ${fcvTag('npv', 'full-program', 'executive-summary')} ${fin.npv} |`);
1741
+ lines.push(`| 5-Year NPV | ${fcvTag('npv', 'full-program', 'executive-summary', fin.sources?.npv)} ${fin.npv} |`);
1737
1742
  if (fin.payback)
1738
- lines.push(`| Payback Period | ${fcvTag('timeline', 'full-program', 'executive-summary')} ${fin.payback} |`);
1743
+ lines.push(`| Payback Period | ${fcvTag('timeline', 'full-program', 'executive-summary', fin.sources?.payback)} ${fin.payback} |`);
1739
1744
  if (fin.revenue)
1740
- lines.push(`| Revenue Impact | ${fcvTag('savings', 'full-program', 'executive-summary')} ${fin.revenue} |`);
1745
+ lines.push(`| Revenue Impact | ${fcvTag('savings', 'full-program', 'executive-summary', fin.sources?.revenue)} ${fin.revenue} |`);
1741
1746
  if (fin.costSavings)
1742
- lines.push(`| Cost Savings | ${fcvTag('savings', 'full-program', 'executive-summary')} ${fin.costSavings} |`);
1747
+ lines.push(`| Cost Savings | ${fcvTag('savings', 'full-program', 'executive-summary', fin.sources?.costSavings)} ${fin.costSavings} |`);
1743
1748
  lines.push('');
1744
1749
  }
1745
1750
  // Risk Profile — never empty
@@ -1887,18 +1892,19 @@ export function renderDecisionMemo(query, simulationResult, platformResults) {
1887
1892
  lines.push('## Financial Impact', '');
1888
1893
  if (fin.hasData) {
1889
1894
  lines.push('| Metric | Value |', '|--------|-------|');
1895
+ // ADR-PIPELINE-096 D3 — pass per-metric `src=` to fcvTag.
1890
1896
  if (fin.budget)
1891
- lines.push(`| Total Investment | ${fcvTag('investment', 'full-program', 'decision-memo')} ${fin.budget} |`);
1897
+ lines.push(`| Total Investment | ${fcvTag('investment', 'full-program', 'decision-memo', fin.sources?.budget)} ${fin.budget} |`);
1892
1898
  if (fin.roi)
1893
- lines.push(`| Expected ROI | ${fcvTag('roi', 'full-program', 'decision-memo')} ${fin.roi} |`);
1899
+ lines.push(`| Expected ROI | ${fcvTag('roi', 'full-program', 'decision-memo', fin.sources?.roi)} ${fin.roi} |`);
1894
1900
  if (fin.npv)
1895
- lines.push(`| 5-Year NPV | ${fcvTag('npv', 'full-program', 'decision-memo')} ${fin.npv} |`);
1901
+ lines.push(`| 5-Year NPV | ${fcvTag('npv', 'full-program', 'decision-memo', fin.sources?.npv)} ${fin.npv} |`);
1896
1902
  if (fin.payback)
1897
- lines.push(`| Payback Period | ${fcvTag('timeline', 'full-program', 'decision-memo')} ${fin.payback} |`);
1903
+ lines.push(`| Payback Period | ${fcvTag('timeline', 'full-program', 'decision-memo', fin.sources?.payback)} ${fin.payback} |`);
1898
1904
  if (fin.revenue)
1899
- lines.push(`| Revenue Impact | ${fcvTag('savings', 'full-program', 'decision-memo')} ${fin.revenue} |`);
1905
+ lines.push(`| Revenue Impact | ${fcvTag('savings', 'full-program', 'decision-memo', fin.sources?.revenue)} ${fin.revenue} |`);
1900
1906
  if (fin.costSavings)
1901
- lines.push(`| Cost Savings | ${fcvTag('savings', 'full-program', 'decision-memo')} ${fin.costSavings} |`);
1907
+ lines.push(`| Cost Savings | ${fcvTag('savings', 'full-program', 'decision-memo', fin.sources?.costSavings)} ${fin.costSavings} |`);
1902
1908
  lines.push('');
1903
1909
  }
1904
1910
  else {