From 3f118d967f90fcd172f5b4e5b32b5e6bb8b33601 Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Wed, 5 Aug 2026 11:36:32 -0600 Subject: [PATCH] docs(design): facet_data is not built from events.jsonl journal_stats.py does not reference events.jsonl anywhere -- zero occurrences. facet_data is accumulated per facet from activity records, with durations estimated over each record's segments. The claim mattered beyond its own accuracy: it named a reader of the per-segment event log that does not exist, which is exactly the kind of thing a survey picks up and carries into a rebuild's reader inventory. Co-Authored-By: Claude Opus 5 (1M context) --- docs/design/yesterdays-processing-card.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/yesterdays-processing-card.md b/docs/design/yesterdays-processing-card.md index f62996c11..f5dabb5dc 100644 --- a/docs/design/yesterdays-processing-card.md +++ b/docs/design/yesterdays-processing-card.md @@ -122,7 +122,7 @@ Recommended rendered content by mode: ### Ground truth - `talent.fail` records include `name`, `use_id`, `state`, and optional `facet`, but `summarize_pipeline_day()` counts every failure and drops `facet` from `failed_list`. See `solstone/think/pipeline_health.py:81-99`. -- `stats.json.facet_data` is not a newsletter ledger. It is built from `events.jsonl` durations in `solstone/think/journal_stats.py:296-319` and surfaced in `solstone/apps/home/routes.py:616-621`. +- `stats.json.facet_data` is not a newsletter ledger. It is accumulated per facet in `solstone/think/journal_stats.py:453-456` from activity records, with durations estimated by `estimate_duration_minutes()` over each record's segments, and surfaced in `solstone/apps/home/routes.py:616-621`. Corrected 2026-08-05: this previously said it is built from `events.jsonl` durations, which is false — `journal_stats.py` does not reference `events.jsonl` anywhere. The claim mattered because it named a reader of the per-segment event log that does not exist. - The facet newsletter writer is `sol call journal news`, implemented by `solstone/think/tools/facets.py:61-106`. - The newsletter prompt key is stable: `facet_newsletter`. Reason: -- 2.51.2