iBilik Capital Project 02 - Product Terms + Formula Integration v1.0

STATUS
------
Project 02 complete. Database Schema Freeze preserved.
No SQL migration. No new table. No new column.

DELIVERED
---------
1. Dynamic Product Terms UI for P01-P04
2. Current Product Terms saved in existing dedicated product tables
3. Immutable version history saved in existing deal_terms
4. Formula New Calculation auto-prefills from Deal Product Terms
5. Formula execution requires Product Terms for P01-P04 Deal calculations
6. Manual changes to term-derived Formula parameters require Manual Override
7. calculation_inputs source_type records DEAL_TERMS or USER_OVERRIDE
8. prior_value records the Deal Term value when overridden
9. Deal Control Center links Product Terms and Formula readiness
10. Product Terms locked after Deal leaves DRAFT / UNDERWRITING
11. Project 02 Deal Health checks Terms + Formula bridge

PRODUCT TABLES USED
-------------------
P01 -> forward_rental_terms
P02 -> revenue_management_terms
P03 -> capex_funding_terms
P04 -> advance_profit_terms
Version snapshots -> deal_terms

FORMULA SOURCE-OF-TRUTH RULE
----------------------------
Deal Product Terms are the primary commercial input source.
Formula defaults are metadata defaults only and are no longer accepted as a substitute for missing Product Terms on a Deal calculation.

DEPLOY
------
Deploy all paths in this package. No MySQL execution.
Run /deal/health.php first.
Then create/edit Product Terms from /deal/terms.php?id=<DEAL_ID>.
Then open Formula New Calculation from the Deal page.
