tractatus/src
TheFlow 7cff018ee6 feat(bi): add business intelligence backend infrastructure
Implements core BI analytics capabilities for governance ROI measurement:

- Activity classifier utility for automatic event categorization
  * Detects activity type (client communication, infrastructure, etc.)
  * Calculates risk level, stakeholder impact, data sensitivity
  * Computes business impact scores (0-100)

- Enhanced audit controller with BI analytics endpoints
  * Cost avoidance calculator with user-configurable factors
  * Framework maturity scoring (0-100 scale)
  * Team performance comparison (AI vs human)
  * Activity type breakdown and ROI projections

- New API routes for cost configuration (GET/POST /api/admin/cost-config)

- Hook validator enhancement
  * Automatic activity classification on governance decisions
  * MongoDB audit logging with BI context fields
  * Business impact scoring for blocked actions

Status: Research prototype v1.0
Note: Cost factors are illustrative placeholders requiring validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 10:07:33 +13:00
..
config chore: add optimal submission timing to publication targets config 2025-10-26 11:34:27 +13:00
controllers feat(bi): add business intelligence backend infrastructure 2025-10-27 10:07:33 +13:00
middleware feat(governance): wave 5 enforcement - 100% coverage achieved (79% → 100%) 2025-10-25 14:10:23 +13:00
models feat(cultural-sensitivity): implement Phase 1 - detection and flagging (inst_081) 2025-10-25 11:10:06 +13:00
routes feat(bi): add business intelligence backend infrastructure 2025-10-27 10:07:33 +13:00
services fix(i18n): add axios dependency and fix DeepL API parameters 2025-10-26 00:59:05 +13:00
utils feat(bi): add business intelligence backend infrastructure 2025-10-27 10:07:33 +13:00
server.js feat: add SEO-friendly blog post URL routing (/blog/:slug) 2025-10-25 20:25:03 +13:00