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

@@ -22,17 +22,43 @@ def test_create_legacy_schema_never_creates_migration_owned_tables() -> None:
"approval_action_ledgers",
"approval_task_events",
"approval_tasks",
"agent_asset_release_audit_samples",
"agent_asset_release_labels",
"agent_asset_release_observations",
"auth_sessions",
"attachment_association_jobs",
"business_events",
"commercial_cost_events",
"commercial_admin_events",
"commercial_billing_periods",
"commercial_entitlements",
"commercial_runtime_reservations",
"expense_case_links",
"expense_cases",
"financial_connector_configs",
"financial_connector_config_events",
"financial_connector_events",
"financial_connector_operational_events",
"knowledge_onlyoffice_sessions",
"memory_entries",
"memory_evidence_links",
"risk_observations",
"risk_observation_feedback",
"risk_disposition_events",
"risk_dispositions",
"profile_baseline_snapshots",
"payment_reconciliation_cases",
"payment_reconciliation_events",
"savings_evidence_links",
"savings_events",
"savings_opportunities",
"savings_realizations",
"tenant_commercial_plans",
"tenant_finance_report_configs",
"tenant_finance_report_runs",
"tenant_subscriptions",
"tenants",
"usage_meter_events",
"few_shot_samples",
"workflow_outcomes",
}