# Decision 4: When the semantic layer comes

Status: decided for year one; reviewed when the trigger below fires and at each yearly budget.

Context: The plan pilots a leadership AI assistant in the second quarter, beside the BI tool. Both read the same metrics. The governance work certifies one definition per metric name during year one.

Question: Build the semantic layer now, with the leadership assistant pilot, or wait for year two?

Options:
- Now, with the assistant pilot: Define the certified metrics once in a semantic layer from month 4; the assistant and the BI tool both read it.
- Later, in year two: The assistant computes its own metrics from the models until month 13, when the layer is built.

Decision rule, declared before costing: The option with the lowest three-year cost, counting what numbers that disagree between the assistant and the dashboards cost. Why: Either timing is reversible; the cost of two readers computing the same metric two ways is priced.

Three-year cost, base case, in thousands of US dollars:

| Cost line | Now, with the assistant pilot | Later, in year two |
|---|---|---|
| People | 18 | 18 |
| Run | 17 | 12 |
| Switching | 0 | 0 |
| Risk | 0 | 0 |
| Shortfall | 0 | 41 |
| Total | 35 | 71 |
| Engineering hours, year one | 8 | 0 |

Decision: Now, with the assistant pilot, US$35K over three years. That is US$36K less than waiting for year two. Note added after the results: the plan page already pairs the layer with the pilot, so waiting means running the pilot without a layer. It can pass its go-live test, which covers questions whose answers Finance signed off, and still answer new questions live with metrics computed its own way; those live differences are the mismatches priced here. The layer is assumed to remove every one of them; if a tenth remained, waiting would win when a wrong number costs nothing.

What would flip it: its two main drivers are mismatches per month and harm of a wrong number. Moved together over their ranges, the rule still picks building the layer now at 77 of 81 points. No input moved alone flips it, but with harm of a wrong number at its low value its lead under the rule falls to US$262. It flips only at the 4 grid points with harm of a wrong number at US$0 each and mismatches per month at or below 1.9 a month; or harm of a wrong number at US$500 each and mismatches per month at or below 0.5 a month.

Reversal trigger (changed after the results): each month, re-ask a sample of the questions people put to the live assistant, compare each answer with the dashboard, and log the differences that reached a decision and what they cost. Reopen this record only if the log shows harm of a wrong number at US$0 each and mismatches per month at or below 1.9 a month; or harm of a wrong number at US$500 each and mismatches per month at or below 0.5 a month.

Owner and review: Head of Data, with Finance for the revenue metrics. This choice needs 8 engineering hours in year one and 0 in year two, and 92 data team hours in year one.
