trial_record
Record an experiment trial in a research lab: log changes, expected and actual outcomes, and structured metrics for later querying.
Instructions
Record one experiment in a research lab: what changed, expected vs actual, outcome, and optional structured metrics for later querying. Inherits the lab from lab_open unless you pass one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab | No | lab name; defaults to the lab opened on this connection | |
| title | Yes | short trial title | |
| actual | No | observed result | |
| changes | No | what was changed for this trial | |
| metrics | No | optional object of structured metrics, e.g. {"hz":497,"err_pct":0.2} (a JSON-object string is also accepted) | |
| outcome | No | suggested values pass|fail|partial|inconclusive; free text accepted | |
| project | No | project slug; defaults to the bound/ambient session's project. An unknown slug CREATES that project -- naming a new one is normal and never an error. Pass project=global ONLY for knowledge that belongs in EVERY project's briefing; it is not a neutral default. With no session and no explicit project the call is rejected as ambiguous. | |
| expected | No | expected result |