feat(platform): close AI expense value loop

Add tenant-safe value, telemetry, connector, commercial, and production-readiness foundations.
This commit is contained in:
caoxiaozhu
2026-07-17 14:14:08 +08:00
parent 242d68c36f
commit 787bc3a481
507 changed files with 82072 additions and 6344 deletions

View File

@@ -10,6 +10,9 @@ MIGRATION_OWNED_TABLES: frozenset[str] = frozenset(
"approval_action_ledgers",
"approval_task_events",
"approval_tasks",
"agent_asset_release_audit_samples",
"agent_asset_release_labels",
"agent_asset_release_observations",
"attachment_association_jobs",
"ai_application_preview_decisions",
"ai_decisions",
@@ -17,12 +20,35 @@ MIGRATION_OWNED_TABLES: frozenset[str] = frozenset(
"expense_cases",
"expense_case_links",
"business_events",
"financial_connector_configs",
"financial_connector_config_events",
"financial_connector_events",
"financial_connector_operational_events",
"commercial_cost_events",
"commercial_admin_events",
"commercial_billing_periods",
"commercial_entitlements",
"commercial_runtime_reservations",
"knowledge_onlyoffice_sessions",
"memory_entries",
"memory_evidence_links",
"risk_observations",
"risk_observation_feedback",
"risk_dispositions",
"risk_disposition_events",
"profile_baseline_snapshots",
"payment_reconciliation_cases",
"payment_reconciliation_events",
"savings_opportunities",
"savings_realizations",
"savings_evidence_links",
"savings_events",
"tenant_commercial_plans",
"tenant_finance_report_configs",
"tenant_finance_report_runs",
"tenant_subscriptions",
"tenants",
"usage_meter_events",
"few_shot_samples",
"workflow_outcomes",
}