chore(insights): align the ambient-Coach file comments to the shipped version

The A1–A3 source files carried v1.22.0 docstrings from before the work was
re-cut as the v1.21.2 point release. Comment-only sweep so blame and the
in-file version tags read consistently with the shipped version.
This commit is contained in:
Marc-André Bombeck committed 2026-06-27 00:48:40 +02:00
1 parent 1de72d045e
commit 2c33faa648
14 files changed
+18 -18

No files matched your search

@@ -8,7 +8,7 @@ import {
import type { CoachCorrelationDriver } from "@/lib/ai/coach/tools/correlations-read";
/**
* v1.22.0 (A1) — "Coach read" strip selection logic.
* v1.21.2 (A1) — "Coach read" strip selection logic.
*
* Covers the two decisions the strip turns on:
* 1. band-line placement (within / above / below), incl. the inclusive
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* v1.22.0 (A1) — "Coach read" strip: shared shapes + pure selection logic.
* v1.21.2 (A1) — "Coach read" strip: shared shapes + pure selection logic.
*
* Client-safe (no `server-only`, no Prisma): the DTO shapes the route returns
* and the strip renders, plus the two pure decisions the strip turns on —
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* v1.22.0 (A1) — "Coach read" strip data builder.
* v1.21.2 (A1) — "Coach read" strip data builder.
*
* Two server-authoritative lines for a single metric sub-page, computed
* here so web and iOS read the SAME resolved DTO (no client re-derivation):
+1 -1
View File
@@ -27,7 +27,7 @@ export const coachKeys = {
*/
coachConversation: (id: string | null) => ["coachConversation", id] as const,
/**
* v1.22.0 (A3) — today's most notable derived signal, resolved into the
* v1.21.2 (A3) — today's most notable derived signal, resolved into the
* Coach hero's pre-seeded relevance opener
* (`GET /api/insights/coach/seeded-question`).
*/
+1 -1
View File
@@ -128,7 +128,7 @@ export const insightsKeys = {
insightsTrendSeries: (types: string) => ["trend-series", types] as const,
/**
* v1.22.0 (A1) — per-metric "Coach read" strip
* v1.21.2 (A1) — per-metric "Coach read" strip
* (`/api/insights/coach-read?metric=<MeasurementType>`). One generic route
* backs every metric sub-page, so the key is parameterised by the
* MeasurementType. Pure compute over the baseline + correlation engines —