fix(research): support typed cross-study findings (RP23)

This commit is contained in:
Boki 2026-10-27 22:00:07 -04:00
parent 27d2bc961c
commit 8dc8724c52
4 changed files with 296 additions and 2 deletions

View file

@ -97,6 +97,13 @@ then evaluates holdouts and costs, retaining failed trials and exact evidence ci
Findings remain explicitly AI-authored and unvalidated narratives. Use
[ResearchClient](scripts/research-client.ts) for individual APIs, including walk-forward.
To save a comparison across studies, call `ResearchClient.saveFinding` with `source: null`
or omit `source`. Include a nonempty list of canonical metric references with each run's
exact strategy-version ID. The API resolves their values from retained completed runs;
the finding remains AI-authored and unvalidated. A supplied experiment/report source
instead binds the finding to that source and its membership checks. Combining references
does not establish that the runs are comparable or create a sealed validation report.
The receipt journal is mandatory and created exclusively. On interruption, inspect its
intents and accepted IDs, reopen durable resources, and retry only the exact idempotent
request. Do not blindly restart a cycle: hypothesis, family and finding creation do not