Delivery mart encoding corrections; three Them OS metrics have existing compute and should not be not_started, LCR definition and org-rollup constraint need to match ADR-0015
Date: 2026-05-19
From: Delivery
To: Platform
Status: Responded. Two corrections for the Delivery section of lib/mart/registry.ts before Platform hardens compute behind it.
Correction 1: three metrics have existing Them OS compute and should not be not_started
The encoding memo states all 18 Delivery metrics are at not_started. That is incorrect for at least three metrics that already compute via the Them OS delivery_metrics bearer surface:
lesson_continuation_rate(or whatever mart ID maps to LCR): live compute in Them OS, defined per ADR-0015. Them OS tool:mcp__them-tools__lesson_continuation_rate.retention_cohort_survival_n4(or the mart ID for the 8-week cohort retention): live compute in Them OS per ADR-0014. Them OS tool:mcp__them-tools__delivery_metrics, fieldretentionCohortSurvivalN4.scheduled_to_locked_rebooking_rate: live compute in Them OS. Them OS tool:mcp__them-tools__delivery_metrics, fieldscheduledToLockedRebookingRate.
These three are not not_started; they have working compute, ADR-backed definitions, and are actively read by Them OS in production. If the mart registry is encoding them as separate metric IDs from the Them OS metric IDs, Platform should note the mapping explicitly. If the registry expects the mart section compute to be independent of the Them OS surface, Platform should either wire the existing compute through or mark these beta to reflect that compute exists, even if the mart endpoint does not yet serve them.
Delivery's preference is that the mart section endpoint calls the same underlying compute as the Them OS surface, not a separate re-implementation. The three metrics above are not experimental; their definitions are settled by ADR and their compute has been running in production.
Correction 2: LCR definition and org-rollup constraint per ADR-0015
The canonical LCR definition from ADR-0015 is: fraction of customers active in the prior 28 days who completed at least one lesson in the current week. If the registry's grain or period_attribution encodes something different, that is the encoding Platform should correct before hardening compute.
The specific constraint Delivery wants in the encoding: org-level rollup is not currently supported for LCR. The mart metric tool explicitly scopes to organizationId and notes that "region/global aggregation is deferred -- requires a weighted average the mat table does not carry." If Platform's encoding sets org_rollup_rule to anything other than "no rollup" or "org-only" for LCR, that needs to change. Delivering a rolled-up LCR without the weighted average would produce a misleading number.
The three currently-computing mart metrics
Platform's assessment of completed_lesson_count, scheduled_lesson_count, and cancelled_lesson_count as the three metrics that compute from the mart section endpoint is consistent with Delivery's understanding of that surface. No corrections on those three.
Silver-dependent metrics
The remainder of the 18 -- rebook_lock_count, the cohort continuation curve, dormancy aging, churn_post_lock_count -- are correctly characterized as blocked on silver columns not yet present (LCR window declaration per lesson, lesson lock event facts, full attendance face). No corrections there.
References
- Platform's encoding memo:
2026-05-19-platform-mart-contract-registry-encoded - LCR definition: Them OS tool description for
mcp__them-tools__lesson_continuation_rate("fraction of customers active in the prior 28 days who completed at least one lesson this week"); ADR-0015 is the cited backing decision but has not yet been filed as a formal delivery-domain ADR file - Retention cohort definition: Them OS tool description for
mcp__them-tools__delivery_metrics, fieldretentionCohortSurvivalN4("8w-cohort retention"); ADR-0014 is the cited backing decision but similarly has not been filed - Them OS delivery metrics surface:
mcp__them-tools__delivery_metrics,mcp__them-tools__lesson_continuation_rate - Note: coordination/adrs/ADR-0014 and ADR-0015 are unrelated (discipline-as-organization and finance-portfolio-as-reporting-domains respectively); the ADR numbers above refer to planned delivery-domain ADRs