Skip to main content

Financial Model Ecosystem — Component Inventory

Date: 2026-02-12 Task: N.6.13 (Financial Ecosystem Components) Author: Claude (Opus 4.6)

Executive Summary

Created 7 new CODITECT components to enable persona-driven financial model orchestration via the /fm engine (ADR-177). The ecosystem maps 4 financial personas to specific /fm command sequences, with a routing skill, orchestration workflow, and validation hook.

Components Created

1. Persona Agents (4 files)

AgentFileRoleKey /fm CommandsQuality
Finance Controlleragents/finance-controller.mdBudget oversight, variance analysis, internal controlscompare, history, build --format xlsx80
CFOagents/cfo.mdStrategic leadership, board reporting, investor relationsbuild --format formula, funding, compare85
FP&A Analystagents/fpa-analyst.mdForecasting, scenario modeling, sensitivity analysisscenario clone, growth, compare, build --format all80
Financial Analystagents/financial-analyst.mdModel building, valuation, due diligenceseed-defaults, pricing, growth, funding, build --format all80

Architecture:

  • All 4 agents reference ADR-177
  • CFO has moe_role: orchestrator (delegates to other 3)
  • Other 3 have moe_role: specialist
  • All use model: opus and enterprise_category: B
  • Each agent includes complete /fm workflow examples with command sequences

2. Routing Skill (1 file)

ComponentFilePurpose
Financial Model Personasskills/financial-model-personas/SKILL.mdPersona routing decision tree + 10 workflow catalog entries

Key features:

  • Decision tree routing user requests to correct persona
  • 10 numbered workflows covering all 4 personas
  • /fm command quick reference with persona ownership
  • Multi-persona orchestration sequence (Analyst -> FPA -> Controller -> CFO)
  • Composes with: analyzing-business-data, business-analytics-patterns, financial-analytics, saas-metrics

3. Orchestration Workflow (1 file)

ComponentFilePurpose
FM Orchestration Workflowdocs/workflows/fm-orchestration-workflow.md4-phase pipeline with Mermaid diagram

Phases:

  1. Model Construction (Financial Analyst) -> foundation
  2. Scenario Analysis (FPA Analyst) -> variants
  3. Validation (Finance Controller) -> budget alignment
  4. Strategic Review (CFO) -> board/investor materials

Quick-start workflows:

  • Full Pipeline (all 4 phases)
  • Investor Prep (phases 1 + 4)
  • Monthly Operations (phases 1 + 2 + 3)

4. Validation Hook (1 file)

ComponentFilePurpose
Financial Model Validatorhooks/financial-model-validator.mdPost-build output validation

Validation categories:

  • Format completeness (file exists, non-empty, correct structure)
  • Metric sanity (8 range checks: ARR, breakeven, burn, LTV:CAC, etc.)
  • Reconciliation (revenue, cash flow, customer math, month continuity)

Pre-Existing Components (Leveraged)

The ecosystem builds on existing financial infrastructure:

TypeCountExamples
Finance agents50+cfo-dashboard, financial-analytics, investor-metric-calculator, etc.
Finance commands10+/fm, /finance-review, /finance-build, /pitch-deck, /business-plan
Finance skills5+analyzing-business-data, business-analytics-patterns, saas-metrics
Engine1coditect_fm.py (ADR-177, ~2100 lines, 10 tables, 4 output formats)

Key distinction: The 50+ existing agents are generic finance specialists. The 4 new persona agents are specifically designed to wrap the /fm engine with role-appropriate command sequences.

Persona Hierarchy

CFO (orchestrator)
├── FP&A Analyst (specialist) — scenarios, sensitivity, forecasting
├── Finance Controller (specialist) — budget, controls, audit
└── Financial Analyst (specialist) — model building, valuation, DD

Routing Matrix

User Request PatternRouted ToPhase
"Build a financial model"Financial Analyst1
"Create business model"Financial Analyst1
"Compare scenarios"FPA Analyst2
"What-if analysis"FPA Analyst2
"Budget variance"Finance Controller3
"Audit trail"Finance Controller3
"Investor deck"CFO4
"Board presentation"CFO4
"Full financial package"All (pipeline)1-4

Quality Metrics

MetricValue
Components created7
Total estimated tokens~14,000
Average quality score81
ADR compliance100% (all reference ADR-177)
MoE classification confidence0.900-0.920
/fm commands coveredAll 10 subcommands
Output formats coveredAll 4 (xlsx, formula, json, csv)

Future Enhancements

  1. Script automation — Python script to auto-route /fm requests to correct persona
  2. Integration tests — Validate each persona workflow end-to-end against test database
  3. Headcount/expense hooks — Additional hooks for /fm headcount and expense_ratio changes
  4. Dashboard integration — Connect cfo-dashboard agent to /fm build --format json output

Track: N.6.13 ADR: ADR-177 (Database-Driven Financial Model Engine)